Unable to run "docker-compose up" , "angularjs" and "worker" services are failing.

I'm submitting a
(Check one with "x" from given options)

[x] Bug report
[ ] Feature request

Current behavior

(Check screenshot for better understanding)
The "worker" service fails with the following output (exits with status code 1) :
worker_1     | TypeError: eval() arg 1 must be a string, bytes or code object worker_1     | [2019-12-26 13:31:40] INFO Using /tmp/tmph_lyqpk3 as temp directory to store data worker_1     | Traceback (most recent call last): worker_1     |   File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main worker_1     |     "__main__", mod_spec) worker_1     |   File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code worker_1     |     exec(code, run_globals) worker_1     |   File "/code/scripts/workers/submission_worker.py", line 751, in <module> worker_1     |     main() worker_1     |   File "/code/scripts/workers/submission_worker.py", line 680, in main worker_1     |     if eval(LIMIT_CONCURRENT_SUBMISSION_PROCESSING): worker_1     | TypeError: eval() arg 1 must be a string, bytes or code object
The "angularjs" service fails with the following output(exits with status code 1)"
evalai_ngx   | Schema validation failed with the following errors:                                                                           evalai_ngx   |   Data path ".builders['app-shell']" should have required property 'class'.                                                         evalai_ngx   | Error: Schema validation failed with the following errors:                                                                      evalai_ngx   |   Data path ".builders['app-shell']" should have required property 'class'.                                                         evalai_ngx   |     at MergeMapSubscriber.project (/code/node_modules/@angular-devkit/core/src/workspace/workspace.js:215:42)                       evalai_ngx   |     at MergeMapSubscriber._tryNext (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/mergeMap.js:69:27$ evalai_ngx   |     at MergeMapSubscriber._next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/mergeMap.js:59:18)    evalai_ngx   |     at MergeMapSubscriber.Subscriber.next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Subscriber.js:67:18) evalai_ngx   |     at MergeMapSubscriber.notifyNext (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/mergeMap.js:92:$ 6)                                                                                evalai_ngx   |     at InnerSubscriber._next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/InnerSubscriber.js:28:21)         evalai_ngx   |     at InnerSubscriber.Subscriber.next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Subscriber.js:67:18) evalai_ngx   |     at MapSubscriber._next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/map.js:55:26) evalai_ngx   |     at MapSubscriber.Subscriber.next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Subscriber.js:67:18) evalai_ngx   |     at SwitchMapSubscriber.notifyNext (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:86 :26) evalai_ngx   |     at InnerSubscriber._next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/InnerSubscriber.js:28:21) evalai_ngx   |     at InnerSubscriber.Subscriber.next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/Subscriber.js:67:18) evalai_ngx   |     at /code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/util/subscribeTo.js:17:28 evalai_ngx   |     at Object.subscribeToResult (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/util/subscribeToResult.js:10:45 ) evalai_ngx   |     at SwitchMapSubscriber._innerSub (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:65: 54) evalai_ngx   |     at SwitchMapSubscriber._next (/code/node_modules/@angular-devkit/core/node_modules/rxjs/internal/operators/switchMap.js:55:14)
Expected behavior

Should be able to start all containers without any issues.
Steps to reproduce

Clone the repo and do "docker-compose up --build"
Related screenshots

Other information

System information

Distribution : Ubuntu 18.04
docker-compose : version 1.25.0, build 0a186604
docker : version 19.03.5, build 633a0ea838

Confirming the issue.
Occurs on Ubuntu 16.04 as well.

@vkartik97 @Ram81 @nikochiko @pushkalkatara @RishabhJain2018 Please what does the LIMIT_CONCURRENT_SUBMISSION_PROCESSING variable return. That seems to be one of the issues.

It should be a string, however, it is not. I can see that it is an environment variable.
Pointer: https://github.com/Cloud-CV/EvalAI/blob/master/scripts/workers/submission_worker.py#L41

@vkartik97 told me a alternative temporary solution which will make it run . first run the docker container and let the evalai-ngx container exit and then use ng serve to start the front end individually . and you can visit the evalai-ngx front-end at localhost:4200 instead of localhost:8888.


sandbox metadata is only registered in sbserver, resulting in unmarshal failures from sandbox store

Description
I was utilizing sandbox store in order to get the resulting Linux pod sandbox config which is stored in Extensions["metadata"] as a typeUrl.Any.
When unmarshalling, I get the following error:
error="failed to unmarshal sandbox extension \"metadata\": type with url github.com/containerd/cri/pkg/store/sandbox/Metadata: not found"

The registration is done in sberver today from its' init function -- I think it needs to be done in a more central location so users of sandbox store can unmarshal as well.
Steps to reproduce the issue

Describe the results you received and expected
I should be able to just do the following, where s is Sandbox from containers sandbox store<EMAIL_ADDRESS>        sb := &sandboxstore.Metadata{}
        s.GetExtension("metadata", sb)

What version of containerd are you using?
latest
Any other relevant information
n/a
Show configuration if it is related to CRI plugin.
n/a

I think in this case it would make more sense to do the typeurl registration in the CRI sandbox store package rather than sbserver. The other alternative would be to move the Metadata type out of the CRI sandbox store to a more common package along with the typeurl registration.


Correct warnings when running cargo doc --no-deps

Some dangling references to old trait names and to rube.

I made doc resolution errors cause a cargo doc build failure for all crates in the workspace and added a step to call cargo doc --no-deps --all to the circleci config.


Make having an invalid PMT position file fatal.

Otherwise, people won't see the error message lost in the cout stream, and they'll assume everything is fine
@kmtsui can you please approve, or convince me why this PR a bad idea?

Making it fatal is not a problem, but with your change I think it is not actually exiting, but just printing out error?

Doh! This shows why PRs are better than direct commits, even for simple things... Thanks for the review!


postinstall doesn't work as expected

My system is ubuntu.
I see err:

<EMAIL_ADDRESS>postinstall /home/user/project/ipln-ngen/node_modules/material-ui-sass
cd node_modules/material-ui && npm install && cd docs && npm install

sh: 1: cd: can't cd to node_modules/material-ui

@SiarheiMelnik are you using the version on master? That should have been fixed.
Remember: if you just need to use the .scss files, you don't need to run npm install – which is required to start the material-ui example, for developing purpose. To use the .scss files, just copy the material-ui folder in your project.

Closing this since i removed the postinstall cript


React Hooks example no longer matches the argument types expected in the latest version of<EMAIL_ADDRESS>

In the Using React Hooks section, at least one example no longer matches the argument types expected in the latest version of @microsoft/applicationinsights-react-js, i.e., @3.2.0
Examples:
This example is no longer valid as trackMetric now expects 2 arguments, both of which need to be objects:
const appInsights = useAppInsightsContext();
appInsights.trackMetric("Component 'MyComponent' is in use");

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

ID: dff1e826-0fac-07ef-7dc4-af24f045f349
Version Independent ID: eb036a11-6cdb-463f-de2f-2adc4055b737
Content: React plugin for Application Insights JavaScript SDK - Azure Monitor
Content Source: articles/azure-monitor/app/javascript-react-plugin.md
Service: azure-monitor
Sub-service: application-insights
GitHub Login: @lgayhardt
Microsoft Alias: lagayhar

@davecroman Thanks for your comment. We will review the issue and get back to you shortly.

@davecroman thanks for bringing up the issue. Created a PR to fix the same. https://github.com/MicrosoftDocs/azure-docs-pr/pull/173582

Thank you for bring this to our attention, the doc update should go live early next week.
Let us know if you have any questions.
#please-close


Indicate that the list of interfaces is loading

This PR accounts for the delay in the list population given that the server endpoint now has a startup time.
I'm waiting for the server to return the list of valid interfaces before I render any previously selected ones. This ensures an appropriate message is provided to the user, indicating this operation is in progress—though if desired, I can just render the unvalidated list.
The Add Interface button is also hidden from the user until the search list is populated.

There's an alternative to this wait time I think we should try first - can you try to trigger import neuroconv as an isolated operation after initial startup of the app?
The thing about Python imports (as long as the Flask is constantly running anyway) is that there is only a delay to import something heavy the first time it is ever imported, even by local scope

You're right. Adding neuroconv to the top of app.py results in a near-instantaneous response.
It may still be useful to have these changes in case the response takes longer than expected (e.g. if we end up hosting the backend remotely and make this request over a slow internet connection)—though we don't necessarily have to.

Yeah I'll still check it out

Adding neuroconv to the top of app.py results in a near-instantaneous response.

Right but that runs the risk of causing the same issues we've been fixing - I'm saying still use a local scope - but inside a new endpoint that would get triggered in a safe/isolated way on server startup, if that's possible. In case the import fails due to bad environment, only want the endpoint to fail (and even then maybe silently since user didn't explicitly say to do it) not the server itself

Was originally intending to test using #300. This would be the ideal way to do it, right?
If so, I can simply change the base for this PR.

I'm thinking I should review this and #324 before #326, based on the number of conflicts across all 3 (most in #326)?
Let me know when resolved

Alright this is up-to-date. Closed #324 and reimplemented in #326 (also now current) to align with updated request results.


Add basic analytics

This sets up Plausible support using ember-plausible. This allows us to easily add custom events in the future.
This conditionally enables the Plausible tracker. To enable this on a server we need to replace the {{ANALYTICS_APP_DOMAIN}} and {{ANALYTICS_API_HOST}} strings with the real values before serving the app.

Tested on a local Plausible instance and it correctly sends the events when navigation happens.


Conflict between object-shorthand-properties-first and object-literal-sort-key

Bug Report

TSLint version: ^5.8.0
TypeScript version: ^2.6.2
Running TSLint via: VSCode

TypeScript code being linted
const a = 'a'
const c = 'c'
const obj = {
  a,
  b: 'b',
  c,
}

with tslint.json configuration:
{
  "extends": ["tslint:recommended", "tslint-config-airbnb", "tslint-react"]
}

Actual behavior
The rules conflict. There isn't a single field ordering that matches both rules, resulting on a non-fixable warning.
a, b, c

