Question about the motion generation.

I wanna ask could i change the start pose in the motion generation test process? How could i change the start pose? Thank you very much.

You should modify the dataloader. Our code directly loads motion from PROX and segments them into fixed horizons, then uses the first frame as the condition. The key code is here: https://github.com/scenediffuser/Scene-Diffuser/blob/main/datasets/transforms.py#L64-L66
If you want to change the start pose, the simplest way may be to directly change this data[start] using your pose.

You should modify the dataloader. Our code directly loads motion from PROX and segments them into fixed horizons, then uses the first frame as the condition. The key code is here: https://github.com/scenediffuser/Scene-Diffuser/blob/main/datasets/transforms.py#L64-L66
If you want to change the start pose, the simplest way may be to directly change this data[start] using your pose.
Got it! Thank you.


Fails on authenticating dict based user

To reproduce this bug you can use this authenticate function:
def authenticate(username, password):
    return {'id': '1', 'username': 'test', 'password': 'test'}

Trace:
File ".../lib/python3.5/site-packages/flask_jwt/__init__.py", line 53, in _default_jwt_payload_handler
    identity = getattr(identity, 'id') or identity['id']
AttributeError: 'dict' object has no attribute 'id'

Coverage remained the same at 95.652% when pulling 030e870788f32db4cd7da0bb620b83cf39e547ed on menudoproblema:master into c27084114e258863b82753fc574a362cd6c62fcd on mattupstate:master.

Already fixed by #60 and so many others ;)

@stephane I think you mean #63

Yes you're right


k8s CNI E2E Test

https://github.com/mattfenwick/cyclonus

#187 E2E test will find this kind bug

v1.21 e2e test 30 Passed | 49 Failed  with commit 312faa6

44 Passed | 35 Failed - 2021.10.9

33 Passed | 46 Failed - commit #222

42 Passed | 37 Failed  commit 896e51

Fail case:
[Fail] [sig-network] Netpol [LinuxOnly] NetworkPolicy between server and client [It] should enforce ingress policy allowing any port traffic to a server on a specific protocol [Feature:NetworkPolicy] [Feature:UDP]
/root/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/network/netpol/network_policy.go:788


Capability List

This PR is to address #47, #51, and #52. Because these three will require changing how capabilities are assigned they will affect a lot of tests, and will need to be dependent on each other. I will follow this plan:

