x/pkgsite: package removal request for github.com/MicahParks/jwks

What is the path of the package that you would like to have removed?
github.com/MicahParks/jwks
Are you the owner of this package?
Yes
What is the reason that you could not retract this package instead?
I have a project, github.com/MicahParks/keyfunc. It was originally named github.com/MicahParks/jwks. After v0.0.5 in March 2021, I renamed the package from jwks to keyfunc. I believe the package was not used in v0.0.5 or earlier versions. The project was renamed form jwks to keyfunc because it better represented the scope of the package (a JWK Set client for a specific JWT package).

Versions for jwks: https://pkg.go.dev/github.com/MicahParks/jwks?tab=versions
Versions for keyfunc: https://pkg.go.dev/github.com/MicahParks/keyfunc?tab=versions

I've started a new project under github.com/MicahParks/jwks, this time, it's a server side implementation of a JWK Set.
I attempted the following command and received the below error.
$ go get<EMAIL_ADDRESS>go<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/MicahParks/keyfunc
	        but was required as: github.com/MicahParks/jwks

I believe that v0.1.0 was never published for github.com/MicahParks/jwks (until today) as seen by the link to versions on pkg.go.dev above. It may be the case that the Go module proxy is linking github.com/MicahParks/jwks and github.com/MicahParks/keyfunc together somehow.
$ go clean -cache -testcache -modcache
$ GOPRIVATE=github.com/MicahParks go get<EMAIL_ADDRESS>go: downloading github.com/MicahParks/jwks v0.1.0
go: added github.com/MicahParks/jwks v0.1.0

I would like to reclaim the github.com/MicahParks/jwks namespace from the Go module proxy and unlink it from keyfunc, if applicable.

sorry, that's not possible.
https://proxy.golang.org/github.com/!micah!parks/jwks/@v/list lists the tagged versions that the proxy knows about and may have cached, it comes from github's redirect behavior when you rename a repository (something previously requested jwks, github redirects the content to keyfunc, that gets saved/served).

I believe GitHub stops the redirection behavior when a new project takes over the original name. It's possible I'm missing some more subtle behavior, but visiting the repository via HTTP and git cloning returns the new project as expected.
https://docs.github.com/en/enterprise-cloud@latest/repositories/creating-and-managing-repositories/renaming-a-repository

Warning: If you create a new repository under your account in the future, do not reuse the original name of the renamed repository. If you do, redirects to the renamed repository will break.

yes, but once cached the definition is permanent, especially wrt to the sumdb.
you can use the jwks name, but not with any of the version numbers already cached
you'll also want to retract them, but that won't let you redefine them.

I see, so the sumdb holds all the versions from when the redirect was in place, meaning I would need to publish a version higher than the latest version in the sumdb (and retract earlier versions) to reclaim the name for this new project. I understand and appreciate that there's no changing the sumdb.
In this case, the highest tag in the sumdb is already in the release stage, after v1.X.X. So I'll opt to move the new project to another repository. Thank you for explaining this to me.


Can I load a GLTF model

I think the example is to load a GLB model. Can I load a GLTF model? When I use a GLB model, I always don't load texture images, or is there any online tool that can provide the conversion of a GLTF model to a GLB model

Loading .gltf models is fully supported, though you do have to be aware of the App Sandbox security model when loading glTF assets that reference external buffer and texture files.
If there’s a particular model you’re having trouble loading and want more specific help, please post a link to it on this issue.
As for converting from glTF to GLB, I’m not aware of any online tools, but gltf-transform is an excellent library with a command-line interface: https://gltf-transform.dev/

I've been using this web-based converter and it seems to work well: https://sbtron.github.io/makeglb/

@lenkawell Very cool, thanks for the suggestion!

This issue will be closed automatically in seven days if no further response is received.

Closing due to inactivity.


Add github workflow to publish docker image

Add workflow to publish docker image to Github Packages.
https://docs.github.com/en/free-pro-team@latest/actions/guides/publishing-docker-images

Should be merged to dev. Closing this.


Bug Report: is it possible to compile with Neko?

when trying to compile the game with "lime test neko" I get this error
lime test neko
C:/HaxeToolkit/haxe/lib/discord_rpc/git/discord_rpc/DiscordRpc.hx:4: characters 8-20 : You cannot access the cpp package while targeting neko (for cpp.Function)
source/Discord.hx:5: characters 8-30 :     referenced here
source/TitleState.hx:28: characters 8-15 :     referenced here
source/Main.hx:20: characters 37-47 :     referenced here
is there any way to make it work? Thanks

Using google translate

No. Now Close It.

We don't support neko. BUT, I think the reason it isn't compiling is because we're the discord haxelib which I don't think supports neko either.


Image Mapping with Clickable Areas

This HTML code demonstrates the use of an image map, allowing specific areas of an image to function as hyperlinks. The image has three clickable regions: a rectangular area that links to Google, a circular area that directs users to the Maharashtra Board website, and a polygonal area that links to Flipkart. The  and  tags define the coordinates and shapes of these interactive regions, creating a user-friendly way to navigate to different websites by clicking on specific parts of the image.
Kindly assign me this issue under Hacktoberfest 2024.

Hey @strivedi4u can you assign me this issue? will be happy to contribute
Thanks!

hey , i would like to work on this one, kindly assign.


Baseline Required -- Information Preserved by Graph

One question worth asking is in the current implementation, is there sufficient information preserved through the construction of the graphs? That is to say, does the process of going from image to graph lose important info? One way to test this is to test the potency of baseline models on both the raw images and the computed graphs. I propose that we choose some basic algorithms (e.g. SVM+kernel, Random Forest, MLP) and compare their performance on derived features both pre/post graph. Post graph, these features can be as simple as a the collection of means/variances, or more dynamic such as features extracted from an out-of-the-box RNN/LSTM. The pre-graph features can be extracted via a simple convolution network over the raw images, fully-connected at the end to output a vector of features the same length as the post-graph features.
The critical component here is controlling for complexity. Neither of these processing steps ought to be too complex, and both should be similarly complex to ensure that it doesn't become a test of the processing methods rather than the image-to-graph step.

Related to this - I would be curious to see if the graphs are actually capturing any regional info that is more useful than local info. Hyper-fusion, fragmentation, and a normal cell cycle are all morphologies that show up in local protein movement (you can see it happening even if you zoom in). Could we just pit 50x50 pixel samples against the graphs?

That's actually a wonderful point! If local and global information are highly correlated then we should be able to just observe a local patch like you mentioned and viably infer global patterns (i.e. capturing global patterns would be redundant). Let's set up a simple CNN for that then.
Also, @magsol I'm wondering if it would be better to have our post-graph features--whether that's the literal GMM parameters, or the derived spectrum--be embedded by an MLP into a fixed dimension space, that way we can also control for latent-dimensionality. That way if we decide that the latent dim size ought to be, say 10, then we can embed the graph/post-graph features into that space and also embed whatever CNN-based spatial feature map representation into that space using some pooling/FC layers.


help

How i can access to hte user logins?

Hi, there is a /logs page handle as you can see here https://github.com/grcasanova/RogueCaptivePortal/blob/b6b60a698c28890a6f188ea108371014613690db/RogueCaptivePortal.ino#L146


HDFS-16287. Support to make dfs.namenode.avoid.read.slow.datanode and dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled reconfigurable

Description of PR
Support to make dfs.namenode.avoid.read.slow.datanode  reconfigurable
Details: HDFS-16287
For code changes:

[ ] Consider that make dfs.namenode.avoid.read.slow.datanode reconfigurable and rapid rollback in case this feature HDFS-16076  unexpected things happen in production environment
[ ] DatanodeManager#startSlowPeerCollector  by parameter 'dfs.datanode.peer.stats.enabled' to control

Fix code style and remove useless code

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  4s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
36m 40s

trunk passed

+1 :green_heart:
compile
1m 37s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 24s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  3s

trunk passed

+1 :green_heart:
mvnsite
1m 33s

trunk passed

+1 :green_heart:
javadoc
1m  2s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 31s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 37s

trunk passed

+1 :green_heart:
shadedclient
25m 21s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 24s

the patch passed

+1 :green_heart:
compile
1m 27s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 27s

the patch passed

+1 :green_heart:
compile
1m 17s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 17s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 56s

the patch passed

+1 :green_heart:
mvnsite
1m 27s

the patch passed

+1 :green_heart:
javadoc
0m 53s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 21s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 43s

the patch passed

+1 :green_heart:
shadedclient
25m 37s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
356m 31s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 45s

The patch does not generate ASF License warnings.

467m  0s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestViewDistributedFileSystemContract

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3596

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux c7a67aa2444b 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2ec82e1c420789afb326f4ebb451522a8a4e2358

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/3/testReport/

Max. process+thread count
2010 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@ferhui @tomscut I submitted some code. Can you help review.
thank you very much.

@haiyang1987 Thanks for contribution, some comments:
we can change the title here and jira, If dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is not reconfigurable.
And I will check whether dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is unused.

@ferhui @tomscut I submitted some code. Can you help review. thank you very much.

Thanks for reminding me.

@haiyang1987 Thanks for contribution, some comments: we can change the title here and jira, If dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is not reconfigurable. And I will check whether dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is unused.

@haiyang1987 Thanks for contribution, some comments: we can change the title here and jira, If dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is not reconfigurable. And I will check whether dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is unused.

@ferhui Thank you for your review.
1.Already change the title here and jira
2. 'dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled' in BlockPlacementPolicyDefault use

@haiyang1987 Thanks for contribution, some comments: we can change the title here and jira, If dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is not reconfigurable. And I will check whether dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled is unused.

@ferhui Thank you for your review.
1.Already change the title here and jira
2. 'dfs.namenode.block-placement-policy.exclude-slow-nodes.enabled' in BlockPlacementPolicyDefault use

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m 24s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
36m 58s

trunk passed

+1 :green_heart:
compile
1m 35s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  4s

trunk passed

+1 :green_heart:
mvnsite
1m 33s

trunk passed

