[RELEASE] Release v. Next

Can we get a new tagged release of the library per bug fix #1068? This is a blocker for our AOSS migration efforts.
If this is a lot of effort, fixing this bug with publishing this SNAPSHOT would at least allow us to get out an interim build. Thanks!

Tagging @Xtansia for a release, or I can take care of it early next week.
@jordanpadams want to try and help with the fix for the SNAPSHOT workflow?

@dblock the 403 forbidden indicates an issue with the login information, which I do not have access to. It needs to be updated either with the correct username/password, or it may need to be a generated set of tokens generated through Sonatype: https://central.sonatype.org/publish/generate-token/

2.12.0 was released, https://github.com/opensearch-project/opensearch-java/releases/tag/v2.12.0

Hi @dblock ,
Something does not seems right with the release.
The bug https://github.com/opensearch-project/opensearch-java/issues/1068 we wanted to fix is not fixed in the release (according to my tests).
And, randomly, I also noticed that the following commit https://github.com/opensearch-project/opensearch-java/commit/373802683b0380985d6f246218d2e1b051c8f394 is not in the release.
Do you have an idea why that is ?
Thanks

@tloubrieu-jpl I can confirm from decompiling the 2.12.0 jar from Maven that it does contain the changes from PR #1072. Can you please confirm your POM/Gradle/etc. configuration and which version of the dependency you are taking?
It will not contain commit 3738026 as that is only going in the next major release (3.0.0) as it is a breaking change.

Thanks @Xtansia , I captured the maven dependencies of my project there:
 +- org.opensearch.client:opensearch-java:jar:2.12.0:compile
[INFO] |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  +- org.eclipse.parsson:parsson:jar:1.1.6:compile
[INFO] |  |  \- jakarta.json:jakarta.json-api:jar:2.1.3:compile
[INFO] |  +- org.opensearch.client:opensearch-rest-client:jar:2.12.0:runtime
[INFO] |  +- jakarta.json.bind:jakarta.json.bind-api:jar:2.0.0:runtime
[INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.17.0:runtime
[INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.17.0:runtime
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.17.0:runtime
[INFO] |  |  \- net.bytebuddy:byte-buddy:jar:1.14.9:runtime
[INFO] |  \- org.eclipse:yasson:jar:2.0.2:runtime
[INFO] |     \- org.glassfish:jakarta.json:jar:module:2.0.0:runtime

I could retest by building from branch v2.*.* to compare the behavior with the release 2.12.0.

I've built the jar from branch 2.x and our test for bug https://github.com/opensearch-project/opensearch-java/issues/1068 is failing, but works on branch main
I think @workmanw developed integration tests for that bug. Do they run with command ./gradlew clean build -x test.

@tloubrieu-jpl You'll need an AOSS collection and authenticated creditionals.
./gradlew integrationTest --tests "*AwsSdk2*" -Dtests.awsSdk2support.domainHost=....us-west-2.aoss.amazonaws.com -Dtests.awsSdk2support.domainRegion=us-west-2 -Dtests.awsSdk2support.serviceName=aoss

Note that if you're using SSO based auth you'll also need to include that jar into the build.

@tloubrieu-jpl You'll need an AOSS collection and authenticated creditionals.
./gradlew integrationTest --tests "*AwsSdk2*" -Dtests.awsSdk2support.domainHost=....us-west-2.aoss.amazonaws.com -Dtests.awsSdk2support.domainRegion=us-west-2 -Dtests.awsSdk2support.serviceName=aoss

Note that if you're using SSO based auth you'll also need to include that jar into the build.

Thanks @workmanw , I am getting this error when I run the integration test as you proposed:
AwsSdk2AsyncStacktraceIT > testFailureFromClientPreservesStacktraceOfCaller FAILED
    java.lang.AssertionError at AwsSdk2AsyncStacktraceIT.java:24
        Caused by: java.lang.NoClassDefFoundError at AwsSdk2AsyncStacktraceIT.java:24
            Caused by: java.lang.ClassNotFoundException at AwsSdk2AsyncStacktraceIT.java:24

I am completelly new to gradle. Is there a dependency missing somewhere ?


Removed extra .Site.LastChange listing in docs.

For some reason, .Site.LastChange is listed twice in the built-in variables listing in the v0.14 documentation. This only removes the extra.

Sharp eyes, @AustinDizzy!  Thank you for your contribution!  Committed as 6511e2c48f7e8e8f0d10c63b24aa1b9a2a273a27 (master) and c0d01230e3d2f807d73882a85dab4c81cddca896 (v0.14.docs).


Question : How to mention the volume profile in docker run command?

it  looks like "docker run" cannot get the volume options flag:
#> docker run -it --volume-driver flocker -o profile=gold -v gold_volume:/data ubuntu bash
flag provided but not defined: -o
the alternative is to create the volume first with the relevant profile and then use the volume in the docker run command.
#> docker volume create -d flocker -o profile=gold --name gold_volume
#> docker run -it --volume-driver flocker -v gold_volume:/data ubuntu bash
But is there a way to use profiles in the same docker run command?
Thanks
Shay

@shay-berman no, this is the docker workflow.
The below the the recommended workflow. You can open an issue with docker
 docker volume create -d flocker -o profile=gold --name gold_volume
docker run -it  -v gold_volume:/data ubuntu bash

I think we should consider to improve that in the Docker project.
docker run -v will create the volume but with default profile,
so it would be nice to add an option to specify the profile of the volume in the docker run command (instead of first create the volume with a specific profile and then docker run with this volume).
I agree its in the docker project and not in Flocker.


View record links failing

For some reason the View record links in the collection
http://bibsoup.net/pitman/aldous2
are failing.
e.g. http://bibsoup.net/record/15893121574406318250
The address seems wrong: I would expect it to be
http://bibsoup.net/record/aldous2/15893121574406318250
but this fails as well
OK, this seems to be caused by records having ids with trailing spaces. Should strip spaces around any user-provided ids.
Also, please document what is acceptable and what not for user provided ids, and provide graceful handling if user provides unacceptable ids.   Users want to be able to upload with their own ids, and then to access their data with these ids, so cleaning the ids on upload is not really an answer. If necessary, user should be alerted that some records have failed to upload because of unacceptable ids, and be directed to a help page with advice about creation of acceptable ids. If user is stuck with unacceptable legacy ids,  this is a problem. User will have to retain an id correspondence  on their side, which would be a big barrier to contribution of data.  It is very important to be clear about which non-alpha-numeric chars are acceptable as ids.
I would hope any string acceptable as a url could serve as an id. If not, this needs to be very clearly documented.

INVALID. For me http://bibsoup.net/pitman/aldous2 is empty so closing as invalid for the present.


How hub to hub associations work

I have configured the Hub to Hub association for 12 weeks now, but the search results still do not show breadcrumb as described in your chapter. The Hub to Hub association for the Hubs are fine. If I open the top Hub site the sub Hubs are listed as associated Hubs.
I assume that when searching for a document stored in a child hub site, the breadcrumbs should list the hub associations. But nothing has changed, no breadcrumbs. I see this behavior also in other tenants and have no explanation why the Hub to Hub association is not visible in search results. Is this Hub to Hub search breadcrumb limited to Pages, Documents,... results?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c98d42c3-a275-25a1-efbf-03a383c511c1
Version Independent ID: 7de4ec5f-4a1d-651f-1ace-6d3f62cbf89a
Content: Associate a hub site to another hub site in the SharePoint admin center - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/hub-to-hub-association.md
Service: sharepoint-online
GitHub Login: @MattEEvans
Microsoft Alias: matteva

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


[API] Bug Report: replaceAnimationWithFade() does not update FirstPersonConfiguration correctly

Bug Report: replaceAnimationWithFade() does not update FirstPersonConfiguration correctly
Describe the bug
The replaceAnimationWithFade() method does not seem to correctly update the FirstPersonConfiguration object of the AnimationContainer.
The goal of my implementation is to render one or both of the player's arms depending on the action they are performing, ensuring that the player's main arm is always visible. For example:

If the player is holding a sword in their main hand, only that arm should be visible.
If they are also holding a shield in their secondary hand, both arms should be visible until the items are unequipped.

The problem is that while the conditions to detect changes in the player's items and actions are executed successfully, the secondary arm is not rendered until the player interacts with an item (e.g., eats an apple), which forces the renderer to update.

To Reproduce

Implement the following method to handle the animation and arm visibility logic:
@Unique
private void playCurrentAnimation(boolean condition, ModifierLayer<IAnimation> animationContainer, KeyframeAnimation animation) {
    System.out.println("Pre Load Anim: " + animationContainer.getFirstPersonConfiguration(0));
    if (condition) {
        animationContainer.replaceAnimationWithFade(AbstractFadeModifier.standardFadeIn(fadeTime, INOUTSINE),
                new KeyframeAnimationPlayer(animation)
                        .setFirstPersonMode(FirstPersonMode.THIRD_PERSON_MODEL)
                        .setFirstPersonConfiguration(new FirstPersonConfiguration(true, true, true, true)), true);
        System.out.println("Set all visible");
    } else {
        animationContainer.replaceAnimationWithFade(AbstractFadeModifier.standardFadeIn(fadeTime, INOUTSINE),
                new KeyframeAnimationPlayer(animation)
                        .setFirstPersonMode(FirstPersonMode.THIRD_PERSON_MODEL)
                        .setFirstPersonConfiguration(new FirstPersonConfiguration(true, false, true, false)), true);
        System.out.println("Set left parts not visible");
    }
    System.out.println("Pos Load Anim: " + animationContainer.getFirstPersonConfiguration(0));
}

Observe the log results for different conditions:

Condition false:
[19:52:24] [Render thread/INFO] (Minecraft) [STDOUT]: Pre Load Anim: FirstPersonConfiguration(showRightArm=true, showLeftArm=false, showRightItem=true, showLeftItem=false)
[19:52:24] [Render thread/INFO] (Minecraft) [STDOUT]: Set left parts not visible
[19:52:24] [Render thread/INFO] (Minecraft) [STDOUT]: Pos Load Anim: FirstPersonConfiguration(showRightArm=true, showLeftArm=false, showRightItem=true, showLeftItem=false)

Condition true:
[19:52:25] [Render thread/INFO] (Minecraft) [STDOUT]: Pre Load Anim: FirstPersonConfiguration(showRightArm=true, showLeftArm=false, showRightItem=true, showLeftItem=false)
[19:52:25] [Render thread/INFO] (Minecraft) [STDOUT]: Set all visible
[19:52:25] [Render thread/INFO] (Minecraft) [STDOUT]: Pos Load Anim: FirstPersonConfiguration(showRightArm=true, showLeftArm=true, showRightItem=true, showLeftItem=true)

Notice that while the log shows FirstPersonConfiguration being updated correctly, the changes are not visually reflected until the player interacts with an item that forces the renderer to update.

Expected behavior
Depending on the condition passed to the method, one or both of the player's arms should be displayed without requiring additional interaction.

Screenshots or Videos
Video of the issue
Pd: the video was made with the option to show the secondary hand item on true.

Setup

Minecraft version: 1.21.1
Mod loader: Fabric 0.16.5
PlayerAnimator Library version: 2.0.0-alpha1+1.21

Other mods
The issue is not caused by mod incompatibility, as the problem persists even when PlayerAnimator is the only mod installed.

Technical details
I have debugged the mixin used by PlayerAnimator to render the player's arms. The relevant mixin code is as follows:
@Inject(method = "render(Lnet/minecraft/client/player/AbstractClientPlayer;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V",
        at = @At(value = "INVOKE", target = "Lnet/minecraft/client/renderer/entity/LivingEntityRenderer;render(Lnet/minecraft/world/entity/LivingEntity;FFLcom/mojang/blaze3d/vertex/PoseStack;Lnet/minecraft/client/renderer/MultiBufferSource;I)V"))
private void hideBonesInFirstPerson(AbstractClientPlayer entity,
                                    float f, float g, PoseStack matrixStack,
                                    MultiBufferSource vertexConsumerProvider,
                                    int i, CallbackInfo ci) {
    if (FirstPersonMode.isFirstPersonPass()) {
        var animationApplier = ((IAnimatedPlayer) entity).playerAnimator_getAnimation();
        var config = animationApplier.getFirstPersonConfiguration();

        if (entity == Minecraft.getInstance().getCameraEntity()) {
            // Hiding all parts, because they should not be visible in first person
            setAllPartsVisible(false);
            // Showing arms based on configuration
            var showRightArm = config.isShowRightArm();
            var showLeftArm = config.isShowLeftArm();
            this.model.rightArm.visible = showRightArm;
            this.model.rightSleeve.visible = showRightArm;
            this.model.leftArm.visible = showLeftArm;
            this.model.leftSleeve.visible = showLeftArm;
        }
    }

    // No `else` case needed to show parts, since the default state should be correct already
}

I noticed that the config variable in this mixin is returning the unmodified state of FirstPersonConfiguration, even though it is being updated elsewhere.

I have noticed something else while testing and it is that now debugging in the mixin of PlayerEntityMixin to see the behavior of animationApplier I have realized that this currently manages 4 layers among which the 0 has the modifications made to FirstPersonConfiguration but the 1 presents the old ones and when getting animationApplier in PlayerRendererMixin and use
animationApplier.getFirstPersonConfiguration(); this returns the data of layer 1 and not of layer 0 which is the one that presents the change.

Analyzing even more the code I have managed to understand what happens at last :V basically is that having several modifiers for the different things of my mod because each modifier has its own first person settings making that even though I was modifying it in the animation the modifiers kept the old settings and then when loading the settings the modifiers have preference before the animation. now I have created a new modifier which will be only and exclusively to handle the first person and I think that should solve all my problems.

Solved but I think I would not have been so complicated with a little documentation the truth xd


[Windows] host-gw mode get the wrong internal address

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):

Setup rancher server
Create a Windows cluster with host-gw mode
Add Linux controlplane
Add Windows worker

Result:
The cluster is fine, but the internal address of the Windows node isn't expected:

query via kubectl get node -o wide:

Other details that may be helpful:
Seems the Windows kubelet could not detect the appropriate network adapter by itself when using bridge network:

Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): rancher/rancher:master-head
Installation option (single install/HA): single install