a, c, b

Expected behavior
Not conflict.
PS: I see this was mentioned on #2040 by @ajafff

I was about to make a PR but it seems there is already #2831 that fixes this

I created a PR anyway (#3607) because the existing one was outdated and included other features


Error spam to console: Attempted to free invalid ID: 0 at project creation

Godot version
3186a74db94809f6b3e1613409064e397a65758d
System information
Windows 10, GTX 1060
Issue description
Spammed every time you've created and run a new project:

Probably a regression from 4ebf248e1bd12c9faf7c2d19fdef3b41b9766aee (need to bisect anyway)
Steps to reproduce
Create and run a new project
Minimal reproduction project
Too easy to reproduce

Ah, seems like a duplicate of https://github.com/godotengine/godot/issues/49623


Add Simplified Chinese localization

Add translation tokens for Simplified Chinese (zh-CN).

Looks good to me, thanks for the contribution!


About training strategy

Thanks for open-sourcing the awesome work! I am trying to reproduce the performances and would like to know the training strategy:

The lidar encoder is first trained following the steps in Transfusion.
The image encoder is from SwinTransformer.
Load the pre-trained lidar encoder and image encoder, randomly initialize GeneralizedLSSFPN, DepthLSSTransform, ConvFuser and finetune all parameters.

Is this the correct way to train BEV fusion？

That's correct. We'll release the details in the future.

Thanks for open-sourcing the awesome work! I am trying to reproduce the performances and would like to know the training strategy:

The lidar encoder is first trained following the steps in Transfusion.
The image encoder is from SwinTransformer.
Load the pre-trained lidar encoder and image encoder, randomly initialize GeneralizedLSSFPN, DepthLSSTransform, ConvFuser and finetune all parameters.

Is this the correct way to train BEV fusion？

Hi! How's your training? Did you get some results? I'm wondering that in the fine-tuning part, some parts are pretrained and some parts are randomly initialized, so will it lead to even worse performance if using the same lr for all? Since pretrained parts ought to use a small lr to finetune.


Shadows: Fix wrong shadows when using lod meshes + too many draw calls

See https://forum.babylonjs.com/t/how-to-cast-shadows-of-instances-with-level-of-detail/13829/7
This PG should work when the PR is applied: https://playground.babylonjs.com/#F7KZ7C#1

"Texture cache" validation test is failing (in WebGL2) but it is working in my local repo.


GGML_ASSERT: /build/go-llama/llama.cpp/ggml-cuda.cu:6670: src0->type == GGML_TYPE_F16

My operating system is Centos7

I download and use quay.io/go-skynet/local-ai:master-cublas-cuda12
So, I installed CDUA on the operating system that matches this image

I user ggml-model-q4_0.gguf（Llama2-13B-chat）
yaml file in the model folder

I use Debug mode to run the image of LocalAI

An error occurred when I used Postman to send inference

The error message for LocalAI is as follows

I can reason normally by running llama.cpp separately in the container
But there was an error running the test under go lama

......

@deadprogram @mauromorales @jrc2139 @soleblaze

Repeated submission


[PDI-14132] About screen - information of GA, build version is out of…

… screen

@e-cuellar, could you review it?
It is similar to https://github.com/pentaho/pentaho-kettle/pull/1573


Removing payments from the user journey.

@leoapost yes it's hidden too.

Great. One more thing.. can we check the claim data that will be sent over to Jadu to ensure that there will be no fees or at least the fees will be zero?


Automated pull-request to documentation site with script, Added README.md

I will update the dockerfilen when I get back from my vacation. It's at least better then the old one that was for Jekyll. Well merge


Is there any good documentation on setting up gradle build to use ssh for authentication

I have a simple build that looks like this --
apply plugin: 'org.ajoberstar.release-opinion'

import org.ajoberstar.grgit.Grgit
import org.ajoberstar.gradle.git.release.opinion.Strategies

release {
  // need to specify the repository to interact with
  grgit = Grgit.open(project.file('.'))

  // need to override default strategy
  defaultVersionStrategy = Strategies.SNAPSHOT
}

task printVersion << {
        println "version is ${version}"
}

When I try to perform the release task, I get an error unable to authenticate:
gradle --stacktrace -Prelease.scope=major -Prelease.stage=rc release

...

Caused by: org.eclipse.jgit.api.errors.TransportException<EMAIL_ADDRESS>Auth fail
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:139)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:76)
	at java_util_concurrent_Callable$call$12.call(Unknown Source)
	at org.ajoberstar.grgit.operation.FetchOp.call(FetchOp.groovy:97)
	... 67 more
Caused by: org.eclipse.jgit.errors.TransportException<EMAIL_ADDRESS>Auth fail
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:159)
	at org.eclipse.jgit.transport.SshTransport.getSession(SshTransport.java:136)
	at org.eclipse.jgit.transport.TransportGitSsh$SshFetchConnection.<init>(TransportGitSsh.java:262)
	at org.eclipse.jgit.transport.TransportGitSsh.openFetch(TransportGitSsh.java:161)
	at org.eclipse.jgit.transport.FetchProcess.executeImp(FetchProcess.java:136)
	at org.eclipse.jgit.transport.FetchProcess.execute(FetchProcess.java:122)
	at org.eclipse.jgit.transport.Transport.fetch(Transport.java:1138)
	at org.eclipse.jgit.api.FetchCommand.call(FetchCommand.java:130)
	... 70 more
Caused by: com.jcraft.jsch.JSchException: Auth fail
	at com.jcraft.jsch.Session.connect(Session.java:512)
	at org.eclipse.jgit.transport.JschConfigSessionFactory.getSession(JschConfigSessionFactory.java:116)
	... 77 more

I have no problem performing git on the command line and authenticating to the remote server and pushing tags for example, but its not working through GrGit/jgit.
Are there any clues or sample configuration you can point me to which shows me how to enable my build to use my default ~/.ssh/id_rsa key?
The doc for gradle-git authentications points to grgit AuthConfig javadoc page, but its not obvious what I'm supposed to do or how to wire it up in my gradle build.    I'm not having much luck googling a solution but will keep hacking away.
Thanks.
Doug

I'm even more confused because I tried this and it worked --
gradle -Prelease.scope=major -Prelease.stage=rc release -Dorg.ajoberstar.grgit.auth.force=hardcoded
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
You are running the build with the Intuit Payments QBMS Gradle distribution
:prepare
:release
Inferred project: gradle-version-demo1, version: 1.0.0-rc.3
Tagging repository as v1.0.0-rc.3
Pushing changes in [refs/heads/master, v1.0.0-rc.3] to origin

BUILD SUCCESSFUL

No where did I specify my username/password in system properties or env variables, so I don't know why this is working.   But when I try to force it to 'sshagent' it fails with above error.

There's a lot of weird stuff going on in JGit auth (and in my code too), and I don't claim to understand all of the finer points. I think the best starting point would be if you could provide --debug logs from the force=hardcoded attempt and the attempt without any of the *.auth.* properties set.
That should at the very least help me narrow down what code path it's using in each situation.
Shooting in the dark, I'm curious if your SSH key is password protected. If it's not, it's likely that Jsch never even asks for any further credentials, allowing the hardcoded option to work just fine. I've had some other reports of issues with ssh-agent and/or pageant that sometimes trace down to differences on their system. Hardcoded would bypass those entirely.

If you get a chance to gather those debug logs, please reopen this issue and I can look into it more.


Bug: Submit Registration Transaction on Testnet does not work(Gesell + Rococo)

Submitting registration does not work. First the activity indicator is spinning endless. After hard close and restarting the app it shows the Transaction Priority Error. Even if it is hours later.
The account used was the Rococo Leu Bootstrapper account Alpha.
Private Zenhub Image
Private Zenhub Image

I am looking at it, it seems that part of the issue is that rococo has stalled.
Something that I did not know, is that our js-code does not incorporate the pending extrinsics in the tx-pool for calculating the next nonce of an extrinsic that should be sent, and hence we get this error:
[InAppWebViewController] (android) WebView ID<PHONE_NUMBER>195881244615251382281718217368171 calling "onConsoleMessage" using {messageLevel: 3, message: 2023-08-24 18:59:39        RPC-CORE: submitAndWatchExtrinsic(extrinsic: Extrinsic): ExtrinsicStatus:: 1014: Priority is too low: (13430784 vs 13430784): The transaction has too low priority to replace another transaction already in the pool.}

Which is correct according to the tx-pool of rococo currently. So it is technically not a bug on the front-end. If the blockchain does correctly produce blocks, we see the activity indicator in the button until the tx is included, and afterwards we can send the next extrinsic. This is also the underlying behaviour that leads to #1463.

I will close this issue in favor of #1467. Please reopen if you disagree.

Closing makes sense from my pov. My question is if rococo is now producing blocks as expected?
When I try to register again this morning I get the same "transaction priority" error (also after restarting numerous times).

It is not yet producing blocks, Zoltan has a look at it now.


Can't change TLS settings on Synapse Analytics server

when working with the SQL Server created by/for a Synapse Analytics workspace, I don't see that its possible to update the TLS settings, even with powershell. There is a deny assignment set on the resource group containing the server.  So, what is the appropriate way to get the TLS settings changed?  Is that not supported or do we need to contact MS support?

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

ID: 23b783bd-c5bc-8c0c-eb78-eebdfbb03679
Version Independent ID: 65d9e215-542b-66ef-4797-e5781930cfea
Content: Connectivity settings for Azure SQL Database and Azure Synapse Analytics - Azure SQL Database and Azure Synapse Analytics
Content Source: articles/azure-sql/database/connectivity-settings.md
Service: sql-database
GitHub Login: @rohitnayakmsft
Microsoft Alias: rohitna

@JasonHershey Thank you for the feedback. We are actively investigating and will get back to you soon

@JasonHershey Thanks your patience. This document mostly talks about changing the TLS setting for Azure SQL Database. I could not locate to change TLS setting for Azure Synapse. I am assigning this to the content author to evaluate and update as appropriate.