+1 :green_heart:
javadoc
1m  3s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 28s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 41s

trunk passed

+1 :green_heart:
shadedclient
25m 39s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 27s

the patch passed

+1 :green_heart:
compile
1m 28s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 28s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 57s

the patch passed

+1 :green_heart:
mvnsite
1m 25s

the patch passed

+1 :green_heart:
javadoc
0m 54s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 24s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 44s

the patch passed

+1 :green_heart:
shadedclient
25m 53s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
374m 11s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 43s

The patch does not generate ASF License warnings.

486m  5s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestHDFSFileSystemContract

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/4/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3596

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 1fb2ee0e949b 4.15.0-143-generic #147-Ubuntu SMP Wed Apr 14 16:10:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 2ec82e1c420789afb326f4ebb451522a8a4e2358

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/4/testReport/

Max. process+thread count
2022 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/4/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 54s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m 46s

trunk passed

+1 :green_heart:
compile
1m 23s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 11s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  2s

trunk passed

+1 :green_heart:
mvnsite
1m 21s

trunk passed

+1 :green_heart:
javadoc
1m  4s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 24s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 20s

trunk passed

+1 :green_heart:
shadedclient
25m 19s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 13s

the patch passed

+1 :green_heart:
compile
1m 19s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 19s

the patch passed

+1 :green_heart:
compile
1m  9s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  9s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 53s

the patch passed

+1 :green_heart:
mvnsite
1m 14s

the patch passed

+1 :green_heart:
javadoc
0m 49s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 17s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m 24s

the patch passed

+1 :green_heart:
shadedclient
24m 54s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
330m 15s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 41s

The patch does not generate ASF License warnings.

436m 59s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/5/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3596

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 3388666e1f8e 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:21:19 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 87920fce0c2d28bf28fa2d0ff7589b142e0d3a31

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/5/testReport/

Max. process+thread count
2491 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3596/5/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

@haiyang1987 Thanks for contribution. @tomscut Thanks for review!

@ferhui @tomscut  Thanks your review and merge.


Correct question #20 right answer

If you will execute code snippet in browser console you'll get
VM2514:3 Uncaught TypeError: Assignment to constant variable.     at getAge (<anonymous>:3:7)     at <anonymous>:7:1
so the right answer is D.

My bad, it appears one overlapped with the previous snippet calls.
After page refresh console outputs Reference Error.
Discard this issue.


Add possibility to save .os files as .tos

Description
In order to better work with version control like Git it would be handy to save Orchestrator files as .tos  files which are human readable. That way version control software can track changes in the Orchestrator files.
Implementation ideas
No response

Is this related to the Text Storage Format setting ?

Which still saves as binary:

It is, there are .torch and .os files.  By default in Orchestrator 2 it used .os (binary).  In Orchestrator 2.1, it uses .torch (text) by default.  So this should already be possible to re-save a .os to .torch if you want to use text-format moving forward.

Yes, i need to recreate my .os files to the new .torch format to make them text based.


[BUG] - iOS 15, dismissal is not working, if the showModal toggles within onAppear function of the view.