Version: master-head (9/6/19)
Follow the same steps as the ticket description, will get the correct internal IP address of the Windows node.


Fix efergy end point for instant readings (#12622, #12701)

Description:
The 'getInstant' endpoint appears to be broken on the Efergy/EnergyHive servers, but similar values can be taken from the get 'getCurrentValuesSummary' endpoint instead. This updates the endpoint and JSON filtering as necessary.  Resubmission with a CLA signed request.
Related issue (if applicable):
#12622, #12701
Checklist:

[X] The code change is tested and works locally.
[X] Local tests pass with tox.

There is too much protocol specific code inside the Efergy sensor. We should not accept changes to the Efergy sensor until that code has been extracted into an external lib.
PRs like this are exactly why we don't have protocol specific code inside Home Assistant.

I've had a look around and can only seem to find a single library for Engage/EnergyHive devices, which, hasn't been updated in three years and not available via PIP, etc.  Unfortunately I'm new to the world of Python and don't have the knowledge to write my own lib yet…
In the meanwhile, this leaves the instant reading component of the Efergy sensor broken without this fix.  If I submit a new PR with the style issues fix, would you consider merging to return existing functionality?


buttersink: move out of pythonPackages

Motivation for this change
The hash of the uploaded tarball has been changed, too.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

cc @nckx

Success on aarch64-linux (full log)
Attempted: buttersink
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9/lib  /nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9/bin
patching script interpreter paths in /nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9
/nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9/bin/checksumdir: interpreter directive changed from " /bin/sh -e" to "/nix/store/fqm2x6kiay1q4vg7pqp4wp17bdijlyc3-bash-4.4-p23/bin/sh -e"
checking for references to /build in /nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9...
wrapping `/nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9/bin/btrfslist'...
wrapping `/nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9/bin/buttersink'...
/nix/store/3z3zapdvz3hzb0bj4nqc0m1lrfcnh31g-buttersink-0.6.9

Success on x86_64-linux (full log)
Attempted: buttersink
Partial log (click to expand)
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9/lib  /nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9/bin
patching script interpreter paths in /nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9
/nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9/bin/checksumdir: interpreter directive changed from " /bin/sh -e" to "/nix/store/czx8vkrb9jdgjyz8qfksh10vrnqa723l-bash-4.4-p23/bin/sh -e"
checking for references to /build in /nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9...
wrapping `/nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9/bin/buttersink'...
wrapping `/nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9/bin/btrfslist'...
/nix/store/xmicg8l0nf3j0sysygm4n263hv71kc52-buttersink-0.6.9


Bookstore: initialize project with components

Initialise React app.
The building blocks of are set as re-usable components. Create a directory for the components.
Add React Router and set two s and s for the app's navigation:

Books - the default view:

It displays the list of books with the Remove button (no funcionality yet).

Create a component called Book for displaying a single book and reuse it in a component that displays a list of books.

Should have a form for adding a book (no functionality yet).

Create a separate component for this form.

Categories:

Should display a button "Check status" only.

Add basic styling, because it is not required at this point.

Thanks for the review @Meltrust !


yotta Command not available. for markfirmware / microbit-samples

Hi,Can you help me ?
In microbit-samples project :
(1).pip3 install yotta
(2).yotta -v The error message is as follows:
PS E:\Microbit_Freertos\microbit-samples> yotta -v
Traceback (most recent call last):
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init_.py", line 574, in build_master
ws.require(requires)
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init.py", line 892, in require
needed = self.resolve(parse_requirements(requirements))
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init_.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.3 (c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages), Requirement.parse('cryptography>=2.8'), {'pyOpenSSL'})
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python36-32\Scripts\yotta-script.py", line 6, in
from pkg_resources import load_entry_point
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init_.py", line 3088, in
@call_aside
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init.py", line 3072, in call_aside
f(*args, **kwargs)
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init.py", line 3101, in _initialize_master_working_set
working_set = WorkingSet.build_master()
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init.py", line 576, in _build_master
return cls.build_from_requirements(requires)
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init.py", line 589, in build_from_requirements
dists = ws.resolve(reqs, Environment())
File "c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages\pkg_resources_init.py", line 783, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (cryptography 2.3 (c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages), Requirement.parse('cryptography>=2.8'), {'pyOpenSSL'})
(3).then I think the cryptography version is too low. So,I upgrade cryptography:pip3 install yotta --upgrade cryptography. then.There was another mistake: yotta 0.20.0 has requirement cryptography<=2.3,>=2.1.4, but you'll have cryptography 2.8 which is incompatible.
PS E:\HWJ_Microbit_Freertos\microbit-samples> pip3 install yotta --upgrade cryptography
Requirement already up-to-date: yotta in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (0.20.0)
Collecting cryptography
Using cached https://files.pythonhosted.org/packages/2a/e2/c97b90d6dcd9d55c1a9bc4e387c79a10e3b1050e44ae6a79245cab5562fc/cryptography-2.8-cp36-cp36m-win32.whl
Requirement not upgraded as not directly required: semantic_version<3,>=2.3.1 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (2.8.4)
Requirement not upgraded as not directly required: requests[security]<3,>=2.4.3 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (2.22.0)
Requirement not upgraded as not directly required: certifi>=2016.2.28 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (2019.9.11)
Requirement not upgraded as not directly required: PyGithub<2,>=1.25 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (1.45)
Requirement not upgraded as not directly required: colorama<0.4,>=0.3 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (0.3.9)
Requirement not upgraded as not directly required: hgapi<2,>=1.7 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (1.7.4)
Requirement not upgraded as not directly required: Jinja2<3,>=2.7.0 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (2.10.3)
Requirement not upgraded as not directly required: PyJWT<2.0,>=1.0 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from
yotta) (1.7.1)
Requirement not upgraded as not directly required: pathlib<1.1,>=1.0.1 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (1.0.1)
Requirement not upgraded as not directly required: jsonschema<3.0,>=2.4.0 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (2.6.0)
Requirement not upgraded as not directly required: argcomplete<2.0,>=0.8.0 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (1.11.0)
Requirement not upgraded as not directly required: mbed_test_wrapper<2.0.0,>=0.0.3 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (1.0.0)
Requirement not upgraded as not directly required: valinor<2.0,>=1.1.4 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (1.1.4)
Requirement not upgraded as not directly required: intelhex<3.0,>=2.0 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from yotta) (2.2.1)
Requirement not upgraded as not directly required: jsonpointer<2.0,>=1.9 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages
(from yotta) (1.14)
Requirement not upgraded as not directly required: ntfsutils<0.2,>=0.1.3 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages
(from yotta) (0.1.4)
Requirement not upgraded as not directly required: six>=1.4.1 in c:\users\administrator\appdata\roaming\python\python36\site-packages (from cryptography) (1.12.0)
Requirement not upgraded as not directly required: cffi!=1.11.3,>=1.8 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from cryptography) (1.13.2)
Requirement not upgraded as not directly required: chardet<3.1.0,>=3.0.2 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages
(from requests[security]<3,>=2.4.3->yotta) (3.0.4)
Requirement not upgraded as not directly required: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from requests[security]<3,>=2.4.3->yotta) (1.25.3)
Requirement not upgraded as not directly required: idna<2.9,>=2.5 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from requests[security]<3,>=2.4.3->yotta) (2.8)
Requirement not upgraded as not directly required: pyOpenSSL>=0.14; extra == "security" in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from requests[security]<3,>=2.4.3->yotta) (19.1.0)
Requirement not upgraded as not directly required: deprecated in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from PyGithub<2,>=1.25->yotta) (1.2.7)
Requirement not upgraded as not directly required: MarkupSafe>=0.23 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from Jinja2<3,>=2.7.0->yotta) (1.1.1)
Requirement not upgraded as not directly required: importlib-metadata<2,>=0.23; python_version == "3.6" in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from argcomplete<2.0,>=0.8.0->yotta) (1.3.0)
Requirement not upgraded as not directly required: pyyaml<6.0,>=5.1 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from valinor<2.0,>=1.1.4->yotta) (5.3)
Requirement not upgraded as not directly required: setuptools in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from valinor<2.0,>=1.1.4->yotta) (39.0.1)
Requirement not upgraded as not directly required: pyOCD<1.0,>=0.3 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from
valinor<2.0,>=1.1.4->yotta) (0.24.1)
Requirement not upgraded as not directly required: project_generator<0.9.0,>=0.8.0 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from valinor<2.0,>=1.1.4->yotta) (0.8.17)
Requirement not upgraded as not directly required: pyelftools==0.23 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from valinor<2.0,>=1.1.4->yotta) (0.23)
Requirement not upgraded as not directly required: pycparser in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from cffi!=1.11.3,>=1.8->cryptography) (2.19)
Requirement not upgraded as not directly required: wrapt<2,>=1.10 in c:\users\administrator\appdata\roaming\python\python36\site-packages (from deprecated->PyGithub<2,>=1.25->yotta) (1.11.1)
Requirement not upgraded as not directly required: zipp>=0.5 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from importlib-metadata<2,>=0.23; python_version == "3.6"->argcomplete<2.0,>=0.8.0->yotta) (0.6.0)
Requirement not upgraded as not directly required: cmsis-pack-manager>=0.2.7 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (0.2.9)
Requirement not upgraded as not directly required: pywinusb>=0.4.0; platform_system == "Windows" in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (0.4.2)
Requirement not upgraded as not directly required: intervaltree<4.0,>=3.0.2 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (3.0.2)
Requirement not upgraded as not directly required: pyusb<2.0,>=1.0.0b2 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (1.0.2)
Requirement not upgraded as not directly required: prettytable in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (0.7.2)
Requirement not upgraded as not directly required: argparse in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from project_generator<0.9.0,>=0.8.0->valinor<2.0,>=1.1.4->yotta) (1.4.0)
Requirement not upgraded as not directly required: xmltodict in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from project_generator<0.9.0,>=0.8.0->valinor<2.0,>=1.1.4->yotta) (0.12.0)
Requirement not upgraded as not directly required: project_generator_definitions<0.3.0,>=0.2.2 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from project_generator<0.9.0,>=0.8.0->valinor<2.0,>=1.1.4->yotta) (0.2.40)
Requirement not upgraded as not directly required: more-itertools in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from zipp>=0.5->importlib-metadata<2,>=0.23; python_version == "3.6"->argcomplete<2.0,>=0.8.0->yotta) (8.0.2)
Requirement not upgraded as not directly required: appdirs>=1.4 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from cmsis-pack-manager>=0.2.7->pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (1.4.3)
Requirement not upgraded as not directly required: milksnake>=0.1.2 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from cmsis-pack-manager>=0.2.7->pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (0.1.5)
Requirement not upgraded as not directly required: sortedcontainers<3.0,>=2.0 in c:\users\administrator\appdata\local\programs\python\python36-32\lib\site-packages (from intervaltree<4.0,>=3.0.2->pyOCD<1.0,>=0.3->valinor<2.0,>=1.1.4->yotta) (2.1.0)
yotta 0.20.0 has requirement cryptography<=2.3,>=2.1.4, but you'll have cryptography 2.8 which is incompatible.
Installing collected packages: cryptography
Found existing installation: cryptography 2.3
Uninstalling cryptography-2.3:
Successfully uninstalled cryptography-2.3
Successfully installed cryptography-2.8
PS E:\Microbit_Freertos\microbit-samples>
(4)I don't know how to make my yotta work anymore.Do you have any ideas?

