Can not open my wallet

Hi,
I updated Sia-UI-v1.0.4-lts-linux-x64 to Sia-UI-v1.2.1-linux-x64
after trying to unlock my wallet I got the following errors.
What can I do to be able to access my wallet.
Thanks in advance.
Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Finished loading in 0.320494606 seconds
Wallet: scanned to height 70779...
Wallet: scanned to height 70844...
Wallet: scanned to height 70854...
Wallet: scanned to height 70861...
Wallet: scanned to height 70874...
Wallet: scanned to height 70880...
Wallet: scanned to height 70888...
Wallet: scanned to height 70893...
Wallet: scanned to height 70898...
Wallet: scanned to height 70907...
Wallet: scanned to height 70913...
Wallet: scanned to height 70917...
Wallet: scanned to height 70933...
Wallet: scanned to height 70937...
Wallet: scanned to height 70941...
Wallet: scanned to height 70951...
Wallet: scanned to height 70957...
Wallet: scanned to height 70963...
Wallet: scanned to height 70965...
Wallet: scanned to height 70972...
Wallet: scanned to height 70977...
Wallet: scanned to height 70984...
Wallet: scanned to height 70990...
Wallet: scanned to height 71001...
Wallet: scanned to height 71003...
Wallet: scanned to height 71016...
Wallet: scanned to height 71020...
Wallet: scanned to height 71024...
Wallet: scanned to height 71042...
Wallet: scanned to height 71045...
Wallet: scanned to height 71051...
Wallet: scanned to height 71060...
Wallet: scanned to height 71062...
Wallet: scanned to height 71070...
Wallet: scanned to height 71091...
Wallet: scanned to height 71108...
Wallet: scanned to height 71113...
Wallet: scanned to height 71122...
Wallet: scanned to height 71132...
Wallet: scanned to height 71138...
Wallet: scanned to height 71159...
Wallet: scanned to height 71163...
Wallet: scanned to height 71169...
Wallet: scanned to height 71184...
Wallet: scanned to height 71204...
Wallet: scanned to height 71224...
Wallet: scanned to height 71230...
Wallet: scanned to height 71248...
Wallet: scanned to height 71256...
Wallet: scanned to height 71260...
Wallet: scanned to height 71268...
Wallet: scanned to height 71276...
Wallet: scanned to height 71290...
Wallet: scanned to height 71308...
Wallet: scanned to height 71316...
Wallet: scanned to height 71330...
Wallet: scanned to height 71343...
Wallet: scanned to height 71358...
Wallet: scanned to height 71397...
Wallet: scanned to height 71417...
Wallet: scanned to height 71447...
Wallet: scanned to height 71466...
Wallet: scanned to height 71496...
Wallet: scanned to height 71512...
Wallet: scanned to height 71523...
Wallet: scanned to height 71554...
Wallet: scanned to height 71577...
Wallet: scanned to height 71584...
Wallet: scanned to height 71595...
Wallet: scanned to height 71625...
Wallet: scanned to height 71655...
Wallet: scanned to height 71672...
Wallet: scanned to height 71679...
Wallet: scanned to height 71686...
Wallet: scanned to height 71696...
Wallet: scanned to height 71706...
Wallet: scanned to height 71750...
Wallet: scanned to height 71773...
Wallet: scanned to height 71788...
Wallet: scanned to height 71791...
Wallet: scanned to height 71803...
Wallet: scanned to height 71818...
Wallet: scanned to height 71824...
Wallet: scanned to height 71877...
Wallet: scanned to height 71896...
Wallet: scanned to height 71904...
Wallet: scanned to height 71931...
Wallet: scanned to height 71945...
Wallet: scanned to height 71963...
Wallet: scanned to height 72005...
Wallet: scanned to height 72022...
Wallet: scanned to height 72077...
Wallet: scanned to height 72079...
Wallet: scanned to height 72115...
Wallet: scanned to height 72122...
Wallet: scanned to height 72184...
Wallet: scanned to height 72200...
Wallet: scanned to height 72222...
Wallet: scanned to height 72235...
Wallet: scanned to height 72268...
Wallet: scanned to height 72293...
Wallet: scanned to height 72324...
Wallet: scanned to height 72341...
Wallet: scanned to height 72368...
Wallet: scanned to height 72376...
Wallet: scanned to height 72383...
Wallet: scanned to height 72389...
Wallet: scanned to height 72419...
Wallet: scanned to height 72434...
Wallet: scanned to height 72457...
Wallet: scanned to height 72497...
Wallet: scanned to height 72542...
Wallet: scanned to height 72578...
Wallet: scanned to height 72636...
Wallet: scanned to height 72690...
Wallet: scanned to height 72716...
Wallet: scanned to height 72746...
Wallet: scanned to height 72762...
Wallet: scanned to height 72781...
Wallet: scanned to height 72820...
Wallet: scanned to height 72893...
Wallet: scanned to height 72940...
Wallet: scanned to height 72965...
Wallet: scanned to height 73050...2017/05/20 17:34:16 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:16 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:16 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:16 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 5ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 10ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 20ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 40ms
2017/05/20 17:34:17 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 80ms
2017/05/20 17:34:18 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 160ms
2017/05/20 17:34:18 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 320ms
2017/05/20 17:34:18 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 640ms
2017/05/20 17:34:19 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:20 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:21 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:22 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:23 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:24 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:25 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:26 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:27 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s
2017/05/20 17:34:28 http: Accept error: accept tcp <IP_ADDRESS>:9980: accept4: too many open files; retrying in 1s

Hi.
I have the same Problem with the same Version.
Any glue?
Thanks,
Roland

This has been fixed in the latest master, but hasn't been pushed out in a major release yet. We built a release candidate this week, it should fix this issue. We uploaded the RC here: https://pixeldra.in/l/KT8dJH

Thank you for the info, I'm going to test it.

Johnathan you made my day!
It worked :-)
please give me your SIA-address I wanna send you some coins.

That's not necessary, glad that your problem is fixed.


Bug: get wrong nodes when using generateNodesFromDOM with single-line Code Block

When using generateNodesFromDOM with single-line Code Block.

It will return TextNode instead of CodeNode.

Lexical version: 0.10.0
Steps To Reproduce

go to https://codesandbox.io/s/summer-pond-q1v2lm?file=/src/App.js
Change block type to Code Block
write const foo = "bar";
Click on Save button
Click Get Nodes button
View the log in console

Link to code example: https://codesandbox.io/s/summer-pond-q1v2lm?file=/src/App.js:1213-1222

The current behavior
Get [TextNode, TextNode, TextNode, TextNode, TextNode, TextNode]
The expected behavior
Get [CodeNode]

It is expected behaviour: we export code as regular text nodes to DOM, once it pasted back to the editor highlighting plugin will run and re-highlight that text

@fantactuka The problem is that when I try to load those text nodes, it will throw an error
rootNode.append: Only element or decorator nodes can be appended to the root node
I have created a new example with a button to load the saved HTML.
https://codesandbox.io/s/kind-waterfall-yox4yy?file=/src/App.js
It will work perfectly when you write a multiple-line Code Block.
But when you write a single-line Code Block, it brekes.

I will create a new issue about the error instead.


Github workflow for auto building and deploying of the website.

@ArunTeltia add gssoc labels

Added

hi! can I work on this issue?

hi! can I work on this issue?

It's assigned to you.

Is this website deployed anywhere yet?

Is this website deployed anywhere yet?

if yes please provide the link here

Is this website deployed anywhere yet?

this is deployed on github pages.. see gh-pages branch. After building the website we need to push the built site to gh-pages branch.
check: projectsakura.xyz/download

Is this website deployed anywhere yet?

this is deployed on github pages.. see gh-pages branch. After building the website we need to push the built site to gh-pages branch.
check: https://projectsakura.xyz/download

Okay got it

Pretty sure we need to add husky for react app and add some pre push and pre commit script
Not sure what we use for vue tho @mis-coder  If you have problems please let me know
We will work on some other issue for you to work on

Pretty sure we need to add husky for react app and add some pre push and pre commit script
Not sure what we use for vue tho @mis-coder If you have problems please let me know
We will work on some other issue for you to work on

Okay

hi, i need github username and email to add in .yml file

hi, i need github username and email to add in .yml file

Username: LordShenron
Email<EMAIL_ADDRESS>

hi i have created pr, kindly check it and let me know if there is any problem

Completed with: https://github.com/ProjectSakura/download/commit/ffd70ea2f72d59eacdecc957a98f0004af2d1b98


Update Blazor CSP guidance

Fixes #24570
Tanay, we can take care of this now.
I version the updates for 7.0 and place that versioned content at the bottom of the topic. This is a little trick that I'm adopting from Rick to avoid breaking links during preview for the current release. The 7.0 content is moved to the top of the topic at 7.0 GA. All 7.0 content added to Blazor docs for 7.0 during preview will appear at the bottom of topics until GA. In spite of all of the cross-link problems with our little versioning hacks 🙈, this approach (that we call "whole-topic versioning" ... full copies of topics for each release version in markdown files) saves us a whole bunch of time and pain (THUS 💰💰💰 !!!).
Because I'm adding a whole copy of the topic for 7.0, you can't make out the changes with GH's help via green-red lines on the diff.
You can use the Internal Review Topic if you want to see it live, but I'll paste the changes here so that you can review/update/approve exactly what's changing ...
For script-src, it's moving to this for >=7.0 ...

[script-src](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/script-src): Indicates valid sources for scripts.

Specify self to indicate that the app's origin, including the scheme and port number, is a valid source.
In a Blazor WebAssembly app:

Specify unsafe-eval to permit the Blazor WebAssembly Mono runtime to function.
Specify any additional hashes to permit your required non-framework scripts to load.

For style-src, it will say ...

[style-src](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Security-Policy/style-src): Indicates valid sources for stylesheets.

Specify self to indicate that the app's origin, including the scheme and port number, is a valid source.
If the app uses inline styles, specify unsafe-inline to allow the use of your inline styles.

The example will show the following for Blazor WASM ...
<meta http-equiv="Content-Security-Policy"
      content="base-uri 'self';
               block-all-mixed-content;
               default-src 'self';
               img-src data: https:;
               object-src 'none';
               script-src 'self'
                          'unsafe-eval';
               style-src 'self';
               upgrade-insecure-requests;">

And the 6.0 NOTE that says ...