Describe the bug
A clear and concise description of what the bug is.
This bug only present on iOS 15. When, the showModal boolean is set to true in .onAppear. It is not possible to dismiss the modal, unless restrictDismissal is set to false.
To Reproduce
Steps to reproduce the behavior:
Great example would be:
struct Dashboard: View {
   @State private var showModal: Bool = false
   var body: Some View {
          VStack {
             //some code
   }.onAppear {
         showModal = true
    }
}

Expected behavior
A clear and concise description of what you expected to happen.
Modal with permissions will disappear when the "close" button is pressed
Screenshots
If applicable, add screenshots to help explain your problem.
Attached GIF recording of the issue

*Desktop (please complete the following information):

OS: iOS 15
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.
The issue is present in the simulator and in the physical device.

omg my apologies i completely forgot about this 🤦♂ this bug needs to be fixed ASAP i will get to it this weekend

@jevonmao  Hey, I am not really sure if you have fixed the problem yet. But, the issue is not present in
.JMMALERT()
just a heads up.

@sapoepsilon thank you letting me know that the bug is only for modal. I'm still working on fixing it. Thank you and the community for all the understanding.

@sapoepsilon This is the code I tried to reproduce with, and it seems like the bug isn't present on Xcode 13.1 simulator. Is there something I'm missing?
import SwiftUI
import PermissionsSwiftUINotification
import PermissionsSwiftUIHealth
import HealthKit

@available(iOS 13.0, *)
struct ContentView: View {
    @State private var showModal: Bool = false
    let healths = Set([HKObjectType.workoutType()])
    var body: some View {
        VStack {
            Text("Hello World")
        }
        .JMModal(showModal: $showModal, for: [.health(categories: .init(readAndWrite: healths)), .notification], restrictDismissal: true)
        .onAppear {
            showModal = true
        }
    }
}

Hey, it is still present in my code, when switched it from .JMAlert to .JMModal.
I have no clue what's causing this, but my code structure is something like this:
import SwiftUI
import PermissionsSwiftUINotification
import PermissionsSwiftUIHealth
import HealthKit

struct ContentView: View {
    @State private var showModal: Bool = false
    let healths = Set([HKObjectType.workoutType()])
    var body: some View {
ZStack {
        GeometryReader { geo in
          ZStack {
              Text("Hello World")
          }
          }
}
        .JMModal(showModal: $showModal, for: [.health(categories: .init(readAndWrite: healths)), .notification], restrictDismissal: true)
        .onAppear {
            showModal = true
        }
    }
}

If this won't trigger it, then probably something in my code is triggering this behavior. Weirdly enough this bug is not present with the .JMAlert.

As far as I can see the problem occurs when the JMModal is hooked into nested views.
In such a scenario, I found some strange behavior, for example that if it is pinned to a NavigationView, the modal is only removed if the user clicks the "Allowed" button again after allowing permissions.

Or when hooked into a nested view it allows to disappear by scrolling down.

Pulling the JMModal up in your view hierarchy should help.
@jevonmao Displaying JMModal sheet always on a topmost view controller instead of a bodyView would be a possible solution.

Way to go @konradgalczynski07 ! Thanks you so much for debugging the strange behavior. Pulling the modifier up top of view hierarchy (i'm not sure if there is a reason to nest it anyway) will be the best solution for now until we figure out a fix in PermissionsSwiftUI.

Hello, any news to fix the bug friend? it's still happening for iOS16+
need to tap multiples times on the allowed permission

@erikhric The alert is dismissed after only one allow? Do you mind elaborating on the bug you are facing? If this is separate from the dismissal bug in this issue, and unfixable by pulling out the modifier to higher view hierarchy, I will open a new issue and look into this separately.

No longer able to reproduce any of these on iOS 16.4

for example that if it is pinned to a NavigationView, the modal is only removed

Or when hooked into a nested view it allows to disappear by scrolling down.

Code used:
NavigationView {
            ScrollView {
                Button(action: {showPermissions = true}, label: {
                    Text("Show Permissions")
                })
                .JMModal(showModal: $showPermissions, for: [.siri])
            }
            .navigationTitle("Test")
        }

@Dave181295 Can you share the code where this bug still appears?
I tried to reproduce cases of calling JMModal within nested view, as well as attached to a NavigationView. Neither was reproducible on 16.4.
Code used:
NavigationView {
            ScrollView {
                Button(action: {}, label: {
                    Text("Test button")
                })
                .JMModal(showModal: $showPermissions, for: [.siri])
            }
            .navigationTitle("Test")
            .onAppear {
                showPermissions = true
            }
        }


force loadAccount callback update on address change, too

this fixes the issue where on initial connect the app does not load balances.
To test disconnect your wallet. Then reconnect.

When app loads on current prod it WILL NOT load your balances.
When app loads on this PR it WILL load your balances.

Yep makes sense, fixes the problem
Only thing i noticed is that on prod, it doesn't show the error loading balances toast (it should) but on this pr it does (before it loads them)

Yep makes sense, fixes the problem Only thing i noticed is that on prod, it doesn't show the error loading balances toast (it should) but on this pr it does (before it loads them)

ah shit you're right. I can fix that


investigate strange byte_literal call in detect_nat_ufloat_byte

res = byte_literal(...) but then res is never used?

Function removed completely.


consider True Color support

In internal/ansipainter consider True Color support. Would it add much?
See https://gist.github.com/XVilka/8346728 and https://github.com/chalk/chalk and https://github.com/gookit/color

consider https://github.com/muesli/termenv for ANSI color handling.
Supports truecolor and degradation. Supports templates which might be
useful for config-based custom styling.


Feature idea: Inline files upload

Can i request new feature when dropped they stand inline?
like dropzone.js, i love your works anyway

so they don't take a lot of spaces going below and look more tidy, or is there options/features that i missed for styling

Hi, see this topic on styling, by limiting the width of the item FilePond automatically creates a grid.
https://pqina.nl/filepond/docs/patterns/api/style/#grid-layout


ivy recent files

For some reason, a new update in ivy seems to restrict virtual buffer to caller's being ivy-switch-buffer or counsel-switch-buffer. This means that doom's buffer switcher cannot have virtual buffers (like recent files) enabled since its caller is +ivy--switch-buffer.

This is caused by: https://github.com/abo-abo/swiper/commit/a9e81f8aaf15fd7e4b74b2889dc4ce57b4b55a3f


upgrade to go 1.16

Go 1.16 is expected in early February, right after we're expecting to release 2.5.0: https://tip.golang.org/doc/go1.16
Apart from the standard stuff called out in DEVELOPING.md, we should:

Replace utils.ErrNetClosing with net.ErrClosed
Replace uses of io/ioutil

The upgrade to Unicode 13 may indicate that we should upgrade x/text, and possibly the confusables lib.

The upgrade to Unicode 13 may indicate that we should upgrade x/text, and possibly the confusables lib.


Maybe there is a bug in custom AllReduce?

the code is: https://github.com/NVIDIA/FasterTransformer/blob/main/src/fastertransformer/kernels/custom_ar_kernels.cu#L372
In invokeOneOrTwoShotAllReduceKernel：
if (elts_total <= DEFALUT_ALGO_AR_SIZE_THRESHOLD) {
        kernel_algo = 0;
    }

May need to change to?
if (elts_total * sizeof(T) <= DEFALUT_ALGO_AR_SIZE_THRESHOLD) {
        kernel_algo = 0;
    }

thanks. we will fix it soon.

Fixed in https://github.com/NVIDIA/FasterTransformer/commit/f7a4418ac874d751fb5d2540481a6d5b5bcdbe25


Removed unneeded check for Let's encrypt cert.pem

As in #843 I have removed the check for Let's encrypts cert.pem

Thank you for taking the time for it.


Docker image from readme is private

$ docker pull quay.io/louketo/louketo-proxy
Using default tag: latest
Error response from daemon: unauthorized: access to the requested resource is not authorized

Affects #541

Is there a way to get this, or is it not ready?
Keycloak's update to 10.0.0 has enforced strict scope rules, and the current "Official" gatekeeper image is broken.

@Ryonez could you please elaborate why the Gatekeeper image is broken?

Was this issue here, discovered to be user error. Scope was added in the config file.
https://issues.redhat.com/browse/KEYCLOAK-14250

@Ryonez @freiit should be fixed now. But please reopen, if that's not the case.


Remove Zend\Version no longer makes sense anymore

because Zend\Version does not get any attention https://github.com/zendframework/zend-version/pull/15 https://github.com/zendframework/zend-version/issues/10 and more.. I will try here :D
this is for release-2.7 only

Thanks, @svycka


Use request.getLocalAddress() to test management port

Spring Cloud Gateway uses exchange.getRequest().getURI().getPort() to determine if the current request port is the management port.
But exchange.getRequest().getURI().getPort() is created from Host header. So if, for example, you have a HaProxy in front of the gateway, the port in Host header might be different from the actual real port of the gateway.
Maybe it's better to use exchange.getRequest().getLocalAddress().getPort().
https://github.com/spring-cloud/spring-cloud-gateway/blob/0941b751abff0bfb588ed9e16614c91881124173/spring-cloud-gateway-server/src/main/java/org/springframework/cloud/gateway/handler/RoutePredicateHandlerMapping.java#L79

closing in favor of #2196


[V4] Error on useModal

I was looking for a way to update props/attrs of a dynamic modal from outside the modal. Luckily I found an existing issue stating that this will be part of next major release.
Thus, I migrated from v3 to v4 (RC) and followed the migration guide to switch from $vfm.show() to useModal() for dynamic modals.
But calling useModal() leads to an error in my browser's console (see below). Not sure if I did something wrong or if it is really a bug.
Version
vue-final-modal: v4.0.0-rc.0
vue: 3.2.44
nuxt: Not installed
OS
Linux
Steps to reproduce

Install vue-final-modalimport { createVfm } from 'vue-final-modal';
const vfm = createVfm();
app.use(vfm);

Call useModal() to create a modalimport { useModal } from 'vue-final-modal';

const {
    open,
    close,
    patchOptions,
} = useModal({
    component: AddUser,
    attrs: {},
});

Open page and try to open modal

What is Expected?
Modal should open normally
What is actually happening?
Modal does not open, error is thrown instead in the browser console (firefox in my case)
Uncaught TypeError: ae() is undefined
    Lt                        index.es.js:12
    showModal         modal.js:279

I finally got it working (at least somehow).
With v3 I could call $vfm.show() from any js file, but useModal() only works in setup() from a custom component.
In v3 I did it like so:
# modal.js
export function showModal() {
   $vfm.show({
        component: MyComponent,
    });
}

This no longer works. Is there any way to get that behaviour back or do I have to explicitly use it a component's setup() method?

I think it will look like this
// useMyModal.js
export function useMyComponent() {
  return useModal({
        component: MyComponent,
    })
}

<script setup>
const { open } = useMyModal()
</script>

<template>
  <button @click="open">open modal</button>
</template>

I understand that is annoying to always use useModal() first, in some use cases we don't know when the modal will be opened. I am still trying to find a way to create a dynamic modal from outside of setup script.

Hey @hunterliu1003
Thanks for your quick reply!
Alright, as long as it works I'm fine with it :wink:
I'll give it a try next week and see how it works.

Hey @v1r0x
How about providing second argument for useModal. The second argument should be a vfm instance create by createVfm(). If passing a vfm as second argument to useModal(), it will use vfm instance instead of injectedVfm.
// ./plugins/vue-final-modal.js
import { createVfm } from 'vue-final-modal'

export const vfm = createVfm()

// main.js
import { vfm } from '@/plugins/vue-final-modal'
app.use(vfm)

// Anywhere outside of script setup
import { vfm } from '@/plugins/vue-final-modal'
const modal = useModal({
  component: MyComp,
  ...
}, vfm)

modal.open()

But you have to manually execute modal.destroy() whenever you don't need it anymore. Otherwise, the length of the vfm.dynamicModals will getting larger and that might cause memory leak (see #206).
I think in your case, you can execute modal.destroy() on onClosed hook:
// Anywhere outside of script setup
import { vfm } from '@/plugins/vue-final-modal'
const modal = useModal({
  component: MyComp,
  attrs: {
    onClosed() {
      modal.destroy()
    }
  }
}, vfm)

modal.open()

Hey @hunterliu1003
passing the vfm instance as option param instead of another optional param is also fine :)
If this is possible it would help me a lot!
Also calling modal.destroy() in onClosed() is fine for me. Would this make modal.close() obsolete in my case?

Hey @v1r0x

Also calling modal.destroy() in onClosed() is fine for me. Would this make modal.close() obsolete in my case?

modal.destroy() will delete the modal instance inside of vfm.dynamicModals. So if you have an opened modal, it will be closed immediate without calling modal.close().
Calling modal.close() will not delete the modal instance inside of vfm.dynamicModals. So if you keep calling the showModal(), the length of vfm.dynamicModals will keep growing until you have memory leak (must be careful in Nuxt). This is the reason why you have to manually call modal.destroy() when you don't need this dynamic modal instance anymore (usually on onClosed hook I think).
Without calling modal.destroy() correctly, the memory leak might occur on server side (Nuxt 3) and on client side (Vue 3 SPA).

Edit: I saw you already pushed that to v4 branch. Awesome! 🎉 Is there a way to test this? I tried adding that branch using npm, but that doesn't work.

I just released<EMAIL_ADDRESS>so you can test it. I'll finished the documentation on this weekend (with no guarantee).

Thank you for your fast response and new release! :heart:
I tried to install the new release through npm, but ran into several problems.
First, I didn't have vue-tsc installed and had to install it manually. After that I got that error:
$ npm install
npm ERR! code 1
npm ERR! path my_project/node_modules/vue-final-modal
npm ERR! command failed
npm ERR! command sh -c vue-tsc --noEmit && vite build
npm ERR! Version 4.9.3
npm ERR! tsc: The TypeScript Compiler - Version 4.9.3
npm ERR!
npm ERR! COMMON COMMANDS
...

And then it simply prints the available commands for tsc. I also tried to run tsc by hand. This also prints the available commands :confused:
I'm on node v16 and npm v9 and installed the latest vue-tsc and tsc. Any ideas what I could have done wrong?

@v1r0x
Sorry to publish incorrectly.
I fixed it in 4.0.0-rc.2.
Thank you for your patience.

Hey @hunterliu1003
Wow, that was fast :astonished: :tada:
I have to thank you for your great lib and support :heart:


Support building Dart VM for Chromecast

These changes allow the VM to be built using the Chromecast toolchain.

Trying to fix bad author on commit. Will submit a different PR.


Naviagtion Bar

Congratulations, @Uttkarsh-raj your pr has been merged .Don't forget to star the repo . Untill your next pr, keep coding and  keep contributing.

@ashdude1401 Thank you for assigning this to me....had a great learning experience....

hey @ashdude1401 can you please add the required tags/labels to this merged pr since it is not showing as my jwoc contribution on the leaderboard page..

sorry ,I forgot to lable it .Let see what I can see

@Uttkarsh-raj  you have again send a pull request . I have added all the required tags.


Import Scenario comment to Jira description field

Given a test issue in Jira Xray
And the issue has description = "text in description"
When I export the test to cucumber via the UI
Then I get a comment "text in description" above the tags of the feature
Example of export:
#language: de
Funktionalität: Default

