Gov4Git and the Plural Management Protocol overview

⿻ Plural Management of ⿻ 數位 Plurality
Plurality aims to tell the world how collaborative technology can remake how we work and govern together. Yet it also aims to show these ideas working in practice, building the book according to the principles the book articulates. This is a challenge, obviously, because it is a book about innovation and thus platforms for the things we want to show do not exist: we are building them as we go in the process of writing the book! This document aims to outline for users the who, what, why, when, where and how of participating in the book’s creation.
Goals
We have several interlocking goals in the design of our management system:

We want to recognize contributions and prioritize work formally, quantitatively and democratically, in contrast to the informal and often confusing methods typical in open source while at the same time...
We want to avoid speculation, financialization and external fungibility of this credit.
We want to instantiate (advanced, plural) democratic control over the direction of the project and eventually turn over maintenance of the project to the community, thereby allowing maintenance to scale as smoothly as contributions while at the same time...
We want to secure the system against potentially malicious attack, ensuring that this democratization and decentralization happens gradually and does not occur at the expensive of the integrity of the content to the values of the community.

A key device to jointly accomplish these goals is our system of plural credits, a non-fungible community currency of credits.
Plural Credits
Plural credits (PCs) formally recognize contributions to the project. These will be initially fungible, quantitative and divisible indicators of extent of contribution, but not transferable across individuals and thus not saleable. Soon after we plan also to introduce qualitative tokens indicating type of contribution (e.g. writing v. design v. technical). While of no (direct) financial value, PCs will entitle holders to several social benefits:

Recognition: Our ledger of holdings of PCs will be the definitive source of information on the effective contributions to and authorship of the book. We plan to propagate and display this in several ways, including potentially a collective image of the book’s contributors, a “credit scroll” online and in print with names listed in order or in font corresponding to PCs and in weights given to contributors in various composites representing the community created using image and voice models. Whenever we refer to the “⿻ community”, we will implicitly be referencing this ledger.
Governance rights: As discussed further below, PCs will be the currency used for governing the book: prioritizing work on it and determining which changes/contributions should be accepted, and thus who will receive PCs in the future, as well as for making other governance decisions.
Resources: PCs will gate access to various resources, including @plurality.net email addresses, GitHub Pro coupons and any other benefits (including possibly financial compensation from funds raised by book sales, all of which will be donated to the community’s collective governance) voted by the community consistent with our status as fiscally sponsored by the Open Collective Foundation, a US 501c3, thus requiring any such compensation to be reasonable, consistent with our mission and transparent.

We will shortly release a “social capitalization table” that will make the allocation of plural credits now and in the short term clear; future evolution of social capitalization will be determined collectively by the community as discussed below.
Gov4Git
While we will initially release the social capitalization table as a simple spreadsheet, the authoritative copy of it will eventually live in a distributed ledger maintained by the community through the open-source Gov4Git (G4G) protocol, a blockchain-like structure where a ledger of credits is mirrored by the git repositories of all members. In contrast to standard blockchains, however, G4G does not include financial incentives and instead relies on community members to mirror the underlying database for the same reason they mirror the code of git projects (to participate in the community) and resolves conflict through governance procedures described below.
Plural Management Protocol
While G4G offers a substrate for an essentially-arbitrary range of governance mechanics, the mechanism we plan to implement is the Plural Management Protocol (PMP), which harnesses and combines a range of the mechanisms described in the book to allow us to achieve the goals described above. While we defer the full details of the protocol to the paper, the basic idea is that contributors use their credit to prioritize work on the project as formalized by the set of GitHub issues and to approve or reject contributions/edits formalized by the set of git pull requests (PRs) to the book. They may earn credits by making contributions (having pull requests approved) and by predicting the outcome of a PR approval vote to help others triage these PRs.
Let’s break these processes down a bit more:

Prioritization: Issues are prioritized by a version of the Capital-Constrained Quadratic Funding (QF) mechanism. Contributors dynamically contribute to proposals’ priorities and are matched according to the “democratic” QF formula (e.g. small contributions are matched more than large ones, and contributions to popular issues are matched more) and the current matching funds made available by sponsors.
Subsidies: The matching funds are provided by sponsors, mostly likely the largest PC holders such as E. Glen Weyl and Audrey Tang.
Bounties and contributions: The current priorities of issues are publicly displayed and ranked, so as to encourage contributors to prioritize addressing these. A contributor who submits a PR to address an issue and has this PR accepted will receive a bounty in PCs Plural Management user doc.docx proportional to this current priority (with a small “tax” to support the process of evaluating the PR).
Approval votes: Contributors can vote for a PR to be accepted or rejected. PRs with net positive votes at the end of the review period (currently a week) will be accepted. The cost in credits of $v$ votes is $kv^2$, where $k$ is a PR-specific constant. This instantiates the system of Quadratic Voting (QV) described in the book. $k$ will typically be lower for more important PRs.
Approval predictions: In addition to voting, contributors are also implicitly predicting what decision the community will make; in addition to the cost of $kv^2$ they will also pay a cost of $|v|$ and receive a payment of $2|v|$ if the community decides in favor of the direction of their vote. For someone who is purely maximizing their return, it is optimal to vote in the amount $\frac{|p-1/2|}{2k}$ in the direction that they believe it is more likely for the vote to go, where $p$ is the probability they believe the vote will be approved. This provides low PC-holding community members to gain PCs by helping those who may have more PCs but less time to review submissions to sort the wheat from the chaff.

Join us!
We hope you’ll be excited to join us! You need PCs to really get into the heart of the system. The simplest way in is to submit a PR on a currently outstanding issue. Community members can also create an issue that they fund just to get you access; if your submission is approved (if the community collectively thinks you should join) you will become a member with the bounty associated with that issue. If you wish to know the current priority of issues but are not yet a member, you can contact a current member (such as Glen Weyl). Please join our Discord channel to discuss and reach out to Petar Maymounkov if you are a translation fork or other affiliated community that wishes to use this workflow.

Should I add this to the project's Wiki?
I also have some suggested edits that might help with readability for people who are new to open source (such as myself).

Please @gardenenigma!

@GlenWeyl @petar I have added it to the wiki with my edits. Feel free to change edits as needed.


Better Alias Analysis

Add better alias analysis passes to current toolchain. Static Value-Flow (SVF), which is a interprocedural or whole program alias, should be integrated into our current or possibly LLVM 6/7 toolchain. In addition to SVF we should also include PoolAlloc's DSA and Steensgard, to make 'may' alias fallthrough potentially faster.

Now a part of eosio.cdt.


BDI/BGE improve messaging for duplicate value error on unique fields

Error message in BDI/BGE when the value entered on a Unique field is a duplicate.
The error message we display on BGE is also persistent, since there is no way to close it except for refreshing the browser
Pre-conditions:
For BGE have a batch set up with “Unique ID” as the only matching field.
Steps to reproduce:
1- Create a new “External ID” field on DI object
2- Map this field to “Unique ID” field on Opportunity object using help text or Advanced Mapping
3- Create a new DI record and input a value on “External ID” field.
4- Process the Batch, if on BDI change the “matching field” to Unique ID before processing.
5- Create a new DI with different values on all fields except for External ID, on this field input same one from step 3.
Expected result: Error message should state clearly that there is already an Opportunity record with the current Unique ID.
Actual result: An error is displayed with the ID of the the Data Import record.

**lurch: attach W-037483

Tracking W-037483

Salesforce has determined that this issue will not be explored further.


Hand glitching through Object when trying to Hold

Most of the Time, when closing the gripper, the Hand glitches through the object.
Suggestion: Work on Rigidbody and Collider of Objects

If the hand is quite close to an object with its stiff part, holding the zylinders works well.
https://user-images.githubusercontent.com/130777255/235349994-43229597-92c9-4d68-8c59-1e27999d6ccb.mp4


Checkstyle for *.jsh files

Do we have to ensure that our *.jsh files conform to the styling requirements when submitting to CodeCrunch?

I personally didn't do so (seems like there's no need to), but you can always throw the code of your 2 functions into a Java class to use checkstyle on. I still think it is good practice to conform to the coding style just to get used to it.

Better be 😄 no loss on doing that.
If you try to edit the .jsh files directly, e.g. vim blabla.jsh, you can see that it's just a bunch of Java codes crunched into a single file, so running checkstyle on it will also do the work.

so running checkstyle on it will also do the work.

@RussellDash332 Didn't really work out for me, running checkstyle directly on on the jsh (i.e. ./checkstyle-8.2-all.jar -c cs2030_checks.xml maxDiscCoverage.jsh always shows "Audit done" without any errors even if there's styling errors within the file. Changing the extension to .java makes checkstyle not work at all. Personally I had to throw the code to a Java class for checkstyle to work. Maybe you have a different configuration?

so running checkstyle on it will also do the work.

@RussellDash332 Didn't really work out for me, running checkstyle directly on on the jsh (i.e. java -jar ./checkstyle-8.2-all.jar -c cs2030_checks.xml maxDiscCoverage.jsh always shows "Audit done" without any errors even if there's styling errors within the file. Changing the extension to .java makes checkstyle not work at all. Personally I had to throw the code to a Java class for checkstyle to work. Maybe you have a different configuration?

Oh it will pass even with styling errors? I guess your method is the way for now 😆
New food for thought

so running checkstyle on it will also do the work.

@RussellDash332 Didn't really work out for me, running checkstyle directly on on the jsh (i.e. java -jar ./checkstyle-8.2-all.jar -c cs2030_checks.xml maxDiscCoverage.jsh always shows "Audit done" without any errors even if there's styling errors within the file. Changing the extension to .java makes checkstyle not work at all. Personally I had to throw the code to a Java class for checkstyle to work. Maybe you have a different configuration?