I solved the problem by: pip3 install pyOpenSSL==19.0.0


ElementNotVisibleException from clean run of repo

I have cloned the repo and run make fetch-dependencies as written. When I go to run make docker-run as written in the readme I get this error:
{"errorType":"ElementNotVisibleException","errorMessage":"Message: element not visible\n  (Session info: headless chrome=62.0.3202.94)\n  (Driver info: chromedriver=2.32.498513 (2c63aa53b2c658de596ed550eb5267ec5967b351),platform=Linux 5.4.0-52-generic x86_64)\n","stackTrace":["  File "/var/task/src/lambda_function.py", line 15, in lambda_handler\n    button.send_keys(Keys.TAB)\n","  File "/var/task/lib/selenium/webdriver/remote/webelement.py", line 322, in send_keys\n    self._execute(Command.SEND_KEYS_TO_ELEMENT, {'value': keys_to_typing(value)})\n","  File "/var/task/lib/selenium/webdriver/remote/webelement.py", line 457, in _execute\n    return self._parent.execute(command, params)\n","  File "/var/task/lib/selenium/webdriver/remote/webdriver.py", line 233, in execute\n    self.error_handler.check_response(response)\n","  File "/var/task/lib/selenium/webdriver/remote/errorhandler.py", line 194, in check_response\n    raise exception_class(message, screen, stacktrace)\n"]}
make: *** [Makefile:35: docker-run] Error 1

ran into this issue today and it was fixed by changing the url from google.es to google.com

I've changed the example since depending of the country may lead to errors, for example, here in Spain it's not working because of the "consent" banner that google shows. The new one is way more simpler but at least works all the time :)

I've changed the example since depending of the country may lead to errors, for example, here in Spain it's not working because of the "consent" banner that google shows. The new one is way more simpler but at least works all the time :)


"Use list instead of numpy array #2412 " on sqllab.py patch cause error on pyodbc driver

Make sure these boxes are checked before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if any
[X] I have reproduced the issue with at least the latest released version of superset
[X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.17.1 with pyodbc driver
Expected results
Return of record of db from select
Actual results

2017-03-23 15:14:41,842:ERROR:root:Shape of passed values is (1, 5), indices imply (3, 5)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/superset/views/core.py", line 2043, in sql_json
data = sql_lab.get_sql_results(query_id, return_results=True)
File "/usr/local/lib/python2.7/dist-packages/celery/local.py", line 188, in call
return self._get_current_object()(*a, **kw)
File "/usr/local/lib/python2.7/dist-packages/celery/app/task.py", line 420, in call
return self.run(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/superset/sql_lab.py", line 146, in get_sql_results
data, columns=column_names))
File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 279, in init
copy=copy)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/frame.py", line 432, in _init_ndarray
return create_block_manager_from_blocks([values], [columns, index])
File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", line 3993, in create_block_manager_from_blocks
construction_error(tot_items, blocks[0].shape[1:], axes, e)
File "/usr/local/lib/python2.7/dist-packages/pandas/core/internals.py", line 3970, in construction_error
passed, implied))
ValueError: Shape of passed values is (1, 5), indices imply (3, 5)

Steps to reproduce
using pyodbc on unixodbc driver on ubuntu 16.04.2
without 0674ed8 all OK .

Notice: this issue has been closed because it has been inactive for 396 days. Feel free to comment and request for this issue to be reopened.


[$1000] Android-  infinite loading on open profile pic preview second time

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to any chat
Click on any user to see details
Click on profile pic to see preview
Click on back button
Again click on profile pic to see preview

Expected Result:
Should show profile pic preview
Actual Result:
Infinite loading on open profile pic
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.39-11
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/de339cca-d1eb-4f20-9806-1dc874bada87
https://github.com/Expensify/App/assets/93399543/2590d0ca-0337-4002-a53e-0dab03133d3b
Expensify/Expensify Issue URL:
Issue reported by: @gadhiyamanan
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1689333392843659
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d82661194c0b255b
Upwork Job ID:<PHONE_NUMBER>862857216
Last Price Increase: 2023-07-17

Proposal
Please re-state the problem that we are trying to solve in this issue.
Android- infinite loading on open profile pic preview second time
What is the root cause of that problem?
Problem is in ImageView component for Mobile. This problem doesn’t occur on first loading of Profile Image view. It happens on sequent 2nd, 3rd loading of Profile Image view.
How to reproduce
https://github.com/Expensify/App/assets/137529618/16ad511b-7475-4dcf-8591-f57243830887

https://github.com/Expensify/App/blob/405fcdf8850a62f6c02f96e34d71004144239a19/src/components/ImageView/index.native.js#L211-L227
Image component calls onLoadStart in the beginning of loading image, and it calls onLoad when load completes successfully.
But on continuous loading (image is already cached), It invokes onLoad first, then, invokes onLoadStart, it doesn't fire onLoad again.
In ImageView component,
onLoadStart calls imageLoadingStart, imageLoadingStart sets isLoading = true.
https://github.com/Expensify/App/blob/405fcdf8850a62f6c02f96e34d71004144239a19/src/components/ImageView/index.native.js#L225-L226
imageLoadingStart callback
https://github.com/Expensify/App/blob/405fcdf8850a62f6c02f96e34d71004144239a19/src/components/ImageView/index.native.js#L142-L148
That’s why its showing infinite loading
What changes do you think we should make in order to solve the problem?
We need to check Image is already loaded or not. It can be checked by imgHeight and imgWidth.
If Image is already loaded, imgHeight and imgWidth is not 0.
    imageLoadingStart() {
        if (this.state.isLoading || (this.state.imgHeight !== 0 && this.state.imgWidth !== 0)) {
            return;
        }
        this.setState({isLoading: true, zoomScale: 0, isZoomed: false});
    }

Result
https://github.com/Expensify/App/assets/137529618/76f9aec0-5309-49f7-82a6-a9da86184df3