	#text in description
	@TEST_UVIX-338
	Szenario: example test
		Angenommen any steps

Given a feature in the mentioned format with a comment above the tags of the feature
when I use the   mvn xray:import-features command
then the comment is written to the description in jira issue

Are you using Xray on Jira datacenter or Xray on Jira cloud? In Xray cloud this should already be possible.
Supporting this is dependent on what Xray itself supports in the respective REST API endpoint; it's not managed by this plugin.

We are running on Data Center.
You are right that this would depend on the Rest API of Xray.
Do you confirm that this issue would we solved with those issues:
https://jira.getxray.app/browse/XRAY-9444
https://jira.getxray.app/browse/XRAY-3365

I'm closing this issue as it is beyond the scope of this plugin;  please reach our Xray support team so they can track your request and point you to the proper issue; I'm not sure if those issues you mentioned cover explicitly what you need but I'll defer that to the support/product team on Xray.


{os_process_error,{exit_status,139}} when push my webapp using couchapp

OS: redhat 7
CouchDB: 2.3.0
Couchapp: 0.7.5
I downloaded the RPM package and unzip it, because I'm not a privileged user and is limited to some directory, so I modified local.ini to change the default derectories for uri_file, log file and database. Also I set LD_LIBRARY_PATH for monkeyspider and icu. Then I can directly start ./bin/couchdb, I can create database and documents by web UI or curl, seems it run properly.
But if I use couchapp to push my web application, it failed, on client side I got RequestFailed: {"error":"unknown_error","reason":"undefined"}, and on server side couchdb displayed error messages on console continuously:
...
[info] 2019-03-04T07:34:54.100238Z<EMAIL_ADDRESS><0.226.0> -------- couch_proc_manager <0.9098.0> died normal
[error] 2019-03-04T07:34:54.100521Z<EMAIL_ADDRESS><0.7098.0> -------- OS Process Error <0.9098.0> :: {os_process_error,{exit_status,139}}
[info] 2019-03-04T07:34:54.141688Z<EMAIL_ADDRESS><0.226.0> -------- couch_proc_manager <0.9101.0> died normal
[error] 2019-03-04T07:34:54.141917Z<EMAIL_ADDRESS><0.7098.0> -------- OS Process Error <0.9101.0> :: {os_process_error,{exit_status,139}}
[info] 2019-03-04T07:34:54.189625Z<EMAIL_ADDRESS><0.226.0> -------- couch_proc_manager <0.9104.0> died normal
[error] 2019-03-04T07:34:54.189960Z<EMAIL_ADDRESS><0.7098.0> -------- OS Process Error <0.9104.0> :: {os_process_error,{exit_status,139}}
[info] 2019-03-04T07:34:54.232189Z<EMAIL_ADDRESS><0.226.0> -------- couch_proc_manager <0.9107.0> died normal
[error] 2019-03-04T07:34:54.232445Z<EMAIL_ADDRESS><0.7098.0> -------- OS Process Error <0.9107.0> :: {os_process_error,{exit_status,139}}
...
I found trouble shooting about this in official document: http://docs.couchdb.org/en/stable/install/troubleshooting.html
However, after I setenforce 0 and restart couchdb, it did not work. What happened to cause this error. By the way, as I use strace to view system calls I found it open /dev/tty with O_RDWR flag, but /dev/tty is not accessible.

Start couchdb with the following strace command, then I got continuous output.
$ strace -f -e open ./bin/couchdb 2>&1 | grep RDWR
[pid 13110] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
[pid 13111] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
[pid 13110] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
[pid 13111] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
[pid 13114] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
[pid 13115] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
[pid 13114] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)
[pid 13115] open("/dev/tty", O_RDWR|O_NONBLOCK) = -1 ENXIO (No such device or address)

this is an installation issue, your CouchDB installation can’t find or start the couchjs process, reasons for not being able to start it can be many, including bindings to libmozjs.
start by checking the path of the javascript view server and whether it points to the right place.

this is an installation issue, your CouchDB installation can’t find or start the couchjs process, reasons for not being able to start it can be many, including bindings to libmozjs.
start by checking the path of the javascript view server and whether it points to the right place.

I'm new to couchDB, I 'm not clear what is javascript view server, do you mean that couchjs execuable? I think it's couchjs that caused the problem.
I found a similar issue: https://github.com/apache/couchdb/issues/1832
It was on archLinux due to ABI compatibility issue and has been fixed.
I tried the steps described in the post:
$ ./bin/couchjs ./share/server/main.js
["reset"]
Segmentation fault (core dumped)
I got a segment fault. And I traced it I got the following output:
read(0, ["reset"]
"["reset"]\n", 1024)          = 10
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x98} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault
by "ldd -v./bin/couchjs" I saw that libmozjs and other library files can be found in my redhat. I don't know why couchjs cannot work.

The segfault is the problem here, but I can’t help with debugging that.

The segfault is the problem here, but I can’t help with debugging that.