If you typed checkstyle maxDiscCoverage.java (without renaming it as suggested below), it wouldn't work as maxDiscCoverage.java doesn't exist, which was probably the reason why it didn't work at all.
I think what you can do instead is to change the file (extension) from maxDiscCoverage.jsh to maxDiscCoverage.java temporarily, so you can run the checkstyle on it. Then afterwards, change it back.  Running the java checkstyle on .jsh file went through with "Audit done" with no errors (despite intentional styling errors) was because no audit was done in the first place. According to cs2030_checks.xml, it only check for file with java, properties and xml extensions.
P.S. you can rename files easily by typing mv file.jsh file.java to convert .jsh to .java.

Here's a simple shell script I whipped up to run checkstyle on .jsh files automatically. It creates temp .java files from .jsh files, runs checkstyle on everything, and then deletes the temp .java files. You can probably alias it to a command if you want to run it from any directory.
#!/usr/bin/bash
for file in *.jsh; do
    java_file="${file%.*}.java"
    echo "class ${file%.*} {" > "$java_file"
    cat "$file" | sed 's/^/    /' >> "$java_file"
    echo "}" >> "$java_file"
done

java -jar <path to checkstyle>/checkstyle-8.2-all.jar -c <path to checkstyle>/cs2030_checks.xml *.java

for file in *.jsh; do
    rm "${file%.*}.java"
done

Disclaimer: I'm not responsible if it somehow deletes your files :)

P.S. you can rename files easily by typing mv file.jsh file.java to convert .jsh to .java.

@lhy-hoyin Yep, that's what I meant when I mentioned that I changed the file to use the .java extension. I do get an error when running the checkstyle after doing so though.

(checkstylef is my alias for checking individual files)
For now I guess we can use Connor's workaround.

For now I guess we can use Connor's workaround.

Hmm...I don't think Connor's workaround will work. I appreciate that he actually came up with a script to help automate the process of creating the temp .java files.

Based on the screenshot of the error provided, it appears that the error causing that checkstyle was casued by Circle in the first line (and first word) of maxDiscCoverage.*. Looking at Connor's script, I don't think it will help resolve the error (since the error is caused by the content of the file).

Based on the screenshot of the error provided, it appears that the error causing that checkstyle was casued by Circle in the first line (and first word) of maxDiscCoverage.*. Looking at Connor's script, I don't think it will help resolve the error (since the error is caused by the content of the file).

His script is working well on my end. Here's my console output while doing my testing.
~/cs2030stuff/testscript
❯ ls
checkjsh.sh  mdctest.jsh

~/cs2030stuff/testscript
❯ ./checkjsh.sh
Starting audit...
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:1:7: Type name 'mdctest' must match pattern '^[A-Z][a-zA-Z0-9]*$'. [TypeName]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:4:55: ')' is preceded with whitespace. [ParenPad]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:13:12: WhitespaceAround: 'for' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:14:16: WhitespaceAround: 'for' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:15:19: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:18:24: WhitespaceAround: 'for' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:19:27: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:20:36: '++' is preceded with whitespace. [NoWhitespaceBefore]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:23:23: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
Audit done.

~/cs2030stuff/testscript
❯ checkstylef mdctest.jsh
Starting audit...
Audit done.

~/cs2030stuff/testscript
❯ mv mdctest.jsh mdctest.java

~/cs2030stuff/testscript
❯ checkstylef mdctest.java
Starting audit...
com.puppycrawl.tools.checkstyle.api.CheckstyleException: Exception was thrown while processing mdctest.java
        at com.puppycrawl.tools.checkstyle.Checker.processFiles(Checker.java:295)
        at com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:213)
        at com.puppycrawl.tools.checkstyle.Main.runCheckstyle(Main.java:523)
        at com.puppycrawl.tools.checkstyle.Main.runCli(Main.java:437)
        at com.puppycrawl.tools.checkstyle.Main.main(Main.java:210)
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: NoViableAltException occurred during the analysis of file mdctest.java.
        at com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered(TreeWalker.java:231)
        at com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.process(AbstractFileSetCheck.java:79)
        at com.puppycrawl.tools.checkstyle.Checker.processFile(Checker.java:316)
        at com.puppycrawl.tools.checkstyle.Checker.processFiles(Checker.java:286)
        ... 4 more
Caused by: /home/mylinux/cs2030stuff/testscript/mdctest.java:1:1: unexpected token: Circle
        at com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer.compilationUnit(GeneratedJavaRecognizer.java:181)
        at com.puppycrawl.tools.checkstyle.TreeWalker.parse(TreeWalker.java:500)
        at com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered(TreeWalker.java:202)
        ... 7 more
Checkstyle ends with 1 errors.

~/cs2030stuff/testscript
❯

As I mentioned before, the only solution to test .jsh code seems to be appending it to a Java class before running checkstyle (which is what Connor's script does!).

Based on the screenshot of the error provided, it appears that the error causing that checkstyle was casued by Circle in the first line (and first word) of maxDiscCoverage.*. Looking at Connor's script, I don't think it will help resolve the error (since the error is caused by the content of the file).

His script is working well on my end. Here's my console output while doing my testing.
~/cs2030stuff/testscript
❯ ls
checkjsh.sh  mdctest.jsh

~/cs2030stuff/testscript
❯ ./checkjsh.sh
Starting audit...
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:1:7: Type name 'mdctest' must match pattern '^[A-Z][a-zA-Z0-9]*$'. [TypeName]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:4:55: ')' is preceded with whitespace. [ParenPad]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:13:12: WhitespaceAround: 'for' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:14:16: WhitespaceAround: 'for' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:15:19: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:18:24: WhitespaceAround: 'for' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:19:27: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:20:36: '++' is preceded with whitespace. [NoWhitespaceBefore]
[WARN] /home/mylinux/cs2030stuff/testscript/mdctest.java:23:23: WhitespaceAround: 'if' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3) [WhitespaceAround]
Audit done.

~/cs2030stuff/testscript
❯ checkstylef mdctest.jsh
Starting audit...
Audit done.

~/cs2030stuff/testscript
❯ mv mdctest.jsh mdctest.java

~/cs2030stuff/testscript
❯ checkstylef mdctest.java
Starting audit...
com.puppycrawl.tools.checkstyle.api.CheckstyleException: Exception was thrown while processing mdctest.java
        at com.puppycrawl.tools.checkstyle.Checker.processFiles(Checker.java:295)
        at com.puppycrawl.tools.checkstyle.Checker.process(Checker.java:213)
        at com.puppycrawl.tools.checkstyle.Main.runCheckstyle(Main.java:523)
        at com.puppycrawl.tools.checkstyle.Main.runCli(Main.java:437)
        at com.puppycrawl.tools.checkstyle.Main.main(Main.java:210)
Caused by: com.puppycrawl.tools.checkstyle.api.CheckstyleException: NoViableAltException occurred during the analysis of file mdctest.java.
        at com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered(TreeWalker.java:231)
        at com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck.process(AbstractFileSetCheck.java:79)
        at com.puppycrawl.tools.checkstyle.Checker.processFile(Checker.java:316)
        at com.puppycrawl.tools.checkstyle.Checker.processFiles(Checker.java:286)
        ... 4 more
Caused by: /home/mylinux/cs2030stuff/testscript/mdctest.java:1:1: unexpected token: Circle
        at com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer.compilationUnit(GeneratedJavaRecognizer.java:181)
        at com.puppycrawl.tools.checkstyle.TreeWalker.parse(TreeWalker.java:500)
        at com.puppycrawl.tools.checkstyle.TreeWalker.processFiltered(TreeWalker.java:202)
        ... 7 more
Checkstyle ends with 1 errors.

~/cs2030stuff/testscript
❯