[x] Add an ability to the kernel to append a capability to the capability list of procedure.
[x] Replace all of the tests to use this feature.
[x] Change the tests to register each procedure initially with no capabilities.
[ ] Add a syscall (with corresponding capability) to give access to the ability to append capabilities (addressing #51).
[ ] Remove the parameter from the register syscall which allows initially registering capabilities (addressing #47).
[ ] Add an ability to the kernel to delete a capability from a capability list.
[ ] Add a syscall to access deletion of capabilities.

There is a test file in this PR that should have been included in the set entry cap PR.

There is a test file in this PR that should have been included in the set entry cap PR.

Thanks! I did entry tests as well at #103. I can take care of conflicts later.

Yep sounds good. I saw what you added and wondered why, then noticed I hadn't added my test file to the git commit properly. It also tests it via system calls etc. and will be updated by this PR anyway.
That's something to note, this PR changes pretty much all tests in accordance with issue #47 where we move capabilities to a different stage of registration.

Remaining tasks:

[ ] Add test for delete index out of range.
[ ] Add test for deleting already delete index.
[ ] Add tests for re-adding capabilities after deletion.

There's a big set of questions around minting in delegation. The current PR is complete in that it completes the list above, it simply allows a procedure with the PUSH_CAP capability to add any capability, even one it does not possess.
We need to restrict it so you can only delegate caps you already have, but I think this is a good point to merge and make that into a separate issue.

Awesome Work! I didn't realize you had to replace all registerProcedure calls with manual push cap calls, but that makes sense.

Yeah, it's a natural result of needing to separate the two. We could still abstract it away, but at the time there were too many different cases that they all needed changing anyway.


Add bump or threshold in middle of window when moving the slider in a horizontal split left and right

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
When a pane is split horizontically resulting in only two panes next to each other, the user would like to move the split of the two panes exactly in the middle of the window.
What steps reproduce the problem?

Open a file
Split horizontally
Move the pane seperator left and right

What is the expected output? What do you see instead?
User would like to move the pane split exactly to the middle of the window. This is very hard to do with mouse or touch pad to move to the exact middle, pixelwise. A small bump/threshold when moving the pane seperator in the middle of the window will allow the user to do this.

Offer this only when the full width of the screen has only one (top level) split (two panes). Additionally, this can also be implemented for a single (top level) vertical split. Here the middle of the available vertical space for the top-level main pane should be used, not the height of the window.
Paste Traceback/Error Below (if applicable)
n/a
Versions

Spyder version: 5.5.0  (pip)
Python version: 3.10.12 64-bit
Qt version: 5.15.2
PyQt5 version: 5.15.10
Operating System: Linux-6.6.6-76060606-generic-x86_64-with-glibc2.35

Dependencies
n/a

Hi @PanderMusubi thank you for the feedback! So, as a quick idea, maybe you would like some sort of action that you could trigger that would divide the available space between the splitted editors equally?
What do you think about something like this @spyder-ide/core-developers ?
Note: maybe QSplitter.setSizes (https://doc.qt.io/qt-5/qsplitter.html#setSizes) could be useful for something like this

Yea, that is correct. Implementation I leave go to the core developers.


fix: use hero icons for dark mode toggle

It was already using hero icons in SVG format... just switched to using the HeroIcons components and adjusted styles a bit.


maint: new taxa collapse api

addressing changes introduced in https://github.com/qiime2/q2-taxa/pull/136

This is going to fail because the dev env is missing the q2-taxa changes referenced above.


Deploy Update Multiple Regions Runtime Warning False Positive

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Expected Behavior
No warning should be raised when deploying to multiple regions with a valid runtime.
Current Behavior
Using the latest v1 ask-cli, the below warning is generated when deploying to multiple regions with a runtime that includes an "x" in its version, such as nodejs10.x.
CLI Snapshot
$ ask deploy
[Warn]: Different lambda runtime found. CLI currently does not support this functionality. Developers should either work on their own hook scripts to build lambda for different language. Or use only one languages for the skill.

Profile for the deployment: [default]
-------------------- Update Skill Project --------------------
Skill Id: <skillId>
Skill metadata deploy finished.
Lambda deployment finished.
Lambda function(s) updated:
  [Lambda ARN] <naFunctionArn>
  [Lambda ARN] <euFunctionArn>
  [Lambda ARN] <feFunctionArn>
[Info]: No in-skill product to be deployed.
[Warn]: Skill api domain "smartHome" can not be enabled. Skipping the enablement.

Steps to Reproduce (for bugs)

Deploy skill to multiple regions with nodejs10.x runtime.
Warning will appear on the subsequent deploy update commands.

Possible Solution
This is my proposed bug fix as the v1 code is not available on this repository to open PRs against. Maybe it could be added to a dedicated branch?
--- lib/utils/hook-manager.js.orig    1985-10-26 04:15:00.000000000 -0400
+++ lib/utils/hook-manager.js     2020-01-08 14:58:00.267646038 -0500
@@ -124,7 +124,7 @@
         if (defaultConfig) {
             for (const lambda of defaultConfig) {
                 if (!runtime && lambda.runtime) {
-                    runtime = lambda.runtime.replace(/[^a-z]/gi, '');
+                    runtime = lambda.runtime.replace(/^([a-z]+)[0-9.x]+$/i, '$1');
                 } else if (lambda.runtime && !lambda.runtime.startsWith(runtime)) {
                     console.warn('[Warn]: Different lambda runtime found. CLI currently does not support this functionality. '
                     + 'Developers should either work on their own hook scripts to build lambda for different language. '

Your Environment and Context

ask-cli version: 1.7.20

Hello @jsetton,
Thank you for bringing this to our attention.
Our skill with multiple regions and nodejs10.x runtime could be deployed and enabled well.
Thus, we may need more information to test this issue.
If possible, could you please upload the whole skill folder as a zip or a link to a Github repo (with the personal information removed) ?
Or at least a copy of your config file (in .ask folder)?
Thank you very much!

Our skill with multiple regions and nodejs10.x runtime could be deployed and enabled well.

I am not questioning the fact that the deployment is still going through successfully to the configured regions. The issue I raised is for a false positive warning message that is being generated due to a bug in your runtime check logic, which doesn't account for runtime version including an "x" character.

Thus, we may need more information to test this issue.

This bug can be triggered with any skill project setup to deploy in multiple regions, and has a runtime that includes an "x" in its version.

Create a new skill project from your catalog:

$ ask new
? Please select the runtime Node.js v10
? List of templates you can choose Trivia
? Please type in your skill name:  skill-sample-nodejs-trivia
Skill "skill-sample-nodejs-trivia" has been created based on the chosen template
[Warn]: Changed the property name from 'skillManifest' to 'manifest' in skill.json in order to fit the v1 Alexa Skill Management APIs accepted format.

Add a regional endpoints to skill manifest:

$ cd skill-sample-nodejs-trivia
$ cat skill.json
[...]
    "apis": {
      "custom": {
        "endpoint": {
          "sourceDir": "lambda/custom",
          "uri": "ask-custom-skill-sample-nodejs-trivia-default"
        },
        "regions": {
          "EU": {
            "endpoint": {
              "sourceDir": "lambda/custom",
              "uri": "ask-custom-skill-sample-nodejs-trivia-default"
            }
          }
        }
      }
[...]

Deploy first time:

$ ask deploy
Profile for the deployment: [default]
-------------------- Create Skill Project --------------------
Skill Id: <skillId>
Skill metadata deploy finished.
Model deployment finished.
[Warn]: No runtime and handler settings found for alexaUsage "custom/default" when creating Lambda function. CLI will use "nodejs10.x" and "index.handler" as the Runtime and Handler to create Lambda. You can update the runtime and handler for the target Lambda in the project config and deploy again if you want to set differently.
[Warn]: No runtime and handler settings found for alexaUsage "custom/EU" when creating Lambda function. CLI will use "nodejs10.x" and "index.handler" as the Runtime and Handler to create Lambda. You can update the runtime and handler for the target Lambda in the project config and deploy again if you want to set differently.
Lambda deployment finished.
Lambda function(s) created:
  [Lambda ARN] <defaultFunctionArn>
  [Lambda ARN] <euFunctionArn>
[Info]: No in-skill product to be deployed.
Your skill is now deployed and enabled in the development stage. Try simulate your Alexa skill skill using "ask dialog" command.

Deploy second time to trigger the bug:

$ ask deploy
[Warn]: Different lambda runtime found. CLI currently does not support this functionality. Developers should either work on their own hook scripts to build lambda for different language. Or use only one languages for the skill.

Profile for the deployment: [default]
-------------------- Update Skill Project --------------------
Skill Id: <skillId>
Skill metadata deploy finished.
Model deployment finished.
Lambda deployment finished.
Lambda function(s) updated:
  [Lambda ARN] <defaultFunctionArn>
  [Lambda ARN] <euFunctionArn>
[Info]: No in-skill product to be deployed.
Your skill is now deployed and enabled in the development stage. Try simulate your Alexa skill skill using "ask dialog" command.

Hi @jsetton,
Thank you very much for the explanation and proposed solution, we updated it in the version 1.7.21.


chore: use node 20

Changes proposed in this pull request

Use Node 20 by specifiying .nvm file
Update Readme

Context

Fixes #459

Hello, not sure if there's anything holding up the merging of this PR. But I've temporarily changed the environment on Netlify back to 18 because if this PR does not merge, all the PR merges will fail deploy due to the mismatch of Node version (the Netlify env was preemptively set to Node 20 and we got a backlog of failed deployments).
Please set it back to Node 20 when this PR is merged, settings here: https://app.netlify.com/sites/openpayments-preview/configuration/deploys under "Dependency management"

yes thank you, @huijing Merged & changed back to 20


Trying to get property 'description' of non-object (View: C:\xampp\htdocs\lav_sms\resources\views\partials\login\header.blade.php)

I have locally deployed the server. But I am getting this error. Kindly help me out

Thank you. Problem is resolved

Can you post maybe a screenshot

Thank you. Problem is resolved

Can you please share how can you solve this problem?

Do you have an error?

If its the above error, try seeding the database
Run php artisan db:seed


Crashes when asking for weather

In order to help troubleshooting, be sure to include the following information:
Your OS (including version) where you are running AlexaPi:
Rasbian stretch

Your hardware platform and model you are running on:
Raspberry Pi 3B

Python release (python2 --version):
Python 2.7.13

Description of problem:
There is a Traceback when asking for the weather or the temperature. Other queries seem to work fine. Location has been set via alexa.amazon.com. That site also shows that Amazon is receiving the query for the weather.

Expected:
Not a crash

Problem-relevant config.yaml entries:

Steps to reproduce:

"Alexa, what is the weather"
"Alexa, what is the temperature"

Traceback (if applicable):
Aug 29 08:36:31 alexa1 python[1017]: Traceback (most recent call last):
Aug 29 08:36:31 alexa1 python[1017]:   File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
Aug 29 08:36:31 alexa1 python[1017]:     self.run()
Aug 29 08:36:31 alexa1 python[1017]:   File "/usr/lib/python2.7/threading.py", line 754, in run
Aug 29 08:36:31 alexa1 python[1017]:     self.__target(*self.__args, **self.__kwargs)
Aug 29 08:36:31 alexa1 python[1017]:   File "/opt/AlexaPi/src/main.py", line 542, in trigger_process
Aug 29 08:36:31 alexa1 python[1017]:     alexa_speech_recognizer(audio_stream)
Aug 29 08:36:31 alexa1 python[1017]:   File "/opt/AlexaPi/src/main.py", line 351, in alexa_speech_recognizer
Aug 29 08:36:31 alexa1 python[1017]:     process_response(resp)
Aug 29 08:36:31 alexa1 python[1017]:   File "/opt/AlexaPi/src/main.py", line 442, in process_response
Aug 29 08:36:31 alexa1 python[1017]:     with open(filename, 'wb') as f:
Aug 29 08:36:31 alexa1 python[1017]: IOError: [Errno 2] No such file or directory: '/tmp/AlexaPi-runtime-wQt9e2/4855a0d9-51b0-4879-a

Additional info:

Hello:
I had the same problem. The reason is that the application (main.py) creates temporary filenames using the names sent by Amazon. In the case of weather answers this may include an slash "/" causing the creation of the temporary file to fail since the "/" is interpreted as a directory.
I was able to solve it adding a couple of lines to main.py in order to replace the "/" character with something safer. I can post it here if needed. Let me know.

@chileno01 Please could you post it here,am having the same problem. Thanks

I was about to, but the workaround didn't work longer as another issue arised with the "#" character.
The filename created to write the file is based in the 'Content-ID' key in the payload but the filename used to read the file later for playing the file is based in the 'audioContent' key. This last one replaces "#" with ".hashMark." causing the mismatch.
I'll try to solve it but I think that the real solution is to create the filename without using the contents of the answer.

Thanks chileno01, that was the issue. Here's a hacky fix. Replace line 441:
filename = tmp_path + payload.get('Content-ID').strip("<>") + ".mp3"
with:
mp3_file = payload.get('Content-ID').strip("<>") + ".mp3"
filename = tmp_path + mp3_file.replace('/','-')
and replace line 455:
player.play_speech(mrl_fix("file://" + tmp_path + directive['payload']['audioContent'].lstrip("cid:") + ".mp3"))
with:
mp3_file = directive['payload']['audioContent'].lstrip("cid:") + ".mp3"
mp3_file = mp3_file.replace('/', '-')
player.play_speech(mrl_fix("file://" + tmp_path + mp3_file))

Thanks @throwaway789 , that's a good solution. However, debugging this problem I found that there is still a chance that the program will crash if the file name starts with c, i or d. This is because the usage of lstrip.
Consider for example this code:
a="cid:cjsjjsjjjs992" print a a=a.lstrip("cid:") print a
It should print "cjsjjsjjjs992" but actually prints "jsjjsjjjs992"
After replacing lstrip("cid:") with replace("cid:","",1) it haven't found any more issues.
Regards

Good catch. There is another instance of lstrip("cid") in the play_playlist function that should be replaced similarly.

Hello @stevegolf9. You need to change main.py which is usually in /opt/AlexaPi/src

Thanks. I did figure it out eventually and got it all working. Thanks in
any case for getting back to me. I appreciate it very much.
steve
On 9/4/2017 10:19 AM, chileno01 [Masked] wrote:

Preview: Hello @stevegolf9. You need to change main.py which is usuall
This email is forwarded from a MASKED EMAIL you created using Blur
https://dnt.abine.com/#help/faq/faq-whataremaskedemails.
IF THIS IS SPAM, CLICK HERE TO BLOCK.
<EMAIL_ADDRESS>Want to shop safely and privately online? Get Blur Premium
https://dnt.abine.com/#premium.
Hello @stevegolf9 https://github.com/stevegolf9. You need to change
main.py which is usually in /opt/AlexaPi/src
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexa-pi/AlexaPi/issues/309#issuecomment-326974385,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AduAEPwqgOtBF1c4xyovkwLPieAte54fks5sfAbzgaJpZM4PGaON.

I tried the hack as mentioned here but it's not working, still getting the same error message.

I edited the file per the instructions and it worked like a charm ( the
second  time anyways...). I reinstalled Alexa, reedited the file and it
worked....
On 9/4/2017 4:47 PM, Tanonic [Masked] wrote:

Preview: I tried the hack as mentioned here but it's not working, stil
This email is forwarded from a MASKED EMAIL you created using Blur
https://dnt.abine.com/#help/faq/faq-whataremaskedemails.
IF THIS IS SPAM, CLICK HERE TO BLOCK.
<EMAIL_ADDRESS>Want to shop safely and privately online? Get Blur Premium
https://dnt.abine.com/#premium.
I tried the hack as mentioned here but it's not working, still getting
the same error message.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexa-pi/AlexaPi/issues/309#issuecomment-327026301,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AduAEOhOr_QKplZSBLQlU0GilxAkbstFks5sfGHWgaJpZM4PGaON.

Backup your /opt/AlexaPi/src/main.py and try the attached one after unzipping it
Let us know if it worked. Maybe you've hit another strange case.
main.zip

@chileno01 still having the problem even with your main.py

Could you please run main.py -d and post the log with the problem?

Its all working ok now. the copy of your main.py was helpful since I
wasnt sure what the second sections edits were. Your file cleared that
up for me. Thanks for all your help.
steve
On 9/5/2017 11:47 AM, chileno01 [Masked] wrote:

Preview: Could you please run main.py -d and post the log with the pro
This email is forwarded from a MASKED EMAIL you created using Blur
https://dnt.abine.com/#help/faq/faq-whataremaskedemails.
IF THIS IS SPAM, CLICK HERE TO BLOCK.
<EMAIL_ADDRESS>Want to shop safely and privately online? Get Blur Premium
https://dnt.abine.com/#premium.
Could you please run main.py -d and post the log with the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/alexa-pi/AlexaPi/issues/309#issuecomment-327218015,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AduAEC7DNAlo4iE726K9RpNpVWNg6V7hks5sfW0EgaJpZM4PGaON.

@chileno01 I installed AlexaPi on a desktop now and there your main.py works without a problem.

@Tanonic ...good news. It's still strange because mine is working in the Raspberry Pi without problems. Let me know if you are still having trouble in the Pi

@chileno01 I think I'm just gonna let it be on the pi and use alexa on the desktop it works on

@chileno01: This worked on my Raspberry Pi. By the way, there's a similar but different problem when using Sox and Amazon returns mp3's with expiration date parameters after the URL caused Sox to fail with an invalid filename error.

I did the fix that @throwaway789 mentioned, but then was getting filename too long errors. I replace the .replace() with hashlib.md5() and it's been working great.

@jaimeburnap can you clarify where and how you utilized hashlib.md5() to fix the filename too long errors?

filename = tmp_path + hashlib.md5(payload.get('Content-ID').strip("<>")).hexdigest() + ".mp3"
player.play_speech(mrl_fix("file://" + tmp_path + hashlib.md5(directive['payload']['audioContent'].lstrip("cid:")).hexdigest() + ".mp3"))

@jaimeburnap
after implementing your change I got this. Can you help?
wrz 19 21:35:34 raspberrypi python[607]: self.run()
wrz 19 21:35:34 raspberrypi python[607]: File "/usr/lib/python2.7/threading.py", line 763, in run
wrz 19 21:35:34 raspberrypi python[607]: self.__target(*self.__args, **self.__kwargs)
wrz 19 21:35:34 raspberrypi python[607]: File "/opt/AlexaPi/src/main.py", line 543, in trigger_process
wrz 19 21:35:34 raspberrypi python[607]: alexa_speech_recognizer(audio_stream)
wrz 19 21:35:34 raspberrypi python[607]: File "/opt/AlexaPi/src/main.py", line 352, in alexa_speech_recognizer
wrz 19 21:35:34 raspberrypi python[607]: process_response(resp)
wrz 19 21:35:34 raspberrypi python[607]: File "/opt/AlexaPi/src/main.py", line 442, in process_response
wrz 19 21:35:34 raspberrypi python[607]: filename = tmp_path + hashlib.md5(payload.get('Content-ID').strip("<>")).hexdigest() + ".mp3"
wrz 19 21:35:34 raspberrypi python[607]: NameError: global name 'hashlib' is not defined

@mariuszkobak Did you remember to import hashlib at the start of the module?

@ViennaMike how to do this? :)

You were right about importing hashlib.
Right now I have below issue. Do you know what can be wrong?
wrz 20 17:56:08 raspberrypi python[612]: [73253f20] filesystem access error: cannot open file /tmp/AlexaPi-runtime-9NnCif/5a6c25ab013f8e7b2e907b4f8b34f3ce.mp3 (No such file or directory)
wrz 20 17:56:08 raspberrypi python[612]: [73253f20] core access error: File reading failed
wrz 20 17:56:08 raspberrypi python[612]: [73253f20] core access error: VLC could not open the file "/tmp/AlexaPi-runtime-9NnCif/5a6c25ab013f8e7b2e907b4f8b34f3ce.mp3" (Nie ma takiego pliku ani katalogu).
wrz 20 17:56:08 raspberrypi python[612]: [6ee02eb8] core input error: open of `file:///tmp/AlexaPi-runtime-9NnCif/5a6c25ab013f8e7b2e907b4f8b34f3ce.mp3' failed
wrz 20 17:56:08 raspberrypi python[612]: [6ee02eb8] core input error: Your input can't be opened
wrz 20 17:56:08 raspberrypi python[612]: [6ee02eb8] core input error: VLC is unable to open the MRL 'file:///tmp/AlexaPi-runtime-9NnCif/5a6c25ab013f8e7b2e907b4f8b34f3ce.mp3'. Check the log for details.

If you guys can make a PR, I'll be happy to merge it.

@renekliment done
https://github.com/alexa-pi/AlexaPi/pull/314

Be careful also with the use of lstrip("cid:"). It'll cause you trouble if you have the bad luck that the filename begins with "c,i or d" (see attached capture)

Im having the same issue as @mariuszkobak. Every once in a while ill get this:
[6e60e7d8] filesystem access error: cannot open file /tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3 (No such file or directory)
[6e60e7d8] core access error: File reading failed
[6e60e7d8] core access error: VLC could not open the file "/tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3" (No such file or directory).
[63b00d58] core input error: open of `file:///tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3' failed
[63b00d58] core input error: Your input can't be opened
[63b00d58] core input error: VLC is unable to open the MRL 'file:///tmp/AlexaPi-runtime-1DrjWK/6403e59c-42f8-49ab-bece-949fd261fbae.c8feb6cb-3dcb-4bd2-a683-355238d10b61.0-0.mp3'. Check the log for details.
Any idea's?


Separate linter and test workflows

separate the workflows
changed the path of the script -> the script to run the linter is not only related to GH
update the contributing accordingly

bors try

bors merge


First time without XML

First time I am seeing an app without XML files.

Why you didn't prefer in having xml files ?
Just curious


Consider allowing updates with no update operators

This is still supported in the database. Has this been stopped since it is deprecated in the DB now?

I assume you've been using the updateOne and updateMany methods. You are correct, these no longer support updates without update operators. This is considered a replace and accessible through the replaceOne method.

Ah, ok koool. Problem solved then thanks didn't see that


[🌟] Please include exif data

Please include exif data because I need to know geolocation info like latitude & longitude.

When taking the photo, there is no location exif data. You will have to gather that data yourself. The native camera app does this separately as well.
To get the exif data from a gallery image, use react-native-exif
getExifLatLongFromImageUri = async (uri: string): Promise<{ latitude?: number, longitude?: number }> => {
        let latitude;
        let longitude;

        try {
            const rnExifResponse = await Exif.getLatLong(uri);
            consoleView.log('react-native-exif latLong response:', JSON.stringify(rnExifResponse));
            if (rnExifResponse.latitude !== 0 && rnExifResponse.longitude !== 0){
                latitude = rnExifResponse?.latitude;
                longitude = rnExifResponse?.longitude;
            }
        }
        catch (error) {
            consoleView.log('getExifLatLongFromImageUri error:', error);
        }
        return { latitude, longitude};
    }
    ```

I see, I'm focusing on getting EXIF data from gallery images rather than taking a new photo, but that's great to know.
Besides this library, I've also tried using react-native-image-crop-picker and expo-image-picker, they are able to include EXIF data, but they miss some nice features this library has, so I still hope to use this one.
Have you tried react-native-exif with react-native-image-picker? I'm on latest version of both, react-native-exif 4.0 and react-native-image-picker 4.0.4  and it's not working. Exif.getLatLong(uri) returns undefined, while if you try Exif.getExif(uri), it does return data, but GPS object is missing, and that's probably why Exif.getLatLong(uri) doesn't work.
I think there are two possibilities why it doesn't work:

react-native-exif is not working, this lib hasn't been updated for 3 years now.
the image uri returned by react-native-image-picker is a compressed image and no longer contains full exif data, that's why the GPS object is not there. (assuming react-native-exif is still working fine)

+1

+1

@Archi-tech where you able to find a way to get GPS data from images? On Android it seems to be working, only iOS is missing this data.

+1

This library provides with exif data for both iOS and android. We can try to figure out how to fix this functionality (at least for iOS, for which I checked, and it does not work) in this library.
https://github.com/ivpusic/react-native-image-crop-picker

It worked for me -> https://github.com/react-native-image-picker/react-native-image-picker/issues/2092#issuecomment-2038575035

I used react-native-exify to read/write Exif data for photos taken by my camera. Also used react-native-geolocation-service to obtain the GPS longitude, latitude and mush more.
https://github.com/lodev09/react-native-exify#readme


Adjust filtering out of Properties that are sockets

Update to account for the removal of the connectee_name suffix from Property names
Fixes issue #1019
Brief summary of changes
Filtering of Properties with name "socket_connectee_name" modified to "socket"
Testing I've completed
Loaded model, verified sockets for joint displayed in one place as expected.
CHANGELOG.md (choose one)

no need to update because...
updated...

@carmichaelong pretty straightforward. Feel free to verify once branch build is done.

Great, thanks @aseth1 👍


report config errors when config file changed

Fixes #10473 and #11886

we need to port this to release-2.1


Prevent Grid from recomputing cell metadata on horizontal resize for VirtualScroll and FlexTable?

Horizontal resizes never affect FlexTable or VirtualScroll metadata so if we could bypass that path, it would be a nice little optimization for when a user resizes a browser window, etc.

Closed via release 6.0.4


bootil: patch for aarch64 support

Description of changes
This package has been disabled on aarch64-linux since #51813 in 2018, but was not updated to include aarch64-darwin in badPlatforms, so it's been failing there. While investigating the build failure, I found that it would be trivial to patch bootil to compile on aarch64.
The only x86-specific code in bootil is in src/3rdParty/smhasher/Platform.h, which defines a function which references the x86 rdtsc instruction using inline assembly. That function is neither exported nor used by the library itself, so I've patched it out and re-enabled aarch64 compilation.
I've tested compilation of bootil on aarch64-darwin and x86_64-linux, as well as basic functionality of its single dependent package gmad ("builds and prints the help message" level, since I'd be astonished if this patch would change functionality and I don't have any idea how to use gmad).
I'll probably also send this patch to the upstream repository, but it doesn't appear to be extensively maintained and I'm not expecting it to be integrated quickly. If it gets accepted there, I'll come back and update this package.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@AbigailBuccaneer as maintainer for bootil and dependent package gmad.

oh hmm does passing -msse cause a hard error on aarch64-linux...

it does! so this isn't gonna work.


Simple blinky does not work on tangnano9k

Trying to build blinky example for Tangnano9k. But it does not work properly.
Board has 6 LEDs, they blink but not all: LED[1] and LED[2], LED[4] are always dark. Other LEDs blink probably properly.
When building on Gowin IDE all LEDs run properly.
What I do step by step :
0) cd apicula/examples & mkdir out

yosys -D LEDS_NR=6 -p "read_verilog blinky.v; synth_gowin -json out/blinky.json"
nextpnr-gowin --json out/blinky.json --write out/pnrblinky.json --device GW1NR-LV9QN88PC6/I5 --family GW1N-9C  --cst tangnano9k.cst
gowin_pack -d GW1N-9C -o out/pack.fs out/pnrblinky.json

Then I use Gowin native programmer to write "SRAM Program".
As I wrote, not all leds blink.
All above I was trying with oss-cad-suite from https://github.com/YosysHQ/oss-cad-suite-build/releases/tag/2023-12-19 under Ubuntu (most recent release)
Next my experiment was rather long.
I had built all Apicula project myself and then built Nextpnr project myself on my Ubuntu.
All from master branches 19 december 2023.
Now I have also nextpnr-himbaechel which is missed in recent oss-cad-suite.
I was trying to build blinky.v for Tangnano9k using himbaechel (1st and 3rd steps are same as before but 2nd is different):

yosys -D LEDS_NR=6 -p "read_verilog blinky.v; synth_gowin -json out/blinky.json"
../../nextpnr/build/nextpnr-himbaechel --json out/blinky.json --write out/pnrblinky.json --device GW1NR-LV9QN88C6/I5 --vopt family=GW1N-9C --vopt cst=tangnano9k.cst
gowin_pack -d GW1N-9C -o out/pack.fs out/pnrblinky.json

Write FS to board - result is exactly same - not all LEDs are blinking.
What I am doing wrong?

What is the result of running these images for you?
And please send out/blinky.json, out/pnrblinky.json, out/shift.json and out/pnrshift.json (Himbaechel ones)
images.zip

I continued my experiments - I made virtual Linux, took the current OSS and compiled not even Himbaechel, but legacy blinky.
out.zip
https://github.com/YosysHQ/apicula/assets/6075465/df974fc0-ae11-4db0-9f44-242b29d8ca3c
Next, I took my poor damaged tangnano9k, hoping that it wouldn’t burn anything for me
https://github.com/YosysHQ/apicula/assets/6075465/faea0501-9376-4430-827e-a2f6e622a798

Thank You for support. I will redo all my experiments.

Thank You for Your efforts. I will redo my experiments locally.
I think I miss something. But I do not know what yet.
Besides that, I must admit, Your images for blinky and shifter work on my tangnano9k properly.
PS: Do You know any tool which can be used to view json files out of Yosys as a schema?
And also same graph viewer for json from nextpnr.
I was trying to use nexpnr with flag "--gui" but it crashes for me.

You can experiment with this solution:
https://github.com/YosysHQ/nextpnr/issues/1255
Sorry, but there are not enough hands to keep the GUI up to date, especially since it is focused on legacy, and for Himbaechel a lot will have to be changed.
But you can send your json (both synth and pnr) here - I'll take a look.


put or append in small chunks

Hello @APeter0807 , all,
This is not an issue, it's more like a question about library's usability.
I need to use the AtmosApiClient to persist small chunks (like, ~4Mb) in the same key. I'm reading a large stream and then, I want to put small chunks to ATMOS. In this use case, an "appendObject" function would be nice... or, even, a putObject() with an offset. Using the S3 interface I could easily have that. But, I can't use such interface.
Do you have an example of how can I achieve that with the current implementation?

It's important to distinguish between Atmos the appliance and Atmos the API.  In the Atmos appliance, the S3 API is (by specification) WORM, so there is no ability to update objects.  However, in the Atmos API, you can update objects, including appending to them.  To append to an object, you would have to know its size first and this is not an atomic operation, so you would have to manage any threaded access.  This is the call you would make in the atmos-client library:
atmosApi.updateObject( identifier, newData, new Range( firstByte, lastByte ) );
(newData in this call is a byte array)
It may also interest you that our ECS appliance offers extensions to the S3 API that provide exactly what you're looking for, including an atomic append operation.

Thanks a lot for the answer!


chore: release main

:robot: I have created a release beep boop
accesskit: 0.11.1
0.11.1 (2023-07-30)
Bug Fixes

Fix broken intra-doc-link. (#262) (63c1715)

accesskit_c: 0.4.0
0.4.0 (2023-07-30)
⚠ BREAKING CHANGES

New C API for tree updates (#263)

Features

Add CMake support to C bindings (#247) (3f556c9)
Add window-based constructor to macOS subclassing adapter (#253) (022ef04)

Code Refactoring

New C API for tree updates (#263) (b260a86)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.0 to 0.11.1
accesskit_windows bumped from 0.14.0 to 0.14.1
accesskit_macos bumped from 0.7.1 to 0.8.0
accesskit_unix bumped from 0.5.0 to 0.5.1

accesskit_consumer: 0.15.1
Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.0 to 0.11.1

accesskit_macos: 0.8.0
0.8.0 (2023-07-30)
Features

Add window-based constructor to macOS subclassing adapter (#253) (022ef04)

Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.0 to 0.11.1
accesskit_consumer bumped from 0.15.0 to 0.15.1

accesskit_unix: 0.5.1
Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.0 to 0.11.1
accesskit_consumer bumped from 0.15.0 to 0.15.1

accesskit_windows: 0.14.1
Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.0 to 0.11.1
accesskit_consumer bumped from 0.15.0 to 0.15.1

accesskit_winit: 0.14.2
Dependencies

The following workspace dependencies were updated

dependencies

accesskit bumped from 0.11.0 to 0.11.1
accesskit_windows bumped from 0.14.0 to 0.14.1
accesskit_macos bumped from 0.7.1 to 0.8.0
accesskit_unix bumped from 0.5.0 to 0.5.1

This PR was generated with Release Please. See documentation.

@DataTriny I'm going to publish the pending releases now, even though the SDL example isn't ready yet, because I think the new CMake support in the C API will help with the project I'm working on this week.

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit-v0.11.1 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_consumer-v0.15.1 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_macos-v0.8.0 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_unix-v0.5.1 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_windows-v0.14.1 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_winit-v0.14.2 :sunflower:

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_c-v0.4.0 :sunflower:


remap "/diff_drive_base_controller/cmd_vel_unstamped" to "/cmd_vel"

Hi,
In the diff_drive_example.launch.py, how to remap "/diff_drive_base_controller/cmd_vel_unstamped" to "/cmd_vel"?
I am using navigation 2 which publishes commands to /cmd_vel.
Thanks!

add tag:

/diff_drive_base_controller/cmd_vel_unstamped:=/cmd_vel

@xibeisiber Where would you add this that XML?
If it helps anyone, I ended up using the topic_tools/relay node to solve this:
relay_odom = Node(
    name="relay_odom",
    package="topic_tools",
    executable="relay",
    parameters=[
        {
            "input_topic": "/diff_drive_base_controller/odom",
            "output_topic": "/odom",
        }
    ],
    output="screen",
)

relay_cmd_vel = Node(
    name="relay_cmd_vel",
    package="topic_tools",
    executable="relay",
    parameters=[
        {
            "input_topic": "/cmd_vel",
            "output_topic": "/diff_drive_base_controller/cmd_vel_unstamped",
        }
    ],
    output="screen",
)

    <plugin filename="libign_ros2_control-system.so" name="ign_ros2_control::IgnitionROS2ControlPlugin">
      <parameters>$(arg simulation_controllers)</parameters>
      <controller_manager_node_name>controller_manager</controller_manager_node_name>
      <ros>
        <remapping>/diff_drive_base_controller/cmd_vel_unstamped:=/cmd_vel</remapping>
      </ros>
    </plugin>


docs: update blog English version, change FP to TTFB and several other pages under construction

Summary

copilot:summary
Details

copilot:walkthrough
Related Issue

Checklist

[ ] I have added changeset via pnpm run change.
[x] I have updated the documentation.
[ ] I have added tests to cover my changes.

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


Don't discard Instrumented listener before storing the work graph

In #23210, the configuration time barrier was moved after storing the work graph so Task#getProject could be at store time.
The call to Instrumented.discardListener however, was not moved, and still happens before storing the work graph, which means that configuration inputs accessed at store time are not being captured in the configuration cache fingerprint and could lead to false cache hits.

We'll get more cache misses (but more correctness too), so having a feature flag to turn it off would be nice.


ARROW-3792: [C++] Writing a list-type chunked column to Parquet fails if any chunk is 0-length

Thanks to @tanyaschlusser to providing a minimal reproduction to help find the underlying problem

Codecov Report

Merging #3141 into master will decrease coverage by <.01%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master    #3141      +/-   ##
==========================================
- Coverage   87.17%   87.16%   -0.01%
==========================================
  Files         494      494
  Lines       69612    69622      +10
==========================================
+ Hits        60682    60684       +2
- Misses       8833     8837       +4
- Partials       97      101       +4

Impacted Files
Coverage Δ

python/pyarrow/tests/test_parquet.py
97.42% <100%> (+0.01%)
:arrow_up:

cpp/src/parquet/arrow/writer.cc
91.23% <50%> (-0.17%)
:arrow_down:

go/arrow/math/int64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/float64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/math/uint64_avx2_amd64.go
0% <0%> (-100%)
:arrow_down:

go/arrow/memory/memory_amd64.go
28.57% <0%> (-14.29%)
:arrow_down:

go/arrow/math/math_amd64.go
31.57% <0%> (-5.27%)
:arrow_down:

go/arrow/math/float64_amd64.go
33.33% <0%> (ø)
:arrow_up:

go/arrow/math/int64_amd64.go
33.33% <0%> (ø)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

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


use more specific assertions for some tests

hasToString() instead of "toString().isEqualTo()"
isInstanceOf() instead of "instanceof isTrue()"

cool :+1:


correlation calculation is incorrect

Current correlation calculation is based on a flawed interpretation of Wiklund 2008, doi:10.1021/ac0713510, specifically, I followed a calculation which is contrary to the standard calculation for correlation,
r_i = sigma_s_xi / (sigma_s sigma_xi)

Resolved by commit 8ec4904


Minimum account privilege role to execute?

Hi Team,
May I know if this script can be executed using the Global Reader role or must be a Global Administrator?
Thank you,

It depends on the cmdlet. You get yourself tokens using Get-Graph tokens and work from there using access and roles you have.

That's great, thank you @pawellakomski


Theme

Set up the theme for the extension pop.
Need to do basic HTML and CSS.

Hey @shaarifg thanks for the changes ❤
I have merged the changes 🚀
Keeping the issue open, for further changes as we go.


.wav inputs specifics

Hi guys,
I have a question regarding the input wav files used for training.
What are the audio format specifications?
I used voxceleb ( http://www.robots.ox.ac.uk/~vgg/data/voxceleb/ ) as dataset, but it is giving me some troubles.
Do you know about any other usable dataset?
Thank you ;)

Voxceleb is a good one, could you be more specific on what issues you are having?
From what I know, you need mono wav files for one. The shape needs to be 2 dimensional.

Does it work for you?
Because I am checking the files and sometimes there are noisy audios, even though the interviewed talks most of the time (like the interviewer talking, a guitar playing, ecc...).
I made it run with a batch size of 3 and it gives me a train accuracy of 100 or 0.
With larger batches I don't have much more fortune.
I know that the dataset has to have a Voice Activity Detection to remove silence and be effective, maybe it is that. What algorithm did you use?
I'd like to know if there were boundaries on the 'quality' of the audio files.

Hi guys, if you read the paper the author does do VAD, however he did state it was done in Matlab if I'm not mistaken. You will be able to find some VAD solutions in python but they do not produce good results. My advice is to not worry about the VAD. The models will work without them. Please try out the keras implication here - > https://github.com/imranparuk/speaker-recognition-3d-cnn and see if that works for you. It's a working progress, then if that works it will help you understand what is being accomplished in this repository.


SIGINT-773: Blackduck fix pr changes

Synopsys-extension: make changes in extension to support fix pr

Not requires as these changes are part of SIGINT-774


Expand custom device example to show split mode

By default, the example still works as it previously did.
If run with REGISTER_ONLY=1, it will pause after registering the gadget, allowing a second process to be run (which can be unprivileged) and configure FunctionFS.

I'm building a GUI app that uses usb-gadget to configure a USB gadget and drive some of it via FunctionFS. For the prototype I'm simply running app as a privileged process, but that's obviously not shippable. I knew I'd need to split the privileged bits that poke ConfigFS into a separate binary which the GUI app spawns and controls via pkexec.
I'm really impressed that the API of this crate already perfectly supports such a use case. The only tricky part was wrapping my brain around how to actually do it. Once I got it working, I figured it might be useful to show an example of that. I imagine many users of this crate would likely benefit from applying principle of least privilege.
The only trade-off I see here is that the example is now more complicated and perhaps makes it harder for someone completely uninitiated to grok the basic usage of a custom function. If you're concerned about this I'm happy to move it to a separate example file.

I'm really impressed that the API of this crate already perfectly supports such a use case. The only tricky part was wrapping my brain around how to actually do it. Once I got it working, I figured it might be useful to show an example of that. I imagine many users of this crate would likely benefit from applying principle of least privilege, too.

Thanks!

The only trade-off I see here is that the example is now more complicated and perhaps makes it harder for someone completely uninitiated to grok the basics of building a gadget with a Custom function. If you're concerned about this I'm happy to move it to a separate example file.

Yes, could you do that please? It's important to keep examples simple.

:+1: I've updated it now.


Why ESP32 doesn't support AT command through SPI?

Why ESP32 doesn't support AT command through SPI?
Is there have some hardware issue?
I have found the following code in this repo:
#if IDF_TARGET_ESP8266
source "$ESP_AT_PROJECT_PATH/main/interface/hspi/Kconfig"
#endif
Why only ESP8266 support?
Can I port this hspi to ESP32 too?
Thanks!

We have developed ESP32 SPI AT, but there is something wrong with it based on current driver, so we removed it. If you want to use MCU SPI, you can try ESP32 SDIO AT, MCU is transmit data through SPI. The demo for MCU is https://github.com/espressif/esp-at/tree/master/examples/at_sdspi_host, you just need to implement the APIs in  https://github.com/espressif/esp-at/blob/master/examples/at_sdspi_host/components/platform/esp32/include/port.h

Hi, thank you for quickly reply.
My project use STM32 as the spi master, and ESP32 as spi slave.
I have noticed the at_sdspi_host example.
To use this example, we must connect STM32(SPI) to ESP32(SDIO), right?
But we have connect STM32 spi to ESP32 vspi interface(IO5, IO18, IO19...) already.
Does there have any other way to solve the issue, or we must re-design the hardware?
Thanks.

Hi,
SDIO pin cannot be changed. If porting spi to ESP32, maybe you need modify much ESP32 SPI driver. In the future, we will re-support it. But, currently, it seems  re-design the hardware is the better solution.  BTW, can you share your project schedule?

Hi, wo need to deliver our products in 2 months later.
Do you have the plan when to support spi ?
We can  use uart at temporarily, but we want to support spi at ASAP, since the performance is better.

We have developed ESP32 SPI AT, but there is something wrong with it based on current driver, so we removed it. If you want to use MCU SPI, you can try ESP32 SDIO AT, MCU is transmit data through SPI. The demo for MCU is https://github.com/espressif/esp-at/tree/master/examples/at_sdspi_host, you just need to implement the APIs on MCU side in https://github.com/espressif/esp-at/blob/master/examples/at_sdspi_host/components/platform/esp32/include/port.h

Hello,
I have been developing AT stack on ESP32 over SPI to STM32 with the older version of HSPI. Can you tell me more about the issues with SPI AT?

@hwnBEAST If MCU want to send huge data, the data may be overwritten if ESP32 slave does not fetch in time.

@xcguang Is there any ongoing work on this issue?

Hi @tsvehagen ,
Sorry, now we are working on ESP8266 RTOS SDIO AT, and we will start ESP32 SPI AT after the end.
BTW, if your MCU only support SPI, you can use ESP32 SDIO AT,  there is a demo about it https://github.com/espressif/esp-at/tree/master/examples/at_sdspi_host

@xcguang Appreciate the answer, thanks. Yea the SDIO option would be nice but on the HiFive1 board (https://www.sifive.com/boards/hifive1-rev-b) not all the SDIO pins are not connected unfortunately.

@xcguang Is there any ongoing work on this issue?
In our usage, there is no need to be particularly fast or huge data, and we have added an IRQ pin.
I hope this feature will be released soon.

Would also look forward to AT via SPI since the hifive1_revb does not wire up all SDIO pins. Factory flashed firmware on the esp32 also uses HSPI-AT module so they got it to work somehow.

any updates on this? It would be really helpful to be able to at least reproduce the esp-at version that is running on Hifive1_revB boards.

Frankly speaking, all available documentation is either out of sync, outdated or just plainly wrong. There seems to be an "old" AT over SPI protocol and a new one. But neither the workflow is in-deeply explained nor the data_info or slave_info is (byte-order missing, details about slave-state missing), no explanation how the handshake-pin must be used, logic-analyzer images are all outdated (no dummy or address bytes as explained in the newer protocol).
SDIO is gone in esp-at "menuconfig" too.
Frankly speaking, I am starting to look for wifi-alternatives to the ESP (realtek, LSR, microchip, anything that actually works).

For anyone stumbling onto this: it seems like v<IP_ADDRESS>_esp32 is able to handle AT commands via SPI, I did not get around to test it yet, though.


Add Notebook: Google NMT on IWSLT 2015 English-Vietnamese Translation

Description
Add notebook: Google NMT on IWSLT 2015 English-Vietnamese Translation. @cgraywang will help polish the notebook.
Checklist
Essentials

[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage
[x] Code is well-documented

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@szhengac thanks!

Job PR-261/14 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/14/index.html

Job PR-261/16 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/16/index.html

Job PR-261/17 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/17/index.html

cc'd @leezu @eric-haibin-lin who might have some suggestions on how to make a translation tutorial after KDD.

Job PR-261/18 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/18/index.html

Job PR-261/20 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/20/index.html

For KDD we didnt have time to cover gmnt unfortunately

Job PR-261/21 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/21/index.html

Job PR-261/22 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/22/index.html

Job PR-261/24 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/24/index.html

Job PR-261/25 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/25/index.html

Job PR-261/26 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-261/26/index.html


Unable to start service ranger-admin during the deployment of Ranger 2.4.0

Hi,
I had also an error during the deployment of Ranger 2.4.0:
TASK [tosit.tdp.admin : Start Ranger Admin] ****************************************************************************************************************************************
fatal: []: FAILED! => changed=false
  msg: |-
    Unable to start service ranger-admin: Job for ranger-admin.service failed. See "systemctl status ranger-admin.service" and "journalctl -xe" for details.

tdp collection deploys ranger 2.0 only and integration of 2.4.0 is planned for next release.


Kubernetes Integration

Set up IBM Cloud Kubernetes and validate by deploying the latest version of OpenHarvest master branch

Various Kuberneted yaml configuration files have to be authored to deploy OpenHarvest successfully

[ ] Ingress

[ ] Deployment

[ ] Config Map


Rollback error when declaration failed because port 0 pool member and TCP monitor

Environment

Application Services Version: 3.34
BIG-IP Version: <IP_ADDRESS>

Summary
When a pool member is created with a TCP port and changed to port 0, AS3 obviously respond with 422.
But when an existing pool is changed from port X to port 0 (Any), the rollback process failed to recreate the pool member with previous configuration
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
    "Check_member_port_0": {
        "myApp": {
            "class": "Application",
            "enable": true,
            "MyMonitor": {
                "class": "Monitor",
                "interval": 20,
                "monitorType": "tcp",
                "receive": "none",
                "send": "none",
                "timeout": 61
            },
            "MyPool": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "members": [
                    {
                        "addressDiscovery": "static",
                        "enable": true,
                        "priorityGroup": 0,
                        "serverAddresses": [
                            "<IP_ADDRESS>"
                        ],
                        "servicePort": 80,
                        "shareNodes": true
                    }
                ],
                "minimumMonitors": "all",
                "monitors": [
                    {
                        "use": "MyMonitor"
                    }
                ],
                "serviceDownAction": "none"
            }
        },
        "class": "Tenant",
        "defaultRouteDomain": 0,
        "enable": true
    },
    "class": "ADC",
    "schemaVersion": "3.26.0",
    "id": "autogen_11607319-c00f-4796-890c-49d53715654d",
    "updateMode": "selective",
    "controls": {
        "class": "Controls",
        "userAgent": "vscode-f5/3.5.0",
        "archiveTimestamp": "2022-03-11T08:45:21.703Z"
    }
}

Observe the following success response:

        {
            "code": 200,
            "message": "success",
            "lineCount": 20,
            "host": "localhost",
            "tenant": "Check_member_port_0",
            "runTime": 5261
        }

check the pool members in tmsh.

# list ltm pool /Check_member_port_0/myApp/MyPool
ltm pool /Check_member_port_0/myApp/MyPool {
    load-balancing-mode least-connections-member
    members {
        <IP_ADDRESS>:http {
            address <IP_ADDRESS>
            session monitor-enabled
            state down
            metadata {
                source {
                    value declaration
                }
            }
        }
    }
    min-active-members 1
    monitor /Check_member_port_0/myApp/MyMonitor
    partition Check_member_port_0
}

Update the declaration by changing the pool member serviceport to 0.

{
    "Check_member_port_0": {
        "myApp": {
            "class": "Application",
            "enable": true,
            "MyMonitor": {
                "class": "Monitor",
                "interval": 20,
                "monitorType": "tcp",
                "receive": "none",
                "send": "none",
                "timeout": 61
            },
            "MyPool": {
                "class": "Pool",
                "loadBalancingMode": "least-connections-member",
                "members": [
                    {
                        "addressDiscovery": "static",
                        "enable": true,
                        "priorityGroup": 0,
                        "serverAddresses": [
                            "<IP_ADDRESS>"
                        ],
                        "servicePort": 0,
                        "shareNodes": true
                    }
                ],
                "minimumMonitors": "all",
                "monitors": [
                    {
                        "use": "MyMonitor"
                    }
                ],
                "serviceDownAction": "none"
            }
        },
        "class": "Tenant",
        "defaultRouteDomain": 0,
        "enable": true
    },
    "class": "ADC",
    "schemaVersion": "3.26.0",
    "id": "autogen_11607319-c00f-4796-890c-49d53715654d",
    "updateMode": "selective",
    "controls": {
        "class": "Controls",
        "userAgent": "vscode-f5/3.5.0",
        "archiveTimestamp": "2022-03-11T08:45:21.703Z"
    }
}

Observe the following error response:

        {
            "code": 422,
            "message": "declaration failed",
            "response": "01070622:3: The monitor /Check_member_port_0/myApp/MyMonitor has a wildcard destination service and cannot be associated with a node that has a zero service.",
            "host": "localhost",
            "tenant": "Check_member_port_0",
            "runTime": 5058
        }

check the pool members in tmsh.

# list ltm pool /Check_member_port_0/myApp/MyPool
ltm pool /Check_member_port_0/myApp/MyPool {
    load-balancing-mode least-connections-member
    min-active-members 1
    monitor /Check_member_port_0/myApp/MyMonitor
    partition Check_member_port_0
}

Expected Behavior
The configuration of previous successful declaration must be restored. the pool member must still be with initial servicePort.
Actual Behavior
The pool member disappeared in the pool.

Thank you for your feedback. I have added this issue to our internal product backlog as AUTOTOOL-3066.

Please reach out to us at<EMAIL_ADDRESS>in order for us to prioritize. Thanks.

This has been resolved in the 3.42.0 release of AS3.


Improve GQL introspection request

This fixes the things mentioned here: https://github.com/usebruno/bruno/issues/354#issuecomment-1749094454

Update to use handlebars
Interpolate env variables

Additionally, I added one more commit to add the set headers to the introspection request as well as asked here: https://github.com/usebruno/bruno/issues/354#issuecomment-1750191137
One more side note about handlebars: it's only used in two more places now and it should be pretty easy to get rid of this dependency completely.

Seems like package-lock.json is not up-to-date right now. Added another commit for that.

Merged. Thanks for taking care of this @grubersjoe


cargo workspace support

I tried splitting a project into a cargo workspace, and found an odd issue. I separated my project into a local library crate that the main project depends on.
[package]
# ...

[workspace]
members = ["./local-lib"]

[dependencies]
local-lib = { path = "./local-lib" }
stdweb = "*"

after doing this, "cargo web start" throws the following error
$ cargo web start
error: cannot start a webserver for a crate which is a library!

I fixed it by removing the workspace section in the toml
[package]
# ...

[dependencies]
local-lib = { path = "./local-lib" }
stdweb = "*"

It seems like it thinks that the main project is a different type of crate when the workspace tag is set, but I think this is a perfectly valid setup for a workspace. is there any reason why cargo-web rejects this?

I can also reproduce this, using cargo-web 0.2 and the Rust nightly from 2017-12-21.
If the web project is laid out as:
main_project
+-- Cargo.toml
+-- web_project
  +-- Cargo.toml

Then you may need to add the following to main_project/Cargo.toml:
[workspace]
exclude = ["web_project"]


[W5.11][F14-A4] SHIJIN

FIRST TRY

I do not know why my test fails at that point, I do not have any change at that class.


Fix pause method

Fixes: https://github.com/Shopify/maintenance_tasks/pull/921#discussion_r1420342948

Rebased this branch


When scheduling in progress, PUT method is not working

Hi
We have scheduled modbus event which is performing read operation for every 5sec
At the same time, PUT operation on some of the registers are being performed. But we can observe that modbus communication is not initiated.
Without scheduling operation, we are able to PUT on the modbus registers.

You would be better served asking about this on Slack in the #device-services channel. Also, if you are working from the master branch, I can pretty much guarantee this isn't a stable area right now.


Fixing missing comma in README documentation

Coverage remained the same at 93.671% when pulling cac20ae22939aed87bc87b33a77edd1d802390c4 on amhokies:patch-1 into 6ea61e1485ab4e0ad31e6a5e8967c963a27214e4 on kevincianfarini:dev.


Add support to monitor entities of a particular type or types

Allow user to specify which Synapse entity types they would like to monitor (e.g. folder and file, file only) and only report modified entities if they are one of the specified types.  By default, monitor all entity types.

Use case

I’m thinking about tracking my folder move for our data using synapsemonitor. Since we will have to move data between consortium only folder and public release folder. I’d like to track these actions in a fileview. So we can determine what studies have been released in a particular period.

Workaround for now: create a fileview manually in Synapse including desired entity types and then monitor the fileview


After update to 0.9.5 attended an error "java.lang.IllegalArgumentException: Illegal group reference"

Hello!
After update 0.9.5 from 0.9.4, an error attended with next message:
java.lang.IllegalArgumentException: Illegal group reference
If I make downgrade to  0.9.4, it's working
After some debug actions I found a cause of this error
If in the name of scenario exists any symbol of regexp, like $ and etc. this error will attend
Will you fix it or not?
Thanks!

of course we can fix it if you can follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue
once you do this, this issue can be re-opened


Increase width of progress bar around circle

The width of the progress bar that goes around the arrow of individual observations is a bit too small from what i can tell. the width of the circle should be 2px all the way around. Designs are here for reference.

In the code it is set to 2p.
What should we do, increase to 3?

Hm... lets try 2.5p


[Suggestion] Only client-side version

Could you create a version where the mod works in multiplayer without having to install it on the server?

No, sorry. Client-side inventory management is very slow and risky. The server is the authority for your inventory and trying to do mass edits from the client side has a high potential for losing items or getting booted from the server for "cheating".


replace BaselineClassifier/Regressor by DummyClassifier/Regressor. Issue #618

Replacing BaselineClassifier with DummyClassifier from Sklearn.
Relacing BaselineRegressor with DummyRegressor from Sklearn.
Created new operator with make_operator with schemas defined in BaselineClassifier and BaselineRegressor
Contributed by students of SRH University, Heidelberg.
https://github.com/tauseefhashmi
https://github.com/frankcode101
https://github.com/tanmaygaikwad
https://github.com/RajathReddy9
https://github.com/vickyvishal/

@shinnar The pre-commit issue still persists. How should I run pre-commit run -a? Is it a git command?

it looks like the previous pre-commit issues where indeed resolved by the recent fix.  The remaining pre-commit issues are introduced by this PR.
as per https://github.com/IBM/lale/blob/master/CONTRIBUTING.md:

We have a pre-commit hook setup to help ensure that your code is properly formatted and passes various static checks.   We highly recommend that you enable it, or at least run the check before submitting a PR. To do so, install the pre-commit python package (this is done automatically if you pip install lale[dev]). Run pre-commit install in your lale repository to enable pre-commit checking, or pre-commit run --all-files to just run the checks once.

it looks like the previous pre-commit issues where indeed resolved by the recent fix. The remaining pre-commit issues are introduced by this PR.
as per https://github.com/IBM/lale/blob/master/CONTRIBUTING.md:

We have a pre-commit hook setup to help ensure that your code is properly formatted and passes various static checks.   We highly recommend that you enable it, or at least run the check before submitting a PR. To do so, install the pre-commit python package (this is done automatically if you pip install lale[dev]). Run pre-commit install in your lale repository to enable pre-commit checking, or pre-commit run --all-files to just run the checks once.

Thanks for the answer. I ran pre-commit run --all-files to check and it is failing for pyright check. On checking .pre-commit-config.yaml it looks like it checks for node environment. Is it necessary to run this check? Because we can't commit and push our changes

pyright needs node to be installed.  If that is not feasible, you can commit without running pyright.  Note that we can not accept the PR until it passes PR, but it is fine to optimistically commit, and then, if the static checking fails in github actions, fix the reported problem and push a fix.  Note that if you have installed the pre-commit hooks, you can skip a given test for a commit by running:
SKIP=pyright git commit ...

I have nodejs installed in my system but it still fails the pyright check. So I skipped the pyright check, and I am facing an issue in the static check in the CI/CD pipeline. Any suggestion?

apologies, but we still seem to be having some CI issues.  I think we figured out a fix.  once it is working, I will ping you to rebase onto it.  apologies again.

This is looking great.  once it passes the tests, we are almost ready to merge.
The last thing needed --- as per https://github.com/IBM/lale/blob/master/CONTRIBUTING.md,
we need everyone involved in this PR to sign a "Developer's Certificate of Origin", available here:
https://github.com/IBM/lale/blob/master/DCO1.1.txt
please send them to<EMAIL_ADDRESS>Thanks for your contribution!

This is looking great. once it passes the tests, we are almost ready to merge.
The last thing needed --- as per https://github.com/IBM/lale/blob/master/CONTRIBUTING.md,
we need everyone involved in this PR to sign a "Developer's Certificate of Origin", available here:
https://github.com/IBM/lale/blob/master/DCO1.1.txt
please send them to<EMAIL_ADDRESS>Thanks for your contribution!

@hirzel , I have sent you "Developer's Certificate of Origin" over email. Thanks

@vickyvishal I think that something like https://github.com/IBM/lale/pull/644#discussion_r596911224 will fix the current build problem

Thank you for your contribution!


Callback when scan is complete

Currently one has to call startScan and then poll getScanResults until the scan is complete. It will be simpler if I could call waitForScanResult (not a good function name, but nvm....) and have a callback called when an intent with SCAN_RESULTS_AVAILABLE_ACTION is sent. An example usage :smile: ..
BTW, :+1:¹⁰⁰ for this package, it works great :smiley:

Hey, sorry for the late reply on this issue. I think you have the right idea. StartScan returns true once the scan has started. We should register  a BroadcastReceiver to the SCAN_RESULTS_AVAILABLE_ACTION in order to get the list of the available access points as soon as the scan completes. Definitely going to look into this.
Thanks.

Hey, the pull request still seems to be open. We would like to use this feature as well. Is it possible to merge or is there any need for further improvements?


Enable most IntelliJ 'Probable bugs' inspections

Enable "Error" severity for most IntelliJ inspections of "Probable bugs" category which don't catch anything at the moment. Inspections, which have a lot of matches in the codebase, are left on "Warning" level, to keep this PR small. The latter inspections should be moved to "Error" level one-by-one in separate PRs.
A few real (but minor) defects are fixed in the code:

Fix IndexSpec.equals() and hashCode() to include longEncoding
calling toString() on objects of classes which don't override toString()
instance fields which should really be static final fields
unnecessary use of | and & instead of || and &&.

Looks good to me, 👍  after CI passes.

Decided to use IntelliJ-style noinspection comments to suppress IntelliJ-specific inspections, instead of @SuppressWarnings on a method, because the scope of suppression is narrower and it's obvious why suppression is added -- the reason is on the next line. It doesn't matter that those comments are "non-standard", because no other tools or IDEs like Eclipse are able to understand the suppression reasons anyway.


Support linux-386

gh-valet unsupported for linux-386\

@vijendermali apologies for the delay in the response here! Can you share a bit more about the error message you receive (i.e. what command you were using, OS, machine type etc.)?
Thanks!


chore(deps): [Snyk] Security upgrade vite from 4.5.1 to 4.5.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

frontend/package.json
frontend/package-lock.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

170/1000  Why? Confidentiality impact: High, Integrity impact: None, Availability impact: None, Scope: Unchanged, Exploit Maturity: Proof of Concept, User Interaction (UI): None, Privileges Required (PR): None, Attack Complexity: Low, Attack Vector: Network, EPSS: 0.01055, Social Trends: No, Days since published: 0, Reachable: No, Transitive dependency: Yes, Is Malicious: No, Business Criticality: High, Provider Urgency: High, Package Popularity Score: 98, Impact: 5.99, Likelihood: 2.83, Score Version: V5
Access Control Bypass SNYK-JS-VITE-6182924
No
Proof of Concept

(*) Note that the real score may have changed since the PR was raised.

Commit messages

Package name: vite
    The new version differs by 2 commits.

d0360c1 release: v4.5.2
eeec23b fix: fs deny for case insensitive systems (#15653)

See the full diff

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Access Control Bypass

done in #1167


companion-update forcing me to update to v3

I m on 2.4.1 and after during the update i was forced to update to v3.
It looks like my git was pulled to latest and skip 2.4.2 version.
I fix it by git reset --hard dd11d9c466d1fab8ff0a50f12af72fa1e4b8cfdf
To revert back to last commit on before v3.

I don't have any good suggestions here.
2.4.2 was not planned to exist when I made the changes here for 3.0. The update process for them is completely incompatible, so I really don't want to have to support both, as it will be really fiddly to do and will make a mess

No worry i handle it for my self.
https://github.com/gavalierm/companion-pi-install
I need to notice you only, that this is happening.

The updater now prompts you with slightly different wording, and if you say no it will follow the old v2 update procedure


Hitesh's Profile Added

@oyepriyansh is it possilbe to delete the whole history of the pull request ?

@oyepriyansh is it possilbe to delete the whole history of the pull request ?

probably no


Fix ActionSubtask output value

Can you please update the change log's Fixed section with Raw Tool output being lost when being executed by ActionsSubtask.


cargo: bump bitvec

Closes #756.

Why is CI still trying to build bitvec 0.19? Locally, a cargo tree does not contain it.

bitvec 0.19.4 is still in use by gdb-server, as pointed out in #756.

CC @Tiwalun


Actions for quantize values, so that you can set/change quantize on the fly.

From<EMAIL_ADDRESS>on January 31, 2010 01:31:18
It would be nice to have actions to set track quantize on as well as set
the values (8th, 16th, ect.) and maybe CC actions to control the strength,
swing, ect.
Thanks.
Original issue: http://code.google.com/p/sws-extension/issues/detail?id=53

@swstim This could be closed. Actions like Track: Set MIDI input quantize to 1/4 for all tracks already exists.


Scrolling items with variable height

This code does not correctly work when scrolling items with variable height. It does not allow to scroll to bottom. Could you please consider remove this chunk of code?
src/virtual-scroll.ts
        if (el.scrollTop > this.scrollHeight) {
            el.scrollTop = this.scrollHeight + offsetTop;
        }

No more reproducible.


Jwlibrary extension

Hello brother. I would like to ask a question related to the program. Recently, we received a notice from the organization that says: The terms of use of the JW Library app do not allow the creation of any software, application, tool, or technique beyond those provided by the organization. This means that no type of extension (also known as an add-on or plug-in) should be installed to work alongside JW Library. Therefore, use VLC Media Player to display images or videos that are not directly available in the JW Library app, as instructed in paragraph 1 of this document. I would like to know if OnlyM falls under this description, or if the way it was created would not violate the terms of use of JW Library.
Thanks

@MarceloJrdaLuz Hello. OnlyM is simply a media player and would not be considered an "add-on" or "plugin" It offers similar functions to VLC although VLC has greater functionality. OnlyM does not violate the JW Library terms of use. However, the notice you quote seems to me to either lack context or misrepresent the JW Library terms (which explicitly allow for the creation of other applications in some circumstances). Having said that, if you have received direction from your branch to only use VLC for media playback at meetings, then the wise course is to follow the instructions.
Thanks for your question. I hope my observations seem reasonable.
Regards
Antony

Thank you very much for your consideration. Your response has already been helpful. It's possible that our branch has given this instruction because there are other applications that are adding some type of plugin to Jw. Your response has helped me see that this is not the case with OnlyM.
With this new update of the JW Library, which includes the playlist feature, it has become much easier to do everything through JW Library. However, there are still several utilities that OnlyM provides. So I will continue using it when necessary.
Regards
Marcelo


Documentation gives instructions that make all containers disappear

File: engine/userguide/storagedriver/selectadriver.md, CC @mistyhacks
I followed the instructions to change the default filesystem to overlay2 - after that all my containers have disappeared. Yes, I know how to restore (maybe) - but the documentation is inacceptable - first, there is NO WARNING given about the fact that changing the fs will destroy all containers. Second there is no information given how to transfer the old containers to the new filesystem.
The documentation just describes a clear path to destroy all containers on a machine. It feels like the author had a good sadistic laugh writing this - the outcome seems very predictable.

You are correct. We expect you to read the more detailed docs about each individual driver. For instance, the following topic does warn you about this: https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/#prerequisites

Changing the storage driver will make any containers you have already created inaccessible on the local system. Use docker save to save containers, and push existing images to Docker Hub or a private repository, so that you not need to re-create them later.

I think the correct fix is to remove the generic instructions from the overview driver so that people will read the details for their driver.


35 Search Insert Position

File(s) Modified: leetcode 35. Search Insert Position (Binary search problem)
Language(s) Used:  javascript
Submission URL: https://leetcode.com/submissions/detail/868949051/

😅 I think you opened a PR from the main branch against the main branch. Please make a new PR from your local branch so that I can merge it.


close http respone after hanler alert post

Required for all non-trivial PRs

[x] Rebased/mergable
[x] Tests pass
[x] CHANGELOG.md updated
[x] Sign CLA (if not already signed)

Required only if applicable
You can erase any checkboxes below this note if they are not applicable to your Pull Request.

[ ] TICKscript Spec updated

@nathanielc there is new PR


NFT list page: fix logic for determining if you can issue NFTs

In this screenshot, it shows I can issue CRITTER and MANCER (a new test token I just created).
This is incorrect.  CRITTER can only be issued by the crittermanager contract.
Whereas I can issue MANCER because my account cryptomancer is in the list of authorized issuing accounts for MANCER.
So you need to be checking that the account the user is logged in with is in the list of authorized issuing accounts.  You should not be checking the NFT definition's issuer field.

@bt-cryptomancer Done. Currently being deployed to the testnet.


java.lang.NullPointerException

Hi bro：
I received this crash for many times，any advice？
Attempt to invoke virtual method 'void io.flutter.plugin.common.MethodChannel.invokeMethod(java.lang.String, java.lang.Object)' on a null object reference
com.pauldemarco.flutter_blue.FlutterBluePlugin$5.run(FlutterBluePlugin.java:1004)

Please go to flutter_blue_plus and report issues there if still exist.


prepare the new design template for integration

blocked on threefoldfoundation/www_conscious_internet#78  threefoldfoundation/data_threefold_projects_friends#39

Design specs are ready.


Y24-410 - [BUG] Unable to update/send EGA sample metadata

Describe the bug
Creating accession identifiers for samples works fine however should a user need to update a sample's metadata when this is sent to the EGA webin submit service and error is displayed and the data is not updated in SS (this only applies to EGA accessioning service NOT the ENA). In summary creation is fine but the update is not working.
To Reproduce
Steps to reproduce the behaviour:
In a Sequencescape console:
def get_next_uat_sample(manifest_id=19348)
  sm = SampleManifest.find_by(id:manifest_id) #manifest created for testing data
  sample = sm.samples.select {|s| s.ebi_accession_number.nil?}.first #first sample without accession id
  sample.sample_metadata.update!(gender:'Unknown',phenotype:'Unknown') #data is initially missing to prevent auto accessioning on manifest upload
  puts "https://uat.sequencescape.psd.sanger.ac.uk/samples/#{sample.id}" #goto url
end

irb(main):020:0> get_next_uat_sample(manifest_id=19348)
https://uat.sequencescape.psd.sanger.ac.uk/samples/6970962

On UAT sample page select 'Generate Accession Number'

Next select 'Update EBI Sample data

Expected behaviour

Additional context
The error message "Could not get accession number. EBI may be down or invalid data submitted: 500 Internal Server Error" is also returned when attempting to update sample accession metadata within the application script console

I have investigated the errors. The followings are the steps for investigations:

set up a local SS using UAT config by modifying the config/config.rb:
configatron.accession do |accession|
# copy from the deployment file
# accession.url = 'http://localhost:9999/accession_service/'
# accession.view_url = 'http://localhost:9999/view_accession/'
accession.url = 'https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit'
accession.view_url = 'https://wwwdev.ebi.ac.uk/ena/data/view/'
 # accession.ega.user = 'ega_accession_login'
 # accession.ega.password = 'ega_accession_password'
 # accession.ena.user = 'era_accession_login'
 # accession.ena.password = 'era_accession_password'

 # find out the value from vault and replace
 accession.ega.user      = 'ega-box-03'
 accession.ega.password  = 'SanGeRBOX**'
 accession.ena.user      = 'era-drop-2'
 accession.ena.password  = 'nhjkR59p'

end

run the local SS. using UAT database:
DATABASE_URL=mysql2://psdd:psdd@psdd-db:3321/sequencescape_staging bundle exec rails s

Outcomes from the investigations:
When click the 'Update EBI Sample data'  at (http://<IP_ADDRESS>:3000/samples/accession/6970962)
The code break at app/models/accession_service.rb
response = rc.post(payload)
inside
def post_files(file_params)
and redirect back to sample page
at this point, some of the variables values are:
payload:
{"SAMPLE"=>#AccessionService::AccessionedFile:/var/folders/gp/t2pcm07d3tq0yrymvqnj20xm0000gq/T/sample_file20241113-71882-cdpmls, "SUBMISSION"=>#AccessionService::AccessionedFile:/var/folders/gp/t2pcm07d3tq0yrymvqnj20xm0000gq/T/submission_file20241113-71882-q6k2yq}
The file /var/folders/gp/t2pcm07d3tq0yrymvqnj20xm0000gq/T/sample_file20241113-71882-cdpmls :
2405STDY8433361human9606strainsample_descriptiongenderunknownphenotypeUnknownsubject_id2405STDY8433361geographic_location_(country_and/or_sea)missing: human-identifiablecollection_date2024
The file /var/folders/gp/t2pcm07d3tq0yrymvqnj20xm0000gq/T/submission_file20241113-71882-q6k2yq :

restclient:
@block=nil,
@options={:user=>"ega-box-03", :password=>"SanGeRBOX**", :headers=>{:user_agent=>"Sequencescape Accession Client (development)"}},
@url="https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit">
response:
Could not get accession number. EBI may be down or invalid data submitted: 400 "Bad Request"

However in UAT, clicking 'https://uat.sequencescape.psd.sanger.ac.uk/samples/6970962' 'Update EBI Sample data', got the response:
Could not get accession number. Error in submitted data: ["\n - In sample, accession: "EGAN00004611033". The current submission account EGAB00000000006 does not own the object being updated ERS21332394."].

As we are investigating this bug using UAT, and https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit. There may be difference from the production DB. However, we couldn't use the real examples to test.
Regarding the different responses we got back, I found the one 'The current submission account EGAB00000000006 does not own the object being updated ...' is because the sample has been removed from EBI test database, (the test DB update every 24 hours). So we can ignore this response.
When the sample is still in EBI test database, and we try to update the sample, the error we got back is 'Could not get accession number. EBI may be down or invalid data submitted: 500 Internal Server Error'. Details of the response looks like the following:

<RECEIPT receiptDate="2024-11-19T14:20:49.524Z" submissionFile="submission_62.xml" success="false">
  <SAMPLE alias="44a1fc3e-a340-11ef-9b56-02423c45b5b8" status="PRIVATE"/>
  <SUBMISSION alias="8967bd3c-8d41-11ef-ac4b-0242c01b973620241119T1417"/>
  <MESSAGES>
    <ERROR>Failed to submit samples to BioSamples</ERROR>
    <ERROR>Failed to submit samples to BioSamples</ERROR>
    <ERROR>An exception occurred: java.lang.RuntimeException: Failed to submit all samples to BioSamples</ERROR>
    <INFO>This submission is a TEST submission and will be discarded within 24 hours</INFO>
  </MESSAGES>
  <ACTIONS>MODIFY</ACTIONS>
  <ACTIONS>PROTECT</ACTIONS>
</RECEIPT>

The following URL was also used to investigate the bug and can see the details of the response. https://wwwdev.ebi.ac.uk/ena/submit/drop-box/swagger-ui/index.html

When testing the fix, I notice that in the 'Gender' field, SS has the options of ['Male', 'Female', 'Mixed', 'Hermaphrodite', 'Unknown', 'Not Applicable']. But EBI only accepts 'Male', 'Female', 'Unknown'.


authorization in https

While my code is working perfectly fine in http://<IP_ADDRESS>:7860/ with authorization as defined in documentattion .But for production purpose i need authorization in my https domain also but the result it shows ,is a problem
Command to run :
python generate.py --base_model=meta-llama/Llama-2-13b-chat-hf  --score_model=None --langchain_mode='UserData' --user_path=user_path --auth_filename=$auth_filename --auth_access=closed --guest_name=guest --auth="[(null, null)]"

i added ssl and nginx for https but its showing this error

The http domain is http://<IP_ADDRESS>:7860/
https domain is https://localhost/

Are you literally passing  --auth="[(null, null)]" ?  or just removed the user pass?  They should be in single quotes.
I don't know where that error screen comes from, looks odd, like related to HF spaces.  Do you see that when just reaching the page or after entering the user/pass or what?
Please reach out to gradio team since this seems like either user error or gradio issue with some specific network/setup on your system.  For auth access, I just pass through the auth user/pass through to gradio.


References of the template don't disappear after hiding the Template

If the template has references they appear when the template is activated but the don't disappear after the template is hidden again.

Closed with #124


Illegal memory access encountered

I am trying to run lstm implementation by Wojciech Zaremba and getting the following error:
warning: fbcunn not found. Falling back to cunn
Using 1-th gpu
Loading /local/pavels/lstm_zaremba/data/ptb.train.txt, size of data = 598835
REPLICATE
Loading /local/pavels/lstm_zaremba/data/ptb.train.txt, size of data = 598835
REPLICATE
Loading /local/pavels/lstm_zaremba/data/ptb.valid.txt, size of data = 54291
Loading /local/pavels/lstm_zaremba/data/ptb.test.txt, size of data = 53432
Network parameters:
{
  max_grad_norm : 5
  seq_length : 20
  batch_size : 20
  lr : 1
  max_max_epoch : 13
  rnn_size : 200
  init_weight : 0.1
  decay : 2
  dropout : 0
  layers : 2
  vocab_size : 10000
  max_epoch : 4
}
Creating a RNN LSTM network.
Starting training.
epoch = 0.007, train perp. = 0.000, wps = 6467, dw:norm() = 4.647, lr = 1.000, since beginning = 0 mins.
THCudaCheck FAIL file=/local/pavels/cutorch/init.c line=239 error=77 : an illegal memory access was encountered
/local/pavels/torch/install/bin/luajit: cuda runtime error (77) : an illegal memory access was encountered at /local/pavels/cutorch/lib/THC/generic/THCStorage.c:147

I have installed cutorch as following:
git clone https://github.com/torch/cutorch
mkdir -p $(pwd)/build-nvcc
TORCH_NVCC_FLAGS="--keep --keep-dir=$(pwd)/build-nvcc" luarocks make rocks/cutorch-scm-1.rockspec

nvidia-smi
Tue Aug 30 11:26:53 2016
+------------------------------------------------------+
| NVIDIA-SMI 361.42     Driver Version: 361.42         |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX TIT...  Off  | 0000:02:00.0     Off |                  N/A |
| 22%   33C    P8    15W / 250W |    175MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX TIT...  Off  | 0000:04:00.0     Off |                  N/A |
| 31%   71C    P2   115W / 250W |   8392MiB / 12287MiB |     43%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX TIT...  Off  | 0000:83:00.0     Off |                  N/A |
| 22%   34C    P8    16W / 250W |    174MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX TIT...  Off  | 0000:84:00.0     Off |                  N/A |
| 22%   31C    P8    16W / 250W |    173MiB / 12287MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
+-----------------------------------------------------------------------------+

It appears that the error gets triggered by cutorch.synchronize() after some network iterations.

Did you solve this? I encountered the same error and have been stuck for days.

Unfortunately no, I've reposted the same issue on Wojciech's github page.

i'll take a look at it now.

I'm running it now on Titan-X, i am having no problems.
Can either of you tell me a bit more about your GPU model, CUDA version, and is it latest Torch?
My GPU: Titan-X
CUDA:
nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Wed_May__4_21:01:56_CDT_2016
Cuda compilation tools, release 8.0, V8.0.26
My Driver Version: 367.35 (you can see with command "nvidia-smi")
And my Torch is latest.

lspci | grep VGA
02:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
04:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
09:00.0 VGA compatible controller: Matrox Electronics Systems Ltd. G200eR2 (rev 01)
83:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)
84:00.0 VGA compatible controller: NVIDIA Corporation GM200 [GeForce GTX TITAN X] (rev a1)

nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2015 NVIDIA Corporation
Built on Tue_Aug_11_14:27:32_CDT_2015
Cuda compilation tools, release 7.5, V7.5.17

nvidia-smi
NVIDIA-SMI 361.42     Driver Version: 361.42

Torch7 cloned like a week ago from the repo.

okay. Can you run the lstm code with the flag:
CUDA_LAUNCH_BLOCKING=1 th main.lua
and can you give me the output

[pavels@jones-5 pavels]$ CUDA_LAUNCH_BLOCKING=1 ./th lstm_zaremba/main.lua
warning: fbcunn not found. Falling back to cunn
Using 1-th gpu
INSIDE traindatset1
Loading /local/pavels/lstm_zaremba/data/ptb.train.txt, size of data = 598835
REPLICATE
INSIDE traindatset1
Loading /local/pavels/lstm_zaremba/data/ptb.train.txt, size of data = 598835
REPLICATE
Loading /local/pavels/lstm_zaremba/data/ptb.valid.txt, size of data = 54291
Loading /local/pavels/lstm_zaremba/data/ptb.test.txt, size of data = 53432
Network parameters:
{
  max_grad_norm : 5
  seq_length : 20
  batch_size : 20
  lr : 1
  max_max_epoch : 13
  rnn_size : 200
  init_weight : 0.1
  decay : 2
  dropout : 0
  layers : 2
  vocab_size : 10000
  max_epoch : 4
}
Creating a RNN LSTM network.
Starting training.
epoch = 0.007, train perp. = 0.000, wps = 3627, dw:norm() = 4.975, lr = 1.000, since beginning = 0 mins.
THCudaCheck FAIL file=/local/pavels/torch/extra/cunn/lib/THCUNN/LookupTable.cu line=200 error=77 : an illegal memory access was encountered
/local/pavels/torch/install/bin/luajit: cuda runtime error (77) : an illegal memory access was encountered at /local/pavels/cutorch/lib/THC/generic/THCStorage.c:147
[pavels@jones-5 pavels]$

@tastyminerals have you modified the code or the data? And does it work fine in CPU mode (I dont think so)? https://github.com/wojzaremba/lstm/tree/cpu
The error is that you are passing in an index to LookupTable that is out of range of the size of LookupTable. This can definitely happen if you incorrectly change the code to incorporate your custom dataset.

Unfortunately no, I am getting the same error with a cloned version of https://github.com/wojzaremba/lstm.git.

So, I was trying to run non-English data which eventually ends up in index out of range at /local/pavels/torch/pkg/torch/lib/TH/generic/THTensorMath.c. The code needs to be adjusted accrodingly.

@tastyminerals   Could you please tell us what you changed to make it work?  I'm getting the same error on a different NN and it's not obvious how to fix it.

Hi, thing is, Zaremba's implementation uses hardcoded size for the training
corpus, concretely penn treebank. You either set the size yourself or write
a function that calculates it for your corpus. You can clone my fork which
contains the fixes I did to run Russian corpus or you can check this commit
diff
https://github.com/tastyminerals/lstm-zaremba/commit/87cab0dac531ee28a4b4161976294c24a0a98c6a
to see what I changed.
Here is my fork of zaremba-lstm:
https://github.com/tastyminerals/lstm-zaremba.git
Best,
Pavel
On Fri, Nov 18, 2016 at 9:36 PM, achaiah<EMAIL_ADDRESS>wrote:

@tastyminerals https://github.com/tastyminerals Could you please tell
us what you changed to make it work? I'm getting the same error on a
different NN and it's not obvious how to fix it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/torch/cutorch/issues/489#issuecomment-261635473, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHUhADgY19WJjGcO-Pp32TXh5gwPqv0xks5q_gxGgaJpZM4JwUby
.

Was this issue fixed?
I am getting the same error but at 'THCTensorCopy.c'
THCudaCheck FAIL file= .../pytorch/aten/src/THC/generic/THCTensorCopy.c line=70 error=77 : an illegal memory access was encountered.
--
torch version: 0.4.0a0+9f980b1
GPU: Titan XP
Cuda compilation tools, release 9.1, V9.1.85

@raeidsaqur see my latest post. This might be related to having fixed vocabulary size while running on the data that exceeds it.