I found another issue, I'm not sure if it cause that segfault.
I found something here: http://docs.couchdb.org/en/stable/install/troubleshooting.html
Use this to start up Erlang with the CouchDB libraries in its path:
erl -env ERL_LIBS $ERL_LIBS:/path/to/couchdb/lib -couch_ini -s crypto
In that Erlang shell, let’s check that the key libraries are running.
crypto:md5_init().
snappy:compress("gogogogogogogogogogogogogogo").
jiffy:decode(jiffy:encode(<<"[1,2,3,4,5]">>)).
q().
It is OK for "crypto:md5_init()", but failed for the second command. I got:
** exception error: undefined function snappy:compress/1
This means I did not successfully install couchdb. Sure, I did not install it, by directly execute the binaries by adding env variables and changing couch config. I guess the CouchDB libraries was not found. But, Could you tell me what is **/path/to/couchdb/**lib ? Is it the path to "opt/couchdb/lib" or "opt/couchdb/lib/<some_directory>/priv ?

I got the solution. because the spidermonkey 1.8.5 library was built on old versioned linux, I download the latest binary for redhat 7 the set LD_LIBRARY_PATH to include it, then the couchjs could run. I think the issue is caused that libmozjs185 is built on a very old linux (redhat5). After solving this, my couchdb could work..
But I still cannot verify my couchdb as I run "erl -env ERL_LIBS $ERL_LIBS:/path/to/erlang/lib:path/to/couchdb/lib -couch_ini -s crypto",  snappy:compress and jiffy:decode does not work. I just tried setting ERL_LIBS to the crypto library extracted from RPM package, like this:
erl -env ERL_LIBS $ERL_LIBS:my_home_dir/rpm/couchdb_el7/opt/couchdb/lib/crypto-3.7.4 -couch_ini -s crypto
Then I got this:
Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
{"init terminating in do_boot",{undef,[{crypto,start,[],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()

Likely your openssl version does not match the compiled version.
Why are you not just compiling from source? This installation method you are using is not supported.

Hi there,
This is not a CouchDB bug. GitHub is for actual CouchDB bugs only.
If you are looking for general support with using CouchDB, please try one of these other options:

The user mailing list. Signup instructions are here
The Slack/IRC chat room. Joining instructions are here


babel repl doesnt work

Im using VS Code 1.9.1, i installed the babel repl, open the pallet commmand, search for babel, press enter but nothing happens.

I just pushed a fix for it. I will publish it soon.

I still have this issue as well.


Signature can't broadcast at polkadot.js.org/app

When I broadcast a signature built by txwrapper, I got an error below
submitExtrinsic(extrinsic: Extrinsic): Hash:: 1010: Invalid Transaction: BadProof
I had tried changing the genesisHash to 0xb0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe
and the specVersion to 1045,
and the method callIndex from 0603 to 0400. but nothing changed, the error is always the same.
Could someone give me some suggestions?

Could you tell us how you constructed the signature and the extrinsic?

There are a lot of parameters you need to tweak yourself: all the parameters in https://github.com/paritytech/txwrapper/blob/master/src/util/types.ts#L17 (except tip and validityPeriod which are optional).
This is an advanced tool: it's the user's responsibility to e.g. fetch the blockNumber/blockHash where this tx is going to be valid, fetch the specVersion, the metadataRpc at that specVersion etc etc. In this way, txwrapper is not too new or too old for Kusama CC3: you just need to pass Kusama's data into txwrapper.

I used methods from this repo to build my txs offline and it worked fine until the recent releases of the polkadot JS api and am now getting the bad proof like @XuNeal. Unfortunately using previous versions (1.0.1) doesn't work because the other dependencies are set with ^X.X.X and it seems like there's a dependency hell happening.
Did anything change in the created types (SignerPayload, and ExstrinsicPayload) ?

@amaurymartiny  So sorry, I find that it's not the txwrapper's problem,  and it's all because of the input.
@psiofxt After I try the polkadot-js/api project. I find there are some reasons to cause that problem.
First, you should use the right nonce which the account should be on chain.
Second, if you use the ImmortalEra, the blockhash should be equal to the geniuses_hash.
I hope that's useful to you.

@psiofxt<EMAIL_ADDRESS>should have the latest @polkadot/api


restart animation on click, its possible?

hi. nice script. tks a lot.
its not a issue. its a question:
its possible to restart the animation on mouse over or click?
if i click on image/svg it can be restart the animation. is possible?
and other case: if i use long landpage, when target the element/section it starts.
its possible?
tks, marcelo

Hallo Marcelo,
Yes, it's possible, this is what's happening on the demo page. The top logo (: Hi there) and the 3 shutters can be restarted on click.
Here is how you can do it:
// Init your Vivus instance (with your own settings, this is just an example)
var myVivus = new Vivus('the-container-id', {type: 'delayed', duration: 150}),

// Then listen to the event of your choice to restart the animation
myVivus.parentEl.addEventListener('click', function () {
  myVivus.reset().play();
})

I hope this helps :)

hi max, i will try it.
im using script on my landing page [(.](<script src="js/vivus.min.js"></script>)  and calling the svg's from
code like this: <object type="image/svg+xml" class="img-responsive ico-box" data="svg/ico-coop.svg"></object>;
i need to insert your code in another script on this same page?
tks for response.
cheers!

You need to use it where you start running Vivus. So far to make the
animation working you must use 'new Vivus(...)' somewhere in your code,
right?

i will try... im not a programmer... im a designer... html + css.
i put this code on page:
' '
and the line of the svg is:
' '
but it does not works. i will try later.
tks a lot, max!

Yes, it should be.
In your HTML file the order should be like this:

Include the library:

Your SVG with the 'coop' ID:

Include the script:

hi max. i made this but does not works... see it in action:
http://bit.do/eQunB
the first icon on first box (above + 5 MIL).
tks a lot!!

Thanks for providing the page where you use it. The problem is the animation is triggered when the SVG is in the window viewport. Sadly, by using the sliding system, Vivus cannot know when the animation should start.
Somebody had the a similar issue in the past (but couldn't find it back), the solution was to start manually the animation when the panel get open. But I don't know how it works.


WIP: Implement MetadataViews on ExampleToken

Closes: #83
Description
Implements MetadataViews.getViews() and MetadataViews.resolveView() in the ExampleToken contract featuring the new views defined in FungibleTokenMetadataViews

For contributor use:

[x] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the standards mentioned here.
[ ] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

[ ] Update the version in package.json when there is a change in the smart contracts

PR template is showing automatically when doing the PR from the gh web interface!! 🎉

I'll love to get some ideas about which test cases I can do here. Right now there's only one, setting up a vault using just the path to an existing vault in some other account using this transaction. Pretty cool to setup a vault without any reference to the token contract btw!!

Thanks a lot for your comments @psiemens!! I've finally changed the vault's public path name to VaultPublicPath, I guess we all agree on that the "lesser bad" solution.
@satyamakgec @sisyphusSmiling I'd like to talk with you briefly about the tests to assure I'm not missing anything before merging this, I'll put some time on your calendars for Monday.


download without listerner

Is it able to download without listener?
thank you.

I think this required doesn't make sense if you really want to download a resource and ignore any process for it, please just wrapper a method provide empty-implementation of DownloadListener.


Fix “cancel” button doesn’t clear terms and results

The type of this PR is: fix
This PR resolves CX-1379
Description
This PR fixes the behavior of the cancel button. Now when you press the "cancel" button, text inputs and search results are cleared. Also in this PR, the component was refactored by using a prettier.
https://user-images.githubusercontent.com/30176348/117949037-63cf8c80-b31a-11eb-98a6-f5d50e875939.mov
PR Checklist (tick all before merging)

[x]  I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have tested my changes on iOS and Android.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

Congratulations on your first contribution to Eigen 🎉. Looks good to me except few minor remarks.

The first one is about the PR title. Ideally, it should be fix(CX-1379):  “cancel” button doesn’t clear terms and results (the ticket between brackets is not mandatory). This helps us have a clean git history with a unified format (see https://github.com/artsy/eigen/commits/master)
The second one is about the last item on the PR checklist, the changelog update. I think you forgot to add it. We try to keep track of all the changes we do for every version in this changelog file https://github.com/artsy/eigen/blob/master/CHANGELOG.yml that we use also to generate release notes when we submit the app for review.

Congratulations on your first contribution to Eigen 🎉. Looks good to me except few minor remarks.

The first one is about the PR title. Ideally, it should be fix(CX-1379):  “cancel” button doesn’t clear terms and results (the ticket between brackets is not mandatory). This helps us have a clean git history with a unified format (see https://github.com/artsy/eigen/commits/master)
The second one is about the last item on the PR checklist, the changelog update. I think you forgot to add it. We try to keep track of all the changes we do for every version in this changelog file https://github.com/artsy/eigen/blob/master/CHANGELOG.yml that we use also to generate release notes when we submit the app for review.

Thanks for your review.
I've changed the PR name and added my changes to the CHANGELOG.yml file

Great, thanks for making the changes. I left a minor comment about an extra addition to the changelog. Other than that, this is clear to go. Also there seem to be a changelog conflict

Awesome thank you
#squashongreen


Cannot pass custom tooltip

Since we stringify the layers property, it is no longer possible to pass in a HTML element as a tooltip (by setting options.overlay.element of an interaction).
https://github.com/EOX-A/EOxElements/blob/00d7af5efa6bce88912c701e8dd777b9f8c794ec/elements/map/main.ts#L114
It results in a TypeError: cyclic object value - JavaScript | MDN.

since we were already discussing special features that will need need more complex data types, maybe this is the time to look into a simple diff-package (e.g. deep-object-diff) to handle the change detection?
There also was the idea of keeping the map-definitions simple, so we could share map definitions via copy-paste or via api-calls somewhere in the future. IMO this can still be possible, as long as we keep all features that require complex data types optional.
Another thing to consider is that change detection for complex data types will never be possible, as {} !== {}


feat: Drop extension fuinctions

Feature Type

[ ] Adding new functionality to quinn

[ ] Changing existing functionality in quinn

[ ] Removing existing functionality in quinn

Problem Description
Extension functions are deprecated for a long time, we should drop them from 1.0
Feature Description
Drop them:

https://github.com/MrPowers/quinn/blob/main/quinn/extensions/dataframe_ext.py
https://github.com/MrPowers/quinn/blob/main/quinn/extensions/spark_session_ext.py#L48

Additional Context
No response

@SemyonSinchenko - can I take this up please?


Move treebits into Position

Motivation
Treebits exposes raw bit manipulations on a type which assumes inorder traversal ordering; this is inherently unsafe.  Move all the bit manipulators into Position struct which hides the actual implementation.  We also don't need two different modules doing almost the same thing, which will make the accumulator easier to clone.
Have you read the Contributing Guidelines on pull requests?
Yes.
Test Plan
Existing tests and CI
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

LGTM. Neat. But please rebase.

still broken. @zamsden


where is your getInputStream method

Hi, I see many of your example using getInputStream method, but the method was not in your code. Do you have a demo.java that can run some example?  Thanks

I didn't provide it since InputStream is a fairly comment Java Interface and there are many method to retrieve an InputStream.
If you want to load an InputStream from a resource that's bundled in a jar (As I did in the examples), You can call:
Thread.currentThread().getContextClassLoader().getResourceAsStream(path)

Also note that you can load external files via constructing a FileInputStream

http://docs.oracle.com/javase/7/docs/api/java/io/InputStream.html
http://tutorials.jenkov.com/java-io/inputstream.html


Migration after upgrading profile to 2.2 - ref: #1422

Migration after upgrading profile to 2.2:
After the solution to #1422 I'm getting this instead:
Using MunkiReport Version of Migrate

   Illuminate\Database\QueryException

  SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = munkireport and table_name = migrations and table_type = 'BASE TABLE')

  at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
    667|         // If an exception occurs when attempting to run a query, we'll format the error
    668|         // message to include the bindings with SQL, which will make this exception a
    669|         // lot more helpful to the developer instead of just the database's errors.
    670|         catch (Exception $e) {
  > 671|             throw new QueryException(
    672|                 $query, $this->prepareBindings($bindings), $e
    673|             );
    674|         }
    675|

      +26 vendor frames
  27  app/Console/Commands/MigrateCommand.php:23
      Illuminate\Database\Console\Migrations\MigrateCommand::handle()

      +13 vendor frames
  41  please:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

That looks like a permission error
Sent from my iPhone

On 4 Nov 2021, at 16:42, Jonas Bygdén @.***> wrote:

Migration after upgrading profile to 2.2:
After the solution to #1422 I'm getting this instead:
Using MunkiReport Version of Migrate
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] Connection refused (SQL: select * from information_schema.tables where table_schema = munkireport and table_name = migrations and table_type = 'BASE TABLE')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:671
667|         // If an exception occurs when attempting to run a query, we'll format the error
668|         // message to include the bindings with SQL, which will make this exception a
669|         // lot more helpful to the developer instead of just the database's errors.
670|         catch (Exception $e) {

671|             throw new QueryException(
672|                 $query, $this->prepareBindings($bindings), $e
673|             );
674|         }
675|

  +26 vendor frames

27  app/Console/Commands/MigrateCommand.php:23
Illuminate\Database\Console\Migrations\MigrateCommand::handle()
  +13 vendor frames

41  please:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Cache issue

Hi Faisal, we renewed Non-config leaf certs because they were expiring next month.
Now on Certificates page (OpsMgr UI) we don't see anymore cf cert as expiring.
But on /metrics from Tanzu certificate exporter application there is no update, we still see all certificates as expiring.
Apply changes on TAS finished almost 2 hours ago (INTERVAL: 3600).
We had the same issue on TA env, and I had to restart the application to update /metrics page.
FYI we are using OPSMAN_CLIENT_ID (maybe it's the root cause?).
Brgds
Benoit

I looked more closely at /metrics page and I see the new certificate but i still see the old ones:
configurable="false",env="TLS-PROD",is_ca="false",issuer="",location="credhub",product_guid="cf-f4bf1d8d39dab11084df",property_reference="",valid_from="0001-01-01 00:00:00 +0000 UTC",valid_until="2021-03-12 10:44:25 +0000 UTC",variable_path="/bosh_dns_health_client_tls"} 2.77736776962055e+06
configurable="false",env="TLS-PROD",is_ca="false",issuer="",location="credhub",product_guid="cf-f4bf1d8d39dab11084df",property_reference="",valid_from="0001-01-01 00:00:00 +0000 UTC",valid_until="2022-02-08 06:07:27 +0000 UTC",variable_path="/bosh_dns_health_client_tls"} 3.153194976965983e+07
The problem is Grafana shows the certificate as expiring.

Really strange, if i look for bosh_dns_health_server_tls I see 20 certs on /metrics page
If i look at api/v0/deployed/certificates there are only 8

Hey Benoit,
Thanks for let us know, let me take a look
Thanks


RepeatFiller

HgAutomate::run("TEMP_run.lastz"...) called at make_lastz_chains/doLastzChains/HgRemoteScript.pm line 117
HgRemoteScript::execute(HgRemoteScript=HASH(0x557801b9a758)) called at make_lastz_chains/doLastzChains/doLastzChain.pl line 370
main::doPartition() called at make_lastz_chains/doLastzChains/HgStepManager.pm line 169
HgStepManager::execute(HgStepManager=HASH(0x557801b45280)) called at make_lastz_chains/doLastzChains/doLastzChain.pl line 877

Hi @Sandhyash
pls try the updated pipeline version and let me know if the issue still persists.


[$125] Wallet - No "Make default payment method" option after adding 2nd account

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

Version Number: 9.0.63
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR https://github.com/Expensify/App/pull/51437
Action Performed:

Log in to the account that has no bank accounts
Navigate to Settings > Wallet and click on Add Bank Account > Personal Bank Account
On the Plaid modal, search and select Wells Fargo bank, enter credentials (e.g., user_good / pass_good), and complete the process
Verify that the added bank account is not marked as the default (because we are not showing default badge if there is only one bank account)
Repeat the process to add a second bank account by selecting Chase bank

Expected Result:
The "Make default payment method" option is displayed in the three-dot menu of the first bank account added without needing a page refresh
Actual Result:
The "Make default payment method" option is not displayed in the three-dot menu of the first bank account added after adding 2nd account. A page refresh is needed to display the option
Workaround:
Unknown
Platforms:

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

[ ] Android: Standalone
[ ] Android: HybridApp
[x] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/16e34de4-109c-449e-b5d7-a0066f07c196

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021857547420122900843
Upwork Job ID:<PHONE_NUMBER>122900843
Last Price Increase: 2024-11-15

Issue OwnerCurrent Issue Owner: @thesahindia

Reproduced

Pretty minor bug, so adjusting price

Proposal
Please re-state the problem that we are trying to solve in this issue.
Make default payment method is not showing without refresh
What is the root cause of that problem?
https://github.com/Expensify/App/blob/99bf5541f9d49da20952bd7f2592b7e773a6073b/src/pages/workspace/invoices/WorkspaceInvoiceVBASection.tsx#L57
this is causing the issue becausae the isSelectedPaymentMethodDefault is still true
What changes do you think we should make in order to solve the problem?
we can add the same check here, as I added in my last PR here:https://github.com/Expensify/App/pull/51437
we need to use walletLinkedAccountID, and if the this paymnet is  isSelectedPaymentMethodDefault true
but the the account id does not mactch walletLinkedAccountID, then we should show Make default payment method

Proposal
Please re-state the problem that we are trying to solve in this issue.
The "Make default payment method" option is not displayed in the three-dot menu of the first bank account added after adding 2nd account. A page refresh is needed to display the option
What is the root cause of that problem?
The condition to show the Default badge and the condition to show Make default payment method are different

The condition to show the Default badge is based on shouldShowDefaultBadge which will return the most recent default method

https://github.com/Expensify/App/blob/b0378aad9ecb429db6983ba30255d1af0c9122c5/src/pages/settings/Wallet/PaymentMethodList.tsx#L421

While the condition to show the Make default payment method is based on paymentMethod.isDefault which can be wrong after we add the 2nd account. The context can see here
https://github.com/Expensify/App/blob/b0378aad9ecb429db6983ba30255d1af0c9122c5/src/pages/settings/Wallet/PaymentMethodList.tsx#L333

https://github.com/Expensify/App/blob/b0378aad9ecb429db6983ba30255d1af0c9122c5/src/pages/settings/Wallet/WalletPage/WalletPage.tsx#L172
https://github.com/Expensify/App/blob/b0378aad9ecb429db6983ba30255d1af0c9122c5/src/pages/settings/Wallet/WalletPage/WalletPage.tsx#L317-L319
What changes do you think we should make in order to solve the problem?
We should also use shouldShowDefaultBadge function to check if this paymentMethod is default or not
const finalCombinedPaymentMethods = combinedPaymentMethods.map((paymentMethod) => {
    const isMethodActive = isPaymentMethodActive(actionPaymentMethodType, activePaymentMethodID, paymentMethod);
    const isDefault = shouldShowDefaultBadge(
        combinedPaymentMethods,
        paymentMethod,
        userWallet?.walletLinkedAccountID ?? 0,
        invoiceTransferBankAccountID ? invoiceTransferBankAccountID === paymentMethod.methodID : paymentMethod.isDefault,
    );
    return {
        ...paymentMethod,
        onPress: (e: GestureResponderEvent) =>
            onPress(
                ...
                isDefault,
                paymentMethod.methodID,
            ),
        ...
    };
});
return finalCombinedPaymentMethods;

https://github.com/Expensify/App/blob/b0378aad9ecb429db6983ba30255d1af0c9122c5/src/pages/settings/Wallet/PaymentMethodList.tsx#L333
What alternative solutions did you explore? (Optional)

@nkdengineer's proposal is simpler. Let's go with them.
🎀 👀 🎀 C+ reviewed

@thesahindia, I believe the selected proposal might not work as intended because shouldShowDefaultBadge and isDefault can represent different scenarios.
For example, add the fist payment method, we don't show the default badge for it. However, with the current proposal, the Make default payment method option would still appear for this method, which is not the expected behavior.

@Shahidullah-Muffakir Is there an eta for a PR here?

@Shahidullah-Muffakir Is there an eta for a PR here?

The PR will be ready within few hrs.

TY!

@joekaufmanexpensify I noticed a similar issue in Prod and Staging:
When a user has two payment methods and deletes their default payment method, the "Make default payment method" button still shows for the remaining payment method until the page is refreshed.
I believe we should hide this button immediately after deletion (without requiring a refresh) since it's now the only payment method. Is this the correct behavior we want?

@thesahindia, PR is ready for review, Thank you.

PR in review

@thesahindia could you handle checklist so we can prep to pay?

@Shahidullah-Muffakir offer sent for $125!

Consolidated regression test into https://github.com/Expensify/Expensify/issues/447939

Payment summary above is correct. All set to issue payment!

@Shahidullah-Muffakir $125 sent and contract ended!

@thesahindia please request payment in NewDot at your earliest convenience. Closing as this is otherwise all set!

$125 approved for @thesahindia


Password Auditing Error

Appears to be the RockYou password list I used as another password list worked fine.


wasm: update Emscripten to v2.0.7.

Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

Dependencies changes LGTM. Not sure leaking a version number into bazel/repositories.bzl is a good idea but not sure if there is an alternative.

Dependencies changes LGTM. Not sure leaking a version number into bazel/repositories.bzl is a good idea but not sure if there is an alternative.

Emscripten recently gained native support for Bazel, so we could transition to that instead of using the Emscripten SDK, which would remove the leak, but that's a separate PR.
btw: why are you using "LGTM" in comments instead of approving changes using GitHub review process? @repokitteh doesn't recognize that, and it keeps blocking changes pending approval from @envoyproxy/dependency-shepherds.

btw: why are you using "LGTM" in comments instead of approving changes using GitHub review process? @repokitteh doesn't recognize that, and it keeps blocking changes pending approval from @envoyproxy/dependency-shepherds.

This could be lack of  Github knowledge. Some of the PRs come with an option to provide a formal review but some don't. My guess is that unless the PR specifically requests a review from @moderation it isn't automatic. But I think I need to 'start a review' vs. comment. Apologies

This could be lack of Github knowledge. Some of the PRs come with an option to provide a formal review but some don't. My guess is that unless the PR specifically requests a review from @moderation it isn't automatic. But I think I need to 'start a review' vs. comment. Apologies

Right, "Add your review" banner will show on the main ("Conversation") tab only if someone requested a review from you, but you can always leave your unsolicited review in the "Files changed" tab. Thanks!
Interestingly, it doesn't look that @repokitteh recognized your approval. cc @itayd

/retest

@moderation I think it needs to be /lgtm

Emscripten recently gained native support for Bazel, so we could transition to that instead of using the Emscripten SDK, which would remove the leak, but that's a separate PR.

That would be awesome, where is this located?

That would be awesome, where is this located?

https://github.com/emscripten-core/emsdk/tree/master/bazel

@lizan bunch of PRs is failing macOS test with:
Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: HTTP/2 error code: NO_ERROR
Received Goaway
load_shed

any ideas?

it's an RBE cache issue, RBE support ticket filed.

/azp run


[HeroSystem6eHeroic] Damage buttons in chat. Powers overhaul. Bug fixes.

Submission Checklist
Required

[X] The pull request title clearly contains the name of the sheet I am editing.
[X] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[X] The pull request makes changes to files in only one sub-folder.
[X] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ ] I have followed the Character Sheets Standards when building this sheet.

[ ] This sheet has been made on behalf of, or by, the game's publisher.
[ ] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: <   >
[ ] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Version 2.82 Changes:
• Added damage buttons to Chat, splitting attack and damage messages.
• Major overhaul of the Powers section, simplifying its appearance for improved usability but also adding variables needed for attacks and in-Chat damage/effect rolls.
• Added range table to the Powers Tab and support for the maneuvers Set, Brace, and Multiple-Attack.
• Added support for range modifiers and target hit locations to powers.
• Attacks show DCV prominently in upper right of Chat messages.
• Increased power entries from 17 to 20.
• Added option to choose the dingbat character used for Name-Title separation in Chat.
• Added option to show power descriptions when using attacks in Chat.
• Set weapon STUNx limits to 0 and 2.
• The reset button also changes maneuver velocities to the character's running attribute value.
• Added END modifier to weapons so default results can be adjusted as needed.
Bug fixes:
• Fixed issue where STUNx was not added to location STUN modifiers.
• Fixed issue where characters with unmodified DCV showing DCV 0 in attack rolls.
• (2.81->2.82) removed errant debug code that could have caused data loss.

Character Sheet Info Roll20 Internal Use only.


Make Flask session lifetime configurable

First of the PRs to break up #484 to try to debug the e2e tests.

e2e tests worked after one re-run...


[wasm-c-api] uninitialized name##idx_rt member when created by wasm##name##_new

Hi all!
I found the following bug(maybe?) in wasm-c-api implementation (lastest commit).
Each type structure (wasm_func_t, wasm_global_t, wasm_memory_t and wasm_table_t) has name##_idx_rt member like below,
https://github.com/bytecodealliance/wasm-micro-runtime/blob/62fb3c9a89491d21aec00e123b421bd81aa7beaa/core/iwasm/common/wasm_c_api_internal.h#L181-L195
but this member is never initialized (just set to 0) when each type is created through wasm_##name##_new functions such as wasm_table_new.
It causes a problem when wasm_ref_t is generated and compared to other wasm_ref_t.
wasm_table_t* table1 = wasm_table_new(store, type1, nullptr)
wasm_ref_t* ref1 = wasm_table_as_ref(table1);
wasm_table_t* table2 = wasm_table_new(store, type2, nullptr)
wasm_ref_t* ref2 = wasm_table_as_ref(table2);

wasm_ref_same(ref1, ref2); // expect: false, but real: true

Since wasm_ref_same compares internal ref_idx_rt value which is set to name##_idx_rt of type structure, wasm_ref_same always returns a true value in the above case.
IMHO name##_idx_rt should have unique id value when type structure is created, however current version does not support it.
Correct me if i'm wrong. Thanks.

First of first, when calling a wasm_XXX_new, it actually returns a host-side runtime object. It is isolated and separated from  Wasm runtime object. They all need to be linked to a module instance by calling wasm_instance_new as an entry of  imports.
Second of second, we actually don't support import/export a wasm_table_t. Because of the security concern. So, you will find out that we don't link a table to any Wasm runtime object and, as you say, "never initialized".


Implement Active TCP-ICE

Description
Implementing Active TCP ICE to enable Pion to connect to passive TCP ICE hosts.
Still relatively new to WebRTC and ICE, so if I stray from RFC 6544 or otherwise misunderstand something fundamental about the way this should work please don't hesitate to let me know.
Reference issue
#245 - Continued ICE improvements

What you will actually want I believe is one CandidateHost that contains a TCP Socket.
When AddICECandidate comes in with a passive candidate you send off a connection request.
You will need a recvLoop per connection attempt. So I think overriding it completely makes sense!

Voluntarily closing this in favor of #394 - hopefully someone else with the desire or the need will help get it across the finish line.


Add configPath option

This option will allow the extension to resolve the configuration from a different path, as opposed to the default configuration resolution.
This option will pass --config-path to the CLI, so it will behave the same.

Addressing this issue might be dependent on #27.

If the biome.configPath option is not specified, should it:

Pass <workspace-root>/biome.json to the CLI as the --config-path option

How does the CLI handle the absence of this file?

Not pass the --config-path option at all

We should not pass the option at all. The --config-path option changes slightly how the resolutions work (which I should document).
When we pass --config-path, Biome doesn't do any resolution by looking at parent directories.

The related MR is closed saying there will be another path to implementation, but issue marked as completed.
Just to be sure, is still planned or implemented?

I hoped this or similar capability existed - until I realized to just create a fallback biome config higher up in the filesystem.
Before this, it required a lot of willpower to keep this extension when a bunch of linter errors appear in a project that does not want a biome config. (magnified by the fact that biome seems to require ignore-comments on each diagnostic)
imo for general usage its better (less context switchy) if biome defaults could be overridden in vscode settings - instead of a separate config file.

@nhedger would it be possible to reopen this issue given the approach in #33 didn't pan out?
In case it's helpful context, my use-case for this is that I have a monorepo with standalone packages in subdirectories, some of which need biome and others of which don't. Unless I put biome.json in the top-level directory of the repo, the VSCode extension can't find it and uses the biome default settings.

Did some more digging - links to upstream issues in biome LSP itself for those interested:

https://github.com/biomejs/biome/issues/1573
https://github.com/biomejs/biome/issues/2228

The pre-release supports this using explicitly defined projects.
Docs: https://deploy-preview-974--biomejs.netlify.app/reference/vscode/#defining-projects
Config reference: https://deploy-preview-974--biomejs.netlify.app/reference/vscode/#biomeprojects


contributing.md is broken

The links in https://github.com/yiisoft/yii2/blob/master/.github/CONTRIBUTING.md are relative, so now that that file has been moved, they're broken.

fixed, thanks for reporiting!


Test different options for sub-site nav

As discussed, we need a more flexible sub-site nav that includes search, tagline, sub-navigation, etc.

Test different colours

I tested the same option we previously had (like the Main NavBar) but with different colors. Please check here @inesdgomes

Many thanks @beatrizmartinmartins All the options look good, but let's go ahead with option 4. Could you please integrate it in the components?

@inesdgomes I just added the Option 4 and changed the ILO subsite navigation that we had here

Hi @beatrizmartinmartins As mentioned in our last meeting, the new version you created is great, but we still want to keep the basic version we had before. There should be two variants for sub-sites: 1) one for websites with a simple info architecture (same as we had before); 2) another one for websites that require a sub-menu and a tagline (the one you created).

I just redid the NavBar, but I'm wondering, should we change the colors of the simple version (the one we had before) to match the new colors of the Subsite NavBar? See here @inesdgomes


Add a Gitter chat badge to README.md

Ogeon/rustful now has a Chat Room on Gitter
@Ogeon has just created a chat room. You can visit it here: https://gitter.im/Ogeon/rustful.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

@homu r+

:pushpin: Commit ab48221 has been approved by Ogeon

:hourglass: Testing commit ab48221 with merge e07ec9d...

:sunny: Test successful - status


sample echo app rejects all TLS1.3 ciphers other than AEAD_AES_128_GCM (0x1301)

WHAT DO I SEE?
When connecting with a cipher set other than AEAD_AES_128_GCM (0x1301) the echo app rejects the connection with a CONNECTION_CLOSE frame.
WHAT DO I EXPECT TO SEE?
Connections should be established when using all four supported TLS 1.3 ciphers.
SUPPORTING DETAIL
From wireshark:
CONNECTION_CLOSE (Transport) Error code: CRYPTO_ERROR (Handshake Failure)
    Frame Type: CONNECTION_CLOSE (Transport) (0x000000000000001c)
    Error code: CRYPTO_ERROR (296)
    TLS Alert Description: Handshake Failure (40)
    Frame Type: 28
    Reason phrase Length: 36
    Reason phrase: fizz::FizzException: no cipher match

cool: makes sense!


Mnist

Added 10-class MNIST data as the primary demo of functionality. Currently runs SGD and reaches about 40% accuracy after 100 iterations.

Also trying to boost my additions and deletions


Speed vs. "Optimized" codahale version?

Per chance have you run speed comparisons vs. the other common implementation of blake2b?

One data point:  Hashing a 5.8GB tarball on a Jetway (SSE2 only, quad core celeron - SSD based - hopefully the low-end of PC's these days, at least CPU wise):
Minio:  /* First run - nothing in OS cache */
real    1m11.658s
user    1m8.976s
sys     0m2.680s
Codahale:
real    1m8.054s
user    1m6.611s
sys     0m1.954s
Minio:  /* Second run - sanity check, just in case OS cacheing played a roll */
real    1m10.302s
user    1m8.865s
sys     0m1.976s
Code used:
import (
"fmt"
"github.com/minio/blake2b-simd"
//      "github.com/codahale/blake2"
"io"
"os"
)
func ComputeBlake2B(filePath string) ([]byte, error) {
var result []byte
file, err := os.Open(filePath)
if err != nil {
return result, err
}
defer file.Close()
//      hash := blake2.NewBlake2B()
hash, err := blake2b.New(nil)
if err != nil {
fmt.Println("Blake2B Error: ", err)
}
if _, err := io.Copy(hash, file); err != nil {
return result, err
}
    return hash.Sum(result), nil

}
func main() {
if b, err := ComputeBlake2B("/home/everything.tar"); err != nil {
fmt.Printf("Err: %v", err)
} else {
fmt.Printf("/home/everything.tar Blake2b checksum is: %x", b)
}
}