As I mentioned before, the only solution to test .jsh code seems to be appending it to a Java class before running checkstyle (which is what Connor's script does!).

It works for me as well! Thanks 😄  @connlim
Might need to take note that not all checkstyle errors are to be considered in this case, e.g. the file name must follow the regex.

Here's a simple shell script I whipped up to run checkstyle on .jsh files automatically. It creates temp .java files from .jsh files, runs checkstyle on everything, and then deletes the temp .java files. You can probably alias it to a command if you want to run it from any directory.
#!/usr/bin/bash
for file in *.jsh; do
    java_file="${file%.*}.java"
    echo "class ${file%.*} {" > "$java_file"
    cat "$file" | sed 's/^/    /' >> "$java_file"
    echo "}" >> "$java_file"
done

java -jar <path to checkstyle>/checkstyle-8.2-all.jar -c <path to checkstyle>/cs2030_checks.xml *.java

for file in *.jsh; do
    rm "${file%.*}.java"
done

Disclaimer: I'm not responsible if it somehow deletes your files :)

My apologies, it appears that I didn't read through the script thoroughly. I would like to put this as the recommended answer.
Also, I would like to add that while it maybe be possible to run the checkstyle on *.jsh files, do read the warning messages from the checkstyle carefully, especially if you put commands like /open filename.java within your *.jsh file (I believe this will fail the checkstyle, but I have yet to test this).
Thank you all for your inputs. With that, I would like to close this issue.


Update queries to fill pages, pull items cross-site

It appears these pages were originally intended to have ads within the content lists but no longer/don't so I adjusted the number of items to evenly fill the rows.

 Question about video pages

Used: https://github.com/parameter1/pmmi-media-group-websites/pull/230 for reference.


Convert routing to NEXT.js

No longer need. The redirecting problem was solved with the _redirect file


Permissions issue

My System: Linux Mint 19.1 Cinnamon 64 bits
I have just found a bug and I have fixed it for me.
When I installed the program it didn't work, but when I ran the main.py from the terminal, it worked.
Investigating even more, if I executed: "python main.py" it worked correctly but if I did it with "sudo python main.py" not
I discovered that it was a problem with the permits.
My solution:

Keep the "bing-desktop-wallpaper-changer-master" folder inside the /home/$USER folder.

Replace the /usr/bin/binwallpaper code with:

#!/bin/bash
python /home/roberto/bing-desktop-wallpaper-changer-master/bin/main.py

I hope it helps someone.

Thank you @RoberWare !


wip: v1beta2 api for federated workload identity

=== NAME  TestManagedIdentityPulls/scoped_acrpullbinding_only_allows_pulls_within_scope/bob_fails_to_pull_the_image
    eventually.go:98: Failed to get *v1.Pod: Get "[https://vvijioeps4ekw-13cxqu9m.hcp.eastus.azmk8s.io:443/api/v1/namespaces/scoped/pods/bob](https://vvijioeps4ekw-13cxqu9m.hcp.eastus.azmk8s.io/api/v1/namespaces/scoped/pods/bob)": context deadline exceeded
    e2e_test.go:419: Failed to wait for Pod scoped/bob to fail to pull the image in 2m0s: context deadline exceeded
    eventually.go:218: observed *v1.Pod scoped/bob invalid at RV 3918 after 2m0s:
    eventually.go:221:  - incorrect phase: wanted Pending, got Running
    eventually.go:221:  - incorrect condition: wanted Ready=False: ContainersNotReady, got Ready=True
    eventually.go:221:  - incorrect container status for main, wanted Waiting: ImagePullBackOff, got Running

Scoped token allowed pulls for other image? Will investigate that regression & write v1beta2 e2e.

Do you have test outputs for this, if applicable? I see some output from 1 week ago, is that up to date?

Do you have test outputs for this, if applicable? I see an output from 1 week ago here, is that up to date?

You can view the latest test results in the "checks" section at the bottom of the PR!

v1beta2 is significantly different than v1beta1. Can we add a markdown to describe the design?


Conform to spec

Draws accuracy from a Rayleigh distribution with mode around 5 meters. May or may not be reasonable, but a fine place to start, I think.
Casts properties to an integer as the spec demands. I think the spec should probably relax on this front and allow floating point numbers, but this is what it says for now.

I have not updated the event_location field to be a Point, since the spec does not say that just yet.
Edit: whoops, I see that the spec does now specify point.
Fixes #3

Okay, Point is fixed.

I'd honestly like us to standardize around Feature and FeatureCollection in all of these cases, as hinted at in CityOfLosAngeles/mobility-data-specification#74 and proposed in https://github.com/CityOfLosAngeles/mobility-data-specification#73. This would allow accuracy and other related properties to co-exist with the geo-data in an easily extensible manner. It also follows from our (buried) discussion on the JSON Schema work

Ah, I misunderstood. I can revert that last commit, or we can hang out here until CityOfLosAngeles/mobility-data-specification#74 is resolved.

Yeah...that last comment got lost in there. I'm hoping we'll have that issue tied up in the next few days, but I'll leave it up to you. I'm good to merge the other changes if you want to revert, or I'm good to wait it out as things may still be changing...

@ian-r-rose can you revert that last commit, given the latest developments in MDS? Then I can get the other changes merged in.

Yep, reverted!


Fix up-to-date checking mechanism on Tox Task.

The Tox Test task included test reports which include timestamps as an input which would cause
the up-to-date checking mechanism to always report not up-to-date. The test reports aren't actually used
as input and should be ignored.

The second change is to declare the output as a directory instead of a file tree.
Using a file tree as an output turns of caching for the task.
https://docs.gradle.org/current/userguide/more_about_tasks.html#sec:up_to_date_checks

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @mxm R: @kennknowles

Any thoughts here @kennknowles or @TheNeuralBit ?

This looks good to me. We can do follow-up changes for any further comments.

Btw, we usually require JIRA tickets for pull requests. Since this is a minor fix, it's probably ok.

I think this PR may have caused an issue where Jenkins can't find the test report when the task is marked up-to-date. BEAM-10985

Is it just that the XML report that Jenkins is looking for is not registered as an output?


Support CSS variables in [ngStyle] and [style.--foo] bindings

Blocked by dart-lang/sdk#26819.

It is blocked? Or is it just not even something we need to change at all ourselves?

i.e. seems like a duplicate of that issue versus it's own issue

Yep! You're right, I don't think there is actually an issue on our end. Fixing the dart:html error should fix this.


Code snippet in headers do not inherit font size

I sometimes use short code snippets in headers. I noticed that the code does not inherit the header font size.
# H1 Header `code` test
## H2 Header `code` test
### H3 Header `code` test
##### H4 Header `code` test
###### H5 Header `code` test
Paragraph `code` test

Screenshots

@pmarsceill this and #103 has been fixed in v0.2.9 but you added closes tag to only one issue and they weren't automatically closed


libsnappy1 has been replaced and jdk updated for debian 9

libsnappy1 has been replaced with libsnappy1v5 in Debian 9 Stretch and JDK version must be up to date to 11.

Managed to install correctly on Debian 9 Stretch after the above fixes.
Fri Nov 15 22:10:38 CET 2019: Step 'deploy_start2,*' done... Fri Nov 15 22:10:38 CET 2019: Command steps complete. Fri Nov 15 22:10:38 CET 2019: Execution complete. Cleaning up temporary files... Fri Nov 15 22:10:38 CET 2019: Cleanup complete. Fri Nov 15 22:10:38 CET 2019: To log in to the master:

Thanks for contribution. But bdutil has been deprecated in favor of Cloud Dataproc and doesn't accept new changes anymore.

Thanks for contribution. But bdutil has been deprecated in favor of Cloud Dataproc and doesn't accept new changes anymore.
Please use Cloud Dataproc that supports Debian 9 out fo the box.

Thanks copy that, but can Cloud Dataproc deploy HDP Ambari environments? If the answer is yes great and if not I may keep on using bdutil for internal use as long as we are on Google. That was the initial motivation/need. Nevertheless, I am happy finding bugs in public software repositories but I will obviously share any more findings in my own bdutil repo if required from now on. Bdutil is still a useful tool to me despite the novelty. Cheers.

Right now Dataproc does not support Ambari, so unless you are willing to embrace Dataproc as a managed service with its APIs and idioms instead of Ambari it will not work for you.
Feel free to send PRs if they could be useful for others, but we will not be able to merge them.
Out of curiosity, do you rely on specific Amabari features that are not available on Dataproc?


System.NullReferenceException during building Autofac project

Hello.
First of all, I really appreciate that you've been working on that!
I've been trying to build Autofac solution with your addin:
https://github.com/autofac/Autofac.git
When I trigger build from MonoDevelop, I do not see much informative message:
Build failed. Value cannot be null.
Parameter name: key
Build: 1 error, 0 warnings
However when I run:
$ mdtool build src/Autofac/Autofac.xproj
FATAL ERROR [2015-12-10 09:04:55Z]: System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.Dnx.DnxProjectService.GetDiagnostics (MonoDevelop.Dnx.DnxProjectBuilder builder) <0x407ccde0 + 0x000c7> in :0
at MonoDevelop.Dnx.DnxProjectBuilder.Build () <0x407cccc0 + 0x00027> in :0
at MonoDevelop.Dnx.DnxProject.OnRunTarget (IProgressMonitor monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc800 + 0x00087> in :0
at MonoDevelop.Projects.DefaultProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc630 + 0x00126> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc5e0 + 0x00046> in :0
at MonoDevelop.Projects.CustomCommandExtension.Build (IProgressMonitor monitor, MonoDevelop.Projects.SolutionEntityItem entry, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc260 + 0x0012b> in :0
at MonoDevelop.Projects.ProjectServiceExtension.Build (IProgressMonitor monitor, IBuildTarget item, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cc0a0 + 0x000ae> in :0
at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (IProgressMonitor monitor, IBuildTarget item, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbfb0 + 0x00062> in :0
at MonoDevelop.Projects.SolutionItem.RunTarget (IProgressMonitor monitor, System.String target, MonoDevelop.Projects.ConfigurationSelector configuration) <0x407cbf50 + 0x0004d> in :0
at MonoDevelop.Projects.BuildTool.Run (System.String[] arguments) <0x40771fa0 + 0x008ed> in :0
at MonoDevelopProcessHost.Main (System.String[] args) <0x406c9d50 + 0x00745> in :0
The problem is that 'projectSystem' == null in MonoDevelop.Dnx.DnxProjectService.GetDiagnostics.
Thanks,
Martin

What would the expected output be when using mdtool with a DNX project? A .nupkg or a set of AutoFac assemblies? Presumably it should produce the same output as when dnu is run?
The projectSystem will be null since that is currently only created when the project is opened inside Xamarin Studio.
Currently the addin does not support building, even inside Xamarin Studio, to generate assemblies. The build currently just asks the DNX host for diagnostic information so Xamarin Studio can show warnings and errors.

I have split out the second mdtool problem into a separate issue #6
I believe the first problem is due to a missing DNX runtime. The error is obscured since things are not setup so the addin is trying to use the DNX host which is not initialized.I have added extra error handling for this. Errors will now be displayed in the Dependencies folder. Also when you build you will get a more useful error message.
Currently the addin will not download the DNX runtime for you. So you will have to download and install it separately.
I also had a problem with the file watcher with the AutoFac solution: kqueue() FileSystemWatcher has reached the maximum number of files to watch. which maybe fixed in a more recent version of Mono, but is not in Mono 4.2.1. So I had to set the environment variable and run MonoDevelop from the command line.
export MONO_MANAGED_WATCHER=false


github-proxy still included in kustomize releases

The v5.2.0 github-proxy Deployment is still being included in the latest deploy-sourcegraph-k8s releases.
see https://github.com/sourcegraph/deploy-sourcegraph-k8s/tree/v5.2.7/base/sourcegraph/github-proxy
related to https://github.com/sourcegraph/deploy-sourcegraph-k8s/pull/49

@eseliger @jdpleiness FYI

It's gone in 5.3 - is it a problem that it exists in 5.2.0?
I think (but it's been a while) we still published these images, the container was just unused. That was purely because we didn't get to removing it in full from all deploy types before the release cut date.

It's not a problem beyond looking a bit messy, specifically since we no longer cut a new patch image tag for this service and have a v5.2.0 image running aside v5.2.7 images.

Ah, I didn't realize we stopped tagging these images.
Do you think we should do something here, or wait for 5.3?

@eseliger no problem waiting until 5.3

great, work done - it's not part of the deployment anymore :)


use GitHub Actions setup-java Maven cache property

Codecov Report

Merging #190 (4c5486e) into master (8493023) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #190   +/-   ##
=========================================
  Coverage     89.47%   89.47%
  Complexity     3605     3605
=========================================
  Files           183      183
  Lines          9992     9992
  Branches       1352     1352
=========================================
  Hits           8940     8940
  Misses          769      769
  Partials        283      283

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8493023...4c5486e. Read the comment docs.


Initial Directory Structure.

Roughly based on planned features.

Test comment

[ ] Test 1
[ ] Test 2
[ ] Test 3

Test reopen and comment

Closing updates milestone


[Numpy] check for alpha,beta parameter non-negativity in np.gamma

Description
Check if alpha/beta are negative in case of np.gamma
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
[ ] Code is well-documented:
[ ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes
modified:   src/operator/numpy/random/np_gamma_op.h
Comments

Hi,
@ChaiBapchya
I've submitted a patch fixing this issue, you could close this PR if you want.
https://github.com/apache/incubator-mxnet/pull/17575


Error starting docker

app version: latest

[ ] twitch api key set
[ ] youtube api key set

issue description:
Hello :)
From Portainer, I can not start the docker, getting this logs :
2023-08-26T19:55:57.145Z INFO  [app] app version 1.0.2
thread 'main' panicked at 'Error interacting with Redis (redis is required): Connection refused (os error 111)

:
    src/main.rs:46:19', src/main.rs:18:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2023-08-26T20:00:49.867Z INFO  [app] app version 1.0.2
thread 'main' panicked at 'Error interacting with Redis (redis is required): Connection refused (os error 111)

:
    src/main.rs:46:19', src/main.rs:18:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2023-08-26T20:08:36.862Z INFO  [app] app version 1.0.2
thread 'main' panicked at 'Error interacting with Redis (redis is required): Connection refused (os error 111)

:
    src/main.rs:46:19', src/main.rs:18:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Thanks !

My intuition is that you are not using the docker compose file right?
If soo you are missing the redis container and it won't start.
If that is the case you need to check how to run a docker compose file inside portainer.
If you did use the docker file, this is weird, check the status of the redis container and report back.

closing this due to inactivity, if the mentioned solution did not work feel free to reopen o open a new issue


Come up with website design - Desktop & Mobile

Main

Can be a wireframe

Not required to be a wireframe
Can be a universal design of website

You may use Figma or your preferred designer
Please indicate which pages are used for your design
Layout can be general

Reference
Please use the README.md to get an idea of what pages needed to be created.
Ideas for Pages

Home
Articles or News
Jobs
Network
Profile

Additional Ideas

Notification Icon w/ Alert
Settings
Message chat?
Search feature

@alvarotorrestx @medelm1 If it's a paid issue , i would love to contribute

@kabeer95 not currently but thank you


Support multiple JDK installations

I'd like to install multiple JDKs so I can create a fairly complex Maven toolchains.xml file for use in my build process. However, the current jabba ls call when retrieving the java home after installing the new JDK doesn't include the target distribution expression, which means it will return the full listing of installed JDKs. This list (with line breaks) is then passed, unprocessed, into the jabba which call, and causes a failure.
The new code will pass the target distributionExpression into the java home logic, so the ls call can include it and avoid returning results from other JDKs that were installed in other steps.

@jdcasey
Changes merged to the v1 branch, and are ready to use as battila7/jdk-via-jabba@v1.
Alternatively, you can use the new release, v1.3.0.


Problems with PDF customizations being taken into account when using Saxon <IP_ADDRESS>

Two of our clients complained that when using the stock DITA OT 3.2 sometimes their XSLT customizations are no longer taken into account, latest report is here:
https://www.oxygenxml.com/forum/topic17977.html
Basically if their "custom.xsl" imports a "front-matter.xsl" placed relative to it, Saxon somehow skips over this import and uses the "front-matter.xsl" specified in the base PDF folder.
I have a plugin with which I can reproduce the problem on my side, with Saxon 9.1 the problem with the XSLT imports precedence cannot be reproduced but unfortunately I'm having trouble putting together a small XML + XSLT package to open an issue on the Saxonica list.
My first idea would be to update to Saxon 9.9 and see if the problem is fixed, unfortunately the DITA OT 3.2 Java code needs to be updated in order to work with Saxon 9.9:
  Error: java.lang.NoSuchMethodError: net.sf.saxon.Controller.setMessageEmitter(Lnet/sf/saxon/event/Receiver;)V

If this is the same problem I ran into in DITA-OT 3.0 / 3.1, then the workaround is to use an explicit plugin: style reference in the import. For example instead of
<xsl:import href="front-matter.xsl"/>
use
<xsl:import href="plugin:org.example.my.plugin.id:xsl/fo/front-matter.xsl"/>
I worked around this in 3.0 by putting that kind of path in one of the files we ship: https://github.com/dita-ot/dita-ot/pull/2892

Should we change the stylesheets in 3.2.1 by changing all relative import URIs to (absolute) plugin URIs?

@jelovirt that would probably be a good idea - and might encourage others to use it (making it easier to move XSL around in the future).

Also, it would make it easier to fork a shell stylesheet for e.g. PDF2.

:+1: We already recommend this approach in the docs under Plug-in coding conventions

I will find time to look more into this on my side, see for example if using the plugin-style uri imports in the base pdf plugin xslts fixes the problem or not.

@jelovirt do you want me to try that update for 3.2.1? Not sure if it overlaps with your work in #3157 (don't think I see that change in 3157 though).

@robander I started this PR already

The branch is https://github.com/dita-ot/dita-ot/tree/feature/absolute_xslt_import. Do you want to continue from that? I think there are some typos there.

Sure, I'll take a look at it, probably tonight. And yes, I was picturing the merge conflicts this will create between the hotfix + develop...

https://github.com/dita-ot/dita-ot/pull/3159 has been merged to hotfix/3.2.1. @raducoravu are you able to test this with that change?

@jelovirt good work, I confirm I can no longer reproduce the end user's problem using a 3.2.1 build.


Add favicon.svg for website branding

🛠 Fixes Issue : "" Closes #30
👨💻 Changes proposed:
Added favicon.svg for website branding
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.
[x] I am a participant of Hacktoberfest 2022.

📷 Screenshots
N/A

I think the issue has already been resolved. You can improve the footer styling if you want.


documentation of "zscore" and "channels" Overview-mode

Is there a documentation of what the "zscore" and "channels" overview modes are supposed to do?
I am talking about this panel (currently in zscore mode):

I couldn't find any in https://mne.tools/dev/generated/mne.io.Raw.html?highlight=raw#mne.io.Raw.plot

This Overview-Bar might be subject to further change anyway (making channels-mode obsolete since its lack of information) as
@larsoner and @drammock discussed in #20

Okay, found it, thanks :-)
Yes, a "help" button would be better (more easily findable). An alternative to that might be to either:

let the hover-box appear much faster, and let it linger for a bit after the cursor moves away
force-open the hover-box when a user opens the "select box", that is, when they click on the dropdown menu to select either channels or zscore

I fixed this in #29.
I went for your first suggestion since I think that the tool tip is a bit quicker than an extra dialog for the help which has to be clicked away then. And just hovering lets you see what you might change before you change it.


[Bug] Duplicate examples if summary match in request/response

Describe the bug
If example names match in the request and response (a convention leveraged by Microcks to help match response examples to request examples) then fern generate produces errors as it seems to want all examples to have unique names.
[api]: Found 2 errors and 0 warnings. Run fern check --warnings to print out the warnings.
[api]: payments.yml -> service -> endpoints -> create-booking-payment
       Duplicate example name: Card Payment
[api]: payments.yml -> service -> endpoints -> create-booking-payment
       Duplicate example name: Bank Account Payment

Example OpenAPI.
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              ...
            examples:
              Card:
                summary: Card Payment
                value:
                  ...
              Bank:
                summary: Bank Account Payment
                value:
                  ...
      responses:
        '200':
          description: Payment successful
          content:
            application/json:
              schema:
                ...
              examples:
                Card:
                  summary: Card Payment
                  value:
                    ...
                Bank:
                  summary: Bank Account Payment
                  value:
                    ...

To reproduce
Steps to reproduce the behavior:

Using the Bump.sh Train Travel API openapi.yaml https://github.com/bump-sh-examples/train-travel-api
And using generators:

generators:
    - name: fernapi/fern-typescript-node-sdk
      version: 0.9.5
      output:
        location: local-file-system
        path: ../sdks/typescript
    - name: fernapi/fern-typescript-express
      version: 0.17.3
      output:
        location: local-file-system
        path: ../server/express

Run the command fern generate
See error

Expected behavior
I expect the train travel api to generate openapi without errors.
CLI Version
0.39.4

Update, my mistake, it's not the names (the variable name in the YAML) but the summary string.
If I change the examples summary string in the response then all summaries are unique.
examples:
  Card:
    summary: Card Payment Response

  Bank:
    summary: Bank Account Payment Response

This avoids the Microcks convention as the names need to be the same but summary does not matter.
Still, I'd call this one a bit unexpected.

I ran Travel Train spec 1.0.0 on CLI version 0.46.2 and got no error message. Resolving as the user no longer runs into an error for this.


Adding required "location" parameter to NIC examples

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-node

Automation for azure-sdk-for-js

Hello!!
The Rest API Specs team wishes everyone a happy holiday and would like to kindly inform you that responses and review to Pull request will be delayed during the holiday period (now -> 2nds of January) to allow for Awesome reviewers to have an awesome time with their families during the holidays!
Thanks and Have a WONDERFUL HOLIDAY

Can one of the admins verify this patch?

@zikalino  please use our one note article to follow. target it to monthly branch instead of master and follow right scenario

+@avijitgupta as a NIC code owner


Error request

Once launch first command the request made is never made.
Thanks for your script and your help

Docker hub issues on their end. It'll be up shortly.


[BugFix] Fix _getitem_batch_size in various edge cases.

Description
This PR fixes various bugs I encountered in _getitem_batch_size where for particular choices of index the following test would fail
assert tensor[index].shape == _getitem_batch_size(tensor, index)

I first noticed this in the case where the index was a tuple of tensor-like indices. Indeed something as simple as
tensor = torch.rand(2, 2)
index = ([0], [0])
assert tensor[index].shape == _getitem_batch_size(tensor, index)

currently fails on main. The correct behaviour when there are tuples of tensor-like indices present is to broadcast them onto a common shape, and then extract the diagonal entry. So tensor[list1, list1] is roughly equivalent to torch.stack([tensor[i, j] for i, j in zip(list1, list2)]). The final shape depends slightly on whether those tensor-like indices were contiguous or not.
Handling Boolean masks is also a bit delicate. From the NumPy docs on advanced indexing it turns out that masking is equivalent to converting the mask to a tuple of integer indices with mask.nonzero() which can equivalently be written mask.nonzero().unbind(-1) if mask is a PyTorch tensor rather than a NumPy array.
I've added tests which check thousands of indexing combinations (these can probably be relaxed a bit), though it's possible I've missed something so feedback is welcome!

Thanks! I've addressed your comments.


Ability to inherit data classification rules from upstream column metadata and/or column naming patterns

This would allow the data classification to be added by the tap developer or the tap user, which in turn would pass downstream to the mapper and also the target, each of which could leverage this when deciding whether to hash and how/whether to serialize in the downstream data source.
This capability could be delivered in 3 (or more?) ways which could optionally be split into separate features or issues:

For SQL sources: if the source table supports column comments or metadata, our SQL SDK handling could get that column metadata and add data classification to the tap's stream.
For non-SQL sources like Salesforce, we could provide a pre-defined interface for tap developers to implement the same.
As a general application for all SDK-based taps, we can provide a config option for users to explicitly apply certain data classification labels to source properties - based on column name or column naming pattern.

Related to, and pairs with:

#1537

Still relevant


Enhancements to Contribution Guide and Code of Conduct

This pull request aims to improve the project by introducing a comprehensive contribution guide and a code of conduct for contributors, enhancing collaboration, and maintaining a welcoming environment for all.
Changes:
-Enhanced the README.md with detailed contribution guidelines.

Introduced a CODE_OF_CONDUCT.md for contributor behavior.

Testing:

Reviewed and tested locally.

Checklist:

[x] Followed project guidelines.
[x] Provided a detailed description.
[ ] Awaiting review.

Screenshots:-

Kindly help me review this update @devcer

Can you add the following sections as well?
Reporting Issues
Submitting Pull Requests
Review Process
Also add the table of contents as in the Rafiki Repository.

Can you add the following sections as well?
Reporting Issues Submitting Pull Requests Review Process
Also add the table of contents as in the Rafiki Repository.

yes I will do it .

I've added the requested sections.Please review the updated pull request. @devcer

@devcer can you please review the changes ?

@dev31sanghvi The table of contents is not in the right place. It should look like this guide as attached in the issue https://github.com/interledger/helm-charts/issues/12 . Please fix the headings hierarchy as well.

Thank you for Contributing to Interledger during Hacktoberfest. If you have any accepted PRs, You can claim your Swag here. Last date to fill up the form is December 10th, 2023. @dev31sanghvi


fix: Differentiate between admin and collaborator in Insight view with a small icon

:tada: This PR is included in version 2.5.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Develop

Coverage decreased (-1.6%) to 82.87% when pulling 18e7592f2e9250813f7a78b51a42ec295bc4c2d0 on develop into bc8956a9fb080ceee3fb5168f8d8ecd974cb7d5b on master.

Coverage increased (+1.08%) to 85.546% when pulling d79ac27e6e2de855c82230c1b6f89c3ac3494313 on develop into bc8956a9fb080ceee3fb5168f8d8ecd974cb7d5b on master.


Aic issues

@AIC-BV what is the reasoning or particular issue that you're demonstrating with this PR?

@bennothommo Winter Translate issue #44 as stated in PR description

@mjauvin sorry, I missed the commit (although it was a bit vague to me until you explained it).
Nevertheless, I would prefer if we have some form of description for this change, for historical clarity.

I added a description and changed the title


Reserialize materials

Overview
Continuation of my work on #5352 and #5430, preparing for release.
Reserialized using Unity 2018.4.2f1.
Changes

Continuation of #4914

/azp run


Dynamic Key?

Is it possible to use dynamic keys for Realtime Database? The following does not work, key is intepreted literally "key" not as "keyValue".
let path="/org";
let key="keyValue";
let value="itemValue";
let data={key:value};
const itemObservable = this.af.database.object(path);
itemObservable.update(data);

let key = "keyValue";
let value = "itemValue";

let data = {
  [key]: value
}

console.log(data) //=> {keyValue: "itemValue"}

What is the best way to do this?
I am having to use a dynamic path/key to filter data. 'all/' + key + group


[Chronicles of Darkness by Roll20] Community Sheet not updated

The community sheet available to everyone has not been updated with recent changes accepted into this repository. I expect this is because the release was moved to a private repository, described in the README.md in the sheet folder.

Do the changes need to get incorporated into the private repository?
Is it futile to submit PRs to the public repository for this sheet?
Can a contributor gain access to read / submit PRs to the private repository?

This was resolved by creating a copy of the "Chronicles of Darkness by Roll20" directory and applying changes there. This was at the direction of @Reonin and @clevett.


fix($chunkNames): Fix a bug using dynamic imports with nested folders

Webpack changes slashes for hyphens in nested dynamic imports. This fix solves the problem.
19

excellent. i just applied it to all potential quasis. i.e. if you have /foo/${page}/bar/${another/baz

Awesome. Thanks James!!


Update?

can u plz update to 1.20.2 thx

Done, check out 1.6.0 on Modrinth!
https://modrinth.com/mod/pickup-notifications/version/1.6.0+1.20.2

thx


feat: text (typography) component

This PR implements a basic typography component.
Specified by the following issue : https://github.com/okp4/ui/issues/98

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


System API Docs

The System docs appear to be missing a lot of information. Namely static queries, init(), and execute(delta, time).
How would I go about adding in that information? Is this page auto-generated? Or would I go in and modify it manually?

Thanks for offering to help. These docs are generated from the typescript definition files we have for each class. In this case, https://github.com/MozillaReality/ecsy/blob/dev/src/System.d.ts
When you run npm start, it also regenerates the docs on change.

can this be merged yet?

Waiting for review by @robertlong on the typescript types PRs


aggregation without weighting

when aggregating a regional analysis (as far as I can tell) users are forced to select a weighting attribute. It would be nice to have the ability to aggregate to another geometry without being forced to normalize the aggregation
i.e. compute accessibility on set of points, aggregate to polygons (tracts, counties, etc) and select  in the "weighted by shapefile" dropdown
obviously this can be solved on the data side by including a column of ones, but would be good to have the option on the platform side.

The use case you have given makes sense if the points represent individuals; mostly where we've worked we've had aggregate data and aggregating that up without weighting it is incorrect. I'm somewhat inclined to think of this as a special case where the weights are equal to prevent users from aggregating aggregate data without weights, which is not mathematically sound. That said I see your argument, so I don't have strong feelings.

this may be related to https://github.com/conveyal/analyst-server/issues/84#issuecomment-102530073
To give a bit more context, I have disaggregate employment data (QCEW) for which I would like to compute accessibility. But I want to display access (origins) using polygons, not points, which requires aggregating to some relatively small geography like census blocks.
Personally, I'm not a fan of the Bertraud measure because a) I think accessibility makes more sense as a potential measure rather than a realized one, and b) normalizing accessibility by the population inside a given census block suggests that somehow accessibility is diminished as population inside the block increases. Conceptually, this only makes sense if you assume people are competing for jobs only with the people inside their census block, which certainly isn't true (I suppose you could also make a congestion argument, but that's equally murky). There's no way to identify the source of competition, so there's no good way to identify an denominator
So, what would be useful is the ability to display the total number of jobs available within a given commute from each census block, without the explicit need to weight by the attributes of that block. But since I have disaggregate employment data, I want the ability to keep that precision in the accessibility calculation

Ah, I think there's some misunderstanding here, probably created by some confusing comments in the code (and additionally some code that incorrectly applied the algorithm that I replaced in November or December). Accessibility is never normalized in the Bertaud measure, it is weighted (the division is just to divide by the sum of the weights). This is simply a weighted average; we probably shouldn't even call it Bertaud, as his findings were not the methodology of the averaging but its relationship to economic performance, and his findings were only about doing the averaging at a metropolitan scale. If you're not trying to aggregate to larger origins than those for which you originally calculated, there's no need to use Bertaud. But for your use case we do need to implement #84.

yeah, that makes a lot more sense. thanks for clearing that up

@knaaptime can we close this issue or is this still something that you'd like to see?


Move to openzipkin-contrib

Given that we have a core repository zipkin-go this should be move to openzipkin-contrib in order to have clarity about what is the zipkin core and what is not.
Ping @openzipkin/core

I have 0 objections to moving this... zipkin-go is the preferred and core tracing implementation for Zipkin in go. This does not belong here anymore.


Write to .CSV/Excel/Sheets instead of .txt

Hey Hi @xuveki, could I try working on this issue?
For this we just need to create a csv and keep updating it right?

Hey @Aspireve, sure thing! Yes, creating and updating the file, just like the current "laps-history.txt." The info I was planning on writing:

Date program was opened
Starting time and day
Ending time and day
Tasks
Task times
Repeated tasks
Repeated task time totals
Total time
Comments.

A design problem with writing to a spreadsheet how to go about presenting the tasks and times. There's always going to be one total time, one start date, one comment field, etc., but the tasks and their times are variable.

Hey Hi @xuveki
I actually ran the program but didn't get any txt file in my folder.
So do you mean something like
Start User Session

Complete Task One (time, data, stuff)
Complete task Two (time, data, stuff)

End user session
Also If the csv file has to be made after the session is complete we could use a pandas data frame

The dataset could be
SessionData.csv
Session Id, Session Name, Start Time, Comments, Total Time.....
TaskData.csv
Session Id, Task Name, Task Start Time, Task End Time, Repeated times....
How does this type of a dataset sound, it'll just 2 csv files with Session Id as the Primary Key

@Aspireve, Thanks for letting me know about the .txt file not working. Are you on Windows/using the .py file to run the program? I tried that and had trouble too so I fixed some path issues in the create_file_and_write() function. It should now write/create a .txt file using either the exec or .py. Let me know if you still run into any issues with that.
Your breakdown is pretty much it. It would be similar to the output in the .txt file. Example pic below.

I'm not familiar with pandas! I'll check it out soon.
As for the layout, just the task length is fine. And 2 CSVs could work but it might be annoying to have to switch between 2 sheets in excel to see the data. Something like this could be a good solution. I haven't looked into python to excel so I have no idea how hard this is.

Hey Hi @xuveki!!
Sorry was a bit inactive (Have my college exams going on currently lol)
Actually the layout you mentioned might not be possible to create in a CSV file cause a csv file is basically a file with a rows (as text) and column values as the values separated by a comma (,) and the only operations on the file would be the basic CRUD (Create, read, Update, Delete) actions.
something like this

(in notepad)
(in excel)

so making the format you spoke about might not be possible
Instead I would suggest we could follow the data storing in the above format (which I mentioned) and when the user requests to view the data it would create an excel file in this format (the one you told about)

@Aspireve,
No worries! My schedule is hectic right now too, so I can't spend as much time as I'd like on this.
Understood about keeping the file handling to basic CRUD. Any reason for picking pandas over the csv library? I'm not familiar with it, but it seems like people recommend it for more complex work.
With the csv library route, I think something simple like this could work using csv and joining two lists. What do you think?

Using a headerList + taskNameList and a valuesList + taskTimeList. What do you think? The writing/appending could just be
convertStrings = csv.writer(file_object)
convertStrings.writerow(fullHeaderRow)
convertStrings.writerow(fullValueRow)
"Repeated" tasks could be added as well, like in the txt file. It's a dictionary so there might be a different way to implement that.

Yup exactly we could do this. but kinda having a variable number tasks and time for them might create a bit of a problem
Kinda had studied about this concept called Data-Base Normalization wherein having a variable number of columns might create a problem as the project scales in the future
But still though we could try doing your way aswell cause I don't think having a  variable column length might cause a problem for this project cause we wont be calling for complex queries from the csv file

@Aspireve
Interesting! Thanks, I didn't think about that being an issue in the future. If you'd like to try a solution that might be more scalable, then we could go for that as well. Either way, I'm game!


Github Push Got Failed

Successfully update Deployment.yml but give following error when changes push to github :
<EMAIL_ADDRESS>11: Syntax error: Unterminated quoted strin

I think this line create some issue
git push<EMAIL_ADDRESS>HEAD:main


Add labelOffset option to scales

This allows the labels to be offset from the grid lines, to prevent them from overlapping and being hard to read, for example:

vs.

Coverage remained the same at 75.283% when pulling 7ee5af81af59e66a2f6e11c04cdb054c8cef934e on tomduncalf:label_offset into 64b9510dedaa36688bfdaee3f1014156cde997a7 on chartjs:master.

Looks good. I am +1 to merge on this. Thanks for updating the docs!

Cheers :+1: thanks for all your work helping to maintain the project! It's worked really well overall on my current project


Times MYA values are shifted down by 1

The beginning & end time values for ages are shifted "down" one. For example the beginning & end of MYA "Tithonian" (top Age of column 2) are 149.2 and 145 respectively, as per https://github.com/i-c-stratigraphy/chart-data/blob/main/chart.ttl#L4561-L4568 and should be displayed like this:

but are displayed like this:

So the MYA values just need bumping "up" by one.

I belive this resolves the issue

Great, let me know when it's up at https://stratigraphy.org/chart-data/ and I'll close the Issue.

I have further cleaned it up, offsetting the value by 50% to line up with the lines

Solved in Chart as released at https://stratigraphy.org/chart-data/


Obtain tokens based on app key and secret

Initial implementation: when user provides no token but does provide app key and secret, the token is obtained automatically. Refresh tokens are also obtained when required.

@FabienLavocat @jfan-dolby @Adam1-3 Ready for review.

We will want to add a bit of info in README about the alternative path of authentication, say for convenience we allow direct use of app key and secret with blueprints, this is not the recommended way since the secret is a permanent credential. For production use, it is recommended to use the client access token and setting up a server to generate tokens for the Unreal application to access the Communications API service.
@kubaau  @FabienLavocat

The issue itself is solved. The last comment will be addressed in #26 .


Review requirement IDs used in tests

Requirements
The requirement IDs used in the specification changed when we added support for client-side feature flags. The .NET SDK uses those IDs in some tests. These should be reviewed to make sure they match the spec.
Requirements that are out of date:

dotnet-sdk/test/OpenFeature.Tests/OpenFeatureClientTests.cs

Spec IDs: 1.4.5-1.4.14

dotnet-sdk/test/OpenFeature.Tests/OpenFeatureHookTests.cs

Spec IDs: 4.3.3-4.3.8

Here's the diff between spec v0.5.2 and v0.7.0.

The evaluation context also lacks the required 'targeting key` field
https://github.com/open-feature/dotnet-sdk/blob/2c237df6e0ad278ddd8a51add202b797bf81374e/test/OpenFeature.Tests/OpenFeatureEvaluationContextTests.cs#L46

@roelofb excellent catch! I've created a bug for this: https://github.com/open-feature/dotnet-sdk/issues/230

@toddbaert Added a PR: #231


Write a custom steering handler

This steering handler stinks:

Because:

JOY_EVENT_STEER_ANALOG dies if JOY_EVENT_STEER is used
Returning 0 doesn't return in a perfect 0 in steering value, instead it ends up with 0.0007 or something similar
Analog steering resolution is limited to 8 bits, whereas XInput allows for 16 bits

Rewriting this will resolve these issues and allow for better steering control in games (not counting drag races)

fixed in https://github.com/xan1242/NFSU-XtendedInput/commit/31f98570921225d22e2338852fd3dcf696422031

@Nowena I've released it: https://github.com/xan1242/NFSU-XtendedInput/releases/tag/2.4

It works, thank you. But the entry for dpad steering is null listing a '0'. I had to add 'XINPUT_GAMEPAD_DPAD_LEFT' and 'XINPUT_GAMEPAD_DPAD_RIGHT' for enabling both steerings at the same time. I don't know but since I already got familiar with the plugin, this might not be as obvious to other users.
I hope more people find your plugin. I saw several threads online for people asking about the same issue I had with shift up/down not mapping and your plugin solved it plus way more 🥳

It works, thank you. But the entry for dpad steering is null listing a '0'. I had to add 'XINPUT_GAMEPAD_DPAD_LEFT' and 'XINPUT_GAMEPAD_DPAD_RIGHT' for enabling both steerings at the same time. I don't know but since I already got familiar with the plugin, this might not be as obvious to other users.

It was purposefully done this way because the D-Pad has it already bound to the in-game FE actions in UG2. I could've left it for UG1 but I've also mapped some functions there too so it's kinda janky.

I hope more people find your plugin. I saw several threads online for people asking about the same issue I had with shift up/down not mapping and your plugin solved it plus way more 🥳

Thanks! Currently the biggest limitation is the cumbersome INI editing which is what I'm trying to get around by implementing the ingame menus to cooperate with the ini reader.
It's a case of being a little too late with this kind of a plugin, that's why it's mostly unknown. I've already presented it to KuruHS (via MW) but he found the ini editing to be very annoying.

It was purposefully done this way because the D-Pad was already bound to the in-game FE actions in UG2. I could've left it for UG1 but I've also mapped some functions there too so it's kinda janky.

I see but when I am in free roam mode, I cannot steer with the dpad; however, the map, sms, stats and entering events still work so there's no conflict that way. I tried a drift race and I was able to steer with both the dpad and left analog stick.

Thanks! Currently the biggest limitation is the cumbersome INI editing which is what I'm trying to get around by implementing the ingame menus to cooperate with the ini reader.
It's a case of being a little too late with this kind of a plugin, that's why it's mostly unknown. I've already presented it to KuruHS (via MW) but he found the ini editing to be very annoying.

Well, pretty sure most plugins I've tried are managed with ini editing anyway. There is currently no other solution for the mapping issue affecting xinput devices aside from your plugin, I'm sure it'll catch on quick. But yea, having a more intuitive and graphic interface for remapping would surely give more attention to the plugin. Although, as it is, I am pretty pleased. Everything is as it should.

Tested NFSU1 and your xtendedinput plugin works fine too with that game


export tools

Export the internal tools (f.i. AttributeManager) in .d.ts
If someone wants to extend the bridge, they can be really helpful.

released in 0.5.1


Timeout : throw error with Subject, even after data emitted by Subject

Describe the bug
Following documentation, i expect that opertor "timeout" emit an Error only if no data has been emitted after a delay.
With an operator like "of" or "interval", it works well. But with a Subject, even after a data is emited, the timeout will throw an Error.
Expected behavior
If the Subject emit something in the expected delay, there should not be any Error from the timeout operator
Reproduction code
No response
Reproduction URL
https://stackblitz.com/edit/rxjs-uwysqx?file=index.ts
Version
7.5
Environment
No response
Additional context
No response

Hi @Rebolon,
I think the answer as to why an error occurs can be found with the help of the other 2 examples(of and interval):

of:  it emits a value and then immediately completes within 1s
interval: will keep on emitting values once every 500ms, so it's still acceptable for timeout's 1s

In the Subject example:
const subject = new ReplaySubject(1);
subject.pipe(timeout(1000)).subscribe({
  next: (value) => console.info('ReplaySubject next', value),
  complete: () => console.info('ReplaySubject complete'),
  error: (err) => console.info('ReplaySubject error', err),
});
subject.next('new value');

Notice that you only emit a value and that's all. What's actually happening under the hood is that the timeout's internal timer will reset after a value has been received from the source. The relevant lines are these:
// When receiving a value from source:

// clear the timer so we can emit and start another one.
timerSubscription?.unsubscribe();
seen++;
// Emit
subscriber.next((lastValue = value));
// null | undefined are both < 0. Thanks, JavaScript.
each! > 0 && startTimer(each!);

So, the problem comes from the fact that after receiving the first value from the Subject(i.e. 'new value'), timeout will restart its timer, but the Subject will no longer emit values at all, so timeout will throw.

Thank for the answer. So now i understant that the timeout operator is not just to control that there is at least 1 emitted value, but to control that each value are emitted before timeout.
Now i need to find a solution for my use case :-)


Game crashes when going on mod options, now also crashes when clicking mod list.

on 1.16.3 fabric, have tried the latest version for 1.16.4 and 1.16.1 (cant find one for 1.16.3) and the error still occurs, this was working fine before.
crash-2020-12-05_09.34.22-client.txt
crash report is above.

This is the last version that supported 1.16.3 https://www.curseforge.com/minecraft/mc-mods/modmenu/files/3023985


Install NeuroDebian following the instructions on neuro.debian.net

Closes #39.
An alternative to #40.

Codecov Report

Merging #41 (0933f14) into master (0b3b1ab) will decrease coverage by 1.65%.
The diff coverage is 18.18%.

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
- Coverage   65.21%   63.56%   -1.66%
==========================================
  Files           1        1
  Lines         966      977      +11
  Branches      186      186
==========================================
- Hits          630      621       -9
- Misses        280      301      +21
+ Partials       56       55       -1

Impacted Files
Coverage Δ

src/datalad_installer.py
63.56% <18.18%> (-1.66%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0b3b1ab...7f09ed3. Read the comment docs.

The one CI failure is because a run of apt-key couldn't connect to the network.

happens... in such cases we just tell people to wget our copy of the key http://neuro.debian.net/_static/neuro.debian.net.asc and add it manually...
https://github.com/neurodebian/neurodebian/blob/master/tools/neurodebian-travis.sh#L33

@yarikoptic Should the script do that too?

Yes if we would like to keep it robust

Thank you @jwodder !  We are green and corner cases seems to be covered, let's proceed with this one


Checkbox group: at least one checkbox required

Hello,
I didn't find how to use "required" attribute with checkbox array, if I want to select "at least one element":
<input type="checkbox" name="foo[]" value="1" class="form-control"/> Choice 1
<input type="checkbox" name="foo[]" value="2" class="form-control"/> Choice 2
If I specify "required" on each input, we have to check all checkbox to validate form. But is it possible to set form valid when at least one is checked?
Thanks a lot.

For that, you should use radio instead.

Thanks for your answer. But with radio group I can only select "one" element in the list, and not "at least" one element.

Oh... I missed that point. :sweat_smile:
:+1:

I would like this implemented as well otherwise this kinda makes checkbox validation impossible with this plugin in my opinion. (Ran into the same situation)

+1, any news?

It's probably not gonna happen for awhile. I've been too busy with work to focus on the validator. Sorry.

I had implemented a custom validator that did this.  With the new version .10 I cannot get it to work anymore.  Any chance you could take a peek?

it's more a hack than a proper fix, but the following is working for me.
$('form[data-toggle="validator"]').on('validated.bs.validator', function(e)
{
    var $el = $(e.relatedTarget);
    if ($el.is(':checkbox') && $(this).find('input[name="' + $el.attr('name') + '"]').filter(':checked').length)
    {
        $el.data('bs.validator.errors', []);
    }
});

+1 any updates on this issue? @msiewert do you mind sharing the custom validator you did ?

Hello guys, I managed to develop a custom validation for this issue, here is it:
custom: {foo: function($el) {
    var sameCheckbox = $el.data('foo');

    var count = $('input[name="'+sameCheckbox+'"]:checked').length;

    if (count > 0) {

      $('input[name="'+sameCheckbox+'"]').off('.bs.validator')
      .removeData(['bs.validator.errors', 'bs.validator.deferred', 'bs.validator.previous']);

      return true;

    } else {
      return false;
    }

  } },
  errors: {foo: 'problemas'}

He is a PLUNKER: https://plnkr.co/edit/5zzY7zgRBsbLXPkygqhZ?p=preview
Hope this can help you guys, let me know.

+1
no working solution since 0.10.2...
same discussion here: https://github.com/1000hz/bootstrap-validator/issues/96

Hello.
I tried to use @rvbz 's way, however, I realised that it requires specific bootstrap-validator version which I don't want.
So I end up with this function.
Here is the jsFiddle link
function checkboxValidator(group, form, goal){
  var isChecked = false;
  var goal = goal || 1;	//Default at least one checkbox

  if(group.filter(':checked').length >= goal){
    isChecked = true;
  }

  group.not(':checked').prop('required', !isChecked);
  form.validator('destroy').validator();
}

You can choose a number of minimum requirement (by default, at least 1. In this example at least 2)
I applied @1000hz and @rvbz 's code. Thanks!

I made a custom validator for this, but I'll test @Taewa and @rvbz solutions. Thanks!

Did anyone ever get a current solution for this to work with the bootstrap validator?  I'm going to resort to old school javascript validation with alert window for now, until someone can come up with a solution to work with this plugin.  The other option would be to use parsley.js, but I already have all of my code written for this validator.

Created a bit of a workaround below.
It's contained within a function so that the function can be called on page load if any checkboxes are pre-populated
$('.form-group').on("click",'input:checkbox',function(){
    checkboxValidate($(this).attr('name'));
});
function checkboxValidate(name){
    var min = 1 //minumum number of boxes to be checked for this form-group
    if($('input[name="'+name+'"]:checked').length<min){
        $('input[name="'+name+'"]').prop('required',false);
    }
    else{
        $('input[name="'+name+'"]').prop('required',true);
    }
}

rvbz's solution was the one that at last gave me successful checkbox group validation.
Many thanks @rvbz

You can use one hidden checkbox like
<input type="checkbox" value="" id="validateBox" style="visibility: hidden" required>
and in js
let $allCheckCount = jQuery('#boxSet').find('input[type="checkbox"]:checked').not('#validateBox').length
.
.
.
if($allCheckCount == 0) {             jQuery('#validateBox').prop('checked', false);         } else {             jQuery('#validateBox').prop('checked', true);         }

I have tried to use some of the solutions from this form but without luck. I've been trying to get this functionality to work since I would like to use the latest version of the Bootstrap Validator (0.11.9). Does anyone have any other solutions to this problem?


What type of update are you requesting?
A new version of an existing package
Current Package Identifier
python
Package Version
3.12.3
Please describe the changes you would like to see

@3xploiton3 - It looks like you have the msstore source enabled, which is not controlled by this repository. I checked all the packages under Python.Python.* in the winget source, and they are all up to date. Using winget install python3 -s winget will install Python 3.12.3

@3xploiton3 - It looks like you have the msstore source enabled, which is not controlled by this repository. The msstore source requires publishers of applications to upload their new version in the Microsoft Store. I checked all the packages under Python.Python.* in the winget source, and they are all up to date. Using winget install python3 -s winget will install Python 3.12.3

thanks for the explanation,


[5.6] Windows: add SwiftSyntaxCDataTypes.h to the toolchain

This repairs the toolchain manifest after apple/swift#39441 which split
the header into two files.  This ensures that both halves are packaged.

CC: @ahoppen


Bull C19 Medical Book Advertisements

First batch of medical book advertisements

Thanks, Sarah! I noticed a carriage return in one URL, which would be good to remove. Although there are some links to commercial databases, the texts look so clean that I assume you transcribed them manually. That should be fair use, I think.

Hi David,
I see that you sent me an email near Christmas — it must have gotten
swamped by all of my other end-of-semester emails! I'm very sorry for the
extremely, extremely delayed reply. Do you still need me to remove the URL?
I did transcribe the texts.
Many thanks, and apologies again,
Sarah
On Fri, 4 Mar 2022 at 15:54, David Smith @.***> wrote:

Merged #1 https://github.com/ViralTexts/transcriptions/pull/1 into main.
—
Reply to this email directly, view it on GitHub
https://github.com/ViralTexts/transcriptions/pull/1#event-6187643588,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVY3DGLMC6F344T2PGSJKSTU6J2CFANCNFSM5HUG2X4Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Sarah Bull
Assistant Professor
Department of English
X University (http://tinyurl.com/3ekwnnme)
350 Victoria Street
Toronto, ON M5B 2K3

No problem, Sarah! Thanks for the texts. I'll make a few changes on the
main branch.
David
On Fri, Mar 4, 2022 at 4:01 PM sarahebull @.***> wrote:

Hi David,
I see that you sent me an email near Christmas — it must have gotten
swamped by all of my other end-of-semester emails! I'm very sorry for the
extremely, extremely delayed reply. Do you still need me to remove the URL?
I did transcribe the texts.
Many thanks, and apologies again,
Sarah
On Fri, 4 Mar 2022 at 15:54, David Smith @.***> wrote:

Merged #1 https://github.com/ViralTexts/transcriptions/pull/1 into
main.
—
Reply to this email directly, view it on GitHub
https://github.com/ViralTexts/transcriptions/pull/1#event-6187643588,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AVY3DGLMC6F344T2PGSJKSTU6J2CFANCNFSM5HUG2X4Q
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Sarah Bull
Assistant Professor
Department of English
X University (http://tinyurl.com/3ekwnnme)
350 Victoria Street
Toronto, ON M5B 2K3
—
Reply to this email directly, view it on GitHub
https://github.com/ViralTexts/transcriptions/pull/1#issuecomment-1059527474,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALL6ML43KW4TL2MWA47D63U6J227ANCNFSM5HUG2X4Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Thanks, David! Just let me know if you need anything else from me.
On Fri, 4 Mar 2022 at 16:05, David Smith @.***> wrote:

No problem, Sarah! Thanks for the texts. I'll make a few changes on the
main branch.
David
On Fri, Mar 4, 2022 at 4:01 PM sarahebull @.***> wrote:

Hi David,
I see that you sent me an email near Christmas — it must have gotten
swamped by all of my other end-of-semester emails! I'm very sorry for the
extremely, extremely delayed reply. Do you still need me to remove the
URL?
I did transcribe the texts.
Many thanks, and apologies again,
Sarah
On Fri, 4 Mar 2022 at 15:54, David Smith @.***> wrote:

Merged #1 https://github.com/ViralTexts/transcriptions/pull/1 into
main.
—
Reply to this email directly, view it on GitHub
<https://github.com/ViralTexts/transcriptions/pull/1#event-6187643588
,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AVY3DGLMC6F344T2PGSJKSTU6J2CFANCNFSM5HUG2X4Q

.
Triage notifications on the go with GitHub Mobile for iOS
<

https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675

or Android
<

https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub

.
You are receiving this because you are subscribed to this
thread.Message
ID: @.***>

--
Sarah Bull
Assistant Professor
Department of English
X University (http://tinyurl.com/3ekwnnme)
350 Victoria Street
Toronto, ON M5B 2K3
—
Reply to this email directly, view it on GitHub
<
https://github.com/ViralTexts/transcriptions/pull/1#issuecomment-1059527474
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AALL6ML43KW4TL2MWA47D63U6J227ANCNFSM5HUG2X4Q
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

—
Reply to this email directly, view it on GitHub
https://github.com/ViralTexts/transcriptions/pull/1#issuecomment-1059529756,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVY3DGIG6VJZWFK6DCMT3NLU6J3JRANCNFSM5HUG2X4Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Sarah Bull
Assistant Professor
Department of English
X University (http://tinyurl.com/3ekwnnme)
350 Victoria Street
Toronto, ON M5B 2K3


No issues are highlighted in files that are located on a network drive

When opening a file from a network drive, the editor doesn't highlight issues with red/yellow squiggly lines as it should. See this screenshot:

Despite the code being obviously incorrect, it's not highlighted.
As you can see at the top, the file in question is Z:\demo.py. However, in the "Problems" tab at the bottom, the path of the file is \\<IP_ADDRESS>\srv\nfs\general\demo.py. This explains why the problem isn't highlighted: Because it's in a "different" file.
Environment data

Language Server version (I assume this means "Pylance"): v2023.12.1
OS and version: Win10
Python version (& distribution if applicable, e.g. Anaconda): CPython 3.12

Thanks for the issue. This should be a dupe of #5260 which should be fixed soon.


ARROW-3449: [C++] Fixes to build with CMake 3.2. Document what requires newer CMake

This also resolves ARROW-3984

BTW CMake 3.2 is available in conda with conda install cmake=3.2. Made setting up a separate build toolchain pretty simple

Now We have a nightly test for building with CMake 3.2

That's great, thank you


jquery reference in Sidenav.getInstance

   /**
     * Get Instance
     */
    static getInstance(el) {
      let domElem = !!el.jquery ? el[0] : el;
      return domElem.M_Sidenav;
    }

Generally it is in all getInstance occurrences. Shoudln't we fully drop support for jQuery or is this meant as migration helper?

Imo we should cath undefined els and throw a meaningful error or exception.
This should also prevent many issues/tickets from the start.

Although we've dropped it as a dependency, a lot of people still use it, so this is meant to make use with jquery easier.


Write tests for Socket class

Unclear how this can be done, even Melih couldn't help.

Not done as we could not figure out out


ERR_CONNECTION_RESET with RequestSizeLimit (RedirectToAction doesn't work)

When I mark a Controller Action with a RequestSizeLimit and upload a file bigger, the request seems to go through all the pipeline but from the browser the connection get reset. I got a BadHttpRequestException: Request body too large on the console. This causes that the action doesn't redirect to the GET action that loads the View and we got a 404 error on the Post route.
Requests flow:

Smaller: POST (/Home/Upload) -> GET (/Home/Index)
Bigger (actually happen): POST (/Home/Upload) -> Connection reset -> Browser show 404 (/Home/Upload).
Bigger (should happen): POST (/Home/Upload) -> Bad request exception -> Exception Handling middleware -> GET (/Home/Error)

This is my pipeline and code:
if(env.IsDevelopment())
{
    app.UseDeveloperExceptionPage();
    app.UseExceptionHandler("/Home/Error");
}
else
{
    app.UseExceptionHandler("/Home/Error");
}

/* Caching */
app.UseResponseCompression();

/* Static files and resource */
app.UseDefaultFiles();
app.UseStaticFiles(new StaticFileOptions
{
    OnPrepareResponse = ctx =>
    {
        const string header = "public,max-age=3600";// An hour
        ctx.Context.Response.Headers[HeaderNames.CacheControl] = header;
    }
});

/* Authentication */
app.UseAuthentication();

app.UseSession();

/* Mvc */
app.UseMvcWithDefaultRoute();

My method is decorated with:
[HttpPost]
[ValidateAntiForgeryToken]
[RequestSizeLimit(10_000_000)]

Thanks for contacting us, @smartcodinghub.
@Tratcher, do you have any thoughts regarding this?


Add hyperlink support for external calendar event locations

Is your feature request related to a problem? Please describe.
Some of my Google Calendar events have hyperlinks either in the Location field (for example, for virtual events with an invitation link). While the text in the location field does appear in the Time Ruler, the links are not hyperlinked so I cannot click them to open the event location.
Describe the solution you'd like
I would like synced Google Calendar events that have hyperlinks in the Location field to be clickable when shown in the Time Ruler plugin.

Yes, this would be a good thing to do. I can see what the Obsidian API has to support hyperlinks.


Add 2-Year Time Period

Time period is taken in multiples of week. Minimum period is 1 week and maximum is 208 weeks(4 years). While providing unlock time, it has to be added to the current block time.


Simplify adding new probes

Would be nice to have a more straighforward approach to add new probes.
Maybe is it possible to copy how Telegraf handles it.
They add a new folder with the "plugin" plus an import in a file with all the plugins: https://github.com/influxdata/telegraf/pull/7418/files
They relay in the "init()" function of each folder to register the plugin.

We thought about using this approach (instead of calling the Register function manually here https://github.com/skydive-project/skydive/blob/master/agent/topology_probes.go#L48-L60). But, if I remember correctly, we thought it was more explicit to call the Register function than relying on an unnamed import like import _ "github.com/skydive-project/skydive/topology/probes/docker"


create invalid workflowtemplate in ui does not show error but creates default

when you paste below into a new workflowtemplate in UI it does not show any error, discards what u pasted in but creates a default workflowtemplate
container:
  image: x
  command: [bash, -c]
  args: ["bash script.sh "{{inputs.parameters.x}}""]

Hi @tooptoop4, I would like to work on this issue. But, would you specify what type of error it should print?

invalid yaml at line 4

Thanks for your help. Can you assign this issue to me?

invalid yaml at line 4

only committer can, but you can raise PR without being assigned

crunchy

@sarabala1979 can u reopen?

related to https://github.com/argoproj/argo-workflows/issues/13701


Adds support for bg color and opacity

https://github.com/adobe-community/issues/issues/5820
https://github.com/adobe-community/issues/issues/7277
cc: @jimdelois

LGTM

:+1:


feat(transport): Fix TLS accept w/ peer certs

i don't know where to leave this comment ... but this commit doubled my service's performance. it's really amazing!!!

if needed, i can help backport this commit to 0.1, 0.2 and 0.3 and let everyone enjoy it!!!

@dingelish were you using an older version like 0.2 before we attempted to fix this? If so it was doing the handshake slowly. I don't think we should backport but instead have people upgrade. Glad it worked :)


investigate jetty 12

How important is maintaining Servlet support in this effort?
Meaning, if this migration is made to Jetty Core only, with no Servlet support, is that acceptable?

How important is maintaining Servlet support in this effort?

I would say it's required. Personally, I am quite married to Jetty, but we have a lot of people who attach Javalin to a different server as a servlet, and we have some maintainers who want the project to become server independent.

Ripped out the handler-wrapper stuff and changed to ee10. Only resource handler isn't compiling, but many tests will fail once we get it compiling.