What alternative solutions did you explore? (Optional)
Add a state variable imageLoaded, when onLoad is invoked, it sets to true.
when onLoadStart is called, if imageLoaded state variable is true, not invokes imageLoadingStart
      onLoadStart={() => {
          if (this.state.imageLoaded) return;
          this.imageLoadingStart();
      }

I was too fast with making this external, walking it back since this may be related to a larger issue

I think its better to use onLoadEnd prop to resolve this issue.

deprioritizing for a mo

still holding here

on hold

The issue is reproducible on staging build <IP_ADDRESS>, reopening @adelekennedy
https://github.com/Expensify/App/assets/93399543/3312c5fb-6577-4c8f-84fa-a088e003d511

we're still on hold here

not reproducible


Changes SemExtern to SemRef and uses it for general dereffing

@natefaubion I took out the let floating and left only dereffing. I added one test for variables and one test for locals, both of which don't inline the + operation on main but do inline the + operation on this branch. It's ready for review whenever you have the chance. Thanks!

Thanks for the review! I've pushed a couple commits based on the feedback and also addressed some comments above 👍


Spiritous SEHException when debugging on linux

Running a program as simple as
using ClangSharp.Interop;
class Program
{
    static void Main(string[] args)
    {
        var index = CXIndex.Create();
    }
}

with debugger attached results in a System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. popping out in different places (depends on where do I put a breakpoint). If I put no breakpoint it shows up somewhere in standard library internals.
Program without a debugger runs just fine.
Does not seem to depend on ClangSharp version.
It is reproducible with both Rider and vs code debugger on arch linux and with rider remote debugging on debian.
I'm not really sure what causes this exception. It seems to have popped up on linux at dotnet/runtime#7091.

I am affected as well. What distro do you use? ArchLinux here.

What version of libClang do you have installed on your box?
The most common source of failures with ClangSharp are due to a mismatch between ClangSharp, libClangSharp, and libClang.
Clang frequently makes binary breaking changes between major versions and so the various components need to match versions exactly or various sporadic failures can occur.

Version 10.0.1 here. I suspected this may be some system incompatibility, hence i asked how to build runtimes package (#178). If i could test that we could have a good guess whether it is that or actually something else.

I tested with libClangSharp built on my system and result is exactly same. One thing i noticed is that it does not necessarily throw an exception on CXIndex.Create();. For example:
var compilation = CppParser.ParseFile($"/tmp/test.cpp",  options);    // <-- Calls CXIndex.Create() and CXTranslationUnit.Parse()
Console.WriteLine("Completed with errors: {0}", compilation.HasErrors);    // <-- breakpoint here

Putting a breakpoint on second line and allowing it to break there would throw SEHException at that location. Something else i noticed is that this issue happens in Rider IDE for me as well. I tested MonoDevelop and it does not produce any exceptions. It may be related to IDE.

I am affected as well. What distro do you use? ArchLinux here.

Same, arch linux.

Something else i noticed is that this issue happens in Rider IDE for me as well. I tested MonoDevelop and it does not produce any exceptions. It may be related to IDE.

Hmm, according to my research vscode and rider use different debugger backends (with some licensing muddle). It works for me in vscode and does not in Rider. What about monodevelop, which debugger backend does it use for dotnet core?

I tested with libClangSharp built on my system and result is exactly same. One thing i noticed is that it does not necessarily throw an exception on CXIndex.Create();. For example:
var compilation = CppParser.ParseFile($"/tmp/test.cpp",  options);    // <-- Calls CXIndex.Create() and CXTranslationUnit.Parse()
Console.WriteLine("Completed with errors: {0}", compilation.HasErrors);    // <-- breakpoint here

Putting a breakpoint on second line and allowing it to break there would throw SEHException at that location. Something else i noticed is that this issue happens in Rider IDE for me as well. I tested MonoDevelop and it does not produce any exceptions. It may be related to IDE.

Can confirm, building the helper library on my machine does not fix the issue, so binary compatibility is probably not a problem here.

Does the error occur if it is run without a debugger?

No, it runs just fine. Even if started from within IDE.

That does sound like a debugger specific issue then and I'm not sure if there is anything we can do to help resolve it.
I'd likely recommend logging an issue with the VSCode C# extension: https://github.com/OmniSharp/omnisharp-vscode
and with Rider: https://youtrack.jetbrains.com/issues/RIDER
I will see if I can get a repro in Ubuntu 20.04 later today (likely closer to the evening my time).

Rider issue: https://youtrack.jetbrains.com/issue/RIDER-51985

Closing as this is not currently actionable on the ClangSharp side.

Workaround: add setenv("LIBCLANG_DISABLE_CRASH_RECOVERY", "1", 1); to your Program.Main.
[DllImport("libc")]
static extern void setenv(string name, string value, int overwrite);

static unsafe void Main(string[] args)
{
    if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
        setenv("LIBCLANG_DISABLE_CRASH_RECOVERY", "1", 1);

Alternatively just set LIBCLANG_DISABLE_CRASH_RECOVERY=1 before starting your app.


Security: Should we print stack traces?

As a user, I want secure software but software that developers can debug.
Stack traces are often helpful for debugging! However, they also reveal architectural information that a hacker could use to get into our system. Since almost all of our code is open source, I am not sure this is an issue, but it's possible it is. I'm not clear on that point. However, I know that some consider it unwise to print stack traces to logs. Should we print stack traces or avoid it?

Since our software is open source, I think it would be silly to not print them since it would greatly help in our own debugging.

TJ and Matt agree with Tim that the benefits outweigh the drawbacks. Most of the code is open, so it doesn't really matter.


threshold for classifier

Is there a way to get the threshold for a trained classifier, i.e. to convert predict_proba returned values to binary (or multi-class) predictions? I can't find anything in the docs or in the issues for this. I'd rather not fork and modify the code if possible.

Currently it is always 0.5 for binary or the max for multiclass. We don't adjust thresholds when making predictions.

If you would like to use a different threshold, please use predict_proba() and then apply your own threshold to decide how to map these predicted class-probabilities into predicted class-labels.

Yes, I was already doing that. I was just curious if that gets adjusted internally as part of optimization. Is it not done because you've seen that causing overfitting? Or is there a theoretical ERM reason not to? I assume you're not doing it because you don't know the cost of misclassification for each category.

@rxjx  I think we just haven't adjusted threshold internally simply due to lack of bandwidth :)
If you'd like to help contribute this, that would be awesome!
The steps needed would be something like:

add optional class_threshold argument to predict() function. Make sure class_threshold can also take in array & pd.Series of thresholds for each class in multiclass classification (and include check to ensure these thresholds are actually realizable for multiclass such that one of the classes will always be predicted for every row).

automatically set this class_threshold argument based on eval_metric for only those evaluation-metrics that depend on predict() rather than predict_proba(). For example: accuracy, balanced_accuracy, f1_score, etc.

See possible metrics in:
https://github.com/awslabs/autogluon/blob/master/core/src/autogluon/core/metrics/__init__.py
https://github.com/awslabs/autogluon/blob/master/core/src/autogluon/core/metrics/classification_metrics.py
Note that for many metrics, a reasonable class_threshold to use can simply be hard-coded (Eg: = 0.5 for binary classification accuracy, = class frequency for balanced_accuracy, etc), so I'd start with that before trying to iteratively optimize the threshold based on computed validation-scores.

Thanks for the response. I can definitely take a look at doing this, although not in a prompt manner since work and another side project claim time. Might be nice to return confusion matrices for some thresholds too or perhaps graphical representations.

Awesome to hear you're interested 👍
I agree graphical representations would be nice to show, note that we do already offer confusion-matrix functionality inside our evaluate_predictions() function.
You can also email us at<EMAIL_ADDRESS>for private Qs or to receive an invite to our Slack channel for contributors.

I think the multiclass case gets complicated fast. Let's restrict it to binary for the first pass?

Yes I think an initial PR can just add it this functionality for only binary classification since it's more straightforward and the most common use-case. For other problem-types you could for now simply print error message if the user has specified the optional threshold argument.

Hello, has this functionality been implemented? It would be very useful.

Sorry, haven't found time to work on it at all. Work has been overloaded and the advent of LLMs has added to the load. Realistically, it doesn't look like I can get to it anytime soon.


Optional Chaining downlevel emit is wrong for super.method?()

TypeScript Version:  3.7.2

Search Terms:
Code
// @target: ES6
class Base {
    method?() { }
}

class Derived extends Base {
    method() {
        return super.method?.()
    }
}

Expected behavior:
Correct code is emitted
Actual behavior:
Tries to use super as a variable and capture it in a temp variable. That is syntactically invalid.
Playground Link: http://www.typescriptlang.org/play/?target=2#code/MYGwhgzhAEBCkFNoG8BQ0PQLYIC4AsB7AEwH4AKAShWgF9V7VRIYARBAJwEsA3BY6AgAeuBADtiMeBCRpM2PEWJUU6eZg54ArhzHQIWgA6cAdDgIlSJqmoz1aQA

Tentatively putting this in the patch release

Also, we apparently aren't stripping the ? correctly in the method?() {} declaration above either.

I'm still seeing this problem in 3.7.5: https://www.typescriptlang.org/play/#code/MYGwhgzhAECC0G8BQ1oDMD2GAUBKRKq0EArgA4CmATgHSYYD8NeA3IQL5KdA

This doesn't repro in 3.8-beta. It seems this didn't make it into the 3.7.5 release.


fix: pull request page bugfixes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


add SignOut component

For issue #630
Remove unnecessary wrappings from Greetings component, to provide a simple SignOut button
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #1000 into master will increase coverage by 0.08%.
The diff coverage is 93.1%.

@@            Coverage Diff             @@
##           master    #1000      +/-   ##
==========================================
+ Coverage   87.03%   87.12%   +0.08%
==========================================
  Files          80       81       +1
  Lines        3902     3960      +58
  Branches      736      749      +13
==========================================
+ Hits         3396     3450      +54
- Misses        483      487       +4
  Partials       23       23

Impacted Files
Coverage Δ

packages/aws-amplify-react/src/Auth/index.jsx
85% <ø> (ø)
:arrow_up:

packages/aws-amplify-react/src/Auth/SignOut.jsx
93.1% <93.1%> (ø)

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 2ef4f5c...0d2d779. Read the comment docs.


Durable Projections

How goes the effort on durable projections?

😞
https://github.com/Lutando/Akkatecture/issues/446


tearsofguthix: add timer

Closes https://github.com/runelite/runelite/issues/10349
Please tell me if there is anything I need to fix, as this is my first time doing something like this.

Is there a reason why you chose to use an overlay instead of a Timer infobox? They are more compact and the code which manages them largely already exists.

I don't really have a good reason. I used them because the tutorial I watched used an overlay so I was more comfortable using that. If you want I can try to use a timer instead.

That would be better, and make it consistent with all of the other timers in the client.

I have changed it to use a Timer infobox. Please tell me if there is anything else I need to change.

varbit 5099 holds the timer used to draw the in-game progress bar. It is initialized to your QP and decreases by 4 each tick. You could use that to initialize and infobox time.


Cannot load Sketch IBM Design Language library

Detailed description
I am following the instructions to install Sketch libraries on this page: https://www.carbondesignsystem.com/getting-started/designers
I successfully installed the Sketch White theme:

Next, I tried to install the IBM Design Language library. I got this error message:

It appears that “Get the White theme” and “Get the IBM Design Language library” are using the same link.
Will you please fix the “Get the IBM Design Language library” link?

Is this issue related to a specific component?

No. The link for loading the Sketch IBM Design language library is wrong.

What did you expect to happen? What happened instead? What would you like to see changed?

I expected to go to a page to load the Sketch IBM Design language library. Instead, I got an error message because the link was the same as the link to "Get the White theme." Will you please fix the "Get the IBM Design Language library” link on https://www.carbondesignsystem.com/getting-started/designers

What browser are you working in?

Safari 12.0.3

What version of the Carbon Design System are you using?

Carbon v10

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

External enterprise application. Trying to convince teammates to use your Carbon Design system.
Steps to reproduce the issue
See above.

Please create a reduced test case in code sandbox
https://codesandbox.io/s/r4zxq9pvq

Additional information

Screenshots or code
Notes

Thanks for the heads up @lnajjar! We have a PR to fix it right now https://github.com/carbon-design-system/carbon-website/pull/1579

You guys are doing a great job. Happy to help,

Fixed!


Ability to select Contour as default terminal in Windows 11

[x] get Windows 11 on my Workstation PC :-D
[ ] https://github.com/microsoft/terminal/issues/9462
[ ] you need to implement a COM server for this: https://github.com/microsoft/terminal/blob/main/src/host/proxy/ITerminalHandoff.idl
[ ] in order to register your COM server with the OS you need to use sparse manifests: https://github.com/microsoft/AppModelSamples/tree/master/Samples/SparsePackages
[ ] this is what needs to go into the manifest: https://github.com/microsoft/terminal/blob/eb7559733d3cc9062c7de610f3b95d9143099ca1/src/cascadia/CascadiaPackage/Package.appxmanifest#L77-L118 (a few lines below you can also see how to extend the context menu under Windows 11)

Here is a sample code for out-of-process COM register.


#71: Using lazy writer pattern and thread pool executor to significantly s…

…peed up course scraping

Looks good. However, rather than manually having to close the browser (which could result in memory leaks if you run into an exception midway through the program), why don't you implement Python's try-with-resources? You can implement this through enter() and exit() functions. See here: https://stackoverflow.com/questions/3774328/implementing-use-of-with-object-as-f-in-custom-class-in-python

Good idea, I have done that.


fix: make inputs relative to workspace root

Inputs are relative to workspace and not repo root so we need to drop the cli prefix here. I removed the shim/** input as that directory no longer exists and to correctly capture these inputs we should Turbo-fy our crates instead of listing out all of the directories out here. Also, I'm not sure how we feel about a task depending on a file outside of the workspace.
Test plan:
pnpm -- turbo run e2e --filter=cli
echo "console.log('big change')" >> cli/scripts/e2e/e2e.ts
pnpm -- turbo run e2e --filter=cli

should no longer produce a cache hit on the second run

Nice catch. Was this broken before Workspace Configs too, or did I mess up when I ported?

Broken before your port


Social Media

Create a Social Media Handle home page
Take reference of Insta, Facebook but don't create the exact same
Follow the Guidelines and code of conduct when your pushing changes.
Folder structure:
Landing Page\socialmedia_home

I would love to give this a try, can I take it?

Mention your organization?

assign to me

Can't add Gssoc label?

@naveeramesh , @Jaideep25-tech kindly close this issue as it has been completed


Reduce memory usage by using global Arc-based interning

This saves around 50 mb when running analysis-stats on r-a itself. Not a lot, but this infra can be easily reused to intern more stuff.

Added interning of more types. Memory impact looks roughly like this:
in crates/rust-analyzer, run
$ cargo run --features jemalloc --release --bin rust-analyzer -- -v analysis-stats ../.. --parallel --memory-usage

base (master)

Total:               14.66s, 81ginstr, 1196mb
   182mb FileItemTreeQuery
    79mb BodyQuery

intern TypeRef+TraitRef

Total:               14.45s, 81ginstr, 1143mb
   144mb FileItemTreeQuery
    79mb BodyQuery

intern ModPath in Attr

Total:               14.72s, 81ginstr, 1117mb
   128mb FileItemTreeQuery
    79mb BodyQuery

also intern ModPath in item_tree::MacroCall

Total:               14.10s, 81ginstr, 1110mb
   119mb FileItemTreeQuery
    79mb BodyQuery

intern ModPath in Path

Total:               14.09s, 81ginstr, 1073mb
   105mb FileItemTreeQuery
    70mb TraitSolveQuery (purge)
    66mb ImplDatumQuery
    65mb BodyQuery

Nice, we should try that for types as well!

bors r+

warning: spurious network error (10 tries remaining): [6] Couldn't resolve host name (Could not resolve host: crates.io)

bors retry

I wonder if we might want do something like this, but without interning, for basically everything?
I still have a picture in my head where all things of the same type are co-allocated in the same table, instead of being owned by parents.

bors r+

chagelog fix

This made quite a dent in the memory usage:


Joezhong fix 294

Related Issue #294
This problem occurs when the query is selecting asterisk column when there is no AsyncAggExecution node is involved. In that case, the ConsolidatedExecutionNode cannot compress the asterisk query with other query. The metadata isAggregate data only judge the asterisk column is not aggregated, so it only has one element, while other metadata has columnCount() elements. In that case, I think in that case we should fill the isAggregate field with false value.

Codecov Report

Merging #295 into master will decrease coverage by 0.01%.
The diff coverage is 83.34%.

@@            Coverage Diff             @@
##           master     #295      +/-   ##
==========================================
- Coverage   71.07%   71.06%   -<.01%
==========================================
  Files         161      161
  Lines       10377    10397      +20
  Branches     1676     1680       +4
==========================================
+ Hits         7374     7388      +14
- Misses       2586     2591       +5
- Partials      417      418       +1

Impacted Files
Coverage Δ

src/main/java/org/verdictdb/sqlreader/CondGen.java
75.44% <100%> (+1.37%)
:arrow_up:

...querying/simplifier/ConsolidatedExecutionNode.java
92.24% <100%> (+0.57%)
:arrow_up:

...or/QueryResultAccuracyEstimatorFromDifference.java
70.91% <50%> (+1.27%)
:arrow_up:

.../java/org/verdictdb/connection/JdbcConnection.java
77.42% <62.5%> (-0.67%)
:arrow_down:

.../core/scrambling/FastConvergeScramblingMethod.java
91.08% <0%> (-2.38%)
:arrow_down:

...ain/java/org/verdictdb/sqlsyntax/PrestoSyntax.java
39.48% <0%> (+2.64%)
:arrow_up:

src/main/java/org/verdictdb/jdbc41/Driver.java
62.5% <0%> (+9.38%)
:arrow_up:

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 a9520b0...23bb544. Read the comment docs.

I have updated the branch. But jdk8 fails for PrestoSpatialQueryTest:
Caused by: org.verdictdb.exception.VerdictDBDbmsException: Issued the following query: insert into "verdictdbmeta"."verdictdbmeta" values ('verdictdb_spatial_query_test_qpeohidm', 'spatial_test', 'verdictdb_spatial_query_test_qpeohidm', 'spatial_scramble', 'uniform', timestamp '2018-11-10 03:47:13.267', '{"schemaName":"verdictdb_spatial_query_test_qpeohidm","tableName":"spatial_scramble","originalSchemaName":"verdictdb_spatial_query_test_qpeohidm","originalTableName":"spatial_test","aggregationBlockColumn":"verdictdbblock","aggregationBlockCount":1,"tierColumn":"verdictdbtier","numberOfTiers":1,"method":"uniform","cumulativeDistributions":{"0":[1.0]}}')
Query failed (#20181110_034713_00675_3zuzf): Error moving data files from hdfs://salat2.eecs.umich.edu:8020/tmp/presto-test/f3eacf19-2734-43d8-9fd4-989cb3bd1f01/20181110_034713_00675_3zuzf_dd3a207f-c569-4427-a723-ccd495ceaf9a to final location hdfs://salat2.eecs.umich.edu:8020/user/hive/warehouse/verdictdbmeta.db/verdictdbmeta/20181110_034713_00675_3zuzf_dd3a207f-c569-4427-a723-ccd495ceaf9a

I think it is caused by Presto server?

Presto server is likely to be the reason. I was removing some schemas but don't know the current status. Let me double-check.

Please rebase on master and see if all tests pass.

I just rebased on master and all the tests are passed.

Thanks. I just added a single comment for the part that was unclear to me.


Exception while fetching data (/search) : 'query' parameter cannot be null or empty

Repetition steps
1、Search for data through the search box on the interface
2、Clear the search criteria, enter the search, switch to the DataSets error report
3、Fill in the search condition again, cannot search and still report an error

Temporary treatment:
Manually fill in the search criteria in the address bar, for example: /search/dataset?page=1&query=aa

Should be fixed. Please open new issue if issue persists with latest releases


mount deadlock

Describe the bug
Mount may hung by deadlock.
Here is the reason:

stacks:
goroutine 1248229 [semacquire, 12 minutes]:
sync.runtime_SemacquireMutex(0xc0000ff418?, 0x60?, 0xc0004261d0?)
        /usr/local/go/src/runtime/sema.go:71 +0x25
sync.(*Mutex).lockSlow(0xc000a7cc98)
        /usr/local/go/src/sync/mutex.go:162 +0x21d
sync.(*Mutex).Lock(0xc000a7cc98)
        /usr/local/go/src/sync/mutex.go:81 +0x65
github.com/seaweedfs/seaweedfs/weed/mount.(*FileHandle).AddChunks(0xc000a7cc80, {0xc00797bb90, 0x1, 0x1})
        /home/weed_source/seaweedfs/weed/mount/filehandle.go:95 +0x6b
github.com/seaweedfs/seaweedfs/weed/mount.(*ChunkedDirtyPages).saveChunkedFileIntervalToStorage(0xc0022d82a0, {0x495d780, 0xc00687c8a0}, 0x40000, 0x20000, 0xc00687c8a0?, 0x34a4bc0)
        /home/weed_source/seaweedfs/weed/mount/dirty_pages_chunked.go:79 +0x3b7
github.com/seaweedfs/seaweedfs/weed/mount/page_writer.(*MemChunk).SaveContent(0xc001521270, 0xc003eb9310)
        /home/weed_source/seaweedfs/weed/mount/page_writer/page_chunk_mem.go:105 +0x246
github.com/seaweedfs/seaweedfs/weed/mount/page_writer.(*UploadPipeline).moveToSealed.func1()
        /home/weed_source/seaweedfs/weed/mount/page_writer/upload_pipeline.go:184 +0xaa
github.com/seaweedfs/seaweedfs/weed/util.(*LimitedConcurrentExecutor).Execute.func1()
        /home/weed_source/seaweedfs/weed/util/limited_executor.go:38 +0x9f
created by github.com/seaweedfs/seaweedfs/weed/util.(*LimitedConcurrentExecutor).Execute
        /home/weed_source/seaweedfs/weed/util/limited_executor.go:33 +0x11b

goroutine 1237707 [semacquire, 12 minutes]:
sync.runtime_SemacquireMutex(0x7f35279bce58?, 0x99?, 0x4a4e77?)
        /usr/local/go/src/runtime/sema.go:71 +0x25
sync.(*Mutex).lockSlow(0xc0085b6eb8)
        /usr/local/go/src/sync/mutex.go:162 +0x21d
sync.(*Mutex).Lock(0xc0085b6eb8)
        /usr/local/go/src/sync/mutex.go:81 +0x65
github.com/seaweedfs/seaweedfs/weed/mount/page_writer.(*UploadPipeline).Shutdown(0xc0085b6e70)
        /home/weed_source/seaweedfs/weed/mount/page_writer/upload_pipeline.go:214 +0x7e
github.com/seaweedfs/seaweedfs/weed/mount.ChunkedDirtyPages.Destroy(...)
        /home/weed_source/seaweedfs/weed/mount/dirty_pages_chunked.go:86
github.com/seaweedfs/seaweedfs/weed/mount.(*PageWriter).Destroy(...)
        /home/weed_source/seaweedfs/weed/mount/page_writer.go:78
github.com/seaweedfs/seaweedfs/weed/mount.(*FileHandle).ReleaseHandle(0xc000a7cc80)
        /home/weed_source/seaweedfs/weed/mount/filehandle.go:109 +0xbd
github.com/seaweedfs/seaweedfs/weed/mount.(*FileHandleToInode).ReleaseByInode(0xc0003833b0, 0xc00a805cd7?)
        /home/weed_source/seaweedfs/weed/mount/filehandle_map.go:68 +0x1e5
github.com/seaweedfs/seaweedfs/weed/mount.(*WFS).Forget(0xc000426140, 0x10?, 0xb160?)
        /home/weed_source/seaweedfs/weed/mount/weedfs_forget.go:68 +0xa5
github.com/hanwen/go-fuse/v2/fuse.doBatchForget(0xc000880580, 0xc00210ed80)
        /home/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.1-0.20220627082937-d01fda7edf17/fuse/opcode.go:332 +0x497
github.com/hanwen/go-fuse/v2/fuse.(*Server).handleRequest(0xc000880580, 0xc00210ed80)
        /home/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.1-0.20220627082937-d01fda7edf17/fuse/server.go:514 +0x556
github.com/hanwen/go-fuse/v2/fuse.(*Server).loop(0xc000880580, 0xc9?)
        /home/go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.1.1-0.20220627082937-d01fda7edf17/fuse/server.go:487 +0x1e5
created by github.com/hanwen/go-fuse/v2/fuse.(*Server).readRequest

System Setup
mount normal.
version:3.43
Expected behavior
mount run normally.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Can we take off fh.entryLock.Lock() in ReleaseHandle？


Update setup.bash

added dependecies for vanilla linux installes

Thanks @davevs!  @devGregA can you please take a look to see if this is inline with the install process?

Summoning @cneill :D. I went through all the new libs. Couldn't find major vulnerabilities or issues. Doesn't brake the install for most common systems. @cneill will you weigh in?

Hey @davevs is there a specific OS you're trying to cover? I'm wondering if I can make the list a little lighter by targeting different libs to satisfy the requirements.

@devGregA not really. In my view this tool might be tried by not the most tech-savy of people. Following that logic that kind of people probably uses something like mint or ubuntu. I wanted to make sure that the default installer would at least work on those systems to prevent people from abandoning it within a couple of minutes.

Hi @davevs, I've been looking through these packages for a while, and I haven't found a use case for adding these. Most people that we've spoken to are using Ubuntu. These packages aren't required for Dojo to run on Ubuntu and add overhead. If I've missed something please feel free to point it out to me.

@devGregA I got errors when using the installer on Mint and had to install these packages manually to make the installer complete. Especially git is necessary to complete the last part of the install, but is not necessarily on the system. Other examples are libtiff and libjpg which are necessary to complete the install.

@davevs gotcha. I'm swamped until Wednesday but will re-examine Mint later in the week.

@davevs sorry for the delay. I haven't forgotten about this.

@devGregA np, take your time :)


[ios] Runtime thread warning

When the GnoBoard app starts, we have Thread Performance Checker that prints a warning.
2023-09-13 10:31:08.032468+0200 gnoboard[72510:1680197] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
2023-09-13 10:31:08.032543+0200 gnoboard[72510:1680197] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
2023-09-13 10:31:08.237039+0200 gnoboard[72510:1680197] [native] Running application main ({
    initialProps =     {
    };
    rootTag = 1;
})
2023-09-13 10:31:08.526838+0200 gnoboard[72510:1680197] [expo] 🟢 Registering module 'ExponentConstants'
2023-09-13 10:31:08.528483+0200 gnoboard[72510:1680197] [expo] 🟢 Registering module 'ExpoKeepAwake'
2023-09-13 10:31:08.529728+0200 gnoboard[72510:1680197] [expo] 🟢 Registering module 'NativeModulesProxy'
2023-09-13 10:31:08.582764+0200 gnoboard[72510:1680197] [expo] 🟢 Posting 'appBecomesActive' event to registered modules
Thread Performance Checker: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions
PID: 72510, TID: 1680197
Backtrace
=================================================================
3   gnoboard                            0x000000010673a5fb -[SRRunLoopThread runLoop] + 43
4   gnoboard                            0x00000001067346e7 +[NSRunLoop(SRWebSocket) SR_networkRunLoop] + 71
5   gnoboard                            0x0000000106738f22 -[SRProxyConnect _openConnection] + 82
6   gnoboard                            0x00000001067382fc -[SRProxyConnect _configureProxy] + 988
7   gnoboard                            0x0000000106737a5b -[SRProxyConnect openNetworkStreamWithCompletion:] + 91
8   gnoboard                            0x000000010673c3db -[SRWebSocket open] + 731
9   gnoboard                            0x0000000106426c0d -[RCTReconnectingWebSocket start] + 173
10  gnoboard                            0x000000010641527b -[RCTPackagerConnection init] + 507
11  gnoboard                            0x0000000106415064 __49+[RCTPackagerConnection sharedPackagerConnection]_block_invoke + 36
12  libdispatch.dylib                   0x000000010998c7ec _dispatch_client_callout + 8
13  libdispatch.dylib                   0x000000010998de85 _dispatch_once_callout + 66
14  gnoboard                            0x000000010641500e +[RCTPackagerConnection sharedPackagerConnection] + 78
15  gnoboard                            0x00000001064b0faa -[RCTDevSettings initialize] + 170
16  gnoboard                            0x00000001063fe160 -[RCTModuleData _initializeModule] + 112
17  gnoboard                            0x00000001063fd9dd -[RCTModuleData setUpInstanceAndBridge:] + 2589
18  gnoboard                            0x00000001063ff960 -[RCTModuleData instance] + 1408
19  gnoboard                            0x00000001063a454c -[RCTCxxBridge moduleForName:lazilyLoadIfNecessary:] + 812
20  gnoboard                            0x000000010640a007 -[RCTModuleRegistry moduleForName:lazilyLoadIfNecessary:] + 135
21  gnoboard                            0x0000000106409f6e -[RCTModuleRegistry moduleForName:] + 46
22  gnoboard                            0x00000001064c33a3 -[RCTPerfMonitor devMenuItem] + 99
23  gnoboard                            0x00000001064c3262 -[RCTPerfMonitor initialize] + 114
24  gnoboard                            0x00000001063fe160 -[RCTModuleData _initializeModule] + 112
25  gnoboard                            0x00000001063fd9dd -[RCTModuleData setUpInstanceAndBridge:] + 2589
26  gnoboard                            0x00000001063ffc27 __25-[RCTModuleData instance]_block_invoke + 39
27  gnoboard                            0x000000010646dad8 RCTUnsafeExecuteOnMainQueueSync + 56
28  gnoboard                            0x00000001063ff7a2 -[RCTModuleData instance] + 962
29  gnoboard                            0x00000001063a9e95 __49-[RCTCxxBridge _prepareModulesWithDispatchGroup:]_block_invoke + 181
30  libdispatch.dylib                   0x000000010998b54f _dispatch_call_block_and_release + 12
31  libdispatch.dylib                   0x000000010998c7ec _dispatch_client_callout + 8
32  libdispatch.dylib                   0x000000010999d7e9 _dispatch_main_queue_drain + 1725
33  libdispatch.dylib                   0x000000010999d11e _dispatch_main_queue_callback_4CF + 31
34  CoreFoundation                      0x00007ff8003b26cc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
35  CoreFoundation                      0x00007ff8003acfbe __CFRunLoopRun + 2429
36  CoreFoundation                      0x00007ff8003ac264 CFRunLoopRunSpecific + 560
37  GraphicsServices                    0x00007ff809b4024e GSEventRunModal + 139
38  UIKitCore                           0x0000000117f9a7bf -[UIApplication _run] + 994
39  UIKitCore                           0x0000000117f9f5de UIApplicationMain + 123
40  gnoboard                            0x0000000106127e30 main + 96
2023-09-13 10:31:08.893866+0200 gnoboard[72510:1680490] [connection] nw_socket_handle_socket_event [C5.1.1:1] Socket SO_ERROR [61: Connection refused]
2023-09-13 10:31:08.896934+0200 gnoboard[72510:1680490] [connection] nw_socket_handle_socket_event [C5.1.2:1] Socket SO_ERROR [61: Connection refused]
2023-09-13 10:31:08.898603+0200 gnoboard[72510:1680527] [connection] nw_connection_get_connected_socket_block_invoke [C5] Client called nw_connection_get_connected_socket on unconnected nw_connection
2023-09-13 10:31:08.898977+0200 gnoboard[72510:1680527] TCP Conn 0x600002c93160 Failed : error 0:61 [61]
2023-09-13 10:31:08.961423+0200 gnoboard[72510:1680514] [expo] 🟢 Creating JS object for module 'NativeModulesProxy'
2023-09-13 10:31:08.968161+0200 gnoboard[72510:1680514] [expo] 🟢 Creating JS object for module 'ExponentConstants'
2023-09-13 10:31:09.135819+0200 gnoboard[72510:1680514] [javascript] Running "main" with {"rootTag":1,"initialProps":{}}

Even if the app seems to work correctly, it's something to investigate.

https://github.com/facebook/react-native/issues/34400
We need to wait for a fix on their side.

FYI, Berty Messenger has the same warning.

facebook/react-native#34400 We need to wait for a fix on their side.

Hi @D4ryl00 . That react-native issue has been closed. Is there an update on this issue?

The fix was applied to the main branch, but was not released yet. So I asked in the discussion to pick it for the next minor release: https://github.com/reactwg/react-native-releases/discussions/104

The reply was "it's already in RC0". So, wait for RC0.

@jefft0 to reproduce using and old version, then check the latest code.

I tested on the current version and no more this warning.


IntelliJ, Auto-Discover Processors from Maven

Hello FreeBuilder team,
I've started using FreeBuilder and, more recently, the Google Auto Service Processor, in a Maven build.
At first, including the Auto Processor disabled FreeBuilder. I think it's because the Google plugin is explicitly added to the POM, disabling discovery of other processors.
Then, I came up with this:
<plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
            <annotationProcessors>
                <annotationProcessor>org.inferred.freebuilder.processor.Processor</annotationProcessor>
                <annotationProcessor>com.google.auto.service.processor.AutoServiceProcessor</annotationProcessor>
            </annotationProcessors>
            <annotationProcessorPaths>
                <path>
                    <groupId>org.inferred</groupId>
                    <artifactId>freebuilder</artifactId>
                    <version>2.6.2</version>
                </path>
                <path>
                    <groupId>com.google.auto.service</groupId>
                    <artifactId>auto-service</artifactId>
                    <version>${auto-service.version}</version>
                </path>
            </annotationProcessorPaths>
        </configuration>
</plugin>

This fixed my build. It also turns out that IntelliJ picks this up automatically and put it into the settings.
This way, I do not have to configure the settings manually in IntelliJ.
I'm using the latest version 2020.2.3.
I never configured the annotation processors manually, but there they are:

I can send a pull request for the readme if you think this is a valid approach, but I thought I'd better submit an issue first to discuss.
Regards,
Stefan

Hi Stefan,
If you would like to add this extra configuration as a subsection of https://github.com/inferred/FreeBuilder/#maven, with an explanation of when it might be needed, that would be very much appreciated!
Cheers,
Alice


CUDA pinned dependency

Comment:
Hi All,
I have OpenMM as a dependency of my own Conda-forge package (https://github.com/seekrcentral/seekr2_openmm_plugin-feedstock.git). CUDA is also one of my dependencies, and I've been sticking with the pinned versions (10.2, 11.0, 11.1, and 11.2). However, I've discovered that whenever I try to build my package in Conda-forge using CUDA 11, OpenMM is installed with a default version of 11.8. This creates a version mismatch that prevents me from being able to build properly.
So my questions are: 1) Are you aware of any way to specify to have OpenMM install with the proper CudaToolkit version from the meta.yaml file, or 2) Are there any plans to have the default version of OpenMM on Conda adhere to the pinned CUDA dependencies?
Thank you.

I'm not sure exactly how conda-forge handles this.  The recipe just lists {{ compiler('cuda') }} as a dependency.  That automatically gets filled in with the correct cudatoolkit version.  We never specify a version ourselves.  Perhaps you're missing that?  See https://conda-forge.org/docs/maintainer/knowledge_base.html#cuda-builds.
Note that there's a difference between the version you build against and the version installed for users.  11.2 is binary compatible with all later 11.x versions.  That's why we don't need to build against later ones.  Users may still need newer ones, though.  11.2 is too old for some recent GPUs.

Thanks for the response, @peastman. I am also using the {{ compiler('cuda') }} variable. For some reason, it doesn't seem to be using the same version when installing OpenMM into the environment. It doesn't really matter to me what version of CUDA is used for the build, or by the users, but the problem is just because the CUDA version used to build my plugin and the one that is installed for OpenMM are different - which prevents the "make PythonInstall" step from working properly in the build.
However, it seems that using CUDA 10.2 avoids this problem, and I'll probably direct users to just request that version with their conda install. Although it's probably not a very sustainable solution - I'm eventually going to have to figure out how to make the later CUDA versions work when everyone moves past 10.2.


Uploader for classification label only

Provide an uploader UI where the user uploads a spreadsheet (CSV with header, to be precise) with at least columns "filename" and "category". Then: Category mapper, agcontext, metadata, images.

Note this would need to handle the case where the same filename appears on multiple rows with different category

This is something Michael wants. Do you want to write the weedcoco.importers script, or should I?

This is something Michael wants. Do you want to write the weedcoco.importers script, or should I, @ElevnLi ?

I don't quite understand this issue.. This csv file will be converted to coco?

Yeah, something like https://github.com/AlexOlsen/DeepWeeds/blob/master/labels/labels.csv will be converted to COCO.

I've not thought about how to handle the negative clas..


Command navigation doesn't work as expected in task terminals

Notice how for the task terminal it jumps all the way to the top on the first ctrl+up, instead of going to the most recently run task:

That's even worse 🤨

the call to get markers here returns undefined

I bet the markers are getting disposed of, so deleted from the map in bufferMarkCapability


MD Tables have problem

Markdown tables have problem.

Thanks for your report. The issue has been fixed in https://github.com/TryGhost/Source/commit/ebc479215410acc46ae00b90c0f0b117da616a7d - should be out with the next release.


Integrate tox-pdm

tox-pdm

we want to keep a lightweight local development environment while fully tested on cloud, so tox is not a must-have option right now.


Merlin-SDK version based on github tag

What this PR does / why we need it:

Currently if we need to release new version of merlin-sdk we need to update the version manually. In this PR we will overwrite the version based on github tags for example, if we have tag v0.17.0-rc1, the version of merlin-sdk will be 0.17.0-rc1
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?:

NONE

Checklist

[ ] Added unit test, integration, and/or e2e tests
[ ] Tested locally
[ ] Updated documentation
[ ] Update Swagger spec if the PR introduce API changes
[ ] Regenerated Golang and Python client if the PR introduce API changes

So with this we can publish pre-release and normal release depending on the tag right?

So with this we can publish pre-release and normal release depending on the tag right?

Yes, for RC tag will marks as pre-release

Cool, LGTM


deps: fetch build artefacts using a proxy where necessary

I've been struggling to build Signal from source where the build machine is behind a proxy.
This change will have no effect during build unless the HTTPS_PROXY variable is set, in which case it establishes an agent that will ensure the https.get calls use the proxy correctly.
I'm open to suggestions on a different approach if the addition of another dependency is too undesirable.

@indutny-signal - sorry for the direct ping, you seem to be the most active contributor on this project. Any chance you could take a look here? :)

@indutny-signal @trevor-signal @jamiebuilds-signal any chance of a look at this? Many thanks! :slightly_smiling_face:

@indutny-signal @trevor-signal @jamiebuilds-signal any update on this at all? Thank you!

@ayumi-signal is there any way to get some attention on this? :) thank you!


[BUG]: You are unable to access medium.com

Description of the bug
You are unable to access medium.com
Steps To Reproduce
go to https://medium.com/pythoneers/17-mindblowing-python-automation-scripts-i-use-everyday-523fb1eb9284
Additional Information
No response

+1

Having issues as well


vscode intermittently doesn't find typescript type definition files (*.d.ts) in project

VSCode Version: Code 1.17.1 (1e9d36539b0ae51ac09b9d4673ebea4e447e5353, 2017-10-10T14:10:17.189Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author (truncated)
Version

vscode-docker
Pet
0.0.18

githistory
don
0.2.3

python
don
0.7.0

tslint
eg2
1.0.10

debugger-for-chrome
msj
3.3.1

(2 theme extensions excluded)

This issue happens intermittently, I have *.d.ts files in my project, the typescript compiler can see them and the project builds successfully. However, vscode intermittently does not find the types and shows red squiggly lines under types in some/all files. Around 50% of the time, the types are resolved correctly and I can click into the types to go to their declarations. This seems like a bug to me, since it is intermittent.

Sorry for the delayed response.
Can you please try out VS Code insiders. This includes a new version of TypeScript that fixed a number of issues similar to this.
If you still see this problem when using VS Code insiders, can you reliably reproduce this problem? If so, can you please share some example code or a small example project that causes it to occur?


Bug found in scipy/signal/spectral.py?

Please see line 1388 on function header of _spectral_helper(...)
The documentation said that the scaling is default to 'density', but the header actually set the default value to 'spectrum'

Indeed the function signature is set to spectrum but all functions in that module set this exclusively to density. As far as I can see the default value is never used.

It could mislead users. The users might think the output is “spectrum” but in reality it’s “density”. Not everyone will dig into the source code to verify the scaling type. The documentation should be accurate and do exactly what it promised it would do.

I didn't meant to disagree. I'm just saying this is (hopefully) just a doc typo but not a bug.

It could mislead users.

Keep in mind that such private functions (prefixed by _) can change API without warning (argument presence, order, naming, defaults, etc.) and thus should not be used by end-users.
Having the docstring might be part of the problem that leads people to think they can use such a function and expect stability, so I actually don't mind removing the documentation in favor of a one-line description assuming that the variables are clear enough from function for internal development (and I suspect that they are here). But if people find that idea too aggressive, I'm also fine with just updating the docstring (PR welcome in either case).


Allow #[error(transparent)] on struct fields

The crate I'm currently working on has code like the following:
#[derive(Debug, Clone, Error)]
pub struct Error {
    pub(crate) kind: ErrorKind,
    backtrack: Option<ExtBacktrace>,
}

#[derive(Debug, Error)]
pub enum ErrorKind {
    // error variants go here
}

If I understand correctly, this doesn't currently allow the Error impl for Error to return types from the ErrorKind variants, which seems like it would be useful. I thought I might try #[error(transparent)] on Error's kind field, but that's not allowed. Is there currently a way to support this scenario? From the description of error(transparent) it seems like it would be a good fit for this, but maybe there's a good reason not to allow this.

This style was common with the failure crate: it recommended it as one of its patterns as it simplifies handling of extra data like the Optional backtrace here in to one centralized place (rather than within each Kind's variants).
I also came across this problem hoping #[error(transparent)] might defer the top level Error's source method to the inner kind's. The solution was to simply not use thiserror::Error for the top level Error struct here, instead implementing custom std Error and Display traits for it that defer to kind's.
#[derive(thiserror::Error)] is not doing a lot for the top level Error in this case otherwise: those two traits are just a few lines of code. I just use #[derive(thiserror::Error)] on the ErrorKind which is where it's doing the heavier lifting.


Rl bachelor styling

🌮  looks good. It will definitely help to have this as a starting point for all the other ToDos


Added hover color for tabs.

Changes Unknown when pulling 57f04f5c3920ae56c9aa2556b414d5444343d0e6 on tab-hover into ** on master**.

LGTM


Add new parameter "with" in populateTree() sighnature

There is no changes in this package after adding this parameter in other behaviors, therefore it is lost when using yii2-auto-tree trait

Made pull request for this
https://github.com/paulzi/yii2-auto-tree/pull/6


queue doesn't delay steps

In your live example, if I change the queue max size to 5 and click repeatedly, my steps execute in parallel, rather than sequentially.  Am I wrong to assume that's the point of using promise-queue is to delay subsequent steps until the previous step completes?
Here's what I mean:
http://c.hlp.sc/3C0V220S0K11

Hey,
the first argument of the Queue is a max concurrent promises the second one is a buffer:
new Queue(1, 5);

So here http://jsfiddle.net/RVuEU/8/ promises are resolving one after one.

Ah, great didn't realize that.  Thanks!


Add IBanking Services

This site is already mentioned under Vio Bank and perhaps others. Not much about this company itself online, ibanking-services.com goes no where

Thanks.


feat: adding vim-illuminate support

How can I restore the previous functionality - underline a word and not highlight/illuminate it? If i comment out the added code in file lua/onedark/highlights.lua it works, but this is not an option, since it will break every time Lazy updates onedark.
I'm using LunarVim v1.4, if this matters. Other themes have the underline without any


Added logical and bitwise operators

Added support for logical operators: &&, ^^, ||, and bitwise operators: &, ^, |. Also changed the order of precedence so that bitwise operators are evaluated before equality operators.

Good job!


Add request queues

Same stuff like in Selenoid.

Hello,
do I understand this correctly: there is no way, at the moment, to queue extraneous requests for moon?
So if I launch 5 tests in parallel on a grid, with only 4 available nodes, the 5th will be dropped and never played?

No, it will be queued and wait for available resources. This ticket is for
changing internal implementation of queues...
чт, 4 апр. 2019 г., 10:24 Benjamin Audren<EMAIL_ADDRESS>
Hello,
do I understand this correctly: there is no way, at the moment, to queue
extraneous requests for moon?
So if I launch 5 tests in parallel on a grid, with only 4 available nodes,
the 5th will be dropped and never played?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/88#issuecomment-479782048, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABWNbTxLsBl97DFHjvS-a8x4rUo8VAlLks5vdaiwgaJpZM4YYkM5
.

Ok - I must be doing something bad with my deployment then. I use the free 4 pods license for moon on my openshift cluster, and if I go over the 4 pods limit, my jobs are dropped instead of queued. Is there a setting somewhere to turn the queuing on? I could find nothing in the documentation.

Moon does not drop requests. There is route in OpenShift, you have to tune
its timeout and set for ex 30 min...
чт, 4 апр. 2019 г., 10:35 Benjamin Audren<EMAIL_ADDRESS>
Ok - I must be doing something bad with my deployment then. I use the free
4 pods license for moon on my openshift cluster, and if I go over the 4
pods limit, my jobs are dropped instead of queued. Is there a setting
somewhere to turn the queuing on? I could find nothing in the documentation.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aerokube/moon/issues/88#issuecomment-479785437, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABWNbRRzZXE1jED-40RBopbMnL1ob025ks5vdatbgaJpZM4YYkM5
.

You are right, sorry about this! Setting a high timeout solves my issue. Thanks for the support!


Black background isn't displayed correctly in PowerShell

Environment
Windows build number: Win32NT 10.0.19042.0 Microsoft Windows NT 10.0.19042.0
Windows Terminal version (if applicable): 1.5.10271.0

Steps to reproduce
If you execute this code peace than you see yellow text with white background instead of yellow text with black background.
 Write-Host "TextToOutput" -ForegroundColor Yellow -BackgroundColor Black

Expected behavior
Yellow text with black background.
Actual behavior
Yellow text with white background.

Unfortunately, this is by design. PowerShell erroneously tells us to use a black background so often that it would cause there to be black streaks across the display (even if the terminal background was set to white or acrylic transparency.)
We had to disable black for PowerShell, specifically. #6810. Tracking the "fix" in /dup #6807.

I presume it is caused by https://github.com/microsoft/terminal/pull/6810, i.e. PowerShell asks for a black background when it really wants a default background, and Windows Terminal tries to work around that by recognising  the powershell.exe name and giving it the default background when it asks for a black background.


Setup view for chain 1405

What is to be done in this issue? Please provide more detail.

This ticket was created for alpha-2 release of facilitator i.e. during M0 facilitator setup.
If view is already setup for chain 1405 and working fine, we can close this ticket.


UX Rec: Make visual icon language clear on search results

Reduce confusion when viewing search results by using a consistent visual language in the search result thumbnails. Both audio and video records can have unique thumbnail images pulled from the media object. It then becomes visually unclear whether these records are video or audio. For these records, place a small symbol indicating whether it’s audio or video in the corner of the thumbnail, overlaying the image. This icon should be the same icon that is used as the thumbnail on records that contain playable media but do not have their own unique thumbnail image.

Done when: two additional icons are created, one for audio that is not digitized, and one for video that is not digitized. See AAPB for example.


Installation throw CocoaPods not working

Missing installation throw CocoaPods.
It is not working:
pod 'libextobjc/EXTScope', :git => 'https://github.com/jspahrsummers/libextobjc.git', :tag => '0.6'

0.5 and 0.6 are not published: https://github.com/CocoaPods/Specs/tree/master/Specs/e/2/6/libextobjc

Closing in favour of #138


Refactoring sklearn notebooks - making them use the Secret Store

closes #39

Oops! Thanks for spotting it. Will clear now.


DIP: Canonical, Deterministic Wallet & XPub IDs

Defines a 64-bit Wallet ID (and encodings) for applications that manage multiple Wallets Phrases.
Also provides an alternate HD Key ID, as Hierarchical Deterministic Wallets: Key Identifiers actually recommends NOT using their 32-bit fingerprint for these types of scenarios (and ripemd160 is weak and deprecated).
Preview
https://github.com/dashhive/DIPs/blob/aj-wallet-fingerprint/aj-wallet-id.md
Example
Wallet
Wallet Phrase:
zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo zoo wrong

Wallet Salt:
TREZOR

Wallet ID
Base64Url:  KjiakB-bn3I          (11 characters)

64-Bit Int:<PHONE_NUMBER>085030770  (8 bytes)
Hex:        2a389a901f9b9f72     (16 characters)
CB32:       58W9N40ZKEFQ4        (13 characters)

HD Key (a.k.a. X Key, a.k.a. XPub)
Wallet KjiakB-bn3I @ m/44'/5'/0'/0:
XPrv: xprvA2L7qar7dyJNhxnE47gK5J6cc1oEHQuAk8WrZLnLeHTtnkeyP4w6E
          o6Tt65trtdkTRtx8opazGnLbpWrkhzNaL6ZsgG3sQmc2yS8AxoMjfZ

XPub: xpub6FKUF6P1ULrfvSrhA9DKSS3MA3digsd27MSTMjBxCczsfYz7vcFLn
          bQwjP9CsAfEJsnD4UwtbU43iZaibv4vnzQNZmQAVcufN4r3pva8kTz

XPub ID:
64-Bit Int:<PHONE_NUMBER>579778096
Hex:        6319abc7fb8cbc30
CB32:       CCCTQHZVHJY30
Base64Url:  Yxmrx_uMvDA

In Pseudocode
let seedBytes = await DashPhrase.toSeed(phrase, salt);
let hashBytes = await crypto.sublte.digest("SHA-256", seedBytes)
let idBytes = hashBytes.slice(0, 8);

let id = bytesToBase64Url(idBytes);
let idBase32Crock = base32crockford.encode(idBytes);
let idHex = bytesToHex(idBytes);
let idInt64 = BigInt(`0x${idHex}`);

let hdkey = await DashHd.fromXKey(xkey);
let xpubBytes = await DashHd.toXPubBytes(hdkey);

let id = bytesToBase64Url(idBytes);
let idBase32Crock = base32crockford.encode(idBytes);
let idHex = bytesToHex(idBytes);
let idInt64 = BigInt(`0x${idHex}`);

Consideration:
We only create IDs from HD Keys. So the Wallet ID is simply the root HD Key that's created from the seed at level 0, a.k.a. m.


Rename to ClimaCore.jl

ClimateMachineCore.jl was a temporary name. The software call agreed to go with ClimaCore.jl.

Ctrl + Shit + H all the names


Clicking Apply in Vol Atts when 2D transfer function tab active takes you back to Renderer tab.

Create a volume plot, change Rendering method to 'Slivr'. Select 2D transfer function option to enable 2D transfer function tab.Select 2D transfer function tab.Click one of the widgets in the list and then click apply.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2404
Status: Pending
Project: VisIt
Tracker: Bug
Priority: Normal
Subject: Clicking Apply in Vol Atts when 2D transfer function tab active takes you back to Renderer tab.
Assigned to: -
Category: -
Target version: -
Author: Kathleen Biagas
Start: 10/02/2015
Due date:
% Done: 0%
Estimated time:
Created: 10/02/2015 03:27 pm
Updated: 10/08/2015 01:23 pm
Likelihood: 3 - Occasional
Severity: 3 - Major Irritation
Found in version: trunk
Impact:
Expected Use:
OS: All
Support Group: Any
Description:
Create a volume plot, change Rendering method to 'Slivr'. Select 2D transfer function option to enable 2D transfer function tab.Select 2D transfer function tab.Click one of the widgets in the list and then click apply.
Comments:

Closing issue because Volume plot no longer has the 2D transfer function option.


Improve Code Quality 3

This PR:

Compiles regular expressions
Adds a timeout to regular expressions that may be from an untrusted source
Replaces a few method calls with constant pattern matching

Prerequisites
Please make sure you can check the following two boxes:

[x] I have read the CONTRIBUTING document
[x] My code follows the code style of this project

Contribution Type
What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] All new and existing tests passed

Ready for review.