Sorry about the formatting, not sure why pasting the code between ticks (e.g. "insert code") didn't work.

Ran a similar test (6.2GB tarball) on a sample of the other extreme:  A dual socket Xeon with a combined 28 cores and 56 thread capability, L3 cache, AVX and AVX2.  Again off a (likely faster) SSD.
Mimio:
real    0m16.623s
user    0m13.060s
sys     0m2.640s
Codahale:
real    0m29.193s
user    0m24.800s
sys     0m2.980s
Mimio:  (sanity check):
real    0m16.443s
user    0m13.170s
sys     0m2.560s
That server was moderately busy, so I idled it and reran:
Mimio:
real    0m10.744s
user    0m9.480s
sys     0m1.270s
Codahale:
real    0m17.705s
user    0m16.670s
sys     0m1.040s
Bottom line:  Mimio is approximately the same speed on low end CPUs, and takes ~40% less resources on a high end CPU system.  Nice Job!  Pretty clear which codebase our project will be using, shy of any surprises benchmarking some other algos.

update: Just for grins I timed the golang/x/crypto/Blake2B package:
real 2m19.175s
user 2m18.290s
sys 0m0.990s

This seems like odd in-fact crypto/blake2b is faster than minio-blake2b implementation - are you using the latest commit from - https://github.com/golang/crypto/tree/master/blake2b ?
// cc @aead