The sha256-v8v3RKRPmN4odZ1CWM5gw80QKPCCWMcpNeOmimNL2AA= hash represents the [inline](https://github.com/dotnet/aspnetcore/blob/57501251222b199597b9ac16888f362a69eb13c1/src/Components/Web.JS/src/Platform/Mono/MonoPlatform.ts#L212) script that's used for Blazor WebAssembly. This may be removed in the future.

... is getting the 🪓 CHOP 🔪.
🇺🇦

This looks cool, is it possible to use CSP nonces in .NET 7 with Blazor WASM hosted in ASP.NET Core?
Greetings Damien

Hello @damienbod ... Open your question for the product unit at ...
https://github.com/dotnet/aspnetcore/issues
Please add ...
cc: @guardrex

... to the question. We don't work on closed issues and PRs. Depending on the answer from the product unit, I'll open a new issue for the CSP topic.

Hey @damienbod; https://github.com/dotnet/aspnetcore/issues/36805#issuecomment-1011238759


for pr builder test, ignore this.

for pr builder test, ignore this.

build this

Make new pull request(#340) for pr-builder test. so close this.


[IMPROVEMENT] Get keys easier with NodeRED

Finally published my NodeRED flow to easily get local keys and device IDs for all connected Tuya devices.

Sorry, this appears to be a single long line script in a markup I am not familiar with which makes it difficult to review for recommendation to my users.

Ok.
It's NodeRED flow, which is pretty clear, when imported to NodeRED.
But whatever. Anyways, thanks for your job and quick response.


The plugin adds some unwanted Sprite tracks

Thank you so much for this amazing plugin! However, I see a curious error... When importing the aseprite file, in the animationplayer, the plugin adds tracks from other sprites (which are in the same parent as the animation sprite) and it is set with visible = false
This becomes a problem because it hides the sprites of other objects (such as weapons) that have no relation to the aseprite file.

I have tried to delete these tracks, but they always reappear when importing animations. Tested in Godot 3.5.1

Hello @dannygaray60, thanks for reporting this. I have to look into it, but this looks like a deliberate decision introduced in #64 .
I believe the idea was that when linking multiple aseprite files from different sprites in the same animation player, the ones not related to the animation being played would be hidden, allowing splitting animations across multiple files.
This clearly conflicts with your use case, but I would expect sprites not linked to any aseprite file to be ignored.
I’ll run some tests and think on a solution as I don’t really use the plugin this way. @TheOrioli as you have a better understanding about this feature do you have any notes or suggestions on this?

The big headache here is how to determine "sprites not linked to any aseprite file" in a user friendly, non-confusing way.
Perhaps the correct solution to the problem is to not iterate over all the Sprite nodes in the scene, but instead to iterate over all sprite nodes with animation in the current AnimationPlayer. This would mean the behavior of creating the "visible" track for a node is emergent, only happening when an animation is added to the same animation player. This would solve the UX issue presented here.
I've been wanting to do an update that enables the usage of the plugin with TextureRects, so I could give this a look together with that. No promises on a timeline though 🙂

@dannygaray60 for a quick fix in the meantime, you could edit the source code of the plugin in your project. These lines https://github.com/viniciusgerevini/godot-aseprite-wizard/blob/master/addons/AsepriteWizard/animation_player/animation_creator.gd#L234-L243 are responsible for creating the visible track, you could either delete them, or set the value for the visible track to true, or whatever else you need.

@TheOrioli thanks for the answer!


36 loss decrease

Working to resolve the #36 issue. I'd expect a much greater loss drop that what we are getting.
Apparently you can paste code into https://app.napkin.ai and it'll generate graphs for you, kind of interesting

Next time Chase, use the issue and create branch from that. Then it will automatically close the issue when merged and set it to "Done" in the backlog.


Inconsistent sets of files for the different kernel builds

I was getting a large number of blacklist messages during boot of kernel-6.0.3-android, and an attempt to run install-playstore.sh produced an error and the instruction to see "systemctl status anbox-container-manager.service".
This gave a modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/6.0.3-android.
It also produced messages about anbox-bridge, which I have ignored for now.
Doing 'ls -l /lib/mod*' showed that the two folders modeprobe.d/ and modules/ had not been populated or cleaned consistently.
/lib/modprobe.d doesn't contain a '.blacklist_linux_6.0.3-android.conf' file
/lib/modules contains folders for an excessive number of kernels but no folder for '6.0.1-android'
I would appreciate it if you would take a look to ensure whether these folders are correctly populated, whether the install-playstore should expect to find ashmem_linux and anbox-bridge, and whether some folders should be removed to create more space?

Hey Steve,
thanks for reporting. I will have a look at this maybe tomorrow. Actually i have not much spare time left due to other real life priority and i do all this in my spare time. Anyways thanks for keeping reporting. Hopefully i will find some time tomorrow to hel investigate.
can you do the following for now to check if ashmem is already installed and running:
sudo dkms status the output should look similiar like this:

If yes please try this command:
sudo modprobe ashmem_linux This should load the installed ashmem module if it's there by dkms
If not please try these sets of commands one by one:
export CPATH=~/Downloads
cd $CPATH
wget https://raw.githubusercontent.com/SoulInfernoDE/compile-kernel-from-source/v6.x/nogui/ashmemk6.tar.xz
mkdir anboxashmem
cd $CPATH/anboxashmem
wget https://raw.githubusercontent.com/SoulInfernoDE/compile-kernel-from-source/v6.x/nogui/ashmemsourcefix6x.patch
tar xvf $CPATH/ashmemk6.tar.xz -C $CPATH/anboxashmem/ --strip-components=1
patch -p1 -i ashmemsourcefix6x.patch
sudo cp -rT $CPATH/anboxashmem/ /usr/src/anbox-ashmem-1
sudo cp $CPATH/anboxashmem/anbox.conf /etc/modules-load.d/
sudo cp $CPATH/anboxashmem/99-anbox.rules /lib/udev/rules.d/
sudo dkms install anbox-ashmem/1
sudo modprobe ashmem_linux
sudo lsmod | grep -e ashmem_linux -e binder_linux
sudo ls -alh /dev/binder /dev/ashmem

The last two commands will list / show modules and their bindings that should be in /dev/

You said still nothing, but then sudo modprobe ashmem_linux did not throw an error if I am right?
Linux often does not confirm success rather then sending you some error output only when something doesn't work.
About the socket error that is now the main trouble we need to fix/investigate. Everything else seems fine right?

Here is something I found on the quick:
https://github.com/anbox/anbox/issues/1642#issuecomment-714420024

I will give it all a try tomorrow, but I always prefer to know what response to expect. So long as I know that no response is good, I am happy. That is why I detail what I am doing, so you can just say looks good. I am also going to have to Google that uid stuff, so I understand it better. I hate having to do a sequence of commands without comprehending why.

I found this issue #115, which I think contains more useful information on the same subject: https://github.com/anbox/anbox/issues/115.
I have contacted Pekka.Helenius (@Fjorde.com) to try and access the anbox-install code.
In the meantime the results of my tests, based on #1642 are as follows:
$ cd ~/Downloads/Android_down/
$ wget https://build.anbox.io/android-images/2018/07/19/android_amd64.img
$ if
. . .
fi
$ sudo ./anbox/build/src/ container-manager
--daemon
--android-image=${PWD}/android-image.img
--data-path=${PWD}/anbox-data
LONG WAIT WITH NOTHING HAPPENING
^C
$ anbox/build/src/anbox session-manager
$ anbox/build/src/anbox launch
--package=org.anbox.appmgr
--component=org.anbox.appmgr.AppViewActivity
NOTE: I WAS UNCLEAR WHAT TO DO ABOUT /etc/subuid & /etc/subgid, SO DID NOTHING
NOTE ALSO:
$ which anbox
/usr/bin/anbox
$ anbox version
anbox 0.0-git20181020-2build1-Ubuntu
$ ./anbox/build/src/anbox version
anbox local-7a0bee7
$ anbox system-info
version: anbox 0.0 . . .
cpu:
arch: x64
brand: Intel . . .
features:
- aes
- sse4_1
- sse4_2
- avx
- avx2
os:
name: Ubuntu
version: 22.04.1 LTS (Jammy Jellyfish)
Snap-based: false
kernel:
version: Linux version 6.0.3-android . . .
binder: false
binderfs: true
ashmem: true
graphics:
egl: vendor: Mesa Project version: 1.5
. . .
SO binder: false IS WRONG AND WORRYING ABOUT UIDs PROBABLY WON'T HELP,
I NEED TO READ
https://FunToo.org/LXD/What_are_subuids_and_subgids?
AND ALSO
https:://Man7.org/linux/man-pages/man5/subuid.5.html
BUT I THINK THE KEY (IF I CAN ACCESS IT) IS:
https://FjordTek.com/git/Fincer/anbox-install
WHICH UNFORTUNATELY IS NOT A REPOSITORY IN:
https:://GitHub.com/fincer/
I ALSO THINK WE WE NEED TO CORRECT THE FOLLOWING:
$ sudo find / -name anbox_container_manager.service
NOTHING FOUND
$ sudo find / -name anbox_session_manager.service
NOTHING FOUND

I think it was a script or similiar. Try to save the following content into a text file and name it like you want. For example: anbox_container_manager.sh
Make it executable by right clicking it and selecting properties-make file executable or by: sudo chmod +x nameofyourscript.sh and place it into your ~/.scripts folder so you can use it again if needed. Not sure if it works as expected yet I just throw it together in the quick without testing yet..
About the subgid and subuid:
In linux every user has an unique identity as a number (user ID or uid) . There are also groups which have unique numbers (group ID or guid)
Not sure about the sub uid/gid yet but maybe there's some kind of secondary identifiers added to the first ones.
This security system ensures that people, apps and anything related can only view/access/execute their own files. To be able to execute files where the owner is root for example you could add the user to a group which has executive rights or add that user to the root group (which is obviously dangerous). You can also set uids/gids to files and folders.
You can look at your current uid by just typing this command:
id
doing sudo -i locks you in to the root user and every command is executed as root. (which is in most cases not recommended because it may destroy some uid/gid in some cases when the root user created a folder for example in your normal user home directory that folder belongs to root which is unreadable / unaccessible to the normal user then.)
If you now do:
id
you'll get the id/gid of your root user which often is 0/0
#!/bin/bash

if [ ! -d "/dev/binderfs" ] ; then
  # load modules
  sudo modprobe ashmem_linux

  # mount binder
  sudo mkdir /dev/binderfs
  sudo mount -t binder binder /dev/binderfs
fi
 #start container manager in daemon mode with android image on the specified path
sudo anbox/build/src/anbox container-manager \
    --daemon \
    --android-image=${PWD}/android_amd64.img \
    --data-path=${PWD}/anbox-data

Very nice digging here Steve 💟 : https://github.com/SoulInfernoDE/compile-kernel-from-source/issues/3#issuecomment-1300735417
Yes the missing services is the main problem I think. The solution may be the container manager creating these files when run correctly but I'm not sure about this yet. We are getting closer 😃

Pekka Helenius has restored access to FjordTek.com/git/Fincer/anbox-install and his other repositories, so you might want to look at them. I will try and find time to look tomorrow, but you are probably more familiar with what he has done. I will also work through your response and try to decide how best to proceed, since I suspect there are several options.

THIS DID NOT HELP ME WITH ANBOX SUBUID & SUBGID
$ id
uid=1000(steve) gid=1000(steve) groups=1000(steve),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare),129(docker),130(kvm),132(libvirt)

NOTE: I EDITED MY PREVIOUS COMMENT (ABOVE) TO ANSWER MORE OF YOUR QUESTIONS
$ cd ~/Downloads/Android_down
$ nano ~/.scripts/anbox_container_manager.sh
$ chmod +x !$
$ /bin/bash -x ~/.scripts/anbox_container_manager.sh

'[' '!' -d /dev/binderfs ']'
sudo anbox/build/src/anbox container-manager --daemon --android-image=/home/steve/Downloads/Android_down/android_amd64.img --data-path=/home/steve/Downloads/Android_down/anbox-data

SO NO IMPROVEMENT FROM YESTERDAY,
BUT NOW I HAVE TO CHECK OUT EXACTLY WHAT YOUR SCRIPT IS MEANT TO BE DOING

Im very sorry that i have not much spare time left to support you with that error. The trouble definitly belongs to the container manager / socket and maybe the android image that is used by anbox.


Make RatchetWsServer functions protected

Those functions being private make it impossible to disable or modify some aspects like throttling in implementing classes.

Thanks!


german language extension

This PR adds default fallback system languages to english and german. It adds german for all tabs besides part of bazaar (this is added in PR #247). It also adds german option in the settings.
Therefore closes partly issue 242 (#247 must also be merged to complete german support).
There was originally one PR with all german addition, but now split into:

german language support with I18n (this PR)
add german to bazaar (PR #247)
sort text in I18n libraries ialphabetically
You are also highly welcome to discuss specific terms translated from english to german (i.e. claims, attestations, community (didn't translate, kept as it is), account etc)

any chnce to autodetect rhe system lang?

As far as I understood @anizeani, this is how he implemented it, and it works.

The language is autodetected, i tested it by switching the emulator to german in system languages and it worked

It seems you missed a few of my comments. Note that comments are hidden if there is too many. You can always see every comment in the Files changed tab.

Thx, and sorry. Didnt know it hides remarks..

Not perfect yet, but as we change the UX, we should not dwell too much on those yet.


lw.express.makeMiddleware is not a function

Following the instructions in the ReadMe for the express middleware:
module.exports = async function(){

  const {mylogger, mw} = await lw.express.makeMiddleware(logger);
  return mw;
}

But it says makeMiddlware doesn't exist?
UnhandledPromiseRejectionWarning: TypeError: lw.express.makeMiddleware is not a function

I think they're just about to release v2.0.0, which changes lw.express.middleware to lw.express.makeMiddleware. You can use lw.express.middleware until 2.0.0 lands or its PR branch https://github.com/googleapis/nodejs-logging-winston/tree/release-v2.0.0.
I am not a contributor and these are my observations.

https://github.com/googleapis/nodejs-logging-winston/tree/release-v2.0.0

yeah, you're right thanks not quite sure how to build so will wait for release

It would be nice if we could get a pre-release for testing purposes.

Any ETA on the update?

@ofrobots thoughts on getting this out?


Update status icons immediately after backup

What's your idea?
I like the new icons that are showing the current state for each game, so I can easily see which one needs to backed up. However, there's no way to check if a backup was successful, unless you run "preview" again (which can take a while to complete). Also, it's somewhat confusing that the status icons don't change automatically after a backup.
As a solution, I suggest updating the status icons right after a backup (only if the backup was successful, of course). In order to make sure the backup is valid, you could also run the "preview" code again automatically, but only for those games where a new backup has actually been created (i. e. those marked with Δ and selected by the user). That should be fast enough for most cases.
You could also display a modal window with a success message, but I'm not a big fan of modal windows (I would also like an option to disable the one where you start a backup, tbh). Imho, the approach described above, combined with https://github.com/mtkennerly/ludusavi/issues/159, would be a nice usability improvement :relaxed:

However, there's no way to check if a backup was successful, unless you run "preview" again (which can take a while to complete).

If any saves fail to back up, it'll show an error modal and highlight those games in red. Otherwise, you can assume everything went okay.

Also, it's somewhat confusing that the status icons don't change automatically after a backup.

I agree, actually. The problem is, if it automatically clears the statuses, then what about if you skip the preview and immediately do a backup? Then you won't ever get to see the statuses. We could clear them specifically in the case where you did a preview first, but then it's also possible for a new file to show up in between the preview and the backup.
How about this? After a backup, we could still show the status icons next to each game, but we clear the color highlight, and we don't count them toward the totals on the summary line. They'd keep a grey Δ/+ icon until you preview them again, and then it would disappear like it does now. If you re-preview a game that really has changed, then it would get the color-coded icon and count toward the totals.

I would also like an option to disable the one where you start a backup, tbh

I could add that, but I'm curious how much granularity you'd like. Would you like to disable it just for backups, or also for restores? Hypothetically, if I added a confirmation when deleting a custom game entry, would you want that to be a separate option from the one for backups? Or just a general "never ask for confirmation for anything" setting?

If any saves fail to back up, it'll show an error modal and highlight those games in red. Otherwise, you can assume everything went okay.

That's good to know :+1:

The problem is, if it automatically clears the statuses, then what about if you skip the preview and immediately do a backup? Then you won't ever get to see the statuses.

Is that really a problem?  If Ludusavi would run the preview code after the backup (as I suggested above), it would automatically check and display the state after the backup, which is still helpful to determine if your selected games have been successfully backed up, even if you didn't do a preview first. Actually, that would be the fastest and most convenient workflow, as it requires only a single click / touch and a short wait time (only backup -> preview of your selected games) :thinking:

We could clear them specifically in the case where you did a preview first, but then it's also possible for a new file to show up in between the preview and the backup.

I'm not sure what you mean with "new file"? A new game entry? That shouldn't be possible without running a new scan. Or a new file in the game saves? That would only be possible if the game is running in the background, which would create race conditions that can't be solved reliably anyway.

I could add that, but I'm curious how much granularity you'd like. Would you like to disable it just for backups, or also for restores? Hypothetically, if I added a confirmation when deleting a custom game entry, would you want that to be a separate option from the one for backups? Or just a general "never ask for confirmation for anything" setting?

I would not want to disable confirmation for restores or deletions, as that could lead to data loss (e. g. if you accidentally restore an older save over a newer one). Doing a backup is a pretty safe operation, at least if you've enabled more than one full backup. Also you're usually doing that much more often and thus saving a click may actually be worth it.

This will be in the next release:

https://github.com/user-attachments/assets/702a00b2-4111-42bb-95fe-a9d3421e7341


[XLA] Add a SliceDelaying pass which delaying the spliting-slice

In Hlo DAG, the parameters sometimes split to many tensors to do the same operations. Delaying the tensor split until the same operation is done will make the DAG simpler and code generation more efficient.

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

Googlers: Go here for more info.

I signed it!

@jlebar
Hi Justin,
Wish this could be a starting point to push more of our code back to community.
Thanks.

Before Pass:

After Pass:

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again. If the bot doesn't comment, it means it doesn't think anything has changed.
Googlers: Go here for more info.

I signed it!

Hi Justin,  thanks for your suggestions.
This is our algorithm.
Firstly, the instructions are traversed in post order. It is guarantee the operands of the instruction will be traverse before the instruction.
Then, we choose the instructions (the selected instruction) whose operands are all slice instructions, and reserve the operands of the slices in a vector(operands). these operands of slices are the true operands of the selected instruction. It is implemented in function GetTrueOperands.
And then, we find the peers of the instruction. Here, peers are the instructions which have the same true operands in the same order as the selected instruction. Additionally, the peer's operands should slice from the same location in the output tensor of true operands. The selected instruction and its peers are keep in a vector(users). It is implemented in function GetTrueUsers.
Then, We calculate the cost of slice-delaying in function ShouldReplace. If the total of slice elements are not less than the elements of the true operand, slice-delaying should be implemented for this operation.
At last, the implement of the slice-delaying on the selected instruction and its peers is in function GenerateNewOp.
Additionally, we collected the dead instructions which generated in this pass, and keep them in a set( removed_). These dead instructions' operands are kept in another set( slices_), because these slices instruction may be dead instruction too.
In order to reduce the redundant visits to the peers, we also use a set( visited_)  to record the visited instructions, and skip them in later traverse.
Please let me know if you have any questions.

@jlebar
Hi justin,
Sorry for a little bit delay. We have made refinement of this PR and please take another round of review.
Thanks.

@jlebar
It is right.
Actually, situation 2 "adjacent slice" is a special case. We just consider the total elements in the slice instructions which could be moved "down". If the total elements are more than the elements in the original operation, there must be redundant work, and vice versa.
As you said, it will simplify the graph that the slice instructions are moved "down", even no matter what kind of slice(split-slice, stride-slice or others). Eventually, the simpler graph will be transformed to fewer kernels on GPU backend, or simpler loops on CPU backend.
It could simplify the graph that any kind of slice is moved "down", but what kind of slice instruction could be move "down"? The op's operands, which are sliced from the same range of "true operands"! So, it need to check every operand's slice_starts, slice_limits and slice_strides.

@bixia1 volunteered to help out with this review as well.

Aah, that's silly of me.  Thanks.
On Tue, Apr 23, 2019 at 6:30 PM Xinan Jiang(姜曦楠<EMAIL_ADDRESS>wrote:

@xinan-jiang commented on this pull request.
In tensorflow/compiler/xla/service/slice_delaying_test.cc
https://github.com/tensorflow/tensorflow/pull/27271#discussion_r277926532
:

 s01 = f32[6,8] slice(f32[8,8] p0), slice={[2:8], [0:8]}

 s10 = f32[2,8] slice(f32[8,8] p1), slice={[0:2], [0:8]}

 s11 = f32[6,8] slice(f32[8,8] p1), slice={[2:8], [0:8]}

 add0 = f32[2,8] add(f32[2,8] s00, f32[2,8] s10)

 add1 = f32[6,8] add(f32[6,8] s01, f32[6,8] s11)

 ROOT tuple = (f32[2,8], f32[6,8]) tuple(add0, add1)

}
)";
TF_ASSERT_OK_AND_ASSIGN(auto module,

                     ParseAndReturnVerifiedModule(kModuleStr));

EXPECT_EQ(9, module->entry_computation()->instruction_count());
SliceDelaying slice_delaying;
TF_ASSERT_OK_AND_ASSIGN(bool result,

                     RunHloPass(&slice_delaying, module.get()));

EXPECT_TRUE(result);
EXPECT_EQ(6, module->entry_computation()->instruction_count());

slices are different, but adds are the same.
the add is generated here only once:
auto new_user = computation->AddInstruction(
users[0]->CloneWithNewOperands(shape, operands));
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/pull/27271#discussion_r277926532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABEZBZ64GWEA44TJTCBNPLPR6ZZ3ANCNFSM4HCGP6ZQ
.

Bixia, Thanks for your quick review.
ternary operators UT is really a good idea. It makes this pass more generous. Thanks!

Hi, Bixia Could you speak Chinese? The communication on github is not efficient. And my English is poor. If there is something I mis-understand you, you could connect me on WeChat or telephone. My Wechat number is13818238886, and the same as my telephone. Xinan On 2019-04-26 13:16 , Bixia Zheng Wrote: @bixia1 commented on this pull request. In tensorflow/compiler/xla/service/slice_sinker.cc: > +#include
+#include
+#include "absl/types/optional.h"
+#include "absl/container/flat_hash_set.h"
+#include "tensorflow/compiler/xla/shape_util.h"
+
+namespace xla {
+
+namespace {
+
+class SliceSinkerImpl {

public:
// Returns whether the instruction has been visited. The visited instruction
// has been grouped in a true user group with its peers and it should not be
// grouped in another true user group.
bool IsVisited(const HloInstruction* instruction) const;
Yes, I understand this. An instruction that is already transformed has a user_count == 0, you can use this fact to avoiding transforming it again. If during the call to FindPeerElementwiseOperations for instruction A, we find out instruction B, which is after A in the post order, is not transformable, we currently add B to visited_. This is the situation where using visited_ can avoid inspecting B again. On the other hand, if we don't add B to visited_, either FindElementwiseOperationOnSlices or FindPeerElementwiseOperations for B will return nullopt. So the question is whether we want to introduce a hash that will store all the instructions at the end of this process to save the time of making more calls to FindElementwiseOperationOnSlices or FindPeerElementwiseOperations. If we assume elemementwise-operation-with-all-slices-operands are very rare in a normal program, FindElementwiseOperationOnSlices should quickly return nullopt, and we should go for the approach of not using the visited_ hash. What do you think? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.


Double-clicking a comment to edit it

It is a UI improvement: We should show the editing dialog when a comment is double-clicked.

If there is an address in the comment and the address is double clicked on we should navigate to that address.

To achieve the goal, we need to tweak the comment annotation generation logic so that addresses are emitted as another token. So we can double-click it to navigate that address

implemented

This also addresses https://github.com/Vector35/binaryninja-api/issues/1502


RDM-2425 User Profile - Generate Audit Logs

JIRA link (if applicable)
RDM-2425
Change description
User Profile - Generate Audit Logs
Does this PR introduce a breaking change? (check one with "x")
[x] Yes
[ ] No

Trying to find where my changes are


Drop-down box optimization

When selecting condition, change it based on the drop-down box after the first item。
fix Added Ruler page display exception

after：

can you resolve conflicts


OB2 doesen't open

OB2 is opening and in a millisecond closing
Literally open OB
Steps to reproduce the behavior:
Maybe requirements?
Desktop (please complete the following information):

OS: Win
Browser chrome
Version bro tf i know

Instead of double clicking on the executable, right click on some empty space of the folder explorer while holding Shift and click on "Open PowerShell window here". Then type dotnet ./OpenBullet2.dll and press enter, please paste the output error here so I can help further.

Hi, This Is the error message It display: dotnet: The term "dotnet" is not recognized as the name of a cmdlet, function, script file, or program
executable. Check the spelling of the name, or if a path exists, verify that the path is correct
and try again.
To Line:1 character : 1

dotnet ./OpenBullet2.dll

   + CategoryInfo: ObjectNotFound: (dotnet:String)[], CommandNotFoundException
   + FullyQualifiedErrorId: CommandNotFoundException

This means you didn't install dotnet. Please follow the installation guide, you need to install .NET 6 (install the SDK if unsure) in order to run OB2.


Use bridge address to reach local nameserver on the host.

If the host resolv.conf contains only a local nameserver allow
the container to take advantage of that instead of using the
default nameservers.
Signed-off-by: Sami Wagiaalla<EMAIL_ADDRESS>

Closing as we don't see this PRs solving the issue.
  If you want the local resolver to be available to containers you should have it bind on the bridge, use the --dns option to specific what is written to the resolv conf.
You have a few options for resolving this issue today and the --dns flag will do exactly what your patch is doing now.

Yeah.. I couldn't really come up with a simple way to automate this and ensure it always works

@swagiaal If it's a fresh install you can specific the ip address for the bridge via --bip


Documentation for 2.0.0

Well, this is not an issue. It rather information that docs site needs update.
There is no information about READY_FOR_SLEEP event on the documentation site section Events.

Done, thanks! https://homie-esp8266.readme.io/v2.0.0/docs/events
But the docs will be updated before the release. 😃


Re-land [macOS] Bring up "flutter_gallery" devicelab, start up test for x86.

Reason

The initial desktop integration tests are running now, but they need to be expanded beyond the initial gallery build test; filing this to make sure that planned work is captured in the issue tracker. This should be much more straightforward that getting the first one running was, since the bot work is all complete.
In particular we should ensure we are testing building a freshly created project to catch errors in template changes. (I haven't checked where that test lives on existing platforms; it may be a device lab test, which still needs desktop bring-up).

Related
fixes https://github.com/flutter/flutter/issues/110084
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] All existing and new tests are passing.

In this PR I suggest:

Rename flutter_gallery_mac__start_up.dart to  flutter_gallery_android__start_up.dart.  Only update task_name: flutter_gallery_android__start_up but leave name: Mac_android flutter_gallery_mac__start_up.
Update TESTOWNERS to /dev/devicelab/bin/tasks/flutter_gallery_android__start_up.dart @zanderso @flutter/engine
Create a new file flutter_gallery_macos__start_up.dart with deviceOperatingSystem = DeviceOperatingSystem.macos;.

That will add your macOS benchmark, and prevent breakage of the Android benchmark and keep the data continuous.

Is it not task_name that is used as the key in the datastore?

In this PR I suggest:

Rename flutter_gallery_mac__start_up.dart to  flutter_gallery_android__start_up.dart.  Only update task_name: flutter_gallery_android__start_up but leave name: Mac_android flutter_gallery_mac__start_up.
Update TESTOWNERS to /dev/devicelab/bin/tasks/flutter_gallery_android__start_up.dart @zanderso @flutter/engine
Create a new file flutter_gallery_macos__start_up.dart with deviceOperatingSystem = DeviceOperatingSystem.macos;.

That will add your macOS benchmark, and prevent breakage of the Android benchmark and keep the data continuous.

@jmagman this PR should address requests in your review comment now.

👋 @jmagman thanks for working with me here. Now that both

[ ] https://github.com/flutter/flutter/pull/111117
[ ] https://github.com/flutter/flutter/pull/111147
have landed, this PR is as atomic as it will get. All feedback to this point is addressed; therefore, I am re-requesting your approval.


add param sequencer_sender_type

Description
Add a new param to choose between zkevm-seq-sender or cdk (executing only seq-sender)
sequencer_sender_type "zkevm" or "cdk"

Hi @joanestebanr, I think we can close this PR as it was implemented by #193. Feel free to re-open if needed.


Create generic pages to track components for list, details, edit

page examples:
/design-system/page-examples/create
/design-system/page-examples/detail
/design-system/page-examples/list

keeping this in icebox for now, but should be included in storybook implementation effort

This ticket has been made irrelevant based on Storybook and other work.


Import torch statement missing from Cerebras' neuron.py

Describe the bug
And import torch statement is missing from neuron.py in the cerebras directory causing the script to error when run. Adding import torch allowed the script to run properly
To Reproduce
pm2 start ~/.bittensor/bittensor/neurons/text/prompting/miners/cerebras/neuron.py
Error: No Module named torch

Closing as fixed in #1460


Can't scroll modal if body is setted to fixed

Hello guys, I was having problems with the famous background scrolling instead of the modal issue. After some research I found that the fix is to set the body position to fixed, thanks to that the background doesn't scroll anymore but neither does the modal on Chrome and iOS (for some reason it works as intended on firefox)
Remove the position: fixed attribute fixed the issue on desktop but of course the scrolling issue persists on iOS
css
.ReactModal__Body--open {
overflow: hidden;
position: fixed;
width: 100%;
height: 100%;
}
javascript customStyle
const customStyles = {
overlay: {
backgroundColor: 'rgba(57, 43, 46, 0.8)',
},
content: {
position: 'absolute',
top: 0,
left: 0,
right: 'auto',
bottom: 'auto',
border: 'none',
borderRadius: 'none',
height: '700px',
width: '100%',
padding: 0,
overflowY: 'auto',
backgroundColor: 'transparent',
pointerEvents: 'none'
}
}

Hi @victorsabino this seems duplicated, can you search for the issue?

Closing this for now. Please, feel free to reopen if needed.


[ChatGPT] ...

Extension
https://www.raycast.com/abielzulio/chatgpt
Description

Error:

Steps To Reproduce
I just tried to ask it a question
Current Behaviour
Error
Expected Behaviour
To work

Closing due inactivity

@raycastbot close this issue


Queue seems to stuck when handler is killed half way

reproduction.zip
(Sorry for the extra packages in packages.json)
Reproduction steps:

yarn dev
yarn dev2
node test3

First test: Good

Second test: Stop one of the express process half way -> Queue stuck.

Duplicated of https://github.com/deugene/oraq/issues/8
Because of github form resubmission. sorry.


fix(nestjs-bus): adapted for the latest version of the node-ts stack

affects: @atlantis-lab/nestjs-bus
BREAKING CHANGE:
forRabbitMQ & forMemory method of bus module moved to forRoot method
ISSUES CLOSED: #156

@TorinAsakura готово


SecurityException when enumerating V1 tasks and displaying tasks' info using a DataGrid

I am facing a weird issue. I am trying to enumerate tasks in multiple remote servers (V1 and V2) and then display the tasks in a datagrid. This issue happens when I am connecting to a V1 server (using forceV1=true). The enumeration works fine - the data is passed to the grid even. But as soon as I move my cursor over the grid, I get a SecurityException saying 'Requested registry access is not allowed.' Does anyone know what's going on?
public partial class MainWindow : Window
{
        public MainWindow()
        {
                String osVer;
                using (var reg = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "deves07"))
                using (var key = reg.OpenSubKey(@"Software\Microsoft\Windows NT\CurrentVersion\"))
                {
                        osVer = string.Format("Name:{0}, Version:{1}", key.GetValue("ProductName"), key.GetValue("CurrentVersion"));
                }
                TaskService ts;
                if (osVer.Contains("2003"))
                {
                        ts = new TaskService("REMOTE", "username", "domain", "password", true);
                }
                else
                {
                        ts = new TaskService("REMOTE", "username", "domain", "password");
                }
                List<TaskInfo> taskList = new List<TaskInfo>();
                EnumFolderTasks(ts.RootFolder, taskList);
                DataContext = taskList;
        }

        void EnumFolderTasks(TaskFolder fld, List<TaskInfo> taskLst)
        {
                Debug.WriteLine(fld.Name);
                foreach (Task task in fld.Tasks)
                        taskLst.Add(ActOnTask(task));
                foreach (TaskFolder sfld in fld.SubFolders)
                        EnumFolderTasks(sfld, taskLst);
        }

        TaskInfo ActOnTask(Task t)
        {
                TaskInfo taskInfo = new TaskInfo();
                taskInfo.Name = t.Name;
                taskInfo.isRunning = t.IsActive;
                taskInfo.NextRunTime = t.NextRunTime;
                taskInfo.LastRunTime = t.LastRunTime;
                //taskInfo.LastRunStatus = t.LastTaskResult;
                return taskInfo;
        }

}

public class TaskInfo
{
        public string Name { set; get; }
        public bool isRunning { set; get; }
        public DateTime NextRunTime { set; get; }
        public DateTime LastRunTime { set; get; }
        public int LastRunStatus { set; get; }
}

Originally posted: 2013-07-02T15:35:03

First, try putting brackets in around the scope of your first "using" statement. You can also do the same with the TaskService instance. You could do this by doing:
List<TaskInfo> taskList = new List<TaskInfo>();
using (TaskService ts = new TaskService(REMOTE", "username", "domain", "password", osVer.Contains("2003")))
{
    EnumFolderTasks(ts.RootFolder, taskList);
}
DataContext = taskList;

Originally posted: 2013-07-02T21:09:24

Localizing the TaskService call works like a charm. Thanks a ton!
I am still unsure why this would happen only on V1 calls though - any idea there?
Originally posted: 2013-07-03T07:20:02

My only guess is that there is something different in the way .NET is releasing the underlying COM objects for the two libraries is different.
Originally posted: 2013-07-03T18:15:58


Work on nonce

Hi!
It's nice to see that naivechain inspire people to write additional functionality to it. I however do not have plans to add additional functionality to naivechain for now
Please see https://github.com/lhartikk/naivechain/issues/2#issuecomment-285371679 for a more detailed response for the matter

Hi @lhartikk thanks for commenting, that makes totally sense and was not my intention.
I was pretty sure I created a PR for my own repo and didn't want to merge this into the original code (I swear I double checked :D )
I just wanted to play around and create PRs on my own repo. Sorry for miscommunication


Recognizing more boolean representations

I'm looking at this PR https://github.com/dtolnay/serde-yaml/pull/330/files and see that you've explicitly chosen to represent some values such as Y etc as strings rather than booleans.
According to the yaml spec https://yaml.org/type/bool.html these should be considered booleans. Would you be amenable to accept a change in this behaviour? Most other (all that I know, except this one) yaml parsers do in fact convert these values to boolean values.

The page you linked is not part of the YAML spec.

This link here > https://yaml.org/spec/1.1/#id864510 should be part of the spec as far as I understand.
In that paragraph it's written

YAML allows scalar content to be presented in several formats. For example, the boolean “true” might also be written as “yes”. Tags must specify a mechanism for converting any formatted scalar content to a canonical form for use in equality testing. Like node style, the format is a presentation detail and is not reflected in the serialization tree and representation graph.

Reflecting that yes is part of what should be represented as a boolean.
The section on tags. Also links to the link I mentioned first.

The repository includes additional types such as “null”, “bool”, “set” and others.

That new link is at least 14 years out of date.
As far as I am able to discern, here is the spec that defines what values to interpret implicitly as bool: https://yaml.org/spec/1.2.2/#1032-tag-resolution. This was linked in the summary of my PR that you linked to at the top.

I stand corrected. Thank you for taking the time to reply.


Pick a set of LLM systems to support/prototype

In the #825 we only mention openai, but we should pick a set of vendors/systems we want to support and prototype/validate if attributes/events are applicable to them.

When talking about "LLM Systems" we may want to consider:

Vendor: Google, OpenAI, Cohere, ... (could be used to determine issues with specific vendor, cost calculation,...)
Model Family: Gemini, GPT-4 (may not be necessary but could be used for aggregation)
Model: gemini-1-0-pro, gpt-4-0125-preview (for detailed understanding of model used to generate response)

AWS Bedrock supports multiple models, I can help to create the prototype for Bedrock LLM interactions with OTel Java SDK auto-instrumentation (and Python later), and adhering to span semantic convention definitions.

https://docs.aws.amazon.com/bedrock/latest/userguide/models-supported.html

NViDIA supports AI Foundation endpoints (https://www.nvidia.com/en-us/ai-data-science/foundation-models/) that we would like to  support for generating open telemetry based traces using these semantic conventions.
Note that NVIDIA generative AI examples repo showcases adding open telemetry based observability for Python based generative AI  applications using langchain and llama index. Please see:
https://github.com/NVIDIA/GenerativeAIExamples/blob/main/docs/observability.md
We will explore modifying these traces to adhere to the proposed semantics.
In a side note, we would like to present the current work performed for supporting open telemetry based testing for llm, RAG, vector databases etc detailed in the documentation above. Is there a periodic sync up of this community where we can present?

@bhanupisupati please check https://docs.google.com/document/d/1EKIeDgBGXQPGehUigIRLwAUpRGa7-1kXB736EaYuJ2M/edit#heading=h.ylazl6464n0c for meeting details.

Thank you!
On Wednesday, May 8, 2024, Guangya Liu @.***> wrote:

@bhanupisupati https://github.com/bhanupisupati please check
https://docs.google.com/document/d/1EKIeDgBGXQPGehUigIRLwAUpRGa7-
1kXB736EaYuJ2M/edit#heading=h.ylazl6464n0c for meeting details.
—
Reply to this email directly, view it on GitHub
https://github.com/open-telemetry/semantic-conventions/issues/839#issuecomment-2101200917,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALZTDSTTWANBBJEAH4M25ALZBJWKVAVCNFSM6AAAAABFJ7LOMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBRGIYDAOJRG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

I have reviewed the API docs of Anthropic, Cohere and Google and also the new model spec introduced by OpenAI that has some changes. Described below is the summary of my findings along with proposed recommendations for the same. After discussing this on the WG call, I am happy to make a PR for the same.

OpenAI introduced a new model spec where they are renaming ‘system’ role to ‘developer’ role.

Proposal:
Rename gen_ai.system.message -> gen_ai.developer.message

OpenAI introduced a new role called ‘tool’ which generated by some program.

Proposal: Introduce gen_ai.tool.message

Clarification required

Difference between gen_ai.assistant.message vs gen_ai.choice
Should we just stick to gen_ai.assistant.message?
Proposal: stick to gen_ai_assistant.message

Stop Sequences

We need to instrument stop which is used for providing up to 4 sequences where the API will stop generating further tokens. This is provided by other LLM vendors like anthropic and cohere aswell.
Proposal: Introduce gen_ai.request.stop

Top K

Anthropic also provides an option to specify top_k. This option lets the developer only sample from the top K options for each subsequent token. Used to remove "long tail" low probability responses.
Proposal:  Introduce gen_ai.request.top_k

Anthropic

Equivalent attributes(Maps from OpenAI -> Anthropic):
finish_reason -> stop_reason
stop -> stop_sequences
These attributes need to be mapped accordingly by the instrumentation library.

Cohere

Equivalent attributes(Maps from OpenAI -> Cohere):

Role: Assistant -> CHATBOT

Role: System -> Preamble

There is an additional “preamble” field in addition to the system role. Preamble adds content to the top of the messages fed to the LLM and adjusts the model behavior for the entire conversation while system message is part of the message history.
Proposal: introduce a new field gen_ai.request.preamble

chat_history is a list of messages(objects)

Proposal: Should be transformed and mapped to gen_ai.user.message as a list of json objects

Connectors
This is a list of objects used for connecting to different data sources to fetch additional data from and passing it to the LLM. Ex: web search.

Proposal: Introduce gen_ai.request.connectors

Documents
A list of relevant documents that the model can cite to generate a more accurate reply. Each document is a string-string dictionary.

Proposal: Introduce gen_ai.request.documents

frequency_penalty and presence_penalty
Proposal: Introduce gen_ai.request.frequence_penalty and gen_ai.request.presence_penalty.

Google

Safety Settings
Proposal: Introduce gen_ai.request.safety_settings which is a list of objects.

Let's close this one. We have OpenAI, Cohere, Vertex AI, Azure AI Inference


Paste indentation is broken

When you paste it uses the indentation level of the last line regardless of how many empty lines are between

Fixed.


Refactor and fix lint

This PR refactors the linting code a bit and fixes a couple minor issues on the way. This not perfect but it feels like an improvement and will make it easier to deal with #149.
Basically what happens is:

We removed the dead lint_files field from Pkg.t
Moved all linting code to a separate Lint module which had the nice side effect of bringing back the check for CHANGES, LICENSE and README existence as we now use Pkg public API instead of the field directly, which leads to a look up of those files
Removed some unecessary extra checks that were performed by opam lint already
Splitted into several smaller functions
Refactored the lint_opam bit so that we try to differentiate what a lint error and a global error is by expanding linting errors early. Couldn't do that all the way to keep this PR small as it required some further changes in other functions. We define a Logs.on_error wrapper for now.

Let me know what you think!

I pushed another commit to report the extra checks we perform. See the last three lines before the error here:

Looks good, thanks!


ClassCastException after upgrading from Mongock 4.1.14 to 5.2.4

Description
After upgrade to 5.2.4 from 4.1.14, the old changelog cannot be processed anymore.
PRIORITY
[CRITICAL]
Version and environment
Mongock

Mongock version: 5.2.4
Modules involved(springboot:3.0.5,MongoDB:4.2)

Reproduction

Create changelog with 4.1.14
Upgrade to 5.2.4
Run project

Behaviour
Expected behavior: no exception
Actual behavior:
io.mongock.api.exception.MongockException: java.lang.RuntimeException: org.bson.Document cannot be cast to java.util.Date
at io.mongock.runner.core.executor.MongockRunnerImpl.execute(MongockRunnerImpl.java:71)
at io.mongock.runner.springboot.base.MongockApplicationRunner.run(MongockApplicationRunner.java:18)
at org.springframework.boot.SpringApplication.callRunner(SpringApplication.java:760)
... 5 common frames omitted
Caused by: java.lang.RuntimeException: org.bson.Document cannot be cast to java.util.Date
at io.mongock.utils.DateUtils.toDate(DateUtils.java:23)
at io.mongock.driver.mongodb.sync.v4.repository.MongoSync4ChangeEntryRepository.lambda$getEntriesLog$0(MongoSync4ChangeEntryRepository.java:116)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
at io.mongock.driver.mongodb.sync.v4.repository.MongoSync4ChangeEntryRepository.getEntriesLog(MongoSync4ChangeEntryRepository.java:126)
at io.mongock.driver.api.entry.ChangeEntryService.getEntriesMap(ChangeEntryService.java:70)
at io.mongock.driver.api.entry.ChangeEntryService.getExecuted(ChangeEntryService.java:40)
at io.mongock.runner.core.executor.ChangeExecutorBase.loadExecutedChangeEntries(ChangeExecutorBase.java:437)
at io.mongock.runner.core.executor.system.SystemUpdateExecutor.executeMigration(SystemUpdateExecutor.java:64)
at io.mongock.runner.core.executor.system.SystemUpdateExecutor.executeMigration(SystemUpdateExecutor.java:22)
at io.mongock.runner.core.executor.MongockRunnerImpl.execute(MongockRunnerImpl.java:56)
... 7 common frames omitted
How often the bug happens: on every startup

Hello @fnordian ,
We are looking at this. It's very strange because this DateUtils is a new support we added for LocalDateTime. In older versions of the MongoDB driver, it could only read dates, however they recently added support for "new" Java 8 temporal API. So now we check if it's a date or LocalDateTime, however in your case it seems to be a Document.
Could you give me the value in the database of that supposed date, please? Cheers

Hello @dieppa ,

The document is:
{
    "_id" : ObjectId("5f291e43cdbd9b0eec9fb1a9"),
    "executionId" : "2018-10-14T08:14:53.446535-839",
    "changeId" : "init",
    "author" : "",
    "timestamp" : {
        "$date" : "2018-10-14T08:14:53.302Z"
    },
    "state" : "EXECUTED",
    "changeLogClass" : "com...........",
    "changeSetMethod" : "initialSet",
    "executionMillis" : {
        "$numberLong" : "3"
    },
    "_class" : "io.changock.driver.api.entry.ChangeEntry$1"
}

Thanks, @fnordian , that helps a lot. We'll fix the bug the soonest we can and will notify you 😃

Hello @fnordian ,
First mention that this wasn't failing in previous versions of Mongock(v4) because although we were storing the data(timestamp and executionMillis), we weren't reading it. Now, in version 5, we have started to read it and that's producing the error. It's weird that you are the only user experimenting this, though.
Said that, going to the actual technical reason, we have been trying to reproduce the error and the only way is by inserting manually to MongoDB the document you provided. When using the Java driver it saves it as follow(the expected format by Mongock)
{
    "_id" : ObjectId("5f291e43cdbd9b0eec9fb1a9"),
    "executionId" : "2018-10-14T08:14:53.446535-839",
    "changeId" : "init",
    "author" : "",
    "timestamp" : ISODate("2018-10-14T08:14:53.302Z"),
    "state" : "EXECUTED",
    "changeLogClass" : "com...........",
    "changeSetMethod" : "initialSet",
    "executionMillis" : NumberLong(3),
    "_class" : "io.changock.driver.api.entry.ChangeEntry$1"
}

Please note that fields timestamp and executionMillis are saved with different format (yours as sub-document).
We think that's due to the fact that you were using an old version of MongoDB or the driver. To discard some possibilities, can you provide the following information?

The MongoDB's version used when that changeEntry was inserted(2018-10-14).
The oldest version of MongoDB you have used Mongock with
The Java MongoDB driver's version used when that changeEntry was inserted(2018-10-14).
The oldest version of Java MongoDB driver you have used Mongock with
Are all the changeUnits  saved with the same format(subdocument with $date/$numberLong)?

The initial MongoDB was 4.0. That's when the first entries have been inserted.
Spring Boot 2.0.3.RELEASE was used. So it should have been mongodb-driver 3.6.4. That's the oldest driver that was used.
More recent changelog entries use Date instead of subdocument with $date/$numberLong

Sorry for hijacking the issue but I'm having a similar problem. We have the migration collection generated I believe from a previous version (I'm inheriting the project) and  we're exporting the data with mongoExport to a DB clone and "executionMillis" does not have the type "NumberLong", only the value.
We've imported the data but then when Mongock reads the entries it fails with
java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.Long (java.lang.Integer and java.lang.Long are in module java.base of loader 'bootstrap')\n\tat org.bson.Document.getLong(Document.java:283)\n\tat io.mongock.driver.mongodb.sync.v4.repository.MongoSync4ChangeEntryRepository.lambda$getEntriesLog$0(MongoSync4ChangeEntryRepository.java:117)\n\tat java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)\n\tat java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)\n\tat java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)\n\tat java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)\n\tat java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)\n\tat java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)\n\tat java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)\n\tat io.mongock.driver.mongodb.sync.v4.repository.MongoSync4ChangeEntryRepository.getEntriesLog(MongoSync4ChangeEntryRepository.java:120)\n\tat io.mongock.driver.api.entry.ChangeEntryService.getEntriesMap(ChangeEntryService.java:68)\n\tat io.mongock.driver.api.entry.ChangeEntryService.getExecuted(ChangeEntryService.java:38)\n\tat
Looking at the code the only place with a Long is "executionMillis".  It's trying to read into a Long but it's an "Integer" ??


Correct the wrong words in the prompt information

Proposed changes
Correct the wrong words in the prompt information
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes/No/No Need)
Does it need to update dependencies: (Yes/No)
Are there any changes that cannot be rolled back: (Yes/No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

be/src/olap/olap_common.h
UNKNOW OLAP_FIELD_TYPE_STRING can be replaced with UNKNOWN ...

is this issue still open


[UTILS-138] Remove deprecated classes and methods

Fixes #138

Coverage remained the same at ?% when pulling<PHONE_NUMBER>c3e5cc4d6194d147477bc6f204206d on heuermh:remove-deprecated into c0df260bcddc4005e7713162355c29ec5c65ce52 on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/bdg-utils-prb/162/
Test PASSed.


Generic string bodies

Pull request for #536

This should be rebased against v68, and you  should add the files const_body.cpp and mutable_body.cpp to this project:
https://github.com/vinniefalco/Beast/tree/v68/test/common
The .cpp file just includes the .hpp, to make sure it compiles by itself. Here's an example
https://github.com/vinniefalco/Beast/blob/v68/test/common/detect_ssl.cpp

After rebasing my branch i have to close this pull request and create a new one?!
Is my branch rebased? github says while comparing against v68 "These branches can be automatically merged."

Github often gets confused when projects attempt to keep a linear history, I wouldn't worry about it. But you included a merge commit which I typically try to avoid.

After rebasing i get bad errors:
In file included from /home/mike/workspace/Beast/include/beast/http.hpp:21:0,
                 from /home/mike/workspace/Beast/include/beast.hpp:14,
                 from /home/mike/workspace/Beast/./example/doc/http_examples.hpp:8,
                 from /home/mike/workspace/Beast/test/http/doc_examples.cpp:8:
/home/mike/workspace/Beast/include/beast/http/parser.hpp: In instantiation of ‘class beast::http::parser<true, mutable_body<std::vector<char> >, std::allocator<char> >’:
/home/mike/workspace/Beast/test/http/doc_examples.cpp:336:65:   required from here
/home/mike/workspace/Beast/include/beast/http/parser.hpp:52:5: error: static assertion failed: BodyWriter requirements not met
     static_assert(is_body_writer<Body>::value,
     ^~~~~~~~~~~~~

Any idea why body concept check stopped working?

I followed your suggestions. So you can try another review.

Code looks great, I squashed it down and now its part of version 68 (see https://github.com/vinniefalco/Beast/pull/541) Thanks!


Has complex MVN been implemented?

I have below error for my code , where muC and SigmaC are complex vector and matrix
dist = tf.contrib.distributions.MultivariateNormalFull(muC, SigmaC)

TypeError: Value passed to parameter 'input' has DataType complex64 not in list of allowed values: float64, float32

I tried to implemented the pdf of MVN by myself, but it looks like tf.matrix_inverse also don't support complex tensor.

What's more generally the intended scope of support for complex operations in tensorflow?

Automatically closing due to lack of recent activity. Since this issue is old at this point, please reopen the issue if it still occurs when tried with the latest version of Tensorflow. Thank you.


utils: fix 'get_bucket_size'

close #102

Can we merge https://github.com/inveniosoftware/invenio-stats/pull/104 before the release commit?
I can add the release commit afterwards.


False positive "You are passing the delta object from the onChange event back as value"

In my case, when  both nextContents and this.lastDeltaChangeSet are undefined, I get this error. It happens in a real scenario when I switch between 2 records, and component.js componentWillReceiveProps gets called
From component.js:
if (nextContents === this.lastDeltaChangeSet) {
        console.error(nextContents, this.lastDeltaChangeSet)
        throw new Error(
          'You are passing the `delta` object from the `onChange` event back ' +
            'as `value`. You most probably want `editor.getContents()` instead. ' +
            'See: https://github.com/zenoamaro/react-quill#using-deltas'
        )
      }

React-Quill version
1.3.3

PR welcome to add a typecheck

Had the same issue, as a workaround I initialize the passed value as an empty String:
constructor() {
  this.state = {
    quillContent: props.value || props.defaultValue || "",
  }
}
 ...

render() {
  return <ReactQuill value={quillContent}/>
}

A value={quillContent || ""} also should work if you're lazy.

@alexkrolick i would like to take this issue and work on it.

<Form.Item initialValue='' name='content' label='内容' rules={[{required: true}]}>             <ReactQuill ref={quillRef} theme="snow" value='' modules={_qModules}/>         </Form.Item>
You need to set an initial value

<Form.Item initialValue='' name='content' label='内容' rules={[{required: true}]}> <ReactQuill ref={quillRef} theme="snow" value='' modules={_qModules}/> </Form.Item>
You need to set an initial value

To second the answer of dashixiong-11. You need to set an initial value to ReactQuill component. This worked for me.
<ReactQuill value={props.value ?? ""} /> // This messes up with the entire screen if null or undefined

I am still have this error:
<ReactQuill value={value || ''} defaultValue='' />

I am still has this error:
<ReactQuill value={value || ''} defaultValue='' />

I still have this error:
<ReactQuill value={value || ''} defaultValue='' />

I am still have this error:
<ReactQuill value={value || ''} defaultValue='' />


Connect wallet component for the frontend template

What do you think about creating a reusable "Connect wallet" component?
What I'm talking about is pretty much RainbowKit, but for Cosmos. Making an extensible component for something like this may be important because alongside Keplr we have Cosmostation, Leap and other yet to be released wallets.
It will allow users to:

Get links to install extension-wallets
Connect to extensions and mobile wallets
Copy address, see the balance of a selected (probably staking) token
Change networks (maybe)

Devs to:

Have a single component that they can just drop into their app to get wallet connection functionality
Add custom wallets/chains by overriding config
Customize the look and feel of the modal
Enjoy the same API that RainbowKit offers (making it easier for devs to transition)

have you seen https://github.com/chainapsis/cosmodal ?
also, @NoahSaso made many changes here https://github.com/NoahSaso/cosmodal and will be soon making PRs.

I think this is a great idea, but wondering since beaker's focus is around cosmwasm, this may be better suited for expanding features in something like cosmodal.
I've also been thinking cosmodal should be split into a yarn workspace with packages so we can start adding more features to it. What do you think?
Then something like beaker could leverage cosmodal and then cosmodal could be more modularized and structured so we can achieve all these goals.

agreed with @pyramation, it's a great idea, but doesn't seem to be beaker's focus. leveraging cosmodal does make sense :)


【bug】连页模式上传多张图片之后切换成分页模式光标显示错误

version
0.9.78
Link to minimal reproduction
No response
Steps to reproduce
1.连页上传多张图片
2.切换成分页模式
What is expected?
光标正常显示
What is actually happening?

System Info
No response
Any additional comments?
No response

重复：https://github.com/Hufe921/canvas-editor/issues/589


Truma switches automatically on after HA restart

My HA is switching on the Room Heater after rebooting. I have also troubles to keep the truma switched off. Somehow it starts automatically!

I need more info about our setup! The HA automation is correct function only with Celsius degrees

Yes, of course, everything you need.
i have copied your truma.ii and yaml.
the only thing changed is, the min temp for a test (to switch it off via target room temperature setting.
i can switch it off on the truma panel.

Sorry, I don't understand the problem.
If I understand correctly, you are using my ESP module and can also control the Truma via MQTT. The HA scripts have been tested many times and run perfectly in many installations. If you have changed something, you have probably made a mistake.

I use your code straight out the box. I have made changes to investigate the fault.
It seems like that the home assistant cant either send the data correctly to the esp or the esp cant send the data to the bus.

I don't understand what you mean?

The best thing to do is to reinstall ESP and HA Yaml.


Add StackExchange / StackOverflow social links

StackExchange and StackOverflow are kind of a big deal in the same community that's likely to be using Jekyll and minima. It would be awesome to have Stack* username/link support!
https://stackoverflow.com/company/logos

Do you want to take a stab at it and open a PR? Look at other social networks for inspiration.

I can put the liquid/template stuff together, but the SVG is way outside of my skill set 😝

The SVG for Stackoverflow already exists, so you can use that:
https://github.com/jekyll/minima/blob/6baaec2/assets/minima-social-icons.svg?short_path=fa7399f#L21
The link text is the tough bit.  See this comment from the original PR:

Since the link text is goofed up, I'm going to drop Stackoverflow unless there are any objections...

All the other social sites use the username for cross-purposes of deep-linking and the human-readable name.

Why is this closed? (I came looking for the same thing)


Auth Hubot when Mail Sign-In disabled

I recently installed Gitlab in our company. All users have to sign in via GitLab, so I disabled the mail sign-in in Mattermost.
This way when run the hubot, I get a login error. This happens because the endpoint your-mattermost-url.com/api/v4/users/login does not work, since it returns this response:
{
	"id": "api.user.login.use_auth_service.app_error",
	"message": "Please sign in using gitlab",
	"detailed_error": "",
	"request_id": "4d9b8phq3brz3y65czeb4gezfh",
	"status_code": 400
}

After research, I found this, in this case hubot user should sign-in using a personal token. Or do I understand sth wrong?
Would be possible to built this in? I could try to implement this and make a PR.

This unfortunately is blocking us as well.

@rgomez90 @chrispoupart version 5.1.0 now supports authorization using a personal access token. Set your personal access token in MATTERMOST_ACCESS_TOKEN. Please give it a try. It should make hosting the bot in an SSO setup much simpler.


Quiz App using  html,css,javascript

Developer Checklist

[x] Followed guidelines mentioned in the readme file.
[x] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[x] Starred ⭐ the Repo (Optional)

Summary
I have developed an Advanced JavaScript Quiz app with 10 basic questions(Random). The app allows users to start the quiz, answer questions one by one, and view their score on a result page after answering all 10 questions.
Screenshot

Live Project Link
https://yashwanthvarma18.github.io/QuizApp/

@thinkswell @PBJI please look into the PR and merge it


Internal API

Where i can find the internal api of https://pagekit.com/api?

why do you want to this?

to study


get_ip_pool_config() in datastore.py is missing UT coverage.

Title says it all.

@robbrockbank Have you just fixed this?

Yes.... Once I check it in.  This is part of the get 100% coverage of datastore in the UTs.

Fixed by #241


Reimplement using GStreamer and Rust

This PR reimplements the EasySplash using GStreamer as backend. This is the first preview and likely will be changed prior it is released.
To run this, you can use:
ES_RUNTIME_DIR=/tmp/es GST_DEBUG=1 RUST_LOG=trace cargo run -- open data/ossystems-demo

and to send commands to interrupt the animation (current animation is not interruptable) you can use:
ES_RUNTIME_DIR=/tmp/es RUST_LOG=trace cargo run -- client --stop

@Jonathas-Conceicao I'll rework the examples on README but please review the rest of the PR.


Can you output the confidence of key points? Please let me know if you can. Thank you.

This template is for miscellaneous issues not covered by the other issue categories
For questions on how to work with MediaPipe, or support for problems that are not verified bugs in MediaPipe, please go to StackOverflow and Slack communities.
If you are reporting a vulnerability, please use the dedicated reporting process.

Hi @lucker26,
Kindly provide more details regarding your inquiry. Additionally, we suggest filling out the template to ensure we have the necessary information for a more effective response to your support needs.
Thank you

The following is my custom code. I found that I can only output the coordinates of key points. If I want to output the confidence while outputting the coordinates of each key point, how can I modify my code or need to call other classes?
import cv2
import mediapipe as mp
import csv
import h5py
from datetime import datetime
mp_hands = mp.solutions.hands
hands = mp_hands.Hands(static_image_mode=False,
max_num_hands=4,
min_detection_confidence=0.5,
min_tracking_confidence=0.5)
mpDraw = mp.solutions.drawing_utils
def process_frame(img, csv_writer):
img = cv2.flip(img, 1)
img_RGB = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
results = hands.process(img_RGB)
if results.multi_hand_landmarks:
for hand_idx in range(len(results.multi_hand_landmarks)):
hand_21 = results.multi_hand_landmarks[hand_idx]
mpDraw.draw_landmarks(img, hand_21, mp_hands.HAND_CONNECTIONS, mp.solutions.drawing_styles.get_default_hand_landmarks_style(),
mp.solutions.drawing_styles.get_default_hand_connections_style())
if csv_writer is not None:
row = [datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")]
for lm in hand_21.landmark:
confidence = lm.presence
row += [lm.ximg.shape[1], lm.yimg.shape[0]]
print(confidence)
csv_writer.writerow(row)
return img

csv_file = open('hand_poses.csv', mode='w', newline='')
csv_writer = csv.writer(csv_file)
headers = ['timestamp']
for i in range(21):
headers += [f'x_{i}', f'y_{i}']
csv_writer.writerow(headers)
cv2.VideoCapture(-1).release()
cap = cv2.VideoCapture(0)
cap.open(0)
while cap.isOpened():
success, frame = cap.read()
if not success:
print('Error')
break
frame = process_frame(frame, csv_writer)
cv2.imshow('my_window', frame)
if cv2.waitKey(1) in [ord('q'), 27]:
break
csv_file.close()
cap.release()
cv2.destroyAllWindows()

For the Hands solution, there is a concept of "presence" and "visibility" for landmarks. According to the MediaPipe Hands documentation, "presence" indicates the likelihood of the landmark being present in the image, while "visibility" indicates the likelihood of the landmark being visible (not occluded) in the image. These can act as confidence scores for individual landmarks.
You can modify your code to include these confidence values for each landmark as follows:
Add headers for the presence and visibility confidence scores for each landmark to your CSV.
Extract the presence and visibility values for each landmark and include them in the row you write to the CSV.
Here's how you can modify your process_frame function and the headers for the CSV:
import cv2
import mediapipe as mp
import csv
from datetime import datetime

mp_hands = mp.solutions.hands
hands = mp_hands.Hands(static_image_mode=False,
                       max_num_hands=4,
                       min_detection_confidence=0.5,
                       min_tracking_confidence=0.5)

mpDraw = mp.solutions.drawing_utils

def process_frame(img, csv_writer):
    img = cv2.flip(img, 1)
    img_RGB = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
    results = hands.process(img_RGB)

    if results.multi_hand_landmarks:
        for hand_idx, hand_landmarks in enumerate(results.multi_hand_landmarks):
            mpDraw.draw_landmarks(img, hand_landmarks, mp_hands.HAND_CONNECTIONS,
                                  mp.solutions.drawing_styles.get_default_hand_landmarks_style(),
                                  mp.solutions.drawing_styles.get_default_hand_connections_style())
            if csv_writer is not None:
                row = [datetime.now().strftime("%Y-%m-%d %H:%M:%S.%f")]
                for lm_idx, lm in enumerate(hand_landmarks.landmark):
                    # Include 'presence' and 'visibility' for each landmark
                    row.extend([lm.x * img.shape[1], lm.y * img.shape[0], lm.z * img.shape[2], lm.presence, lm.visibility])
                csv_writer.writerow(row)

    return img

# Open CSV file for writing
csv_file = open('hand_poses.csv', mode='w', newline='')
csv_writer = csv.writer(csv_file)

# Write headers for CSV file
headers = ['timestamp']
for i in range(21):
    headers.extend([f'x_{i}', f'y_{i}', f'z_{i}', f'presence_{i}', f'visibility_{i}'])
csv_writer.writerow(headers)

# Initialize video capture
cap = cv2.VideoCapture(0)

while cap.isOpened():
    success, frame = cap.read()
    if not success:
        print('Error')
        break
    frame = process_frame(frame, csv_writer)
    cv2.imshow('my_window', frame)
    if cv2.waitKey(1) in [ord('q'), 27]:  # if 'q' or ESC is pressed, exit
        break

# Cleanup
csv_file.close()
cap.release()
cv2.destroyAllWindows()

Thank you for your suggestion, but presence should mean the probability of the existence of hands, not the probability of the existence of each key point, and the actual output of presence and visibility is 0. Why?


What does this module do?

Forgive me for a potentially elementary question, but I saw this module in use in the wild and couldn't figure out what it was for other than to satisfy linting errors. Coming upon the README didn't offer much more on the subject, so I thought I'd ask. And suggest perhaps putting the "why" in the README?

The main use case is for running browser code in nodejs.
Suprisingly when using min-document to emulate various aspects of the DOM you can run most unit tests for frontend code in node. This means of running tests is far simpler and lighter then using phantom or spawning a browser to run your test suite.

Oh wow, I've been using jsdom-global for that. This sounds much simpler! Thanks for the explanation. Do you think it's worth adding a note similar to your response to the readme? Or do most others get it?

Any plans on supporting other browser globals, such as location, history, and navigator? :)
(Btw, author of jsdom-global here!)

I've since punted on supporting other things because I don't touch frontend anymore :P
I think it would be cool to have node compliant shims for other things so that unit tests can run, feel free to open a PR!

I'd like to contribute to the repo; I'd love for it to export all references to globals in the DOM and Standard APIs. If that's something that would be in line with the goal of this package, let me know

@ndugger
I think this module is only for exposing browser globals that can be "mocked" in node.
A library can import this library so that the library can be tested in both a browser and nodejs and phantomjs, etc.


pstoedit: 3.74 -> 3.75

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pstoedit/versions.
meta.description for pstoedit is: '"Translates PostScript and PDF graphics into other vector formats"'.
meta.homepage for pstoedit is: '"https://sourceforge.net/projects/pstoedit/"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.75 with grep in /nix/store/apifla9x4ic9hpw9hj3d0gpcfgbxr1sz-pstoedit-3.75

directory tree listing: https://gist.github.com/885eaa0dc6bc3402796789268bb395c6

du listing: https://gist.github.com/72018aeb8a4607bad90aeda026a732ac

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)
2 package rebuild(s)
2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
autotrace
pstoedit

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/apifla9x4ic9hpw9hj3d0gpcfgbxr1sz-pstoedit-3.75 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A pstoedit https://github.com/r-ryantm/nixpkgs/archive/671d8686b052f2cdbc50581c6f827101ed2da31d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/apifla9x4ic9hpw9hj3d0gpcfgbxr1sz-pstoedit-3.75
ls -la /nix/store/apifla9x4ic9hpw9hj3d0gpcfgbxr1sz-pstoedit-3.75/bin

cc @marcweber for testing.

@GrahamcOfBorg build

nix-review is happy with this and the program runs.


Predict correct SLN file

Selecting the proper SLN every time we open some multi-SLN solution is a bit inconvenient. This change is trying to automate the selection of proper SLN file. The selection algorithm is rather simple. It just checks all the SLN files for the definition of the csproj file that we're currently "in" (using the closest csproj in the parent dirs).
It also renames/reorganizes some stuff, hopefuly for the better.

Looks good to me! Thank you😄


state: add config.debug_stop_at_height

Adds an option for debugging that exits the process after a block with
the specified height has been received by the state system.
Motivation
We'd like to be able to shut down the node at a particular height, for use in testing, generating state dumps, etc.
Solution
Adds a debug_stop_at_height option to the config, and checks after attempting to commit a block whether the block's coinbase height is the stop height.

Based on download-set because that branch has a working sync implementation.

This is a duplicate of #1193, which also has a launch check, a sync before exit, and some tests for this feature.


Question: does Html.Bootstrap.Form() use antiforgery tokens?

Should I still make this call in my form or does fluent take care of it?
@Html.AntiForgeryToken()

Yeah, you'll still need that. FluentBootstrap doesn't do anything to help with embedding an anti cross site request forgery token.


"async-http-client-backend-zio" % "3.5.1" pulls in zio 2.0 release candidate

the async-http-client-backend-zio uses a zio-2.0 implementation of the zio-interop-reactivestreams which in turn pulls in the current RC of zio 2.0
This is unwanted and unexpected behavior

please release a new version that uses the stable version
libraryDependencies += "dev.zio" %% "zio-interop-reactivestreams" % "1.3.9"

instead.

Hi @domdorn
Such version is already released under "com.softwaremill.sttp.client3" %% "async-http-client-backend-zio1" % "3.5.1"

oh, awesome! didn't know that existed and sbt dependencyUpdates just gave the normal one.. THANKS!


What is the current landscape of mobile RSS apps?

Stringer emulates the Fever API in order to be compatible with some popular (circa-2013) RSS mobile apps.
What are the current popular apps? Do they support using Stringer as your "RSS Source"? Is there a different API that we should emulate? If so, what clients will that gives us access to?
(Personally, I only read on desktop -- so please weigh in if you are a mobile RSS user)

I still use it occasionally on iOS via Unread which still has Fever support. Unread isn't one of the "current popular apps" though.

I'm using Reeder on both iOS and Mac and that works great with the Fever API. I don't know about other iOS apps that support Fever.
I've used an Android phone for a while though and there the only option seemed to be Press which worked OK, but feels a bit outdated. Looking at other available apps it seems that some support TinyTinyRSS (presumable via it's JSON API).
So perhaps emulating the TinyTinyRSS would expand options a bit.

I've been using Reeder on iOS and OSX too. I think it's still one of the most popular RSS apps on both platforms.

There's no good app that supports Fever on F-Droid, which is too bad. I really wish I could access this on my phone, but desktop works ok for now.

Press used to be the top app for me, but it seems to be abandoned.

Unfortunately on Android there's not much choice anymore. Most feed reader apps don't support any self hosted feed readers at all, only Feedly, Feedbin etc.
For myself I'm now using a patched version of Newsfold with a hacked up implementation of the Inoreader API in Stringer. That works pretty well but is not ideal because it requires patching the APK.

I'm closing this issue for lack of activity.

did anyone found any good android application that works with Fever API?

I'm still using patched Newsfold with an Inoreader API for Stringer. If there's interest I can publish the sources for this. It's not very polished but works well.

@pascalw That would be great.

@romanar ok here it is.

Apply this commit to your Stringer instance.
Add a INOREADER_TOKEN=somethingRandomHere environment variable to Stringer
Get a copy of Newsfold apk. Note I've only tested this with Newsfold 1.2.
Run this patch script like so `./patch.sh ./newsfold.apk https://stringer.example.com/inoreader/INOREADER_TOKEN_HERE/"
Install the APK on your phone, choose Inoreader and presto!

Couple of things to note:

The code is very messy. I wrote it almost 1.5 years ago just to get something working and haven't touched it ever since. It works absolutely fine.
Security wise it relies on the INOREADER_TOKEN you specify.
Use at your own risk ;-)

Thanks @pascalw I'll try that out this weeknd.


Update main.cpp

Resolution for zero block issue. Tx relay through all nodes.
Credit - Pravin & Aspa

Big testing credit to Broyhill and MrCoins as well!


update processing when no global config

We always created empty .env files for all services if there was no config,
truncating any existing files with values set by the older env.* config code.
We now only override the existing files if there is new style config.* configuration,
otherwise the .env files are left intact for backwards compatibility

also replaced Info messages with Debug messages

Signed-off-by: Siggi Skulason<EMAIL_ADDRESS>
Related to:

https://github.com/canonical/edgex-snap-hooks/pull/30

Does that mean mixing two namespaces isn't supported?

Thanks for the fix

We now only override the existing files if there is new style config.* configuration,
otherwise the .env files are left intact for backwards compatibility

Does that mean mixing two namespaces isn't supported?
The following should work:
snap set my-snap env.my-service.service.host=localhost
snap set my-snap apps.my-service.config.service.port=8080
snap set my-snap config.debug=true

I've fixed this now and am testing it. This scenario should now work, with mixed namespaces.


[API/MySpace] The rating of COMMENT_OR_REPLY is assigned incorrectly for adding and deleting

Environment:
macOS Sonoma Version 14.0
Google Chrome
Version 118.0.5993.70 (Official Build) (arm64).
Reproducible: always.
Build found:
22.10.23
Preconditions
Steps to reproduce

Add a comment or reply,
Check the assigned rate.
Delete the comment or reply,
Check the removal rate.

Actual result
id                     ACHIEVEMENTS                   add      removal rate
11	COMMENT_OR_REPLY_5_TIMES		5	-5
12	COMMENT_OR_REPLY_10_TIMES		5	-5
13	COMMENT_OR_REPLY_25_TIMES	5	-5
14	COMMENT_OR_REPLY_50_TIMES	5	-5
15	COMMENT_OR_REPLY_100_TIMES	5	-5
Expected result
id                     ACHIEVEMENTS                   add      removal rate
11	COMMENT_OR_REPLY_5_TIMES		10 	  -10
12	COMMENT_OR_REPLY_10_TIMES		15 	  -15
13	COMMENT_OR_REPLY_25_TIMES	25 	  -25
14	COMMENT_OR_REPLY_50_TIMES	50 	  -50
15	COMMENT_OR_REPLY_100_TIMES	100 	  -100
Postconditions
User story and test case links
E.g.: "User story #938"
Labels to be added
"Bug", Priority ("high"), Severity ("trivial"), Type ("Functional"), "API" (for back-end bugs).

When a User deletes n-COMMENT_OR_REPLY, the system:

removes All existing points in the ‘Rate’;
removes All COMMENT_OR_REPLY id.
Postcondition:
Once the system removes All COMMENT_OR_REPLY id;
When the User deletes n-COMMENT_OR_REPLY, the system still:
removes All existing points in the ‘Rate’ for all achievements conditions and
on the right boundaries of these conditions;
removes All new COMMENT_OR_REPLY id on the right boundaries of these conditions.

Fixed