Please assign this to a PM in the Azure Synapse team. I am not the POC for Synapse.

We currently don't support setting the min TLS version for servers that are part of Azure Synapse Analytics. We are evaluating support for this but don't have an ETA to share.
Is the intent of such a feature to ensure that the TLS version is not lowered from the most secure version (TLS 1.2)? or is it to lower it to TLS 1.0 or TLS 1.1 because of clients that don't support TLS 1.2?

The context of my question was ensuring that most secure version is in use (making sure only TLS1.2 or higher is used).  I'd expect that if the default value were higher, people who need to allow lower versions would want to set it lower

Hi @JasonHershey , thanks for contacting Microsoft! Since I believe your inquiry has been addressed, I'm going to proceed with closing out this Git Issue. However, please feel free to comment should you need anything further.
Thanks again for reaching out and I hope you have a wonderful rest of your day!
Masha from the SQL Docs team
#please-close


secp256k1 dependency requires python2 but not explicitly referenced

DESCRIPTION
The npm install script calls "python" but does not reference an explicit version.  However it depends on python2.  If python3 is installed and is set as the default python, the install will fail.  However, there is a simple workaround, setting default python to be python2 (see WORKAROUND).
TO REPRODUCE

Install python3 and have that as your default "python"
Run npm i -g polkadot-deployer

EXPECTED BEHAVIOR
Installs
OBSERVED BEHAVIOR
Error in secp256k1 dependency - see below
WORKAROUND
I simply aliased my python and pip to call explicitly call version 2:
alias python=python2
alias pip=pip2

Maybe just add this to the README.md if it doesn't work on someone's machine?
NOTES
Output from my console
(20027) $ npm i -g polkadot-deployer
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
npm WARN deprecated<EMAIL_ADDRESS>This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
/Users/laboon/.nvm/versions/node/v10.7.0/bin/polkadot-deployer -> /Users/laboon/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/index.js

<EMAIL_ADDRESS>install /Users/laboon/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1
npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

<EMAIL_ADDRESS>rebuild /Users/laboon/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1
node-gyp rebuild

gyp ERR! configure error
gyp ERR! stack Error: Python executable "/usr/local/opt/python/libexec/bin/python" is v3.7.3, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack     at PythonFinder.failPythonVersion (/Users/laboon/.nvm/versions/node/v10.7.0/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:492:19)
gyp ERR! stack     at PythonFinder.  System Darwin 18.5.0
gyp ERR! command "/Users/laboon/.nvm/versions/node/v10.7.0/bin/node" "/Users/laboon/.nvm/versions/node/v10.7.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/laboon/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1
gyp ERR! node -v v10.7.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>rebuild: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>rebuild script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/laboon/.npm/_logs/2019-05-15T14_52_52_462Z-debug.log
Secp256k1 bindings compilation fail. Pure JS implementation will be used.

<EMAIL_ADDRESS>added 181 packages from 207 contributors in 16.598s

Thanks for reporting! :)
Hmm this is weird, having python3 as the default i can't reproduce the issue:
$ python --version
Python 3.6.7
$ npm i -g polkadot-deployer
npm WARN deprecated<EMAIL_ADDRESS>This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
/home/fgimenez/.nvm/versions/node/v10.7.0/bin/polkadot-deployer -> /home/fgimenez/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/index.js

><EMAIL_ADDRESS>install /home/fgimenez/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."

><EMAIL_ADDRESS>rebuild /home/fgimenez/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1
> node-gyp rebuild

make: Entering directory '/home/fgimenez/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1/build'
  CXX(target) Release/obj.target/secp256k1/src/addon.o
  CXX(target) Release/obj.target/secp256k1/src/privatekey.o
../src/privatekey.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE privateKeyNegate(Nan::NAN_METHOD_ARGS_TYPE)’:
../src/privatekey.cc:73:30: warning: ignoring return value of ‘int secp256k1_ec_privkey_negate(const secp256k1_context*, unsigned char*)’, declared with attribute warn_unused_result [-Wunused-result]
   secp256k1_ec_privkey_negate(secp256k1ctx, &private_key[0]);
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX(target) Release/obj.target/secp256k1/src/publickey.o
  CXX(target) Release/obj.target/secp256k1/src/signature.o
  CXX(target) Release/obj.target/secp256k1/src/ecdsa.o
  CXX(target) Release/obj.target/secp256k1/src/ecdh.o
  CC(target) Release/obj.target/secp256k1/src/secp256k1-src/src/secp256k1.o
  CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_parsing.o
  CC(target) Release/obj.target/secp256k1/src/secp256k1-src/contrib/lax_der_privatekey_parsing.o
  SOLINK_MODULE(target) Release/obj.target/secp256k1.node
  COPY Release/secp256k1.node
make: Leaving directory '/home/fgimenez/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1/build'
+<EMAIL_ADDRESS>added 181 packages from 207 contributors in 33.378s

Anyway, maybe your system behaves differently, after reading a bit about the issue here https://github.com/nodejs/node-gyp/issues/746 looks like it is possible to pass the python version to use in the npm install command, something like npm i -g --python=python2.7 polkadot-deployer. Does this work for you? I would prefer this approach if it works, as you suggest add a note in the readme in case anyone finds the same issue.

It looks like it is working for me now; maybe there was some sort of transient issue with a dependency?  It falls back to the pure JS implementation just like yours.
><EMAIL_ADDRESS>install /Users/laboon/.nvm/versions/node/v10.7.0/lib/node_modules/polkadot-deployer/node_modules/secp256k1
> npm run rebuild || echo "Secp256k1 bindings compilation fail. Pure JS implementation will be used."
...

I'm fine closing as I cannot reproduce.

@laboon ok thx, closing then (i missed your response :))


[documentation] how to use staticman on gitlab?

Staticman seems usable with gitlab, but I wasn't able to understand how to do it. I think that the main documentation should be updated (or at least points to another page) where it explains how to use gitlab.
@VincentTam Do you think it could be possible that you describe what you did on your test. I'm also using hugo, so it would be highly welcome.

@robinmoussu I've already done that in my GitLab + Staticman tutorial in September, and here's a more refined version: https://gitlab.com/VincentTam/bhdemo#beautiful-hugo-with-staticman-comment-reply.  Nonetheless, I recommend using Framagit, another GitLab instance, instead of GitLab.com for performance reasons.
Judging from PR's for documentation changes such as #256, #261, #266, #281, I think writing a separate blog post would be a better choice for the moment.  You may consider contributing one if you like.

Thanks for the quick answer. I tried again, but without success.
I obviously don't understand something, so I tried to sum-up what I understand, and what I tried.
From what I understand, I should add in each blog post a form to be able to send a comment. I think that it's just a configuration somewhere, and when the gitlab CI build my blog, it will add that form automatically at the end of each blog post.
When a user fill that form and click on the "submit" button, a request to a staticman instance should be send (for example to the framasoft instance). The staticman instance will then create a pull request on the gitlab of my blogpost, that should be accepted automatically (if I comments are not moderated). To do that the gitlab user of the framasoft instance of staticman should be added as a developper. That pull request will add a new file in data/comments, and trigger a rebuild of the site (like any PR). Once rebuilded, the blog post will contains the post + the form + the comment.

I don't understand how the form (to be able to send the comments) is generated.
I cloned https://gitlab.com/VincentTam/bhdemo#beautiful-hugo-with-staticman-comment-reply then did hugo server to test locally. I only have a blank page on my localhost instance, witch is quite impractical for testing. I force pushed it on my blog, and (after the CI builded it), I got the blog posts with the comments. I tried to add a new comment, without success. For obvious reason I reverted this push to the normal content of my blog.
I'm not sure that I gave the correct right to the framasoft bot. What is it's username?

I think that it's just a configuration somewhere, and when the gitlab CI build my blog, it will add that form automatically at the end of each blog post.

The Go-HTML template file(s) under layouts/partials do the job.

Before I proceed, it's better to give a quick response tp clarify the roles of my two public GitLab instances.

"name"
"public GitLab instance"
"public Framagit instance"

GitLab instance
GitLab.com
Framagit

gitlabBaseUrl
https://gitlab.com
https://framagit.org

username
staticmanlab
staticmanlab1

githubBaseUrl
https://github.com
https://github.com

AFAIK, gitlabBaseUrl can only take one GitLab instance.
Remarks: The user name staticmanlab has been taken up by someone else on Framagit, so I have to append the digit '1'.

Re-reading my "refined" guide, I'm shocked that two crucial steps are missing.  I'll fix this after answering your questions.

The staticman instance will then create a pull request on the gitlab of my blogpost, that should be accepted automatically (if I comments are not moderated)

moderation
true
false

Staticman API server's action
create Merge request
directly push against branch

authorization needed
developer
developer + right to push against protected branch

That pull request will add a new file in data/comments, and trigger a rebuild of the site (like any PR). Once rebuilded, the blog post will contains the post + the form + the comment.

That's the result of several things done well:

Staticman (as a NodeJS app) (relay HTML <form> data to GitHub/GitLab repo according to the path found in root-level staticman.yml)
CD/CI (for automatic rebuild)
Site theme('s Staticman integration) (for displaying static comments)

Items (1) and (3) require a config file.  I call the former "(git) repo config", and the later "site config" for clarity.
Staticman (this Git repo, as a a NodeJS app), is only responsible for (1).  As long as the API server can transmit the generated data files into the path specified in root-level staticman.yml, then step (1) is good.  In case of problems in (3), it's a problem with the site theme.

Let's get back to your questions.

To generate an HTML form by hand, you may try the HTML <form> element on W3 School's tutorial.
Staticman API servers communicate with remote Git servers, not local Git repos.
Please see the table in the above comment.

Thanks for the quick answer. I tried again, but without success.

@robinmoussu Please include the link to your site as well as your source code, so that other users, apart from me, may also offer a helping hand.  Please consider giving the error message and the error code so that your error can be reproduced by others.
After resting for a night, I've reminded myself that I haven't yet clearly addressed the quoted sentence.  The GitLab repo for your blog has no root-level staticman.yml.  That's why a Staticman API instance can't interact with your repo.
To understand how Staticman (as a NodeJS app) works, I recommend the original demo repo https://gitlab.com/ntsim/test-staticman (require GitLab login to view) posted in https://github.com/eduardoboucas/staticman/pull/219#issuecomment-417857360.  I recommend reading the comments by Nicolas Tsim, the author of that PR, as a reference, especially the top of the page.  However, the setup guide mixes up two things: server-side setup and client-side setup.  That's why I've written two separate articles in my blog to make things clear for non-developers like me.  In addition, the original comments might contain careless mistakes, since our mind might get tired after hours of coding, thinking and writing.
Apart from the lack of repo config in the GitLab repo for your blog, your site template (customized Beautiful Hugo) lacks Go-HTML partial template(s) for Staticman comments display.  Despite the offiical GitLab Pages + Hugo demo embed Hugo themes as a subdirectory, it's better to follow Hugo's official quick start guide and embed a Hugo theme as a Git submodule because it's not supposed to be modified as frequently as the blog's content folder.  This allows you to easily merge additional features and/or bug fixes in your Hugo theme's PR, such as, halogenica/beautifulhugo#225 for Archive support.  You may consider my Staticman nested comment & instant preview support halogenica/beautifulhugo#222 for the Go-HTML template needed to render Staticman comments.

I cloned https://gitlab.com/VincentTam/bhdemo#beautiful-hugo-with-staticman-comment-reply then did hugo server to test locally. I only have a blank page on my localhost instance, witch is quite impractical for testing.

@robinmoussu I've overlooked this problem.  This is due to the lack of the themeDir theme/beautifulhugo, and that's a usage problem of hugo server, not a Staticman problem.  You may include the theme Beautiful Hugo by git submodule update --init --remote --recursive.  Due to the file .gitmodules, git submodule will set up the themeDir to track my tweaked Beautiful Hugo, which includes some PR's (optional features and bug fixes) of the original theme, notably halogenica/beautifulhugo#222.
Looking back, I should have included the --recurse-submodules in the git clone command in the README of my demo project.
P.S. The code written for nested Staticman integration for the theme Beautiful Hugo in the above linked PR is, in fact, unnecessarily complicated. (c.f. https://github.com/victoriadotdev/hugo-theme-introduction/pull/119#issuecomment-448613809) This has motivated me to retake a Framagit user's abandonned work, simplify the template code and port it into another theme Huginn.  The newly developped site should be a better demo.
Demo site: https://staticman-gitlab-pages.frama.io/huginn

Thanks a lot for the support. I'm currently moving home, and I will test that in probably 2 weeks
Envoyé depuis ProtonMail mobile
-------- Message d'origine --------
On 24 mai 2019 à 13:15, Vincent Tam a écrit :

I cloned https://gitlab.com/VincentTam/bhdemo#beautiful-hugo-with-staticman-comment-reply then did hugo server to test locally. I only have a blank page on my localhost instance, witch is quite impractical for testing.

@robinmoussu I've overlooked this problem. This is due to the lack of the themeDir theme/beautifulhugo, and that's a usage problem of hugo server, not a Staticman problem. You may include the theme Beautiful Hugo by git submodule update --init --remote --recursive. Due to the file .gitmodules, git submodule will set up the themeDir to track my tweaked Beautiful Hugo, which includes some PR's (optional features and bug fixes) of the original theme, notably halogenica/beautifulhugo#222.
Looking back, I should have included the --recurse-submodules in the git clone command in the README of my demo project.
P.S. The code written for nested Staticman integration for the theme Beautiful Hugo in the above linked PR is, in fact, unnecessarily complicated. (c.f. victoriadotdev/hugo-theme-introduction#119 (comment)) This has motivated me to retake a Framagit user's abandonned work, simplify the template code and port it into another theme Huginn. The newly developped site should be a better demo.
Demo site: https://staticman-gitlab-pages.frama.io/huginn
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@robinmoussu Bon déménagement et bonne installation !

@robinmoussu Here's a related Hugo Discourse question about the problem of blank page in Hugo.  I didn't (and won't) read it in details.  Perhaps you might find this informative.

Update: For a documentation on how to use Staticman with GitLab, I've written an illustrated guide in the README for a recently published Hugo theme called Huginn at https://themes.gohugo.io/huginn/.

Duplicate of #312


NTR: [chloride:bicarbonate antiporter activity]

Please provide as much information as you can:

Suggested term label:

chloride:bicarbonate antiporter activity

Definition (free text)

Enables the transfer of a solute or solutes from one side of a membrane to the other    according to the reaction:
Reaction=2 chloride(out) + hydrogencarbonate(in) = 2 chloride(in) + hydrogencarbonate(out)   [Rhea:72203]

Reference, in format PMID:#######

PMID:10428871, PMID:16606687

Gene product name and ID to be annotated to this term

Gene:SLC26A3,  ID=S26A3_human,  S26A3_mouse

Parent term(s)

bicarbonate:anion antiporter activity GO:0140829

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Rhea : [Rhea:72203]

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

+id: GO:0140900
+name: chloride:bicarbonate antiporter activity
+namespace: molecular_function
+def: "Enables the transfer of a solute or solutes from one side of a membrane to the other according to the reaction: chloride(in) + HCO3-(out) = chloride(out) + HCO3-(in)." [PMID:10428871, PMID:16606687, RHEA:72203]
+synonym: "bicarbonate:chloride antiporter activity" EXACT []
+xref: RHEA:72203
+xref: TC:2.A.53.2.18
+intersection_of: GO:0015297 ! antiporter activity
+intersection_of: has_primary_input CHEBI:17544 ! hydrogencarbonate
+intersection_of: has_primary_input CHEBI:17996 ! chloride
+property_value: term_tracker_item https://github.com/geneontology/go-ontology/issues/23828 xsd:anyURI
+created_by: pg
+creation_date: 2022-08-17T14:47:35Z

Done in https://github.com/geneontology/go-ontology/commit/6aeffd1d883496cd7781efb520483acd07e78ac0


App crashed due to virtual method 'io.agora.rtc.mediaio.IVideoFrameConsumer com.agora.arcore.AgoraVideoSource.getConsumer()

i am getting this exception
java.lang.NullPointerException: Attempt to invoke virtual method 'io.agora.rtc.mediaio.IVideoFrameConsumer com.agora.arcore.AgoraVideoSource.getConsumer()' on a null object reference
at com.agora.arcore.AgoraARCoreActivity.sendARView(AgoraARCoreActivity.java:654)
at com.agora.arcore.AgoraARCoreActivity.access$1200(AgoraARCoreActivity.java:66)
at com.agora.arcore.AgoraARCoreActivity$13.onPixelCopyFinished(AgoraARCoreActivity.java:643)

looks like your initRtcEngine was not called so video source is not initialized. looking at above code i guess you are not granting proper privileges


Scrubbing is overzealous

I have some tests failing on my local machine with verify results like this:
                Message: {
                  Message: message,
-                 Formatted: message
+                 ForTheUserNameed: message
                },

This is caused by:
https://github.com/VerifyTests/Verify/blob/5e39cec848cb1c798c727d40dd0c9b959a9f9c33/src/Verify/Serialization/Scrubbers/Scrubbers.cs#L5-L9
Because my username is matt, so Formatted becomes ForTheUserNameed
Shouldn't scrubbing only apply to data, not field names?

This is field is now officially pronounced as "for the user named Ed".  🤣


PIC24FJ

Is it possible make some changes in this project to add 24FJ(16bit) processors?
Today, I'm using ARM in 90% of my projects, cause of that I have made a pattern writer in all my projects using the DAPlink project as: https://github.com/ARMmbed/DAPLink.
This project has an usart CDC implemented, that runs very well.
So, I would like tho know if you can helping me to put up the model:
PIC24FJ128GC010
https://www.microchip.com/wwwproducts/en/PIC24FJ128GC010

I really would appreciate your help, as I just starting with github projects.

Thank you so much!

Hello,
from technical point of view, there is nothing stopping from adding 16-bit MCU support and at some point in the project I thought of adding it, however I decided no to do it, because:
1, Programmer is slow (theoretical limit is 5kB/s, however it's less in practice due to simple buffering). 8-bitters do usually have less of FLASH than 16-bit ones, so this slow-ness isn't that much of a problem.
2, There isn't open source compiler for 16-bit PICs. This simple open-source programmer is good match to SDCC.
Users using XC16 can also use rest of Microchip's ecosystem with their programmers, being MUCH faster than this arduino based one.
3, It's quite bit of work and adding it into my spaghetti code wouldn't be pleasing experience.
The programmer software and firmware would need at least major rewrite in order to become half-usable 16-bit PIC programmer. Ideally, hardware rework would be advisable, because this started as one-off quick project and grown much out of original scope.
So, for now the answer is no, but I'm open to pull requests.


add highlights for 2023-07-27

This PR add the Highlights for july 27. Please add you contributions.

@weatherhog we already sent this one, right? can I merge it?


Create default, fallback icon for ERC1155 tokenIds ("tokens") that don't have token icons

The small icons and bigger version in these 2 screens respectively:

Small
Big

https://zpl.io/an8q4gv
https://zpl.io/2E3NoMv

Thanks @colourfreak !

@colourfreak BTW, do you think we can use the same or similarly styled icon in the dapp browser history/bookmarks? It seems more intention-revealing than the color app icon version that we use now. If so, We can create a new issue.

@colourfreak bump ^

@colourfreak BTW, do you think we can use the same or similarly styled icon in the dapp browser history/bookmarks? It seems more intention-revealing than the color app icon version that we use now. If so, we can create a new issue.

What is the size of it? Can you send me a screenshot of how it looks right now?

https://zpl.io/aN3xkAD
https://zpl.io/V0Ool99


ServiceInfos expect container name with specific format.

If I add container_name as part of my docker-compose.yml file then I am not able to call dockerCompose.servicesInfos.<service_name>.'<container_name>'. Looking at the code, the reason is due to this. In case the container_name is set then the pattern does not match. Is there a need for the pattern check ? Maybe I am missing something, is there anything wrong if we just use the value of inspection.Name excluding the / ?

By default, container name is constructed from projectName and Container name, so it adds some complexity on querying service infos, You kind of have to take in to account what the full name will look like. In tests it would be something ugly like gradle5729327650986943343projectdir, there fore it was decided to omit using the full container name.
Also with container_name variable, it's a bit tricky because it wouldn't be compatible with scale option for example, so that would most have to be handled as well.
Not sure what @augi thinks about this, but in automated testing scenarios, I don't see much benefit from using specific container_name variable.

Exactly - having hard-coded container name doesn't make sense in automated testing scenarios because it could easily collide on integration server etc.
Anyway, it would be nice to support also your use-case. I will look at it how complicated it would be.
E.g. we could check in the YAML file if container_name is specified.

Thanks @augi

Released as 0.4.3.


Support for i18n + fr and es translations

using https://github.com/guillaumepotier/gettext.js library (I have included the gettext.iife.js file.

TRANSLATIONS variable to hold the translation for each question.
The key is default, which must match EXACTLY the string being used.
Each language uses its own key, e.g. fr, en.
You can pick whatever key you want. But the should match the lang parameter.

You can switch languages from via the query string, using lang=.

For the main body of text (medical warning, etc.), I have added some CSS classes.
<p class="info lang-fr">. I have some jQuery hiding all infofirst, then showing the elements that matchlang-VALUEwhereVALUE` is extracted from the URL.

WARNING:

if you change the phrasing of one question, you need to update TRANSLATION.
A better way would to define a canonical name for each question (and never change it) and then provide the English/default translation.

Very nice! I added a 'Change Language' option to the UI to accommodate. Once @tconley adds this I'll merge and create another PR.

thanks @sage-t  - I've made this merge, please let me know when you have this change language UI and i'll merge that. great work @sahuguet  & @sage-t


[ISSUE #3929] make MemorySafeLRUMap thread safe

Fixes #3929

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3948 (ed6cfb8) into master (9fde22b) will decrease coverage by 1.24%.
The diff coverage is 25.20%.

@@             Coverage Diff              @@
##             master    #3948      +/-   ##
============================================
- Coverage     70.14%   68.90%   -1.25%
+ Complexity     6676     6661      -15
============================================
  Files           923      925       +2
  Lines         25072    25554     +482
  Branches       2264     2330      +66
============================================
+ Hits          17587    17608      +21
- Misses         6116     6567     +451
- Partials       1369     1379      +10

Impacted Files
Coverage Δ

.../java/org/apache/shenyu/common/cache/Weighers.java
7.84% <7.84%> (ø)

...e/shenyu/common/cache/ConcurrentLinkedHashMap.java
26.71% <26.71%> (ø)

...g/apache/shenyu/common/cache/MemorySafeLRUMap.java
70.00% <57.14%> (+51.25%)
:arrow_up:

...n/alibaba/dubbo/cache/AlibabaDubboConfigCache.java
47.12% <0.00%> (-31.04%)
:arrow_down:

.../client/server/consul/ShenyuConsulConfigWatch.java
60.41% <0.00%> (-25.00%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
68.96% <0.00%> (-13.80%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
51.06% <0.00%> (-11.71%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
81.63% <0.00%> (-8.17%)
:arrow_down:

.../apache/shenyu/admin/model/dto/BatchCommonDTO.java
50.00% <0.00%> (-7.15%)
:arrow_down:

... and 34 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

For risk reasons, I will rewrite and submit another PR using caffeine.


working with invenio command in a container env

When deploying a container environment accessing invenio management CLI is not trivial. For example in order to create users, add roles/permissions to them, etc.
One possible solution is to create some sort of "forwarding" between the invenio-cli and the container.

Could we just document that: docker exec -it <container_name> /bin/bash will allow developers to get inside the container and run their commands from there?

@fenekku I agree on that. Plus if they really need it is for development, in which case they do not need to docker exec since its locally installed. This issue came up in previous releases (e.g. to create an admin user, if we provide that - docs - it should be fine)

Good. I will provide that documentation in the documentation I will write today and close this then.


Only use numbers in level titles [1-2h]

Change from "tbt: 1-1", "tbt: 1-2", etc to "1", "2", etc.


HTTP 500 @ try-puppeteer.appspot.com

What steps will reproduce the problem?

Go to https://try-puppeteer.appspot.com
See the beautiful HTTP 500
Cry

For security reasons, we had to take the site down for a bit.
On Tue, May 15, 2018, 6:59 AM Mickael Allonneau<EMAIL_ADDRESS>wrote:

What steps will reproduce the problem?

Go to https://try-puppeteer.appspot.com
See the beautiful HTTP 500
Cry

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChrome/puppeteer/issues/2550, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAOigAPL183KL52Riw270yyuyw2Guxmhks5tyrUbgaJpZM4T_VHq
.

Looks like the service is back online.


Support runtime SIMD adaptor

Description
We do not want to maintain different binary for different arches, so we should support runtime SIMD adaptor to simplify it.

Let me take a look into it


[Android] Force build to use a specific NDK version

Due to issues when consuming the pipeline generated aar set the same version we were previously using
Microsoft Reviewers: Open in CodeFlow

/azp run android-ci.yml


[Node] fix wsp

Reasons for making this change:
Fixed wsp to match to other lines.
Links to documentation supporting these rule changes:
None

@kesoji thanks!


#12730: bert slice support unit tests

Ticket
#12730
Problem description
Add unit tests showing that the requisite bert slice dimensions are working
What's changed
Describe the approach used to solve the problem.
Summarize the changes made and its impact.
Checklist

[ ] Post commit CI passes
[ ] Blackhole Post commit (if applicable)
[ ] Model regression CI testing passes (if applicable)
[ ] Device performance regression CI testing passes (if applicable)
[ ] New/Existing tests provide coverage for changes

https://github.com/tenstorrent/tt-metal/actions/runs/10891825664


Make prefilled_customer properties optional

Hi! We're using your library and would like to use the prefilled_customer property when creating a redirectFlows (using client.redirectFlows.create).
We are using TypeScript and we can't use prefilled_customer without putting all the property with empty string for the one we don't want to fill.
For example if we omit region:
Property 'region' is missing in type '{
  address_line2: string;
  address_line3: string;
  ... 10 more ... ;
  country_code: string;
}'
but required in type 'RedirectFlowPrefilledCustomer'.

Hey @RomainCscnLF, thanks for the report!
We'll be rolling out a fix for this in the next few days.


Fly sht 42 support

Hi! Thanks for your work.
Can you make one also for fly sht42?
Thank you!

Sorry I have no plans to develop mounts for that particular board.


Implement Raft

This PR adds the Raft protocol.

[x] Tests pass
[x] Added to test infrastructure

This needs to be rebased on the master, as well as being tested using jepsen.

Hi there!
Is this implementation of Raft fully done and ready to be used?

Hi there! Is this implementation of Raft fully done and ready to be used? Also, are there any instructions to follow for compiling and running a simple test of the simulator? @Cjen1

Hi sorry about the late reply. Afaik this implementation is done and in theory could be merged, but I would need to dig it out and check that it works correctly / hasn't bitrotted.
What is your intent behind this? Because if this is for a production build currently the log truncation and garbage collection is unimplemented as well as reconfiguration, which I think you will find in most non-production raft implementations, but which are vital for any real implementation (unless you have something like Delos over the top).
Here is another ocaml raft library, which may suit your requirements better, but I don't believe they implemented writing to disk (which in practise is a pain to do), which may make it non-functional for your purposes.

Hi @Cjen1 Thanks for your answer. I checked the other ocaml raft repo you mentioned and I think that one will be enough for the simulation experiments I was planning to run (no writing to disk needed). Thanks for pointing me in that direction.

Subsumed by #23


Syntax highlighting for WHERE clause does not work for more than one condition

Description
If I have multiple conditions in a WHERE clause, only the first condition get highlighted.

DBeaver Version
Community Edition Version <IP_ADDRESS>402181738
Operating System
Windows 10 Enterprise
Database and driver
Database:
PostgreSQL 9.4.26
PostgreSQL 9.4.26 (Greenplum Database 6.22.2)
Driver:
PostgreSQL JDBC Driver 42.6.0
Steps to reproduce
Write a SQL query in the query editor with multiple condition in WHERE clause.
Additional context
No response

Just got a similar case which might help fixing the bug:
As this syntax helps to comment / uncomment specific condition in the where clause I usually us a first condition which is always true and add a seperate line for each additional condition.
If I use WHERE TRUE as first condition the syntax highlighting partially stops working after this condition (v.name and v.brand ),

while syntax highlighting works fine if I use WHERE 1=1 instead

I am using a MySQL database.
@shenzj1994: as you can see in the screenshot multiple conditons work fine for me (using MySQL at least). Maybe it's rater the num::int<>0?#
DBeaver Version
Community Edition Version <IP_ADDRESS>402181738
Operating System
Windows 10 Enterprise
Database:
MySQL

@TK-517 Yes you are right! If I replace meter_num::int with cast(meter_num as int), the syntax highlighting began to work. Seems like it had difficulty processing the :: operator.

Please try new version 24.0.0. I believe it's fixed there.

Yes it's fixed in the new version. Thanks.

Unfortunately the syntax used in my post still brakes the highlighting

@TK-517 here is a separate issue for your case #23079


Fixed host libraries and includes leaking into target build.

The ros-comm rosbag package recipe depends upon python-imaging package which is also included as part of meta-ros.  However, the compilation of the python-imaging package fails because host headers and libraries of the host architecture leak into the cross-compilation process.  I found a number of conversations on the web about this issue, but no specific fixes.  These changes eliminate the parts of setup.py in the python-imaging package responsible for pulling in the includes and libraries of the wrong architecture.

The point you address in this pull request is discussed in https://github.com/bmwcarit/meta-ros/issues/395. I am bit reluctant to merge this pull request in this personal experimental kinetic branch of mine. In the more official master branch with the indigo distribution, we decided to drop the python-imaging recipe instead. As I plan to update and rebase this whole kinetic branch to the then current master branch at some point in time, I would prefer if we simply cherry-pick the solution from the master branch. @mpthompson What is your opinion in this suggested alternative?

@bulwahn, the alternative seems reasonable.  As I'm adding more dependencies in my own clone of your personal experimental branch, I'm encountering additional issues that are likely fixed in other ways the master branch.  I'll try to be better about finding and then back-porting the fixes from master now that I'm getting a better handle on how things work in both ros-meta, ROS and OpenEmbedded.


[bug]: Installation fails on Windows 10 regarding Python versions

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Windows
GPU
cuda
VRAM
12
What happened?
Collecting transformers==4.25.*
Using cached transformers-4.25.1-py3-none-any.whl (5.8 MB)
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11
ERROR: Could not find a version that satisfies the requirement torch==1.12.1 (from versions: none)
ERROR: No matching distribution found for torch==1.12.1
[notice] A new release of pip available: 22.3 -> 22.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Requirements installation failed. See above for errors and check https://invoke-ai.github.io/InvokeAI/installation/INSTALL_AUTOMATED/#troubleshooting for potential solutions.
The installer will exit now.
Screenshots
No response
Additional context
automatic1111 is installed on this system, and I don't want to break it by manually trying to install packages. The provided error message (see above) is less than instructive w/regards to correcting the problem.
I did try: python.exe -m pip install --upgrade pip which results in:
Requirement already satisfied: pip in c:\users\helge\appdata\local\programs\python\python311\lib\site-packages (22.3.1)
Contact Details
<EMAIL_ADDRESS>

The log is pretty clear in stating that the python you have is below 3.7, while only Python 3.9+ is supported by InvokeAI.
Lets find out if you really have the Python so old. Open the terminal the same way you used for installation and run python -V

It looks like you may have Python 3.11. You need Python 3.10 on Windows to install torch.
You can have multiple versions of Python installed, and you can also install modules in a separate venv to isolate it from Automatic1111 (which should also have its own venv).

Or maybe just use the binary installer

I'm running into the same error, should I uninstall Python 3.11 and install 3.10? or how do I get it to detect 3.10? or use the binary installer?

The log is pretty clear in stating that the python you have is below 3.7, while only Python 3.9+ is supported by InvokeAI.
Lets find out if you really have the Python so old. Open the terminal the same way you used for installation and run python -V

Important, it´s not working with Python 3.11, as I understand it because it doesn´t have pythorch.

uninstalling python11 fixed the issue for me


KAFKA-13916; Fenced replicas should not be allowed to join the ISR in KRaft (KIP-841, Part 1)

This PR implements a first part of KIP-841. Specifically, it implements the following:

Adds a new metadata version.
Adds the InControlledShutdown field to the BrokerRegistrationRecord and BrokerRegistrationChangeRecord and bump their versions. The newest versions are only used if the new metadata version is enabled.
Writes a BrokerRegistrationChangeRecord with InControlledShutdown set when a broker requests a controlled shutdown.
Ensures that fenced and in controlled shutdown replicas are not picked as leaders nor included in the ISR.
Adds or extends unit tests.

The second half (the AlterPartition part) is implemented in https://github.com/apache/kafka/pull/12181.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@jsancio Thanks for your review. I have addressed or replied to your comments.


About the rule of the competition

Hi @Simon4Yan , thanks for providing the useful information. I have some questions about the rule of the competition.

Can I use target_validation or target_test (which will be provided latter) for training without using their labels?
Can I use target_validation or target_test for re-ranking during evaluation?
Can I use camera index of target_train for training?
Can I use camera index of target_validation or target_test for re-ranking during evaluation?
Thanks!

Hi @vana77,
Thanks for your attention!

No. Don't use target validation/test_set for training.
Yes. Re-ranking is ok.
Yes. Camera indices are easy to get.
Yes. Re-ranking with camera indices is allowed.

Cheers!


Reworked planning interface and commander

Description
See ros-planning/moveit#2910
Happy testing!
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] Extend the tutorials / documentation reference
[ ] Document API changes relevant to the user in the MIGRATION.md notes
[ ] Create tests, which fail without this PR reference
[ ] Include a screenshot if changing a GUI
[ ] While waiting for someone to review your request, please help review another open pull request to support the maintainers

Thanks a lot for addressing my comments.


use dap in openfold

hi, I see how to use dap is described in the readme, as follows,
from fastfold.distributed import init_dap

torch.distributed.init_process_group(backend='nccl', init_method='env://')
init_dap(args.dap_size)

I want to know is it possible to use dap instead of deepspeed in openfold

OpenFold uses DeepSpeed mainly for its activation_checkpointing, bfloat16 training and ZeRO optimizer. DAP in FastFold is for model parallelism, which is not the same as the function provided by DeepSpeed. In principle, it is possible to use both FastFold's DAP and DeepSpeed in OpenFold.


Network simulations

As well as the options to control network speed and latency - an option to control jitter and packet loss ratio would be very useful to use the tool to simulate mobile network environments for actual mobile devices connecting through your wireless card or simulating it with user-agents being changed in the browser.

If someone decides to take a look at this, check out SimulatedSocket. Most of the framework is already set up, we just need a decent algorithm to control PL and jitter.


When submitting form fails, select dropdown does not maintain proper value

When submitting form fails, select dropdown does not maintain the proper value
I am using React, Formik, and react-select. I am having trouble with a dropdown select field for country.
Before I submit the form, I can see that the form has both a value and a label:
console.log(this.props.values.billing_information_attributes.address_attributes.country )

returns this {value: "United States", label: "United States"}
After I submit the form and the post request responds with a failure (this is a desired failure for test purposes), all other forms retain their values with the exception of this dropdown. Now the same console.log returns only "United States"
For the dropdown to work, it needs to be provided an object in the format mentioned before {value: "United States", label: "United States"} or the dropdown appears blank. Obviously, I could instrument a work around and set the field value again using setFieldValue, but I feel I am missing something in regards to the Formik lifecycle. One other important thing to mention is that before I send the post request I am modifying the data I send to the server and only sending the value of the country, not the entire value and label object, like this:
newParams["billing_information_attributes"]["address_attributes"]["country"] =
params["billing_information_attributes"]["address_attributes"]["country"].value

Here is my post request:
handleSubmit = (params, actions) => {
    Stripe.card.createToken(
      {
        number: params.card_number,
        cvc: params.security_id,
        exp_month: params.exp_month,
        exp_year: params.exp_year,
        address_zip: params.billing_information_attributes.address_attributes.postal_code
      },
      (status, response) => {
        params.stripe_card_token = response.id
        axios
          .request("/order/complete", {
            method: "patch",
            data: {
              order: modifiedParams(params, "checkoutForm"),
              authenticity_token: this.props.authenticity_token,
              agree_to_terms: params.agree_to_terms,
              save_new_card: params.save_new_card,
              saved_cards: params.saved_cards.value
            }
          })
          .then(({ data }) => {
            if (data.success) {
              actions.resetForm()
              actions.setStatus({ message: data.message })
              window.location.replace("/order/" + data.order_id)
            } else {
              actions.setErrors({ server: data.errors })
              actions.setStatus({ message: data.message})
              console.log(data)
            }
            actions.setSubmitting(false)
            document.querySelector(".flashMsg").scrollIntoView({ behavior: "smooth" })
          })
          .catch(error => {
            console.log(error)
            actions.setSubmitting(false)
            actions.setErrors({ server: ["Cannot submit form at the moment. Please try again."] })
            document.querySelector("body").scrollIntoView({ behavior: "smooth" })
          })
      }
    )
  }

Can anyone help figure out why the values of this field change after submit? Thanks!

I have noticed the same in my forms using react-select.
This also only occurs when I transform the data after submitting and the backend returns an error.
It doesn't matter if I transform the data in my onSubmit function or in a redux action. I still experience the same issue. If no transformation of data happens, there are no issues.
A console.log while submitting shows that my transformed values from my onSubmit gets passed down to the form again, and Formik sets those as the values instead of the original form values.
I feel like I am missing something since that happens.
Would also love to get some help on this. Been experiencing it for a while. Thanks!

@jarleriksen How did you resolve the issue? Did you convert the data on the server side or on the client side when the data gets returned to the form after submit?

@ekingan I haven't solved it yet. I've just been lucky that the request has never failed so far. But I would really like to solve it.

I just submitted an issue with Stripe here for it might be related.
stripe/stripe-react-js#109
I believe when you press the submit button the form is re-rendered by some state variable within formik. Thus wiping your stored data.
Any help would be appreciated.


Add support to use Color.Red/other and add test.

Fix issue: https://github.com/microsoft/Power-Fx/issues/1138

✅ No public API change.

✅ No public API change.

✅ No public API change.


[BUG]  Issue while creating windows erpcgen exe

Describe the bug
Trying create my own version of Windows erpcgen, I got error. Running the failure command with command line the error was:
erpcgen_parser.y:22.9-19: error: %define variable 'parse.error' is not used
Removing this line from erpcgen_parser.y resolved the problem and I succeeded to compile my own erpcgen.
I am using visual studio 2017 pro . in the beginning I got some issue from visual studio that my windows SDK is not compatible with the one of the visual studio project, so I retargeted the project to 10.0.19041.0 SDK
To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

OS:

eRPC Version:
v1.8.1
Steps you didn't forgot to do

[x] I checked if there is no related issue opened/closed.

[X] I checked that there doesn't exist opened PR which is solving this issue.

Additional context

Hi @amgross , this issue can be closed or still relevant and you closed just PR?

Hi, can be closed, unless someone more will face this issue


Update lowrisc_ibex to lowRISC/ibex@5c60b094

Update code from upstream repository
https://github.com/lowRISC/ibex.git to revision
5c60b094fe550cde031b7d544a5a1791e7403a22

[rtl] Break long lines in icache (Rupert Swarbrick)
[rtl] Wire scan_rst_ni through ibex_top_tracing (Tom Roberts)
[ibex] Add reset bypass controls (Timothy Chen)
[ibex] Fix buffer instantiations (Timothy Chen)
add cast to enum (Dawid Zimonczyk)

Signed-off-by: Rupert Swarbrick<EMAIL_ADDRESS>

thanks for vendoring this in!


Nvidea overlay

Expected behavior
Working Nvidea overlay
Actuall behavior
Not working in windowed mode at all.
Lagging and freezing in fullscreen (windowed mode)
Technical information
PC specs
OS: Win 10 x64
GPU: GTX 960
CPU: i7
Vulkan
Vulkan/SDK version: <IP_ADDRESS>

Behavior has changed in windowed fullscreen mode:
working but lagging while ALT key is pressed + pixelated (maybe no MSAA?!).


Semicolon

Hello dears,
First of all, thank you for your work, i'm using this js library with some little changes and i'm very satisfied of it !
I've implemented the semicolon delimiter by checking the input value instead of the key code and it works really great (as value is already updated when keyup is triggered). Are you interested in integrating it to your master ?  I'm also working on multiple_email instance recovery (dynamicaly change the default email list) and an option to disallow default emails deletion.
Have a nice day !

Forked :)

Hello,
Sorry for my late answer, I am very busy these days for my work.. I am glad you like this plugin. Your ideas seem interesting, you can submit pull requests, I would surely accept them.

Sorry for my late reply :) I'm quite busy too, but as your project was very useful for me I reoppen it ! I'll create a clean PR soon


Package request: yambar-hyprland-wses

Project description
Enable Yambar to show Hyprland workspaces.
Metadata

homepage URL: https://github.com/jonhoo/yambar-hyprland-wses
source URL: https://github.com/jonhoo/yambar-hyprland-wses
license: mit || apache
platforms: linux

I'm using Yambar on the unstable version with the example configuration + https://codeberg.org/dnkl/yambar/issues/296. It's displaying workspaces correctly.

@LudovicoPiero Thank you, didn't think to check unstable :~)

Ah I think I forgot what this issue was about, I'm looking specifically for packaging of a rust that listens for workspace info from hyprland's IPC.

Alright, I'm currently working on it.

@LudovicoPiero TYVM!


I failed to create a counter

ReactDOM.unstable_createRoot(
  document.getElementById('root')
).render(<Suspense fallback={<>wait</>}><App /></Suspense>);

function App() {
  const [useCounter] = connectObservable(interval(1000));
  const count = useCounter();
  return
count {count}
;
}

It just says "wait". I can't get anything to work, except an initial value or initial suspend... Am I doing something wrong?

Hi @joshribakoff,
Our fault for not having documented things properly yet.

Am I doing something wrong?

Unfortunately yes :slightly_smiling_face: the hook is meant to be created outside of the component :wind_chime:
Like this:
import {bind} form "@react-rxjs/core"

ReactDOM.unstable_createRoot(
  document.getElementById('root')
).render(<Suspense fallback={<>wait</>}><App /></Suspense>);

const [useCounter] = bind(interval(1000));

function App() {
  const count = useCounter();
  return
count {count}
;
}

We are currently working on our docs site, and if everything goes well we will publish it this coming Tuesday. On the "getting started section" we will recommend installing this eslint plugin which detects this mistake. Although, if you want to see a WIP version of the getting started section, please have a look at this;

Thanks, that fixed it!


make the species into a required parameter

https://github.com/YosefLab/Compass/blob/1239562a623881982cf863636920e381182af877/compass/main.py#L49

Already fixed, marking as resolved.


About Chinese mobile phone number template

Your plug-in is very good, but it is a little unfriendly to Chinese users. The format of Chinese mobile phone number is +86 xxxxxxx xxxx, and the format of the plug-in is +86 xx-xxxxxxxxx. Can you support the template format of Chinese mobile phone number
Or can you show me how to do it to achieve what I want，Thank you~

I could solve my problem this way, but I think this is obviously not the best solution, and it would be better to provide a local phone template change

@Baoing
Chinese format mask changed to ... .... .... in v1.8.8
🎉 Thank you for your effort!


OADP-642: spec field descriptions in web console matches yaml case.

OADP-642

Codecov Report
Base: 31.92% // Head: 31.92% // No change to project coverage :thumbsup:

Coverage data is based on head (66f5d53) compared to base (45fcd3d).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #836   +/-   ##
=======================================
  Coverage   31.92%   31.92%
=======================================
  Files          16       16
  Lines        3057     3057
=======================================
  Hits          976      976
  Misses       1989     1989
  Partials       92       92

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

/retest

/cherrypick oadp-1.1


feat: footer update

Hello Everyone 😀. Heyy @magicmatatjahu @derberg ,  please take a look at the footer.

Note: The press link is not a functional one, as the page to render press document is not ready. I will submit another PR by tomorrow with the new page, as mentioned in the comment by @derberg .
Thank you😀

Hi! Here are my thoughts:
1. Can we make sure that we keep the footer contents within the main site container?
There should be a tailwindcss class for this, but I believe we just need to use margin: 0 auto to get the footer container to stay in the middle at all screen sizes

2. Change tagline styling

There is a component currently on the website that you can use in place of what you have there currently. This component is called Heading and you can use the following prop to make sure that it gets the styling that I suggested: typeStyle="heading-sm-semibold"
Let's also make sure the spacing between the logo and the tagline is 40px/2.5rem
3. Update column heading styles

We can also use Heading for these as well with typeStyle="heading-sm-semibold"
4. Increase link spacing

The spacing of the Social column is perfect! Let's just remove that left indentation and increase the spacing between each link item, right now its a bit tight. Each link should have 12px/0.75rem of space in between each of them.
4. Use gray version of YouTube logo as well

Let's make sure the YouTube logo is gray like the others at the default state and turn red on hover of the whole link item (both label and icon). Regarding the current interaction of the hover states, let's only change the color of the icon on hover and leave the text color as it is when it is hovered. Right now, the icons seem to have a hover state binded to the icon itself, we need to trigger that hover state on hover of the whole item if possible.
5. Add in border line to divide main footer content from disclosures

Re-attaching my design mock-up here, I think we should still add that divider border. It is just a 1px border with the color #4C3F67 (Again - I don't think this color is in the current configuration and needs to get added to tailwind.config.js file. The links and disclosure text should also be this color.

That's all I have for now, but will review again once the above changes are made. 😄  Let me know if you have any questions/concerns about these requests!

Heyy @mcturco , @aayushmau5  and @magicmatatjahu 😀. Sooo I have messed up this thing with the other PR. I discussed this issue with @derberg , he advised me to start right from reforking the repo. I have the copy of the code, so I will do that and again submit a PR once again. I am really sorry for this.
@mcturco Thank you very much for pointing out those things and I have taken note of it. I will make those changes and am wondering why the contents of the footer were left aligned as it worked correctly in my local machine and when I tested.
I will make all those changes and submit a PR once again ( as I dont know if I can continue with this PR if I re-fork the repo, I will use this PR if I could )
Thank you very much everyone 😀. Please give me some to solve these issues

No problem, @Harish-b-13 😄  If you do create a new PR, just mention it in the issue so it is easier to keep track. Thanks!


Migrate to JSR

Hello. It would be nice if this package could be migrated to JSR, Deno's new preferred registry.

Thanks, I'll start looking into this.

Any progress?

Hono has also migrated its package from deno.land to JSR. Hono even has a zod validator on JSR, so it would be nice to have the base package on there too.

I’m happy to provide a pr? @colinhacks

I’m happy to provide a pr? @colinhacks

There is already a PR linked above, it just hasn't seen any activity lately


include changelog in html docs

Closes https://github.com/dbader/schedule/issues/425

Coverage remained the same at 99.663% when pulling b88b440899d64aaf194a4f63d2e0d3aac798b9c6 on ebllg:include-changelog-in-html-docs into 30ac823eba42a66994106638ee0ffeb0c32aa5b2 on dbader:master.

Thanks for creating this pr!! I've added you to the AUTHORS list and changed the layout of the table of contents to a bit more compact. Showing every version on the home page is a bit too much I think ;) Left is before, right is after:

Thank you @SijmenHuizenga!


Graph Traverser implementation based on Cypher (Graph-DB Migration)

As a first step to migrate to the new graph DB architecture, we should write a new implementation of GraphTraverser, so that we can define paths from genes to related genes by means of Cypher queries. This will ensure that the graph database is accessed through its web API.
This should be based the Neo4j Java client. See the link for examples on how to use it. We already have utilities to ease the client's use. Spring could be useful to both setup the Neo4j configuration (example, see the neoDriver bean).
This issue is part of this epic about migrating to the graph database architecture.

Closed with the Rothamsted@e8b47e9c11c2 merge.

Closed with the Rothamsted@e8b47e9c11c2 merge.


Properly productionize tracing config map

raise test coverage
add validation for floats to be in the proper region
normalize code around

/assign @mdemirhan mattmoor

/lgtm
/approve

/close

/approve


memory manager: add e2e tests

Provides basic tests e2e to verify that pod succeeds
to start with MemoryManager enabled.
Verifies both MemoryManager policies and when the node has
multiple NUMA nodes it will verify the memory pinning.
Signed-off-by: Artyom Lukianov<EMAIL_ADDRESS>
What type of PR is this?

Uncomment only one  /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:
/kind api-change
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

LGTM.
One thing I was thinking about: is it suitable to also test NUMA grouping here? I mean test pod requiring a little bit more memory than one NUMA node so it will group NUMA nodes.
Also, it would be good to add Memory Manager in Topology Manager E2E tests (I saw that you mentioned that in the code). But this may be suitable for the beta, I suppose. Because it will be active by default then.

Also, it would be good to add Memory Manager in Topology Manager E2E tests (I saw that you mentioned that in the code). But this may be suitable for the beta, I suppose. Because it will be active by default then.

Yep it was my thoughts, to extend e2e coverage for the beta, thanks for review!


UNIX Socket Support

It would be nice if this library could also connect to memcached via UNIX sockets, that way it I do not need it listening on an IP address.
Thanks!
Ryan

Hey thanks for openning the issue, would you like to work on this feature?

this issue would be close


Accept rule match locations

Why?
This will be more helpful for debugging rules as well as providing more information for readers of our reports.
What/How?
Add a JSON column to scans to hold all the match information. This will also make the package_rules and rules table irrelevant.
Also, the POST /package endpoint should be modified to use this new column, and the Pydantic model should be updated too.

After further review, the schema for the match information will look like
{
  "rulename": {
    "label": {
      "data": list[int],
      "range": {
        "end": int,
        "start": int
      }
    }
  }
}

which looks something like
{
  "rule_name": {
    "$label": [
      {
        "data": [
          76,
          111,
          114,
          101,
          109,
          32,
          105,
          112,
          115,
          117,
          109
        ],
        "range": {
          "end": 11,
          "start": 0
        }
      }
    ]
  }
}

This will also be added into the database as a JSONB column. package_rules and rules table will be dropped.


Annotation Files For Custom Dataset :

Hi,
Thanks again for this cool repository!
I see that the data/thumos_annotations folder in the repo contains separate CSV files for the val and test set of THUMOS'14. There is also a thumos_gt.json file inside the evaluation folder.
However, the code inside dataset.py requires a CSV file and a JSON file.

Do I also need to generate a JSON file?
If I need to generate a JSON file for a custom dataset, what are the contents of that? Do I also need to create separate JSON files for train and validation sets? Can you share an example of the same?

I have generated the HDF5 file containing features for my custom data set. I just need to generate the correct annotation files to start training. So, any help from your side would be really appreciated!
Thank you for your time!

No JSON file is needed for training !

Hi would u tell me how to generate the HDF5 file containing features for custom data set？thanks

Hi,
Thanks again for this cool repository!
I see that the data/thumos_annotations folder in the repo contains separate CSV files for the val and test set of THUMOS'14. There is also a thumos_gt.json file inside the evaluation folder.
However, the code inside dataset.py requires a CSV file and a JSON file.

Do I also need to generate a JSON file?
If I need to generate a JSON file for a custom dataset, what are the contents of that? Do I also need to create separate JSON files for train and validation sets? Can you share an example of the same?

I have generated the HDF5 file containing features for my custom data set. I just need to generate the correct annotation files to start training. So, any help from your side would be really appreciated!
Thank you for your time!

Hi would u tell me how to generate the HDF5 file containing features for custom data set？thanks


Fix issue to concat none

Signed-off-by: shiyu22<EMAIL_ADDRESS>fixed #2289

/approve
/lgtm


apt-get -yqq install wireguard qrencode Error: 'apt-get install' failed.

Checklist

[x] I read the README
[x] I followed instructions to configure VPN clients
[x] I searched existing Issues
[x] This bug is about the VPN setup script, and not WireGuard VPN itself

Describe the issue
1 Download wget -O wireguard.sh https://get.vpnsetup.net/wg
2 sudo bash wireguard.sh --auto
3 error  root@nc:/home/silence# sudo bash wireguard.sh --auto
WireGuard Script
https://github.com/hwdsl2/wireguard-install
Starting WireGuard setup using default options.
Server IP: redacted
Port: UDP/51820
Client name: client
Client DNS: Google Public DNS
Installing WireGuard, please wait...

apt-get -yqq update
apt-get -yqq install wireguard qrencode
Error: 'apt-get install' failed.
root@nc:/home/silence#

To Reproduce
Steps to reproduce the behavior:
1 Download wget -O wireguard.sh https://get.vpnsetup.net/wg
2 sudo bash wireguard.sh --auto
3 error  root@nc:/home/silence# sudo bash wireguard.sh --auto
WireGuard Script
https://github.com/hwdsl2/wireguard-install
Starting WireGuard setup using default options.
Server IP: redacted
Port: UDP/51820
Client name: client
Client DNS: Google Public DNS
Installing WireGuard, please wait...

apt-get -yqq update
apt-get -yqq install wireguard qrencode
Error: 'apt-get install' failed.
root@nc:/home/silence#

Expected behavior
No clue never used it before, but i assume it just installs the rest.
Logs
no logs
Server (please complete the following information)

Ubuntu 24.10 (latest)

Client (please complete the following information)
not available
Additional context
expected it to install and continue setup

Sorry for the bother, i already tried it manually because i wanted to route traffic through adguard. It seems some other things were installed?
Had to run : root@nc:/# apt remove wireguard-go wireguard-tools wireguard and rerun script now goes fine.
Maybe add a message if those things are installed?

@mwbreur Hello! Thanks for the update. Yes, it looks like your system had packages like "wireguard-go" installed, which prevented the script from working the first time. Glad you were able to fix it.


Compiler for Ruby to a WASM module

Status: Review
Current state
Currently, Artichoke core provides an implementation-agnostic Ruby runtime.  Artichoke doesn't provide a VM for executing Ruby, and provides a WebAssembly front-end.  This means the modular interpreter enables running untrusted code.
Compiling Ruby to WASM target
LLVM, for example, introduces a more modular approach to compiling different languages to a common WASM Target.
For native languages like C and C++ which already compile to LLVM, and others implemented in LLVM themselves like Rust, the process is straightforward: just target WebAssembly in your compiler toolchain. For dynamic languages complete with an interpreter and virtual machine of their own, like Ruby, it’s a bit more challenging.
Options
One approach is to build a compiler for Ruby script to Web Assembly.  One approach involves three stages: tokenizer, parser, emitter.
The second is to leverage existing tools such as Emscripten, which can compile C/C++ or other LVVM to WebAssembly.
Outcome
The compiler would enable Ruby script to run in a WebAssembly runtime, both in-browser and as a stand-alone server.

Thanks for posting this @timfong888. We were chatting on Discord and one idea which is maybe wild is for the B-Artichoke VM backend to target a Wasm VM. When compiling parser output to bytecode, instead of using mruby or MRI bytecode, it would it emit Wasm on the fly.
I've tagged this O-wasm-unknown for lack of a better label.

some thoughts here: https://twitter.com/artichokeruby/status/1488906738552082433

Would we use WASI-SDK or Emscripten if this is happening?
Here's an https://github.com/WebAssembly/wasi-sdk/issues/222 clarifying their difference.
I don't know what you think about, but I personally think the first option is more portable.


Limit EventsPerJob to RequestNumEvents

Fixes #9156
Make sure a job is not splitted beyond the total number of events to be produced.

test this please

Tests went fine. Merging it to request a new testbed deployment.


[FEATURE REQUEST] One pager to enter data

Is your feature request related to a problem? Please describe.
I have lots of forms that are multi-steps. Now I enter data on each form and go to the next.
When I make a mistake somewhere I need to interrupt a form and start it again. This is annoying and I waste a lot of time.
Describe the solution you'd like
You can provide an option to open all forms on one page.  I can then fill them all, review and check them and submit them at once.

That's what I'm looking forward to.

Is this request about having a single page with all the inputs? Because if not, I will be adding a new issue about that


[Documentation] Typo in "Write your first flutter app" codelab

in the description text :
"Create boilerplate code for a stateful widget.
It can go anywhere in the file outside of MyApp, but the solution places it at the bottom of the file. In lib/main.dart, position your cursor after all of the code, enter Return a couple times to start on a fresh line. In your IDE, start typing stful. The editor asks if you want to create a Stateful widget. Press Return to accept. The boilerplate code for two classes appears, and the cursor is positioned for you to enter the name of your stateless widget."
Problem : the last line suggesting that using 'stful' command, the cursor is positioned to enter "STATELESS WIDGET"
Solution : It should be "STATEFUL WIDGET" in the text, if we are using 'stful' command.

Hi @kcs-govindtank, where is this text copied from?

https://github.com/flutter/flutter/issues/69504

This issue should be closed, as it was fixed here: https://github.com/flutter/flutter/issues/69504#issuecomment-801608551

Googlers: fix for reals this time in cl/463548410

Went to this codelab, see the typo still there:

Is this issue still open, I check the site it still shows stateless widget, If it's open can I work on it?

@codewithkushagra and @cofirazak the fix for this issue is waitiing on @craiglabenz to land an inflight CL. This is Google internal, not open source.

This should now be fixed. Sorry for the delay!

@domesticmouse thanks man, I see the correct word now.


feat: Adding tvOS support

Adding tvOS support to allow using AEPAssurance with tvOS
Description
Limiting all UI related classes to iOS
Using NativeSocket to connect
Passing session code as additional parameter to be appended to the session url when starting the session.
Related Issue

Motivation and Context
This change is requited to be able to see the events being sent to the Analytics platform which is currently available for iOS but not for tvOS.
How Has This Been Tested?
To start using the Assurance SDK it is usually needed to provide session url, so for tvOS it will also receive the code that was generated for the specific session to start working with it
MobileCore.registerExtension(Assurance.self)
      ```
  #if os(tvOS)
     Assurance.startSession(url: url, code: griffonSessionCode)
  #elseif os(iOS)
     Assurance.startSession(url: sessionUrl)
  #endif

## Screenshots (if appropriate):

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html).
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.

@alexzchut - would you be able to jump on a call w us to chat more on this? Can you send me a note<EMAIL_ADDRESS>if you're up for it?


bump typebox (and consider to not reexport)

<EMAIL_ADDRESS>i get some typescript errors that i suspect are due to version sync.
I understand that rexporting feels convenient, but isn't that what peer deps are for?

I'm thinking about adding a custom type to the modified local type box dependency (t) to add support for a more server-related type like ArrayBuffer/FormData in the future.
However, I haven't done it yet, as I'm waiting for FormData to land on stable, after that I will see if it's better to use import typebox directly or a modified version perform better in term of DX.
So likely haven't decided yet until I then.

Got some more approach, we can use peerDependency with peerDependencyMeta.optional.
This way we can have both pre-installed to handle type inference, and optional peerDepencency.