Did some tests locally golang/x/crypto/blake2b is giving quite close to minio/blake2b-simd or better.

No... I pulled from the path referenced...

@goarchit
Can you provide the benchmark results of go test -bench=Benchmark on your machine(s)?
On my i7-6500U (linux/amd64) the codahale implementation is about 400 MB/s slower than x/crypto/blake2b - which is not surprising, because codahale relies on the "official" C implementation (using "just" SSE4.1) vs. the AVX2 code of /x/crypto

Did some tests locally golang/x/crypto/blake2b is giving quite close to minio/blake2b-simd or better.

Maybe there are some other side effects, but on my machines the I see the same as you.

BenchmarkWrite128-56 1000000 2030 ns/op 63.05 MB/s
BenchmarkWrite1K-56<PHONE_NUMBER>1 ns/op 63.87 MB/s
BenchmarkSum128-56 1000000 2038 ns/op 62.79 MB/s
BenchmarkSum1K-56<PHONE_NUMBER>7 ns/op 61.99 MB/s

The performance is such low - that's something unexpected. On this kind of machine I would expect values about >= 800 MB/s...
The CPU supports AVX2 so probably the AVX2 code is used (as long go version >= 1.7)
Unfortunately I don't have access to this kind of CPU - so I cannot reproduce or test this on my own.
Maybe (this is a guess) the LOAD_MSG_AVX2 macro causes some trouble (maybe the the Xeon has problems with the AVX2-SSE mixing code), but as mentioned, I cannot test this...
@goarchit
Can you replace line 10 in blake2bAVX2_amd64.s with useAVX2 = supportsAVX2() && false
and run the benchmark again?

@harshavardhana go version go1.7.4 linux/amd64
@aead Presume you meant black2bAVX2_amd64.go...  similar results:
BenchmarkWrite128-56             1000000              2028 ns/op          63.10 MB/s
BenchmarkWrite1K-56               100000             15764 ns/op          64.96 MB/s
BenchmarkSum128-56               1000000              2047 ns/op          62.53 MB/s
BenchmarkSum1K-56                 100000             15836 ns/op          64.66 MB/s
PASS
ok      github.com/golang/crypto/blake2b        7.616s
@aead E-mail me and I can work out access for you to the box.  Its normally busy doing some CPU mining and other stuff, but I can manually idle it for you while you test.  Would just need to coordinate and keep windows reasonable (an hour or two, not day or weeks)

