Fill the myelin with the "remove_small_holes" tool

Check this presentation for more information on the tool: https://docs.google.com/presentation/d/1aRl7C1IzzdhXzUBHk4tnIzU3L2r-DJ1540hnQdivzJE/edit#slide=id.p
Fixes #401 and #384.
This is an alternative to #397 and #400.
The limits of this tool will be axons which have a very large area (more than 10% of the image's size, we can ajust this) and images in which the background represents a very small area (less than 10% of the image, we can ajust this).

@mariehbourget I tried this implementation with the myelin mask you shared with me. I obtained a good result.

@mariehbourget I tried this implementation with the myelin mask you shared with me. I obtained a good result.

I tested it and got good results too on that specific myelin mask.
However, the point you mentioned about small background area will be an issue for many images where myelin are touching, example from our SEM test images:

Same thing happens with our TEM test image.

However, the point you mentioned about small background area will be an issue for many images where myelin are touching, example from our SEM test images:

how does the squeletization look like for these cases?

Here's the myelin mask from MH's image and its skeleton. The touching myelin objects are still problematic.

Here's the myelin mask from MH's image and its skeleton. The touching myelin objects are still problematic.

Indeed :sad. But i'm fairly confident that if we use the uncertainty output of axon segmentation we will be able to obtain a robust axon identification (by thresholding axon predictions with low uncertainty). But for that we'll have to wait for the connection with ivadomed

But i'm fairly confident that if we use the uncertainty output of axon segmentation we will be able to obtain a robust axon identification (by thresholding axon predictions with low uncertainty).

And we have to keep in mind that the feature will be used to fill axons from a manual mask (without uncertainty available).
Thanks @Stoyan-I-A for the investigation.

Since this PR is old, I have created #585, which is the same implementation but is using the most up-to-date version of ADS. I am closing this PR.


Large number of threads

I am using your jmeter plugin (version-1.0.2) and test with 320 concurrent users in a thread group using a WebSocket sampler within a long running loop, with setting the username as "Connection Id" and enabling "Streaming connection". I'm having troubles (OutOfMemoryError: unable to create new native thread) and wondered why such a high number of threads:
From a thread dump I see that there are currently:
2480 threads named WebSocketClient@#-#-selector-WebSocketClientSelectorManager@#/'
307 threads named WebSocketClient@#-scheduler
539 threads named WebSocketClient@#-#
The huge number of threads seem to come from each thread creating a new WebSocketClient, which has a thread pool of minimal 8 threads.
As the number of concurrent editors can go way higher than the 320 we tested today, we would need to somehow reduce the number of threads created via the WebSocketSampler. I see that the WebSocketClient constructor allows to also set an Executor object as 2nd parameter. I would therefore suggest to add a:
private static ExecutorService executor = Executors.newCachedThreadPool();

and change the getConnectionSocket() method to look like this:
    private ServiceSocket getConnectionSocket() throws URISyntaxException, Exception {
        URI uri = getUri();

        String connectionId = getThreadName() + getConnectionId();

        if (isStreamingConnection() && connectionList.containsKey(connectionId)) {
        	ServiceSocket socket = connectionList.get(connectionId);
            socket.initialize();
            return socket;
        }

        //Create WebSocket client
        SslContextFactory sslContexFactory = new SslContextFactory();
        sslContexFactory.setTrustAll(isIgnoreSslErrors());
        WebSocketClient webSocketClient = new WebSocketClient(sslContexFactory, executor);

        ServiceSocket socket = new ServiceSocket(this, webSocketClient);
        if (isStreamingConnection()) {
            connectionList.put(connectionId, socket);
        }

        //Start WebSocket client thread and upgrage HTTP connection
        webSocketClient.start();
        ...

Hi bpapez,
How do you test with 320 concurrent users? I mean how to set up the test plan? Could you please show with a picture? Thanks a lot.
As I test with only 2 or more concurrent users (i.e., set thread number as 2 or more), the websocket connection establishment will be fail other than the last thread.
The error shown as:
Thread Name: Thread Group 1-5
Sample Start: 2015-08-23 11:24:22 CST
Load time: 5030
Connect Time: 0
Latency: 0
Size in bytes: 0
Headers size in bytes: 0
Body size in bytes: 0
Sample Count: 1
Error Count: 1
Response code:
Response message:
[Execution Flow]

Opening new connection
Using response message pattern ""
Using disconnect pattern ""
Waiting for the server connection for 5000 MILLISECONDS
Cannot connect to the remote server

[Variables]

Message count: 0

[Problems]

Unexpected error: null
JMeter.plugins.functional.samplers.websocket.ServiceSocket.sendMessage(ServiceSocket.java:156)
JMeter.plugins.functional.samplers.websocket.WebSocketSampler.sample(WebSocketSampler.java:136)
org.apache.jmeter.threads.JMeterThread.process_sampler(JMeterThread.java:434)
org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:261)
java.lang.Thread.run(Unknown Source)

Response headers:
SampleResult fields:
ContentType:
DataEncoding: UTF-8

Hello,
attached are the screenshots of the thread group and the websocket sampler of our test. As said we are testing with hundreds concurrent users.
However our product switched from websockets to server-sent events, which seem to not be supported by the WebSocketSampler plugin.
Regards,
Benjamin

I encountered an issue today when working with very large numbers of websocketsamplers. The threads appear to be only closed when the test finishes via testEnded(). So when we were running 600 threads that lasted 10 minutes then looped forever we were getting out of memory exceptions.
It turned out that there was 30,000 client threads for the WebSocketSampler stuck in wait states. We've patched the issue by calling close(statusCode, statusText) in the onClose() method in ServiceSocket. I'll probably fork the project and address this issue which is about the 4th one we have fixed at work.


Completion list shows spurious items (internal, unstable, duplicates...)

internal items show up in the completion list.
items from the Unstable namespace show up in the completion list.
if the same namespace is declared in two different library files, that namespace shows up twice in the completion list (e.g. Microsoft.Quantum.Intrinsic)

Fixed by #1011


odo should support devfile components with devRun but without devBuild

/kind bug
What versions of software are you using?
1.2
Operating System:
mac
Output of odo version:
odo v1.2.0 (7f14dab08)
How did you run odo exactly?
A Quarkus devfile has been added to the default devfile registry (https://github.com/elsony/devfile-registry/tree/master/devfiles/quarkus).  However, the odo catalog list components does not currently show that component as supported.  The reason for it to show up is because the Quarkus component only defines the devRun command but not the devBuild command. odo should support component that does not have a devBuild command with only a devRun command since not all component type requires an actual build depending on the language and runtime.
Actual behavior
eyuentp2:eynode2 eyuen$ odo catalog list components
Odo Devfile Components:
NAME                 DESCRIPTION                           SUPPORTED
maven                Upstream Maven and OpenJDK 11         YES
nodejs               Stack with NodeJS 10                  YES
openLiberty          Open Liberty microservice in Java     YES
java-spring-boot     Spring Boot® using Java               YES

Expected behavior
The list show contain the Quarkus one on the list.
Any logs, error output, etc?
No specific error output
/area devfile

I can take a look at this
/assign


ECR Viwer Demo Site

PULL REQUEST
Summary
What changes are being proposed?
Related Issue
Fixes #846
Additional Information

hey @JNygaard-Skylight is the screenshot in the description ready for design review? let me know if it is and I can send over comments - thanks!

@JNygaard-Skylight thanks for adding the screenshot - a few comments:

The positioning and spacing for the text and buttons should match the previous pages. I'm not sure exactly what it has been set to in the code but the few things that look off are: the width of the content is too large, the text isn't centered on the page, the table isn't left justified with the rest of the content
What shade of gray are you using for the top of the table? is it the USWDS default? it looks a bit dark, but maybe my designs aren't properly aligned with the USWDS default setttings
the table should include all eCR fields that LAC had requested. is there a reason there are only 5 in this view?
is our default for names all caps? I'm just surprised that's our default standardization setting, but it's not really in the scope of this ticket, as long as the data is being pulled from the result of the pipeline not the source data. if a bunch of the data fields are looking sort of wonky/not user friendly, @emmastephenson we might need to consider having another ticket to modify the names of fields and their output settings to be more user friendly (for example, Patient Id should be Patient ID) I just think it makes the design look less professional when the data comes out like that
this one is my fault with the design, but if the table ends up being super long, we may need to put the buttons above the table, but I'll wait until I see what it looks like with a larger table first

let me know if you have any questions on the above!


[11.x] Use correct pluralization rules in trans_choice for fallback strings

Closes #52341

Thanks! @stefanvdlugt best to add a thorough explanation to your PR instead of just linking to an issue (see the PR template when you submit PR's).


Add goss ansible role

Description
https://scalar-labs.atlassian.net/browse/DLT-8192
Done

Add goss role for test server configuration.

How to use

Output ssh.cfg from network module.

$ terraform output ssh_config > ssh.cfg

Output inventory file

$ terraform output inventory_ini > cassandra.ini

Execute test for cassandra server

$ ansible-playbook --ssh-common-args="-F ssh.cfg" -i cassandra.ini ./provision/ansible/playbooks/goss-server.yaml -l cassandra

The tests are assumed to be run manually?

Sorry, but I found that scalar-labs/scalar-terratest#12 contains the script.

The tests are assumed to be run manually?

Sorry, but I found that scalar-labs/scalar-terratest#12 contains the script.

Currently, this goss role is running in terratest or manually.

Question: Since Goss is run from scalar-terratest, should the role be added to this repo?

Good point! 👍
Since it's used for testing scalar-terraform, I think it's more appropriate to put it in the repo here.


[tsdb] ErrNotFound change ‘errors.Errorf’ to ‘errors.New’

[tsdb] ErrNotFound change ‘errors.Errorf’ to ‘errors.New’

Thanks for your pull request. This was fixed in the mean time:
storage/interface.go
27:     ErrNotFound                    = errors.New("not found")


Credential Lifecycle - Functional Requirements

In the actual version, is required that the Credential Issuer MUST revoke a Digital Credential when the following circumstances occur:

the Digital Credential requires to be updated, whenever one or more attributes are changed; in this case the User will request a new issuance for that Digital Credential;

This cannot be performed as the Credential Issuer must not keep track and keep details of the issued credentials, thus will not be able to be aware if the credential needs to be updated (see issue 425 for example). Therefore a status attestation that doesn't match the credential  will only return an error.
In this case Credential Issuer cannot and must not revoke the credential.
The other circumstances are not under control of the Credential Issuer, therefore the revocation is not 'driven' by the Issuer itself but by the Wallet, and Credential Issuer cannot (and must not) be aware of the reasons behind the revocation request

This cannot be performed as the Credential Issuer must not keep track and keep details of the issued credentials, thus will not be able to be aware if the credential needs to be updated (see issue 425 for example)

it must, since a citizen might lose its right due to a crime or other giurisdictional events. The citizen dies and other.

Therefore a status attestation that doesn't match the credential will only return an error.

It returns an error.

In this case Credential Issuer cannot and must not revoke the credential.

if the data about the credential's subject changes, the credential must be revoked and the user must get a message to be informed about this event

The other circumstances are not under control of the Credential Issuer, therefore the revocation is not 'driven' by the Issuer itself but by the Wallet, and Credential Issuer cannot (and must not) be aware of the reasons behind the revocation request

There are situations where the decision to revoke a credential is not made by the Credential Issuer. In cases where jurisdictional authorities or the user decide to revoke the credential, a message is sent by these parties to the Credential Issuer, who then acts as the material revoker of the credential.


Modified MongoClient to work with SSL connection

Code has been modified for MongoClient to work with SSL Connection. Certificate friendly name should be provided if ssl is set to true in mongo connectionstring. The default location for the certificate store is LocalMachine.

Hi @contactanmol thanks for submitting.
In your opinion is it possible to add a test to verify the functionality and to document its usage?

I have added test method name "Should_connect_over_ssl_connection_using_certificate_friendly_name" in the test project

Thanks @contactanmol !!


[iOS] Dismiss, Clear doesn't fire off onBackgroundEvent - Tested on Example app

This issue is related to iOS, the same application works as expected on Android. I also used Example app from this Github to reproduce the issue.
When notification is displayed and app is inactive or background then notifee.onBackgroundEvent doesn't fire off. Events from onForegroundEvent like Press are detected.
See the behaviour with debug log on this video (1 minute) https://mega.nz/file/xMdETTrI#xEsQL-ULkoikaeFfRYTep9OwVA8HHYS0Ib5ZTz-3AII
React 18.2
React-native 0.73.1
Notify 7.8.0 and 7.8.2

After further testing using this example from @helenaford https://github.com/helenaford/rnfbdemo
I only changed displayNotification to createTriggerNotification allowing me to put the app into background before notification triggers.
These are logs. Notification is created,
LOG  [onForegroundEvent] User dismissed notification {"body": "Notification body", "data": {}, "id": "default", "ios": {"badgeCount": 1, "categoryId": "notification", "foregroundPresentationOptions": {"alert": true, "badge": true, "banner": true, "list": true, "sound": true}, "sound": "default"}, "title": "Title"}
 LOG  [onForegroundEvent] notification id: default,  event type: TRIGGER_NOTIFICATION_CREATED
 LOG  [onBackgroundEvent] notification id: default,  event type: DISMISSED, press action: undefined.  <-- This fires off when the App is re opened not when it is in the background!

If the app is in Killed state then clear, dismiss action will trigger onBackgroundEvent and start the app.
So this behavior only affects app in background state!


[My Events] Created events are not displayed

Environment:
11th Gen Intel(R) Core(TM) i5-11320H @ 3.20GHz   3.19 GHz,
Windows 11 Pro release , 22H2
Chrome 120.0.6099.199 (Official Build), (64 bit)
Reproducible: always.
Build found: 11.01.2024
Preconditions

Go to https://www.greencity.social/#/greenCity
Organizer and/or Admin is loged in.
Two events are created by Organizer and/or Admin.
The 'My events' tab is opened

Steps to reproduce

Find the event created by Organizator and/or Admin  in all event list

Actual result
Events from precondition doesn't displayed, only joined and saved events displayed
Expected result
Created events are displayed on the 'My events' page
User story and test case links
E.g.: "User story #3375
Test case"
Labels to be added
Bug
event
Events
Functional
GreenCityEvent
My Events

Already fixed. When User/Admin creates an event, it is shown in "My Events" tab.


Message service show action buttons in reverse order

VSCode Version: 1.5

Steps:

show a message with actions.

Observe: the actions appear in reverse order in which they are provided. We should respect the order in which the actions are passed into the function.

@bpasero as discussed we should look into the early September.
@jrieken FYI.

@dbaeumer pushed the fix and adopted all places in the workbench but each extension needs to adopt this change too now.

@bpasero How about us handling that instead of asking all extensions to update?

@jrieken good idea. but how can I know that an extension relied on the old way of sorting actions?
When I discussed this with @dbaeumer I raised the concern of this being a somewhat breaking change (at least breaking existing behaviour) however we then thought that the way it used to work was already broken and so with this fix the behaviour is correct (even though this means extensions with buttons > 1 show in different sorting order).

extension relied on the old way of sorting actions?

I believe it was always broken so for extensions there is no 'old way of sorting'. I believe that made me unshift the default close action instead of pushing - actually not really paying attention to this. So, we can do two things

reverse actions here such that we don't introduce behavioural breakage
push the close action such that the default close commands come last (as today)

@jrieken yes, I took care of pushing the close action so that it comes last as before (see https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/api/node/mainThreadMessageService.ts#L52)
I can add the reverse code so that we do not end up with behavioural change but @dbaeumer filed this bug exactly for this reason. I think the API should show the buttons in the order they are being passed to the message service and this is how it behaves now. I would say the "old way of sorting" was unintuitive and forced extension writers to reverse the order on their end.

Created bug for TS.


Change [] to ()

Fixes https://github.com/MycroftAI/adapt/issues/91

Apologies for the delay - I've added a simple unit test for test_resolve_one_of, which should fail on master but pass on this branch, and I've changed .get to [].

Sorry, it's going to take me a while to grok this test (need to revisit what are the inputs and outputs of this method). I think the more practical test is one that makes use of the "at least one" semantics of an intent definition, as opposed to asserting on the outputs of this deep-in-the-bowels method.

@clusterfudge, I've added another test that should hopefully be more straightforward. The key is that a tag (temperature' in the test) needs to be possible in multiple locations (passed in to multiple one_ofcalls), so that we have to advance to the second possible tag (updatelast_end_index`) in one of those locations.

Hey @clusterfudge,
Friendly ping. Let me know if you'd like me to make any other changes.
-Christopher

Cool, last request, please update the version in setup.py to 0.3.3

@clusterfudge, done. The version is now 0.3.3.


VirtualBox: enable ability to import b2d instances

This adds support for importing a b2d instance (in this case, just the disk).
Discussion:  should we do a full clone of the VM to bring in any changes the user may make to the VM itself?  I didn't do that in the current state as this might add things that Machine does not support (i.e. network configuration, etc).
Refs #904

Cool.  That was fast!
If we're going to do the migration this way, we will need:

Documentation on how to do it (I don't think most users will know that they need to specify by name boot2docker-vm)
Game-plan for deprecating this feature eventually (2 releases?  3?)

Discussion: should we do a full clone of the VM to bring in any changes the user may make to the VM itself? I didn't do that in the current state as this might add things that Machine does not support (i.e. network configuration, etc).

I'm not too worried about importing settings that the user has made manually, since that seems to me that it could be a large amount of work for a not so common use case, but I do think we need to parse the b2d config file and convert it into machine terms.  If my b2d configuration was set to allow 4096MB RAM and the new machine doesn't have the same amount, that's going to be an annoying surprise.

@nathanleclaire thanks!  yeah i need to do a separate guideline -- i think that should be a separate issue / PR -- thoughts?
+1 for planning for the deprecation

added the ability to import cpu and memory settings from the b2d vm.  PTAL @nathanleclaire

Code is looking good, modulo a few nitpicks- I'll give this functionality a whirl soon.

@nathanleclaire updated ptal

So should we clean up the old boot2docker-vm automatically or prompt users to boot2docker destroy?

I added an issue to write docs for the 0.3.0 milestone.
LGTM

@nathanleclaire Yeah I think that would be in the docs.  I don't want to remove it automatically -- that seems too destructive (especially if the import fails for some reason).  I think a note in the migration doc would suffice.  Thoughts?

@nathanleclaire added docs -- this should close #1047.  PTAL

Yeah I think that would be in the docs. I don't want to remove it automatically -- that seems too destructive (especially if the import fails for some reason). I think a note in the migration doc would suffice. Thoughts?

Recommending boot2docker destroy (and maybe an uninstall of boot2docker as well) seems reasonable to me.

:+1: :+1: :+1:


01-01-2015 → YYYY-MM-DD

moment.parseFormat('01-01-2015') parsed to YYYY-MM-DD, I expected: MM-DD-YYYY

wow, what a bad bug, thanks for reporting! I'll look into it

You can use "/" as a separater instead of "-". That'll work

fixed via https://github.com/gr2m/moment.parseFormat/commit/5d3230648c41933075d34b49f3ad4c9eed342223

Sorry, forgot to mention, it now parses to DD-MM-YYYY per default, if you prefer Month first, pass {preferredOrder: 'MDY'}


Seccomp Profile is not deleted even when there are no pods using it

What happened: Followed the Seccomp profile tutorial as its presented in the Getting Started Page.
After deleting the demo pod and the Seccomprofile , pods got deleted but the seccomprofile hangs in terminating state forever.
there are not workloads on the Cluster using that Profile ( simple AKS demo cluster)
What you expected to happen:

kubectl delete Seccomprofile should delete the profile if there are no pods who uses it .
this is possible due to some finalizers ,but there should be no finalizer if there is no pod .

How to reproduce it (as minimally and precisely as possible):

follow the tutorial steps to install "profile1"  as described here :
https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/installation-usage.md#create-profile
create the pod
verify the pod uses the profile as explained in the tutorial
delete the pod
delete the profile
BUG : the profile is not deleted

Anything else we need to know?:
view the image below :

no pods
profile in Terminating state for 21h

Environment:

Azure AKS version 1.21.7
Linux

Hey @tshaiman, thank you for reporting this issue. I have access to azure and created a cluster like this:
> k get nodes -o wide
NAME                                STATUS   ROLES   AGE     VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION     CONTAINER-RUNTIME
aks-agentpool-27737729-vmss000000   Ready    agent   9m53s   v1.21.7   <IP_ADDRESS>    <none>        Ubuntu 18.04.6 LTS   5.4.0-1065-azure   containerd://1.4.9+azure
aks-agentpool-27737729-vmss000001   Ready    agent   9m46s   v1.21.7   <IP_ADDRESS>    <none>        Ubuntu 18.04.6 LTS   5.4.0-1065-azure   containerd://1.4.9+azure
aks-agentpool-27737729-vmss000002   Ready    agent   9m58s   v1.21.7   <IP_ADDRESS>    <none>        Ubuntu 18.04.6 LTS   5.4.0-1065-azure   containerd://1.4.9+azure

Unfortunately, this worked for me:

kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.6.1/cert-manager.yaml
kubectl apply -f https://raw.githubusercontent.com/kubernetes-sigs/security-profiles-operator/main/deploy/operator.yaml
Apply the profile:

apiVersion: security-profiles-operator.x-k8s.io/v1beta1
kind: SeccompProfile
metadata:
  namespace: default
  name: profile1
spec:
  defaultAction: SCMP_ACT_LOG

Apply the pod:

apiVersion: v1
kind: Pod
metadata:
  name: test-pod
  namespace: default
spec:
  securityContext:
    seccompProfile:
      type: Localhost
      localhostProfile: operator/default/profile1.json
  containers:
    - name: test-container
      image: nginx

Remove the pod
Remove the profile

Is this reproducible for you? Can you share the output of kubectl describe sp …? Thank you!

@saschagrunert : correct, I could not reproduce it any longer , neither on neither my AKS clusters.
I will close this and If I will be able to reproduce will re-send all the information


[BEAM-9444] Use GCP BOM to set package versions

Use GCP libraries bom to set versions for GCP related libraries
Updated version of #11156
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

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

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

GitHub Actions Tests Status (on master branch)

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

Run Java examples on Dataflow Java 11

Run Dataflow ValidatesRunner Java 11

Run Dataflow ValidatesRunner

Run Java PostCommit

Run Spotless PreCommit

I don't see any reason for that strange error in spotless.

Run Python PreCommit

Run Spark ValidatesRunner

Run Dataflow ValidatesRunner

@suztomo are there other tests I should run to verify this? Linkage checker runs without any new errors

R: @kennknowles, @suztomo, @lukecwik

The Dataflow validates runner tests are also failing on master

Also, it seems as though existing modules that don't add a platform level dep to the GCP libraries bom will get some version of the dep since we have cleared the version.

Run Java PreCommit

Run Python PreCommit

Run Java_Examples_Dataflow PreCommit

It does seem that if a module had any of these deps but forgot the enforcedPlatform line then it would go back to getting the arbitrary latest version. I understand fixing that is in a follow-up.
Here's what I did to view the dep changes:
# gcp is GNU cp here
mkdir ~/tmp/deps-before
git checkout github/master
./gradlew dependencyReport
find . -name dependencies.txt -exec gcp --parents \{\} ~/tmp/deps-before/ \;

mkdir ~/tmp/deps-after
git checkout github/pr/13075
./gradlew dependencyReport
find . -name dependencies.txt -exec gcp --parents \{\} ~/tmp/deps-after/ \;

diff --brief --recursive ~/tmp/deps-before ~/tmp/deps-after

diff --unified=0 --recursive ~/tmp/deps-before ~/tmp/deps-after


[FSDE-681] Fixed styles of step component base step item

https://ctl.atlassian.net/browse/FSDE-681

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-56/1/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-56/2/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-56/3/. :x:

The CI pipeline did not run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-56/4/. :x:

The CI pipeline run successfully in https://jenkinsprod.corp.intranet:8443/job/UX-CHI/job/Productive/job/Chi/job/PR-56/5/. :white_check_mark:

You can check this PRs instance in https://330a8b6cfc9ee93ee57034884294cfaea81f0ac4-chi-pr.enterprise.ctl.io


proposal: context: add Scoped

background
I an effort to defensively shunt off potential background goroutines, I find myself doing this frequently:
func outer(ctx context.Context) {
        ctx, cancel := context.WithCancel(ctx)
        defer cancel()
        x, err := inner(ctx)
        // ...
}

description
It strikes me that an alias of context.Context could be implemented such that this gets sugared implicitly:
package context

// Scoped is a Context that is cancelled when the current function returns.
type Scoped = Context

func outer (ctx context.Scoped) {
        x, err := inner(ctx)
        // ...
}

alternatives
Several proposals have spoken to removing or internalising context.Context in go2 and making it a first class language primitive. This would likely be prefer to this approach, but none of them went anywhere.
drawbacks
This is pretty far down the magic rabbit hole, and maybe this is actually an anti-pattern, but context.Context is one of the sharpest interfaces I deal with regularly, and this seems to have benefits. If this is an anti pattern, what is the alternative?
As this would be implemented in the runtime, it should not change the language spec. There is no requirement to modify any code, but it would likely turn out to be as viral as context.Context was.

It sounds like you are suggesting that the compiler should recognize context.Scoped explicitly and treat it differently.  That is, this is a language change.  Currently the compiler doesn't know anything about the context package.  Is that a correct summary?

Yeah, that sounds fair. I was trying to indicate that like garbage collection or unsafe, this would not be a change to the language specification.

It would be extremely unlikely for us to make a language change for a package like context.
Unsafe is in the language spec, and garbage collection is implicitly in the spec by virtue of not specifying any explicit deallocation.
Context is not.

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

Based on the discussion above, this proposal seems like a likely decline.
— rsc for the proposal review group

No change in consensus, so declined.
— rsc for the proposal review group


Automatically importing ElmentPlus page switching causes reloading

Describe the bug

import Components from 'unplugin-vue-components/vite'
import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
Reproduction
Reproduction
System Info
new dependencies optimized: element-plus/es/components/container/style/css, element-plus/es/components/footer/style/css, element-plus/es/components/pagination/style/css, element-plus/es/components/main/style/css, element-plus/es/components/table/style/css, ...and 5 more
16:50:45 [vite] ✨ optimized dependencies changed. reloading

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

need a reproduction

异步加载的路由，切换路由是也会重新加载页面

+1

me too

这个问题还没解决方案吗？


feat: local ICM cache for (performance) testing purposes

PR Type

[x] Feature
Description
local ICM cache for (performance) testing purposes.
Does this PR Introduce a Breaking Change?
[x] No
Other Information
AB#69659

This PR should be abandoned in favor of #888.
Still, It would be nice to just have the icm-cache.js as a tool in the scripts folder.
Opinions? @shauke @jometzner

Moved the file to \src\ssr\server-scripts and added helpful integration code snippets. This way it seems more useful for potential users. Fine with you @dhhyi?


await page.title() is too slow

Steps to reproduce
Tell us about your environment:

Puppeteer version:1.10.0
Platform / OS version:Centos7.4
URLs (if applicable):https://blog.csdn.net/wk313753744/article/details/50458360
Node.js version:v8.11.3

What steps will reproduce the problem?
Please include code that reproduces the issue.
1.await page.title() is too slow
What is the expected result?
TimeoutError: Navigation Timeout Exceeded: 90000ms exceeded
What happens instead?

The website in question is quite slow to load, but there's nothing else I can tell about it.
The error you posted is unrelated to the page.title() method

This is not actionable; please re-file with a script that doesn't work for you and that we can run locally and debug.

The website in question is quite slow to load, but there's nothing else I can tell about it.
The error you posted is unrelated to the page.title() method

This is not actionable; please re-file with a script that doesn't work for you and that we can run locally and debug.

ok, I see. I solved it by html selector instead. Thinks so much.^ ^.


Error objects lost during serialization

Context
When using @remote-ui/rpc or any package using it, built-in error objects are serialized as {}, which is unhelpful as any relevant information about errors happening in any function on the other side (iframe, web worker, etc) is lost when it reaches the host.
Hypothesis
Since built-in error object keys aren't enumerable, when an error instance gets serialized, it detects no keys and gets serialized as {}.
When looking at the @remote-ui/rpc package's code, it seems to confirm my assumption:
      if (isBasicObject(value)) {
        seen.set(value, [undefined]);

        const transferables: Transferable[] = [];
        const result = Object.keys(value).reduce((object, key) => {

Possible solutions
According to MDN's page on Error:

Error is a serializable object, so it can be cloned with structuredClone() or copied between Workers using postMessage().

What if we included a new case where we could treat instanceof Error as if it was a primitive to be transferred as-is?
Or would it make sense to switch to Object.getOwnPropertyNames() instead of Object.keys to get non-enumerable string properties as well?
Object.keys(error)
// => []
Object.getOwnPropertyNames(error)
// => ['stack', 'message']

For visibility and feedback: @lemonmade @robin-drexler @kencwng

I'd be in favor of special-casing Error instances, although it does seem odd to return an error instead of throwing it (which is already handled, for functions proxied via @remote-ui/rpc).


What's meaning of tint in color attribute?

When I read color attribute from xlsx files，it has tint and theme attribute，I figure out that theme is the _theme xml read from xlsx，but tint still makes me feeling confuesd

Oh I have found the solution。

what was that?


Node Just Hangs Indefinitely when Unable to Talk to Bitcoin Core

Counterparty Core v10.2.0
Verbosity: 0
Quiet: False
Configuration File: /Users/adam/Library/Application Support/counterparty/server.conf
Counterparty Database: /Users/adam/Library/Application Support/Bitcoin/counterparty.db
Server Log: /Users/adam/Library/Logs/counterparty/server.log
API Access Log: /Users/adam/Library/Logs/counterparty/server.access.log

------------------------------ START ------------------------------

2024-06-13T17:17:22.944068000+02:00 - [    INFO] - Connecting to database... (SQLite <IP_ADDRESS>)
2024-06-13T17:17:22.960422000+02:00 - [    INFO] - Running PRAGMA optimize...
2024-06-13T17:17:24.316232000+02:00 - [    INFO] - Starting API Server.

Dependent on #1960

No longer relevant.


 Are you using sentinelhub as the chain name? And is the REST API accessible to the restake script?

Hm no it don't make the error every times
i put sentinel as name ... i try sentinelhub

ok in chain registery it's know as sentinel
i connect to the REST API all good but the bug is when it try to collect grant

[2024-08-20T16:28:16.440Z] info: Failed with error: Failed to load grants: undefined module=health
[2024-08-20T16:28:16.441Z] info: Failed attempt 1/3, retrying in 30 seconds... module=health
I think this bugs, always like that when grants

It looks like the request is timing out often, even with a page size of 1. Sometimes the request will succeed but return no grants. Other times it responds correctly.
Aside from using your own REST API, the only other suggestion would be reducing the batchPageSize config mentioned in the docs and see if that helps.
There's not much else we can do about this, I'm not sure why it's affecting Sentinel so badly but I would suggest raising with the team over there to see if there's an issue in their code.
The request we use is e.g.: https://rest.cosmos.directory/sentinel/cosmos/authz/v1beta1/grants/grantee/{botAddress}?pagination.limit=100


feat: add RegisterTextFromFS function to i18 provider

What this PR does / why we need it:
add RegisterTextFromFS function to i18 provider
Which issue(s) this PR fixes:
Fixes #
Specified Reviewers:
/assign @your-reviewer

/approve


Implement ViewService#delegationsByAddressIndex in the extension, and use it instead of the getDelegationsForAccount fetcher

Blocked until #612 is merged in core


_buffer_frame for Cartesian index

It is impossible to apply reduce and related functions over one dimension of multi-dimensional CircularArrayBuffers. Running the following code gives an error:
using CircularArrayBuffers

a = CircularArrayBuffer{Integer}(2, 3)
push!(a, [1, 2])
push!(a, [3, 4])

sum(a, dims=2)
reduce(+, a, dims=2) # both are equivalent

This merge request fixes that behavior.

Nice, would you mind adding a test case in the meanwhile?

I added a 2D and 3D test and noticed that it was still not quite working ok, hence 8aab70b. I think it should work now

Thanks!


ROX-26555: Manual helm installation fails due to missing flag

Description
Always set --set central.persistence.none="true" during central helm install instead of only in compatibility tests, since it looks like it has become necessary to make manual installs work after 4.1.
See issue: https://github.com/stackrox/stackrox/issues/12721
User-facing documentation

[x] CHANGELOG is updated OR update is not needed
[x] documentation PR is created and is linked above OR is not needed

Testing and quality

[x] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change
TODO: Manually install using Helm following our instructions and see that it works

I've done some investigating and the central.persistence.none flag is not set anywhere other than the compatibility tests, but it also does not seem necessary. Our install scripts don't complain about it on k8s nor openshift. I'm closing this PR.

I've done some investigating and the central.persistence.none flag is not set anywhere other than the compatibility tests, but it also does not seem necessary. Our install scripts don't complain about it on k8s nor openshift. I'm closing this PR.

Then what is your plan for addressing the issue https://github.com/stackrox/stackrox/issues/12721?


[Feature Request] Maskable EvalCallback support

🚀 Feature
The feature that supports the evaluation callbacks with action masking.
Motivation
Maskable PPO models can be evaluated with or without the support of action masking. However, it seems that evaluation with action masking is not available at the moment.
Pitch
Either:

Add another callback class, e.g., EvalCallbackMasking to do the job
Modify the EvalCallback class and add a parameter like "masking"

to support evaluation with masking
Alternatives
No response
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

I am looking forward to contributing to the project. I am grateful for any comments or guidance.

Found MaskableEvalCallback, will check more carefully next time.


Distance offset and zoom behaviour

The Heightgraph provides a great overview even for long tracks of several 100km. However, local details of this track may be of interest but are not visible as their length is short compared to the graph.
An thinkable option to circumvent this could be to create a second Heightgraph window which shows the graph for the selected area only (maybe there are much better solutions).
To realise this, two  options would be nice to have when initialising Heightgraph:

provide an offset for the distance axis, e.g. to start counting the distance with 112.5km.
provide a callback function when _dragEndHandler is called. It could supply the distance values where the zoomed area starts/ends or even provide a geojson of the selected track segment which could be fed into the second instance of Heightgraph where the distance offset is applied.

Good idea, thanks for the proposal! To throw some alternatives in the ring:
When you select a part of the elevation by dragging the mouse, the map zooms to that area. We could also "zoom" the heightgraph. When we zoom out again, the zoom is reset to default.
An alternative could be to allow showing multiple heightgraphs on one page. This would require to specify a container for the map. Therefore the heightgraph could be shown outside of the map as well, which might be interesting for some use cases as well.
In any case, PRs are welcome :)

Zooming the Heightgraph while showing the proper distance axis segment sounds interesting and is exactly what I need.

Multiple Heightgraphs on one page could be interesting as well. It could be e.g. a comparison of GPS altitude, barometric and elevation model data. Or viewing surface type and steepness at the same time.


Mixpanel event tracking for website

We need to be able to track user behavior through Mixpanel.
Let's start with tracking the following events:
-Every Get started button on each page (there are two or three on each)
-Log in
-Sign up
For each event, we need to also track what page they were on while triggering the event, along which one it was (if there are for instance multiple instances on a given page).

Note that this needs to converge into Mixpanel in the webapp. I.e. if someone does action Y before logging in, that needs to be tracked against the same user in dashboard. See aliases in Best practices.
Also, we should add pageview trackin


'html_elements_cant_self_close' notice for 'figure' element

Just trying out superhtml, so may be I'm misunderstanding something.
Checking an html file gives me html_elements_cant_self_close for the opening of each <figure> element. I tried with the code snippet from https://developer.mozilla.org/docs/Web/HTML/Element/figure and it gave the same message.
Version 0.5.0

The <img> element in that code snippet ends with a self-closing /, that's what SuperHTML is complaining about. img is a void tag and naturally ends with a simple >.

Thanks - I got confused as the line number given was for the 'figure' tag. Will look beyond that next time. Nice to know.
(I note that the snippet given for  also fails here: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img )


Implement API documentation generator

May be based on the one in 1.1.
Support Markdown syntax
It may preferably support on-the-fly doc generation and thus can be used by end users (developers)

Simple REST API on-fly generator: https://packagist.org/packages/nostop8/rest-api-doc
Takes all the generated rules from urlManager, grabs information about the endpoint using Reflection. Very primitive, yet a good overview of what you've built and provides ability to test it quickly without having to write any line of code. Additionally you can provide description of the service, it's params, model(s) etc.

@nostop8 your comment would be more fitting for this issue: https://github.com/yiisoft/yii2/issues/2684


Enable rotation.

Uncommented the rotation code.
Note: The blue snap points that appear when selecting the image are not adjusted.

@hughdani
Tested after rebase with origin/master.
looks good, works fine. merged.


[8.2.x] ISPN-6907: Repl/Dist cache with Transactions doesn't respect shared s…

…tore semantics

Pushed to 8.2.x. Thanks


Failed to run your first app

Trying to run your first app, but failed with the following issue.
➜  poc hln up hello-world -s sample -i

sample-latest.tar.gz 453.62 KiB / 453.62 KiB [=====================================================================================================================================] 100.00% 0s
Path to your kubeconfig file (required):

> ~/.kube/config

Your github access token (required):

> ****************************************

Forwarding from <IP_ADDRESS>:50214 -> 1234
PortForward to buildkit is ready
Flattening kubeconfig: /Users/zhouzhengi/.kube/config
Project updated
Handling connection for 50214
8:40PM INF actions._scaffold.doHelmRegistryScaffold."0".src | computing
8:40PM INF actions.up._cd._install.applyIngressYaml._kubectlImage.build._op | computing
8:40PM INF actions._kubeconfig._baseImage.build._op | computing
8:40PM INF actions.up._cd._install.do.run.script._write | computing
8:40PM INF actions._scaffold._baseImage.build._op | computing
8:40PM INF actions._kubeconfig.transformToInternal.script._write | computing
8:40PM INF actions._scaffold.doAddonsScaffold."1".src | computing
8:40PM INF actions._scaffold.doHelmScaffold."0".src | computing
8:40PM INF actions._scaffold.do."0"._manifests | computing
8:40PM INF actions.up._cd._install.ingressVersion.get.script._write | computing
8:40PM INF actions._organization.run.script._write | computing
8:40PM INF actions._git.do._file | computing
8:40PM INF actions._git.do.src | computing
8:40PM INF actions.up._cd.do.do.src | computing
8:40PM INF actions.up._cd._install._patch.do.script._write | computing
8:40PM INF actions._scaffold.do."0".scriptFiles | computing
8:40PM INF actions._scaffold.doAddonsScaffold."0".src | computing
8:40PM INF client.env | computing
8:40PM INF actions._organization._baseImage.build._op | computing
8:40PM INF actions.up._cd._install.do._kubectlImage.build._op | computing
8:40PM INF client.env | completed    duration=0s
8:40PM INF actions._scaffold.doCIScaffold."0".do.script._write | computing
8:40PM INF client.commands.kubeconfig | computing
8:40PM INF client.commands.kubeconfig | completed    duration=0s
8:40PM INF actions.up._cd._install._patch.do.script._write | completed    duration=400ms
8:40PM INF actions.up._cd._install.do.run.script._write | completed    duration=500ms
8:40PM INF actions._kubeconfig.transformToInternal.script._write | completed    duration=500ms
8:40PM INF actions.up._cd._install.ingressVersion.get.script._write | completed    duration=600ms
8:40PM INF actions._organization.run.script._write | completed    duration=600ms
8:40PM INF actions._scaffold.doCIScaffold."0".do.script._write | completed    duration=400ms
8:40PM INF actions._scaffold.doAddonsScaffold."1".src | completed    duration=700ms
8:40PM INF actions._scaffold.do."0"._manifests | completed    duration=700ms
8:40PM INF actions._scaffold.do."0".scriptFiles | completed    duration=900ms
8:40PM INF actions._git.do.src | completed    duration=900ms
8:40PM INF actions._scaffold.doHelmScaffold."0".src | completed    duration=1s
8:40PM INF actions._git.do._file | completed    duration=1s
8:40PM INF actions._scaffold.doHelmRegistryScaffold."0".src | completed    duration=1s
8:40PM INF actions.up._cd.do.do.src | completed    duration=1s
8:40PM INF actions._scaffold.doAddonsScaffold."0".src | completed    duration=1s
8:40PM INF actions._kubeconfig._baseImage.build._op | completed    duration=3.4s
8:40PM INF actions._scaffold._baseImage.build._op | completed    duration=3.4s
8:40PM INF actions.up._cd._install.do._kubectlImage.build._op | completed    duration=3.4s
8:40PM INF actions._organization._baseImage.build._op | completed    duration=3.4s
8:40PM INF actions.up._cd._install.applyIngressYaml._kubectlImage.build._op | completed    duration=3.4s
8:40PM INF actions._scaffold.do."0".do._exec | computing
8:40PM INF actions._organization.run._exec | computing
8:40PM INF actions._kubeconfig.transformToInternal._exec | computing

8:46PM INF actions._scaffold.do."0".do._exec | #27 77.63 + WORKING_DIR=/scaffold
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.63 + '[' '!' -d /scaffold ']'
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.63 + mkdir -p /scaffold
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + tempalteArr=(${APP_TEMPLATE//// })
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + TEMPLATE_NAME=remix-stack-template
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + cd /scaffold
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + TEMPLATE_URL=https://github.com/h8r-dev/remix-stack-template
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + [[ https://github.com/h8r-dev/remix-stack-template == https://github.com* ]]
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + clone_from_git_repo https://github.com/h8r-dev/remix-stack-template.git
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + clone_url=https://github.com/h8r-dev/remix-stack-template.git
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.72 + git clone https://github.com/h8r-dev/remix-stack-template.git
8:46PM INF actions._kubeconfig.transformToInternal._exec | completed    duration=5m35.3s
8:46PM INF actions._scaffold.do."0".do._exec | #27 77.89 Cloning into 'remix-stack-template'...
8:46PM INF actions._kubeconfig._getSecret | computing
8:46PM INF actions._kubeconfig._getSecret | completed    duration=100ms
8:46PM INF actions.up._cd._install.do.run._exec | computing
8:46PM INF actions._organization.run._exec | completed    duration=5m36.6s
8:46PM INF actions._organization.value | computing
8:46PM INF actions._organization.value | completed    duration=100ms
8:46PM INF actions._scaffold.doCIScaffold."0"._writeYaml | computing
8:46PM INF actions._scaffold.do."0".do._exec | #27 93.44 + mv remix-stack-template hello-world
8:46PM INF actions._scaffold.do."0".do._exec | #27 95.03 + rm -rf hello-world/.git
8:46PM INF actions._scaffold.do."0".do._exec | #27 95.08 Download source code template successfully!
8:46PM INF actions._scaffold.do."0".do._exec | completed    duration=5m53.7s
8:46PM INF actions._scaffold.do."0".do._exec | #27 95.08 + echo 'Download source code template successfully!'
8:46PM INF actions._scaffold.do."0".createDashboardManifest._copy | computing
8:46PM INF actions._scaffold.doCIScaffold."0"._writeYaml | completed    duration=20.3s

8:47PM INF actions._scaffold.do."0".createDashboardManifest._copy | completed    duration=54s
8:47PM INF actions._scaffold.doHelmScaffold."0".do._exec | computing
8:47PM INF actions.up._cd._install.do.run._exec | #30 77.99 customresourcedefinition.apiextensions.k8s.io/applications.argoproj.io unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.32 customresourcedefinition.apiextensions.k8s.io/applicationsets.argoproj.io configured
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.33 customresourcedefinition.apiextensions.k8s.io/appprojects.argoproj.io unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.34 serviceaccount/argocd-application-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.34 serviceaccount/argocd-applicationset-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.35 serviceaccount/argocd-dex-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.35 serviceaccount/argocd-notifications-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.36 serviceaccount/argocd-redis unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.36 serviceaccount/argocd-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.38 role.rbac.authorization.k8s.io/argocd-application-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.40 role.rbac.authorization.k8s.io/argocd-applicationset-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.40 role.rbac.authorization.k8s.io/argocd-dex-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.40 role.rbac.authorization.k8s.io/argocd-notifications-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.40 role.rbac.authorization.k8s.io/argocd-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.40 clusterrole.rbac.authorization.k8s.io/argocd-application-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.41 clusterrole.rbac.authorization.k8s.io/argocd-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.41 rolebinding.rbac.authorization.k8s.io/argocd-application-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.41 rolebinding.rbac.authorization.k8s.io/argocd-applicationset-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.41 rolebinding.rbac.authorization.k8s.io/argocd-dex-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.42 rolebinding.rbac.authorization.k8s.io/argocd-notifications-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.42 rolebinding.rbac.authorization.k8s.io/argocd-redis unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.42 rolebinding.rbac.authorization.k8s.io/argocd-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.42 clusterrolebinding.rbac.authorization.k8s.io/argocd-application-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.43 clusterrolebinding.rbac.authorization.k8s.io/argocd-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.43 configmap/argocd-cm unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.43 configmap/argocd-cmd-params-cm unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.43 configmap/argocd-gpg-keys-cm unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.44 configmap/argocd-notifications-cm configured
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.44 configmap/argocd-rbac-cm unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.44 configmap/argocd-ssh-known-hosts-cm unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.45 configmap/argocd-tls-certs-cm configured
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.45 secret/argocd-notifications-secret unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.46 secret/argocd-secret unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.46 service/argocd-applicationset-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.46 service/argocd-dex-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.46 service/argocd-metrics unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.47 service/argocd-notifications-controller-metrics unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.47 service/argocd-redis unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.47 service/argocd-repo-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.48 service/argocd-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.48 service/argocd-server-metrics unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.49 deployment.apps/argocd-applicationset-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.49 deployment.apps/argocd-dex-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.50 deployment.apps/argocd-notifications-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.50 deployment.apps/argocd-redis unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.51 deployment.apps/argocd-repo-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.52 deployment.apps/argocd-server unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.53 statefulset.apps/argocd-application-controller unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.54 networkpolicy.networking.k8s.io/argocd-application-controller-network-policy configured
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.54 networkpolicy.networking.k8s.io/argocd-dex-server-network-policy unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.55 networkpolicy.networking.k8s.io/argocd-redis-network-policy unchanged
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.56 networkpolicy.networking.k8s.io/argocd-repo-server-network-policy configured
8:47PM INF actions.up._cd._install.do.run._exec | #30 78.56 networkpolicy.networking.k8s.io/argocd-server-network-policy unchanged
8:47PM INF actions.up._cd._install.do.run._exec | completed    duration=1m18.7s
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | #33 44.57 Cloning into '/root/.local/share/helm/starters/helm-starter'...
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | #33 45.49 Creating hello-world
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | #33 45.73 Creating tmp/hello-world
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | #33 45.79 move hello-world
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | #33 45.80 mv tmp file
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | #33 45.80 hello-world charts have:
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | #33 45.85 hello-world
8:48PM INF actions._scaffold.doHelmScaffold."0".do._exec | completed    duration=46.1s
8:48PM INF actions._scaffold.doHelmRegistryScaffold."0".do._exec | computing
8:49PM INF actions._scaffold.doHelmRegistryScaffold."0".do._exec | completed    duration=44.3s
8:49PM INF actions._scaffold.doCIScaffold."0".do._exec | computing
8:49PM ERR actions._scaffold.doCIScaffold."0".do._exec | failed: Unavailable: error reading from server: EOF
    duration=36.5s
Handling connection for 50214
E0522 20:49:39.962635   51294 portforward.go:406] an error occurred forwarding 50214 -> 1234: error forwarding port 1234 to pod f5e6f10cdb074f505043ade4a8d40f871a23e391b9bcb742227b83620169c344, uid : failed to execute portforward in network namespace "/var/run/netns/cni-893a0788-eade-2050-e57d-3c53b97268da": failed to dial 1234: dial tcp4 <IP_ADDRESS>:1234: connect: connection refused
E0522 20:49:39.963317   51294 portforward.go:234] lost connection to pod
8:49PM FTL system | failed to execute plan: failed to receive status: rpc error: code = Unavailable desc = error reading from server: EOF
20:49:40	ERROR	cmd/root.go:125	exit status 1

Are you using KinD or cloud K8s cluster? How many resources are allocated?

It seems like the port-forward tunnel was disrupted.
You may want to provision more resources (4C8G) for your kind cluster. See this doc: https://heighliner.dev/docs/getting_started/installation#step-2-install-kubernetes

I am using Alibaba Cloud ACK with 7 large nodes.

That's weird...
How to reproduce it? What is the config of your ACK cluster?

Meanwhile, you can safely run it again since it is idempotent. We can't expect the network is always stable.

@zzxwill , You could try again in an K8S cluster hosted outside of China, because Heighliner stack depends on Github and other services hosted outside of China currently.
Again, very thanks to your willing to try.

@92hackers I tried multiple times in a Kubernetes cluster hosted in HongKong region.

@zzxwill None of your tryings successed? or the screen displays same error message like what showed on your first post ?

I tried four times, the issues were the same.

@zzxwill , I have tried Aliyun ACK on HongKong region, maybe your issue caused by:

No enough disk space to be used. Heighliner stack engine will run all tasks in a buildkit container, which will consume a lot of disk space, at least 40Gb disk will be consumed by buildkit. So, make sure your K8S node has more than 60Gb disk space available.
Network connection issue. The network connection between your local machine and Hongkong K8S node maybe bad, could you please ssh to a HongKong ECS machine and try again ?
Maybe your current K8S cluster has some network access restrict policies. could you please try another K8S cluster ? or another region.

Our team are very glad to hearing from you, if the issue still existed after have tried above solutions, maybe we can have a face-to-face online talk, you can contact me at<EMAIL_ADDRESS>


Fix: Update templates/default Image

What kind of change does this PR introduce?
Fix
Did you add tests for your changes?
~
Summary
Added additional files in: https://github.com/preactjs-templates/default/pull/10

😆 Beat ya to it.


Error Android Cannot scaleX

I obtain the next error when tried render in Android 10:

anything idea ?
"react-native": "0.60.5",
"react-native-progress-circle": "2.1.0",

own mistake


[Improvement] add scheduled task

hi,
please add a scheduled task to backup contacts automatically.
regards chris

Hi @chris-tian78, it has a scheduled task. The contacts are exported whenever they change.


Enable report printing

Set to ORDS in instance settings.
See: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r50/PDF Printing/Creating PDF Reports with Oracle Application Express 5.0 and Oracle REST Data Services.html#overview

May also help:
http://www.oracle.com/technetwork/developer-tools/apex/learnmore/custom-pdf-reports-1953918.pdf

I think we can do this with apex_instance_admin.set_parameter and parameter PRINT_BIB_LICENSED
We already have a file for managing the APEX instance: https://github.com/OraOpenSource/OXAR/blob/master/apex/apex_config.sql Perhaps we can add it in there.

Yeah cool, easy fix :) Just tested (just to double check), and it works well using the documented values.
 exec apex_instance_admin.set_parameter('PRINT_BIB_LICENSED', 'APEX_LISTENER');


Add retrying functionality to request_sender

This fixes #1.
tools/request_sender.py sample output:
2017-05-25 13:57:50 | pytrthree | INFO<EMAIL_ADDRESS>2017-05-25 13:58:03 | pytrthree | INFO: Retrying in 30 seconds (#1)...
2017-05-25 13:58:37 | pytrthree | INFO: Retrying in 60 seconds (#2)...
2017-05-25 13:59:41 | pytrthree | INFO<EMAIL_ADDRESS>

Looks great!!


Error: Host check command 'check-host-alive' specified for host

Getting Error: Host check command 'check-host-alive' specified for host after upgrading nagios from 6.x to 7.x cookbook. Any help please?

Hi @joshskains, I'm on gitter.. https://gitter.im/schubergphilis/nagios please join and I might be able to help you

looks like the attribute default['nagios']['default_host']['check_command'] = 'check-host-alive' is set somewhere and saved on the node object. Within version 7.x of nagios I have renamed this to check_host_alive to be consistent with the naming of checks. But this is now causing problems with upgrading to newer version. Need to do some research on this.

I believe we spoke on this on Gitter and discovered that while migrating from cookbook version 6.x to 7.x it's introducing this bug. Since it's a while back, I don't remember what we have done to fix this. Maybe @joshskains can refresh my memory :)

I remember this one again, this one was due to the fact that the nagios server contained a attribute pointing to the check-host-alive.  Once this one was removed, the problem was fixed.
So once you start a migration of the cookbook, you might want to check the node attribute and remove and conflicting attributes.


Firefox: elements from the library cannot be dropped on canvas drop targets

Bug Description
Firefox only: elements from the library cannot be dropped on canvas drop targets.
Expected Behaviour

Steps to Reproduce

Screenshots

Additional Context

Plugin Version:
Operating System:
Browser: Firefox

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Closing as this seems to be working now in FF.


Re-enable "Full" mode for lineplot y-axis

Fixes #833
See https://github.com/VEuPathDB/web-monorepo/issues/833#issuecomment-1946211463 for diagnosis and cure.

What this does mean is that unannotated variables won't look great!  See this body temperature plot from GEMS1

@bobular @danicahelb @nkittur-uga
So, I tracked down why we did set Auto-zoom as a default, and found the reason. It was requested by @danicahelb long time ago and I did work for it 😅 I wonder whether we should change back to Full or not as we had a reason to show Auto-zoom as a default
https://github.com/VEuPathDB/web-eda/issues/1433

Perhaps a compromise is to make Auto-zoom default but don't disable the Full option?

Implemented suggestions made here: https://epvb.slack.com/archives/CBE520QUC/p1708113915402589?thread_ts=1708008612.121099&cid=CBE520QUC
except that the desired behaviour happens in "Full" y-axis mode.

@bobular I didn't look at the channel carefully (so many discussions) but if we ignore metadata's rangeMin/Max for Lineplot Viz, then it would work.

Thanks both! @moontrip @dmfalke


BeaconKit Initial Integration

@gupadhyaya to follow up with Berachain team on it

Closing this since we have https://github.com/rollkit/beacon-kit/tree/rollkit
Upstream PR: https://github.com/berachain/beacon-kit/pull/1712/files#diff-9ac51198637fd70ece94829f2e06f234c359aa837b766b7a7f6ffbe12e8e9475


Performance

Are there any concerns regarding performance? Would be nice to see how paint times react to the attr approach as opposed to class. My gut tells me that there must be A LOT of dom traversal to get at the specific elements, but would be happy to stand corrected.

I feel like this has been covered in #7 already. Closing.


Dashboard charts threadlock system

When rendering the dashboard with a high number of analytics results, the system becomes threadlocked. Determine how to optimize the Dashboard rendering process.
Definition of done

[ ] Performance audit has been performed on dashboard rendering sequence
[ ] Enhancement proposal is given to the team
[ ] Dashboard performance is improved to a reasonable experience

Todo:

[ ] Open a PR that fixes api-umbrella sync frequency


Add into_model() for Insert/Update/Delete

It is a common need to insert/update/delete and select some return columns as a single query. Currently sea-orm does not make this easy, so I think having ideally into_model() for Insert/Update/Delete would be very convenient. What do you think ?

related: SeaQL/sea-query#120

I'm thinking how we handle databases that don't support returning? Should we just return the original ActiveModel passed into insert / update / delete?

Also, what will be returned if we insert / update / delete multiple records? Or this into_model() method is not supported for insert / update / delete multiple records.

I'm thinking how we handle databases that don't support returning? Should we just return the original ActiveModel passed into insert / update / delete?

Indeed, it looks like this is supported by postgres, sqlite and mariadb but not mysql... Maybe use a feature flag ?

Also, what will be returned if we insert / update / delete multiple records? Or this into_model() method is not supported for insert / update / delete multiple records.

I don't see how this is different from normal select ? into_model() returns a Selector, Selector::all() returns a Vec. But maybe I am missing something.

I think this issue can be closed since #183 handled it ?


RFC: Draft for the new release note v0.18

I put together a release note, please feel free to comment on it (or edit).

Dear community,
We are very pleased to announce the new 0.18 release of MNE-Python (http://martinos.org/mne/stable/).
A few highlights

Python 2 is no longer supported; MNE-Python now requires Python 3.5+
New tutorials and examples on sleep stage classification, data simulation using subject's anatomy, how to use EEG montages on fsaverage
New module to simulate SourceEstimates
Improved performance using CUDA, better copy management, better dispatching of the computation over the channels
New fetchers for polysomnography (PSG) recordings from Physionet and fsaverage template
Better support for source reconstruction with beamformers and other inverse models
Improved UI and visualizations for topomaps, Raw and Epochs objects
Better support for Annotations
Support to compute envelope correlations
Better rendering of the coregistration
Add partial support for PyVista as a 3D backend
Add support for Raw, Epochs and Evoked noise simulation
Add new parcellation and improve support including morphing of the labels
Better support for the TFR objects

And we catched and fixed more than 50 bugs !!
Notable API changes

Deprecation of mne.io.find_edf_events, raw.estimate_rank
Reading BDF and GDF files with mne.io.read_raw_edf is deprecated and replaced by mne.io.read_raw_bdf and mne.io.read_raw_gdf
The signatures of mne.preprocessing.ICA, mne.simulation.add_noise and mne.simulation.add_chpi have changed
Add overwrite parameter in mne.Epochs.save
mne.minimum_norm.apply_inverse now returns mne.VolVectorSourceEstimate when needed
Annotations are now kept sorted by onset
peak_finder should be imported as: 'from mne.preprocessing import peak_finder'

For a full list of improvements and API changes, see:
http://martinos.org/mne/stable/whats_new.html#version-0-18
To install the latest release the following command should do the job:
$ pip install --upgrade mne

As usual, we welcome your bug reports, feature requests, critiques, and contributions.
Some links:

https://github.com/mne-tools/mne-python (code + readme on how to install)
http://martinos.org/mne/stable/ (full MNE documentation)

Follow us on Twitter for general news: https://twitter.com/mne_news
and for a regular overview of merged PRs: https://twitter.com/mne_python
Regards,
The MNE-Python developers
52 people made commits that contributed to this release (in alphabetical order):

Achilleas Koutsou
Alexander Kovrig
Alexandre Gramfort
Antoine Gauthier
Britta Westner
Bruno Nicenboim
Burkhard Maess
Chris Bailey
Chris Holdgraf
Christian Brodbeck
Clemens Brunner
Cristóbal Moënne-Loccoz
Daniel McCloy
David Haslacher
Denis A. Engemann
Dirk Gütlin
Eric Larson
Evgenii Kalenkovich
Fede Raimondo
Guillaume Favelier
Hubert Banville
Ivana Kojcic
Jean-Remi King
Jeff Hanna
Joan Massich
Jon Houck
Jona Sassenhagen
José C. García Alanis
Jussi Nurminen
Katarina Slama
Keith Doelling
Kostiantyn Maksymenko
Larry Eisenman
Legrand Nicolas
Mainak Jas
Marijn van Vliet
Mikolaj Magnuski
Nathalie Gayraud
Nikolas Chalas
Oleh Kozynets
Quentin Bertrand
Samuel Deslauriers-Gauthier
Sebastián Castaño
Simon Kern
Stanislas Chambon
Stefan Appelhoff
Stefan Repplinger
Steve Matindi
Teon Brooks
Thomas Donoghue
Thomas Hartmann
jeythekey

We could add the second twitter channel:
Follow us on Twitter for general news: https://twitter.com/mne_news
... and for for a regular overview of merged PRs: https://twitter.com/mne_python

Something like:
Better support for source reconstruction with beamformers // the beamformer module and other inverse models ?
-- beamformers are inverse models, too, that does not get quite clear to me as it is now.

is it better now?

And we catched and fixed more than 50 bugs !! --> caught

@massich sounds better to me, thanks!

Add*ed* overwrite parameter under API changes? The rest is all past tense.

catched and fixed more than 50 bugs

a naive reader might assume that it means mne-python is full of bugs :p Maybe you want to phrase it a little differently?

made a few edits. LGTM

I also made some minor edits (formatting). LGTM!

We should probably cut a 0.18.1 with the mne.realtime deprecations included, and add it to the release notes here

I propose to do bump to 0.18.1rc0 in maint/0.18 and do a pre-release waiting to get in some earlier feedback.
I tried in test.pypi.org but I don't seem to be able to find my package.
~/code/mne-python maint/0.18*
(mne) ❯ python setup.py sdist
running sdist
running egg_info
writing mne.egg-info/PKG-INFO
writing dependency_links to mne.egg-info/dependency_links.txt
writing requirements to mne.egg-info/requires.txt
writing top-level names to mne.egg-info/top_level.txt
reading manifest file 'mne.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'mne/datasets' under directory 'mne'
warning: no previously-included files matching '*' found under directory 'examples/MNE-sample-data'
warning: no previously-included files matching '*' found under directory 'examples/MNE-testing-data'
warning: no previously-included files matching '*' found under directory 'examples/MNE-spm-face'
warning: no previously-included files matching '*' found under directory 'examples/MNE-somato-data'
warning: no previously-included files found matching 'Makefile'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '*.yml'
warning: no previously-included files found matching 'ignore_words.txt'
warning: no previously-included files found matching '.mailmap'
warning: no previously-included files matching '*' found under directory 'doc'
warning: no previously-included files matching '*' found under directory 'logo'
warning: no previously-included files found matching 'CODE_OF_CONDUCT.md'
warning: no previously-included files found matching '.github'
warning: no previously-included files found matching '.github/CONTRIBUTING.md'
warning: no previously-included files found matching '.github/ISSUE_TEMPLATE'
warning: no previously-included files found matching '.github/ISSUE_TEMPLATE/blank.md'
warning: no previously-included files found matching '.github/ISSUE_TEMPLATE/bug_report.md'
warning: no previously-included files found matching '.github/ISSUE_TEMPLATE/feature_request.md'
warning: no previously-included files found matching '.github/PULL_REQUEST_TEMPLATE.md'
warning: no previously-included files matching '*' found under directory 'mne/io/tests/data'
warning: no previously-included files matching '*' found under directory 'mne/io/bti/tests/data'
warning: no previously-included files matching '*' found under directory 'mne/io/edf/tests/data'
warning: no previously-included files matching '*' found under directory 'mne/io/kit/tests/data'
warning: no previously-included files matching '*' found under directory 'mne/io/brainvision/tests/data'
warning: no previously-included files matching '*' found under directory 'mne/io/egi/tests/data'
warning: no previously-included files matching '*' found under directory 'mne/io/nicolet/tests/data'
warning: no previously-included files matching '*' found under directory 'mne/preprocessing/tests/data'
writing manifest file 'mne.egg-info/SOURCES.txt'
running check
creating mne-0.18.1rc0
creating mne-0.18.1rc0/bin
creating mne-0.18.1rc0/examples
creating mne-0.18.1rc0/examples/connectivity
creating mne-0.18.1rc0/examples/datasets

       ..... TL;DR;  ...

Writing mne-0.18.1rc0/setup.cfg
Creating tar archive
removing 'mne-0.18.1rc0' (and everything under it)

~/code/mne-python maint/0.18* 32s
(mne) ❯ twine upload --repository-url https://test.pypi.org/legacy/ dist/mne-0.18.1rc0.tar.gz
Enter your username: massich
Enter your password:
Uploading distributions to https://test.pypi.org/legacy/
Uploading mne-0.18.1rc0.tar.gz
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████| 6.03M/6.03M [00:03<00:00, 1.73MB/s]

It does not allow me to push it back, so it means is there. But I can't find it in test.pypi.org


Fixed downloading hashtags

A motivation for this change, e.g.

Fixes #1588

The changes proposed in this pull request

Add the parameter __d to the url to prevent the request returning the "Sorry, something went wrong" error.

The completeness of this change

Is it just a proof of concept? No
Is the documentation updated (if appropriate)? N/A
Do you consider it ready to be merged or is it a draft? Ready to merge

This indeed fixes the Hashtag._obtain_metadata() function. Thanks!

how to fix it in python module ?


copy file permissions

When a header is added or removed from a file, this commit now copies the file permissions. Previously, only the read and write permissions for the user were set.

Thank you for your contribution, I forgot to consider file permissions when writing the temp file code 😀


Erro tryng to build

Im tryng to build dependences of my first project to study KotlinDL, but the mesagem was:
build.grade
plugins {
    id 'org.jetbrains.kotlin.jvm' version '1.5.31'
}

group 'org.example'
version '1.0-SNAPSHOT'

repositories {
    mavenCentral()
    jcenter()
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31"
    implementation 'org.jetbrains.kotlinx:kotlin-deeplearning-api:0.4.0'
}

compileKotlin {
    kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
    kotlinOptions.jvmTarget = "1.8"
}

message
Execution failed for task ':compileKotlin'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not resolve org.jetbrains.kotlinx:kotlin-deeplearning-api:0.2.0.
     Required by:
         project :
      > Unable to find a matching variant of org.jetbrains.kotlinx:kotlin-deeplearning-api:0.2.0:
          - Variant 'apiElements' capability org.jetbrains.kotlinx:kotlin-deeplearning-api:0.2.0:
              - Incompatible attribute:
                  - Required org.gradle.jvm.version '8' and found incompatible value '11'.
              - Other attributes:
                  - Found org.gradle.category 'library' but wasn't required.
                  - Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
                  - Required org.gradle.libraryelements 'classes' and found compatible value 'jar'.
                  - Found org.gradle.status 'release' but wasn't required.
                  - Required org.gradle.usage 'java-api' and found compatible value 'java-api'.
                  - Found org.jetbrains.kotlin.localToProject 'public' but wasn't required.
                  - Required org.jetbrains.kotlin.platform.type 'jvm' and found compatible value 'jvm'.
          - Variant 'runtimeElements' capability org.jetbrains.kotlinx:kotlin-deeplearning-api:0.2.0:
              - Incompatible attribute:
                  - Required org.gradle.jvm.version '8' and found incompatible value '11'.
              - Other attributes:
                  - Found org.gradle.category 'library' but wasn't required.
                  - Required org.gradle.dependency.bundling 'external' and found compatible value 'external'.
                  - Required org.gradle.libraryelements 'classes' and found compatible value 'jar'.
                  - Found org.gradle.status 'release' but wasn't required.
                  - Required org.gradle.usage 'java-api' and found compatible value 'java-runtime'.
                  - Found org.jetbrains.kotlin.localToProject 'public' but wasn't required.
                  - Required org.jetbrains.kotlin.platform.type 'jvm' and found compatible value 'jvm'.

Its probably because you are using different JVM version for the project structure(located idea/compiler.xml) and kotlin compile options(inside gradle), I am not sure if the version 8 is supported but I am pretty confident you could workaround the problem by ensuring you have version 11 for both project structure settings and  kotlinc opt, by removing implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.5.31" and by using latest kotlin version

@marcelomourasouza Is the problem still present?

Hi. Yes the problem still present, so I gave up to use the library

@marcelomourasouza Sorry, I am not able to reproduce it. Could you please provide more information about your setup?

JVM version and vendor
OS
Gradle version

Usually, it's quite hard to reproduce issues with environment configuration. It would be a great help if you could replicate a minimal version of your environment using Docker and share it.


How to catch a pop event for a route pushed with Navigator.of(context).push()

I'm using vrouter in flutter web (PWA - android chrome browser). For a single page I've used Navigator.of(context).push(PageRouteBuilder(...)); .
in the pushed page I want to avoid user attempts for popping (with the android back button on the chrome), but neither of vWidgetGuard and willPopScope are working.
How can I achieve this purpose?

Small reproduction code:
`
opaque: false,
transitionsBuilder: (context, animation,
secondaryAnimation, child) {
const begin = Offset(0.0, 1.0);
const end = Offset.zero;
const curve = Curves.ease;
                                  var tween = Tween(begin: begin, end: end)
                                      .chain(CurveTween(curve: curve));

                                  return SlideTransition(
                                    position: animation.drive(tween),
                                    child: child,
                                  );
                                },
                                pageBuilder: (_, __, ___) =>
                                    const MediaPlayerScreen(
                                  data: {
                                    'response': [],
                                    'index': 1,
                                    'offline': null,
                                  },
                                  fromMiniPlayer: true,
                                ),

`

The BackButtonListener widget should help you

Closing since I answered the question. Let me know if you need more help be reopening the issue.


Error with HTTPS -> HTTP

Hello,
i try this proxy. but get error.
this is my code
var Redbird = require('../');
var redbird = Redbird({port: 8081,});
redbird.register("<IP_ADDRESS>", "https://www.github.com");

errors:
Error: Hostname/IP doesn't match certificate's altnames: "IP: <IP_ADDRESS> is not in the cert's list: "

at Object.checkServerIdentity (tls.js:222:17)
at TLSSocket.<anonymous> (_tls_wrap.js:1109:29)
at emitNone (events.js:106:13)
at TLSSocket.emit (events.js:208:7)
at TLSSocket._finishInit (_tls_wrap.js:637:8)
at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:467:38)

fix
const proxy = httpProxy.createProxyServer({
  changeOrigin: true// true/false, Default: false - changes the origin of the host header to the target URL
});


Error opening file - 2190983

Hello!
I  need help with this issue, please:
I've already created lists in SharePoint, and i've already installed the application (MyExpenses(SP_List).Zip) but when i try to edit i get this message:
"Error opening file
Something went wrong while opening your app"
I've already deleted browser cookies and opened it in a Incognito window but i still get the same message.
When i press on Play i´m able to run the App
When i press Edit i get the error message

@PTHugoPinto We are going to need to know the URL (address) of the documentation procedure you were following in order to determine who here can advise you. Please send us the web address of the documentation page that describes the process or feature that you are using. Thanks.

Thanks for the answer
Link:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/expense-report-install

Thank you for reaching out. Documentation will be updated soon. Please go to Power Apps > Create > under Start from template select Help Desk canvas app template > follow the flow to create the Help Desk app from the default templates.


Remove useless file in DiskANN

Signed-off-by: liliu-z<EMAIL_ADDRESS>Removed two files:
_mem.index.data: this is used for memory based DiskANN.
_prepped_base.bin: this is used for IP build, no need for search

/lgtm
/approve


suggestKeywords list omits DELETE

https://github.com/cloudera/hue/blob/d5634ef1fa42b2832413e30b4962a975fa3af3c8/desktop/core/src/desktop/js/parse/sql/generic/sqlParseSupport.js#L1004-L1020
I'm surprised not to see DELETE in this list.

@gjsjohnmurray, this one is used for the generic SQL autocomplete, it's the default one used for when there's no dedicated autocomplete parser for a dialect in Hue. The generic parser doesn't support DELETE so that's why it's not part of this list.
Out of curiosity, which dialect are you querying?

The SQLTools extension for Visual Studio Code is using the generic one, as follows:
import sqlAutocompleteParser from 'gethue/parsers/genericAutocompleteParser.js';

https://github.com/mtxr/vscode-sqltools/blob/17de7a5c8047a1df7013228d2aad96cbea4aa9a0/packages/plugins/intellisense/language-server.ts#L8
and then
const hueAst = sqlAutocompleteParser.parseSql(text.substring(0, currentOffset), text.substring(currentOffset));

https://github.com/mtxr/vscode-sqltools/blob/17de7a5c8047a1df7013228d2aad96cbea4aa9a0/packages/plugins/intellisense/language-server.ts#L125
Is there any prospect of the generic parser supporting DELETE in the future?

Hi @gjsjohnmurray, sorry for the late reply. Adding DELETE to the generic parser parser is not on our roadmap, but we do not oppose it and we very much appreciate contributions. So if you would like to create a PR for it we could definitely add it  :-)

@bjornalm thanks for responding. I have submitted PR #3061 but its CI appears to have stalled.

Not sure why the CI stalled. I closed and re-opened the PR and it seems to be running now.

@bjornalm thanks for merging my PR. Any ETA on when a new NPM package will be published?

@gjsjohnmurray There is no fixed date yet but we are gonna try to get a new version of Hue out the coming weeks which should include a new version of gethue on npm.


feat: add gateway address link on evm-batch page

https://github.com/axelarnetwork/axelarscan-ui/issues/34


add support for custom types that reads as []byte/[]uint8

@fcat @gravis: Can I haz review?

https://play.golang.org/p/bafm9IOqJm should be enough ;)

This doesn't work, but as discussed on the chat, there is indeed a slightly better way. Updating.

@gravis updated.


New-AzSqlInstance - not take pipeline input

Using the suggested:
$instanceTwo = $instancePool | New-AzSqlInstance -Name "mi-pool-name" -VCore 4 -StorageSizeInGB 512
returns:
New-AzSqlInstance : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any ofthe parameters that take pipeline input.

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

ID: ef1ea981-793f-eac2-36fa-59de8714e2e3
Version Independent ID: b4e2963e-e0aa-b9d1-32a1-02df06c03978
Content: Azure SQL Database instance pools how-to guide (preview)
Content Source: articles/sql-database/sql-database-instance-pools-how-to.md
Service: sql-database
Sub-service: managed-instance
GitHub Login: @bonova
Microsoft Alias: bonova

@igomat Thank you for bringing this to our attention. We are evaluating this and will take correction or provide feedback as appropriate.

I believe the issue is that in the documentation the $instanceOne and $instanceTwo PowerShell examples reference that same managed pool (-Name "mi-pool-name")

$instanceOne = $instancePool | New-AzSqlInstance -Name "mi-pool-name" -VCore 2 -StorageSizeInGB 256

$instanceTwo = $instancePool | New-AzSqlInstance -Name "mi-pool-name" -VCore 4 -StorageSizeInGB 512

Assigning to the content team for review (@stevestein).

@Mike-Ubezzi-MSFT No, it's not the issue that both $instanceOne and $instanceTwo reference the same managed pool. You can execute just a single one but the error will pop up.
The source of the error is that the New-AzSqlInstance accept pipeline object only for InstancePool parameter but the rest of mandatory parameters like Edition, Location, ComputeGeneration, SubnetId have Accept pipeline input: False. According to: https://docs.microsoft.com/en-us/powershell/module/az.sql/new-azsqlinstance?view=azps-2.6.0
To sum up, the example in doc should be corrected to include providing the other mandatory parameters as well. For me worked with those as minimum:
New-AzSqlInstance -Name „sql-instance01” -VCore 4 -StorageSizeInGB 256 -SubnetId $pool.SubnetId -ComputeGeneration $pool.ComputeGeneration -Location $pool.Location -AdministratorCredential $Credential -Edition $pool.Edition -AsJob -ResourceGroupName $pool.ResourceGroupName

Thank you for this additional detail. This has been assigned to the content owner for review. @stevestein for awareness.

Hi, and thank you for the valuable feedback. Parameters you are referring to (Edition, Location, ComputeGeneration, SubnetId) are not required for creating instance inside the instance pools, as all these parameters are inherited from the pool. That is why we have created demo instruction using command with minimal input parameters supplied.
Of course, there are other ways to create instance inside the pool (including your example) and you have found proper guidelines using PowerShell doc page https://docs.microsoft.com/en-us/powershell/module/az.sql/new-azsqlinstance?view=azps-3.2.0 Maybe linking to this page with full list of available parameters and examples would be good.

@igomat We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


Expose lock method

This exposes the lock method incase locking the must be called manually.
Also,
This updates KIF (and uses new methods since the old ones don't work and are deprecated) so that it's compatible with Xcode 6.3

[x] @soffes
[ ] @hyperspacemark

Looks good minus the Travis failures :)

FBSnapshotTestCase is flaky on Travis for some reason. Re-running the tests


make login compatible with Technicolor CGA6444VF

The Vodafone Station CGA6444VF which is also produced by Technicolor needs an additional API Call before the user is authorized to pull any other data like the docsis status.
Please see this change as a first draft or suggestion.
I do not have access to a CGA4322DE and therefore do not know if the message API Endpoint does exist there or if it is necessary to call it there as well.
Maybe it was added in a recent firmware update, i just received the CGA6444VF with the firmware it is currently running.
If there needs to be another distinction between the two Technicolor Models we could probably grab the model name from the login_conf:
{
    "error":"ok",
    "message":"all values retrieved",
    "data":{
        "LanMode":"bridge-static",
        "DeviceMode":"Bridge",
        "AFTR":"",
        "firmwareversion":"19.3B57-1.0.41",
        "internetipv4":"<IP_ADDRESS>",
        "ModelName":"CGA6444VF",
        "IPAddressRT":["0000::0000:0000:0000:0000\/","N\/A"]
    }
}

Hey @macearl! Thanks for the patch - I have both the Arris and the old CGA4322DE here. I'll check if the API call exists there before merging.

Seems to work! Do you mind testing all of the supported features with your modem? If everything works, we should add it to the supported devices list.

Unless there are some undocumented features they all work after adding this api call
i tested:

discover
docsis
restart

so it's probably safe to add the newer Vodafone Station to the list.
on a side note: not sending logout: true with the seeksalthash POST Request is probably by design to prevent logging out normal users?
I added the header locally because i want to log all upstream modulation values in a specified interval and i don't care if a real user gets logged out and has to log in again every once in a while

Cool - thanks for testing it out!
I had difficulties logging in via the web-interface if I hadn't previously logged out of the tool - that's why I try to logout on every command.

I didn't mean the logout which is performed after each action, i would have probably done that as well to prevent the extra popup in the webui.
I meant during the login:
https://github.com/totev/vodafone-station-cli/blob/edb3d86fcf923858fbe56cf4dbf050105a243fb0/src/modem/technicolor-modem.ts#L151-L154
here you could extend the data to (at least for the model i currently have):
username=${Modem.USERNAME}&password=seeksalthash&logout=true

which would prevent you from getting the MSG_LOGIN_150 if someone else is currently logged in, but then again it would end the other session as well so if someone is actually trying to change something in the webui it's probably not the best idea.
For me the Vodafone Station is running in bridge mode and i don't really change anything in there, i might check the docsis or phone status once in a while. So for me being able to log the docsis status every hour or so without worrying to much about additional checks outweigh the possibility to being logged out occasionally

Oh, I see - was thinking of the general workflow.
I can make it the default - I'm using my Arris box also as a bridge so all I do is collect the data in a time series database.
Another option would be to make it a flag option like -f for force-login or so, but I'll have to test it out with all of the boxes, because I'm not quite sure if Arris supports it.


Fix: "AxiosError: Request failed with status code 500"

Description
I found the bug that caused the Axios Error and fixed it, by manually altering the data that's provided by https://www.raycast.com/wallpapers.json.
It was blossom.png, which throws a 500 on the server, since they renamed the file to blossom-2.png.

Solves #2502

Since I cloned raycast/extensions instead of your fork, this contains a lot of different commits, which weren't synced with your fork yet 😬
If I should create another PR, with your fork as the base, please let me know :)


fix: Liquid Exception: missing keyword: :ssr

Description 📖
At least in ruby 3.1.0, the demo is broken with this error :
Liquid Exception: missing keyword: :ssr in /home/matmorel/jekyll-vite/docs/_layouts/default.html
bundler: failed to load command: jekyll (/home/matmorel/.asdf/installs/ruby/3.1.0/bin/jekyll)

Background 📜
That's because last_build_path must receive the :ssr option, based on last_build_metadata I assumed that the option must be false.
The Fix 🔨
I added ssr: false to last_build_path call from the last_build_metadata_path method in the lib/jekyll/vite/tags.rb file.

Thanks! Didn't realize that I was using this internal API in jekyll-vite.


Rename project to CytoTable

Rename this project to CytoTable from pycytominer-transform.

[x] Update all documentation references
[x] Update any related code
[x] Rename Github Repo
[x] Make updates to related Github repo content or links

Code and documentation updates applied with #33, repo name and description link updated.


SSL_shutdown() seems to break other SSL Server Connections

We do use the following code to create a new SSL Server Connection:
SSL_load_error_strings();
SSL_library_init();
int SSLAppDataIndex = SSL_get_ex_new_index(0, (char*)"AppData", NULL, NULL, NULL);
pSSL_ctx= SSL_CTX_new(TLS_server_method());
SSL_CTX_set_verify(pSSL_ctx, SSL_VERIFY_NONE, NULL);
// Creating Server Session
pSSL = SSL_new(pSSL_ctx);
pBIOSocketReceive = BIO_new(BIO_s_mem());
pBIOSocketSend = BIO_new(BIO_s_mem());
SSL_set_bio(pSSL, pBIOSocketReceive, pBIOSocketSend);
SSL_set_ex_data(m_SSLSession.pSSL, SSLAppDataIndex, this);
There are multilpe SSL Server connections in the system seems working fine.
When we call SSL_shutdown() for a Server connection, after about 10 seconds its seems to impact an other SSL Server connection.
When we call only SSL_free() wihout SSL_shutdown() first this problem seems not to exist.
After SSL_shutdown() is called for a connection we get this error for an other connection when SSL_read() is called for the other connection:
error=1, message=error:00000001:lib(0)::reason(1)
error=167772567, message=error:0A000197:SSL routines::shutdown while in init
How can the SSL_shutdown() a connection impact an other SSL connection?
We use currently openssl-1.1.1s. We had this issue also with older versions. In the same App we do use also SSL Client Connections with an other SSL_CTX.
Thanks for any hint and Best Regards to the OpenSSL Team!

We added SSL_CTX_set_session_id_context() on server side. Same behave.
Should SSL_shutdown() never be used whenever SSL session cache is active?

SSL_shutdown() should have no adverse interactions with the session cache and it should not impact other SSL connections. Sounds like a possible threading issue? Or maybe a memory corruption? Might be worth running it through tsan and asan.

marking as inactive, will be closed at the completion of 3.4 dev without further input


Update Delete Volunteer Sequence Diagram

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
see 36 files with indirect coverage changes