Was able to reproduce this problem on our Xeon hardware
$ go test -bench=Benchmark
BenchmarkWrite128-12              500000              2243 ns/op          57.05 MB/s
BenchmarkWrite1K-12               100000             16225 ns/op          63.11 MB/s
BenchmarkSum128-12               1000000              2106 ns/op          60.77 MB/s
BenchmarkSum1K-12                 100000             16287 ns/op          62.87 MB/s
PASS
ok      golang.org/x/crypto/blake2b     6.885s

v/s blake2b-simd
BenchmarkComparisonMD5-12                   1000           1741000 ns/op         602.28 MB/s
BenchmarkComparisonSHA1-12                  1000           1393112 ns/op         752.69 MB/s
BenchmarkComparisonSHA256-12<PHONE_NUMBER> ns/op         348.75 MB/s
BenchmarkComparisonSHA512-12<PHONE_NUMBER> ns/op         304.78 MB/s
BenchmarkComparisonBlake2B-12               1000           1229740 ns/op         852.68 MB/s
BenchmarkSize64-12                       3000000               654 ns/op          97.80 MB/s
BenchmarkSize128-12                      3000000               511 ns/op         250.45 MB/s
BenchmarkSize1K-12                       1000000              2014 ns/op         508.25 MB/s
BenchmarkSize8K-12                        100000             10483 ns/op         781.43 MB/s
BenchmarkSize32K-12                        50000             35959 ns/op         911.25 MB/s
BenchmarkSize128K-12                       10000            143302 ns/op         914.65 MB/s

Looks like an obvious bug @aead

@harshavardhana
Switching to AVX code doesn't change anything - so my guess about the AVX2-SSE switching seems to be wrong. Maybe you can run the benchmark for the different SIMD-instructions (SSE4.1, AVX, AVX2)?
I'll take a deeper look into blake2b-simd assembly and search for significant differences in mem/cache accesses, etc.
Maybe creating an issue at golang is a good idea?!
@goarchit
Okay, now I'm really blankly...
Thanks for the offer, I'll will do some investigation on this and come back to you! :smiley:

Plain blake2b without any optimizations using golang.org/x/crypto/blake2b
$ go test -bench .
BenchmarkWrite128-12             3000000               351 ns/op         364.08 MB/s
BenchmarkWrite1K-12               500000              2436 ns/op         420.20 MB/s
BenchmarkSum128-12               5000000               344 ns/op         371.54 MB/s
BenchmarkSum1K-12                 500000              2467 ns/op         414.91 MB/s
PASS
ok      golang.org/x/crypto/blake2b     6.115s

Witth SSE4
$ go test -bench .
SSE4
BenchmarkWrite128-12             5000000               236 ns/op         540.17 MB/s
BenchmarkWrite1K-12              1000000              1528 ns/op         669.91 MB/s
BenchmarkSum128-12               5000000               354 ns/op         360.71 MB/s
BenchmarkSum1K-12                1000000              1686 ns/op         607.12 MB/s
PASS
ok      golang.org/x/crypto/blake2b     6.842s

With AVX
$ go test -bench .
AVX
BenchmarkWrite128-12             3000000               333 ns/op         383.37 MB/s
BenchmarkWrite1K-12               500000              2436 ns/op         420.35 MB/s
BenchmarkSum128-12               5000000               344 ns/op         371.52 MB/s
BenchmarkSum1K-12                 500000              2592 ns/op         394.96 MB/s
PASS
ok      golang.org/x/crypto/blake2b     6.091s

With AVX2
$ go test -bench .
AVX
BenchmarkWrite128-12             3000000               333 ns/op         383.37 MB/s
BenchmarkWrite1K-12               500000              2436 ns/op         420.35 MB/s
BenchmarkSum128-12               5000000               344 ns/op         371.52 MB/s
BenchmarkSum1K-12                 500000              2592 ns/op         394.96 MB/s
PASS
ok      golang.org/x/crypto/blake2b     6.091s

Missed I something? On time you get < 70 MB/s for AVX2 and the next time you get > 350 MB/s ?!

Missed I something? On time you get < 70 MB/s for AVX2 and the next time you get > 350 MB/s ?!

No i edited, it was a copy paste problem :-)

Oh okay, no problem :-)

Oh okay, no problem :-)

Pinged you on gitter send me your SSH keys can give you access to the XEON machines we have. Thanks @goarchit for the offer.

@harshavardhana
Okay, I get the same low performance for AVX2 but I see:
AVX
BenchmarkWrite128-12    	10000000	       216 ns/op	 589.97 MB/s
BenchmarkWrite1K-12     	 1000000	      1532 ns/op	 668.30 MB/s
BenchmarkSum128-12      	10000000	       245 ns/op	 520.60 MB/s
BenchmarkSum1K-12       	 1000000	      1562 ns/op	 655.39 MB/s
PASS
ok  	golang.org/x/crypto/blake2b	8.239s

If that's the "normal" AVX performance, the AVX2 code is the problem...

Replacing the PINSRQ through VPINSRQ and adding VZEROUPPER doesn't change anything - I'll look at this tomorrow again...

A performance drop like this can very well be related to unintended saving of the upper half of the AVX registers -- so my suggestion would indeed be to see if VZEROUPPER etc. can help (or even better would not be needed unnecessarily altogether).

Okay, I know the problem: SSE-AVX savings in the LOAD_MSG_AVX2 macro.
The critical instructions are PINSRQ and MOVQ - I replaced them with VPINSRQ and VMOVQ and got:
AVX2
BenchmarkWrite128-12    	 5000000	       263 ns/op	 485.06 MB/s
BenchmarkWrite1K-12     	 1000000	      1617 ns/op	 633.24 MB/s
BenchmarkSum128-12      	 5000000	       292 ns/op	 438.23 MB/s
BenchmarkSum1K-12       	 1000000	      1707 ns/op	 599.73 MB/s

I'll will replace them and optimize the code to get the "old" performance again...

Thanks @aead - this looks good.

Nice, you have to be really careful with the correct "flavour" of the instruction...

So, I modified the AVX and AVX2 code to use only AVX instructions and got this on the XEON machine:
BenchmarkWrite128-12    	 5000000	       228 ns/op	 561.39 MB/s
BenchmarkWrite1K-12     	 1000000	      1131 ns/op	 904.78 MB/s
BenchmarkSum128-12      	10000000	       222 ns/op	 575.70 MB/s
BenchmarkSum1K-12       	 1000000	      1198 ns/op	 854.54 MB/s

I submitted the code for review and will send a PR to minio as soon as the code passes the review process.
@fwessels
I'm also a little bit surprised, that the MOVOU (SSE) instruction in compressAvx_amd64.s doesn't lead to some similar performance problems as the MOVQ instruction. But maybe the XMM,m128 moves are not affected by register savings?!

@aead good point, at least it doesn't do on my MacBook Pro (which has AVX but lacks AVX2).
On the server where we have AVX2 I never actually benchmarked the AVX version (it would have been slower anyway), so perhaps it would have shown a similar behaviour.

@fwessels
I tested the AVX implementation (blake2b-simd) on the XEON and got the expected performance - so MOVOU (for example) doesn't seem to lead to SSE-AVX transitions... Nice to know :-)

@aead Yes, that is good to know (otherwise I'd have probably noticed it, if you get it wrong there are typically significant penalties...)


Latex style for cheatsheets

@mpelleau This looks amazing, thank you! Unfortunately, I cannot merge the PR: it looks like your versions of keynotes/purrr.key and teachR.pdf are different, perhaps out of date. Can you checkout the current versions of those files from https://github.com/rstudio/cheatsheets and commit them to your repository, which should update the PR? Thanks.

It's not up to date :)

Thanks @mpelleau. Merged!


Warn user when no file path is given in 'Add Operation Step'

When configuring a operation on a dataset, there is the possibility to select the file path (e.g. when plotting a hovmöller diagram).
When selecting the path via the selector I can select my workspace directory, and then click on 'save file'  and no warning is given, that I have only selected a directory and not a file or given a file name. The user should be warned to provide a file name.

Closing this in favor of #102


update output for APF dump_priority_levels endpoint

To address issue https://github.com/kubernetes/website/issues/39512:  track update to APF debug endpoint

/lgtm

Preview:
https://deploy-preview-39518--kubernetes-io-main-staging.netlify.app/docs/concepts/cluster-administration/flow-control/#debug-endpoints

Thanks @borgerli .
/approve


Added QnAMaker traces

Added QnAMaker traces, following the example of Luis' traces.

@mgbennet, note that this needs to be rebased against master before we can merge it in.


new version by Giovanni Cuccu

Check List:

[x] You have run ./mvnw verify and the project builds successfully
[x] Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
[ x All formatting changes by the build are committed
[x] Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
[x] Output matches that of calculate_average_baseline.sh
[x] For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)

Execution time: 2-4 seconds
Execution time of reference implementation: 247 seconds

I deleted the prepare file since it was empty and also tested against the 10k file so there should be no issues

Nice, 00:04.209 now.
Benchmark 1: timeout -v 300 ./calculate_average_giovannicuccu.sh 2>&1
  Time (mean ± σ):      4.245 s ±  0.114 s    [User: 28.500 s, System: 1.481 s]
  Range (min … max):    4.162 s …  4.436 s    5 runs

Summary
  giovannicuccu: trimmed mean 4.209217678993334, raw times 4.43649127766,4.188685001660001,4.261535530660001,4.1774325046600005,4.161600223660001

Leaderboard

| # | Result (m:s.ms) | Implementation     | JDK | Submitter     | Notes     |
|---|-----------------|--------------------|-----|---------------|-----------|
|   | 00:04.209 | [link](https://github.com/gunnarmorling/1brc/blob/main/src/main/java/dev/morling/onebrc/CalculateAverage_giovannicuccu.java)| 21.0.1-open | [Giovanni Cuccu](https://github.com/giovannicuccu) |  |