Recipe Scan - Inventory/AH for other characters

Workflow optimization suggestion:
I often post auctions from a central bank/management character, but this character is not my crafter.
When doing Recipe scan, the Inv/AH column is often 0/0 for my crafter because my posting character is the one I manage auctions from (It has an entire UI suite dedicated to it).
It would be nice if the Inv/AH column could account for items on other characters. At the moment I have TSM and can mouseover each item to see how many I have, so I have a workaround, but I'd like the number to show up in the column which is faster to glance through than requiring the mouseover.

i think if its the same account that might be possible!

Yup! I only use one account so that would be fine for me.


lp-217 : fix name ending enum

JIRA link
https://companieshouse.atlassian.net/browse/LP-217
Change description
fix name ending enum
Work checklist

[x] Bug fix
[ ] New feature
[ ] Breaking change
[ ] Infrastructure change

Pull request checklist

[ ] I have added unit tests for new code that I have added
[ ] I have added/updated functional tests where appropriate
[ ] The code follows our coding standards

An exhaustive list of peer review checks can be read here
Merge instructions
We are committed to keeping commit history clean, consistent and linear.  A BREAKING CHANGE can be part of commits of any type,
types other than fix: and feat: are allowed, for example build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others,
footers other than BREAKING CHANGE: <description> may be provided.

CI: Security warnings found!

CI: Security warnings found!

CI: Security warnings found!


.lrc formatting

I mainly use gamdl for lyrics.  The 2.0 release still retrieves lyrics, but it now adds a space between lines which is the incorrect format for .lrc files.  Whatever the previous method used before 2.0 had correct formatting.
Here's an example of the current formatting (on the left) vs correct formatting (on the right)

Thanks. Fixed on the new version.


Update CECTraceTool.cpp

this update uses different api once pin version > 3.13

Any plan to merge it?
Just noticed, it doesn't seem to work with pin > 3.20 (depending on pin version I either get compile error or missing symbol when dynamic linking)

Thanks @alext-w for looking into it 👍


New Feature: add window.location.origin

Duplicate of #1803. Did you search at all?

Sorry.  I mistyped orgin in the search field instead.


Cursor Pointer Not Displayed on Hover for Tree Plantation Card

The issue where the cursor pointer was not displaying on hover for the Tree Plantation card has been resolved. Previously, while the hover effect was working correctly for all other cards, the Tree Plantation card failed to display the cursor pointer, impacting user interactivity.
Solution:
The issue was fixed by adding the necessary hover effect for the Tree Plantation card in the style.css file. Now, the cursor changes to a pointer on hover, consistent with the behavior of other cards.

closes #1040


Contact Custom File Page - Show customfile like displayed in customfield with dashed

Describe the bug

When staff try to filter customfile then there is customfile without any dash so staff entered without dash then it is not found any customfile
When entered dashed customfile then it is found so display all customfile in dashed format so staff don't get confused

display contact custom file like contact customfield

UI Bug Fixed.
Filter Bug fixed @mitulpanch


[Commerce] Reviews & Related Products Components

reviews component
ratings component
added to product details page
mocks attached

Thanks for your feedback, all comments have been addressed.


Add Groovy and Kotlin implementation

Some modification.

Kotlin implementation added

Squashed and merged, thanks! BTW, how did you learn of this repo?

I found in the readme of this repo: https://github.com/zenware/FizzBuzz


TypeError: Cannot read properties of undefined (reading 'code_snippet')

Please include some context and the contents of the console in your browser's developer tools.
TypeError: Cannot read properties of undefined (reading 'code_snippet')
    at XE (https://attendance1.shivila.in/loginCheck:72:249981)
    at mi (https://attendance1.shivila.in/loginCheck:72:70706)
    at Ql (https://attendance1.shivila.in/loginCheck:72:122308)
    at xc (https://attendance1.shivila.in/loginCheck:72:109797)
    at _c (https://attendance1.shivila.in/loginCheck:72:109725)
    at Cc (https://attendance1.shivila.in/loginCheck:72:109588)
    at Nc (https://attendance1.shivila.in/loginCheck:72:106582)
    at hc (https://attendance1.shivila.in/loginCheck:72:103958)
    at nu (https://attendance1.shivila.in/loginCheck:72:119816)
    at https://attendance1.shivila.in/loginCheck:72:121187

User Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37

Thanks! This seems to be a duplicate of another issue on this repo. I'll close this issue for now and we'll continue this discussion there.


Performance issue with --pattern-from

Hi Liz,
Another quick fix , when you're using the --pattern-from with regex you're doing a loop with each one of the pattern rather than compiling a single regex with all pattern with | this creates a huge performance penalty because you checking the same file over and over based on the number of line in the input file.
Based on my test on a large CSV 93 MB it takes 294 secs against a 99 regex pattern file vs 84 sec if you convert this as a regex with |.
Can you fix this ?

Just not quite a quick fix, I'm afraid.
OOC, do any of those patterns consist of just looking for a literal string?

A first stab at merging consecutive regexes into a single regex for multiple patterns

0.2.14 now in the ecosystem.  Please let me know how this affected the performance!

Great I'll test again and let you know ? All patterns are regex.

ok with the latest version it's better than before 129 sec  for the list of pattern vs 81 sec with the single regex with |

ok, that's better.  By any chance, are one or more of the regexes literal?  Consisting of just / foo / ?  Because those are currently converted internally to *.contains("foo"), and thus  create multiple regexes, instead of just a single one.  Which would explain the remaining difference

Sorry I forgot to add the type to the cmd so no pattern is interpreted as literal in my list right ?
time rak --ignore-case --type=regex --patterns-from=/tmp/file.txt /path/file.csv

With a literal regex I mean / foo /  where "foo" consists of only alphanumeric characters.  I doubt that if you don't change the file, and then do a --type=regex that it would produce the right results, or even run at all??

my patterns consist of IP addresses , filenames.

Could you give me an example of the IP address and a filename?

sure "<IP_ADDRESS>" and "test.exe" for example.

When you have <IP_ADDRESS> in your regex, you actually mean the string "<IP_ADDRESS>", right?  But "8a8b8c8" you would not want to match, right?
If that is so, why are you using regexes?  Why not just the string "<IP_ADDRESS>" (which would do a much cheaper '.contains("<IP_ADDRESS>")' on the targets.

yes but I have also tests?.exe in the same list of pattern.

ok, then I suggest grouping the ones with wildcards together, and see how that affects the performance.  As the logic now will group together any consecutive regexes into a single regex

FWIW, I'm keeping this one open until it's time to rewrite the expression parsing using RakuAST, and optimize from there

This has now happened with 0.3.4 https://raku.land/zef:lizmat/App::Rak/changes?v=0.3.4 .  This now builds a single Callable for all of the patterns found using RakuAST, not doing anything special for regexes yet.
Please confirm whether this makes things better or worse in your use case.


feat: debugger module for dumping logs in guild

Add a small debugger cog for debugging bot issues.
Adds a dump command for logs (which doesn't work right now...) and a log command to paginate the last 100 lines of logs.
This should be useful when having to troubleshoot problems, as a user won't need to access the console for every error.

I don't see the need for this.

This is aimed more for consumers, to help troubleshoot when something goes wrong.

Viewing those logs in your terminal/editor is much more helpful than viewing them on discord... so I don't see how that helps.


Updates for Scala 2.13.0

Includes @jazott3's commits from #2 but with some additional updates, new MiMa setup for bincompat checking, and some updated versions.
Depends on this PR: https://github.com/sangria-graphql/sangria-marshalling-api/pull/5

Included in https://github.com/sangria-graphql-org/sangria-marshalling-testkit/pull/1.


[SQL-DS-CACHE-134][POAE7-1152] improve fault-tolerance of APE client & server

What changes were proposed in this pull request?

retry connections in ape client
improve error handling in ape client and ape server
handle channel timeout on server side

How was this patch tested?
integration tests

@jikunshang @yma11 @xieqi
Please take a review, thanks.
This PR is to improve fault tolerance on client side & server side in disaggregated APE.


for really long sequence, filter got poor performance

when i want to apply something like any([p in ['1-1','1-3'] for p in patt])

when i want to apply something like any([p in ['1-1','1-3'] for p in patt])


13.3 for Parallels box building

I can definitely replicate it on the FBSD 13.3 guest Parallels 19.1.0
Desktop running on M2 Macbook. Let me know if there are any tests, traces,
or dumps you'd like to see.
Cheers,
Joe
On Mon, Jul 1, 2024 at 2:23 PM Jose Luis Duran @.***>
wrote:

@.**** commented on this pull request.
In scripts/cleanup.sh
https://github.com/jhgorse/packer-FreeBSD/pull/1#discussion_r1661399369:

@@ -5,6 +5,7 @@ set -e
sed -i '' -e 's/^PermitRootLogin yes/#PermitRootLogin no/' /etc/ssh/sshd_config

Purge files we no longer need
+set +e
That sounds like an rm bug. I'll try to replicate it.
—
Reply to this email directly, view it on GitHub
https://github.com/jhgorse/packer-FreeBSD/pull/1#discussion_r1661399369,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTNMXQQ6HT447ZLWYUAIDZKGNDTAVCNFSM6AAAAABJXNFCICVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCNJSGAZDCMJUG4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

I can definitely replicate it on the FBSD 13.3 guest Parallels 19.1.0 Desktop running on M2 Macbook. Let me know if there are any tests, traces, or dumps you'd like to see. Cheers, Joe

% rm -f /tmp/nonexistent
% echo $?

Returns 1? Really strange, but if you can replicate it, let's try to find out why.

root@localhost:~ # rm -f /boot/efi/nothing ; echo $?
0
root@localhost:~ # rm -f /boot/efi/nothing* ; echo $?
rm: No match.
1
root@localhost:~ # truss /bin/rm -f /tmp/nothing*
truss: No match.

Seems to be the failed * match. truss does not even run on the No match scenario. No difference between csh and tcsh. sh runs truss and does not return 1 on the -f failed match on zfs but does on msdosfs.
root@localhost:~ # sh
rm -f /boot/efi/nothing* ; echo $?
rm: /boot/efi/nothing*: Invalid argument
1
# rm -f /tmp/nothing* ; echo $?
0

truss outputs for ret 1 then ret 0 scenarios on the same fs:
# truss rm -f /boot/efi/nothing* ; echo $?
mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =<PHONE_NUMBER>5744 (0x1c7b7a4bb000)
mprotect(0x6248ee80f000,8192,PROT_READ)		 = 0 (0x0)
issetugid()					 = 0 (0x0)
sigfastblock(0x1,0x6248ee820e68)		 = 0 (0x0)
open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,01)	 = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=1607,size=35,blksize=4096 }) = 0 (0x0)
read(3,"includedir /usr/local/etc/libmap"...,35) = 35 (0x23)
close(3)					 = 0 (0x0)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0145) ERR#2 'No such file or directory'
open("/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,037076005544) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0S\0\0\0\0"...,128) = 128 (0x80)
fstat(3,{ mode=-r--r--r-- ,inode=33606,size=211,blksize=4096 }) = 0 (0x0)
pread(3,"/lib/casper:/lib:/usr/lib:/usr/l"...,83,0x80) = 83 (0x53)
close(3)					 = 0 (0x0)
open("/lib/casper/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,013) ERR#2 'No such file or directory'
open("/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,04) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=1374,size=1850096,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) =<PHONE_NUMBER>0912 (0x1c7b7a4dc000)
mmap(0x0,4280320,PROT_NONE,MAP_GUARD,-1,0x0)	 =<PHONE_NUMBER>5184 (0x1c7b7aba0000)
mmap(0x1c7b7aba0000,540672,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) =<PHONE_NUMBER>5184 (0x1c7b7aba0000)
mmap(0x1c7b7ac33000,1249280,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x83000) =<PHONE_NUMBER>7296 (0x1c7b7ac33000)
mmap(0x1c7b7ad73000,45056,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1b3000) =<PHONE_NUMBER>8016 (0x1c7b7ad73000)
mmap(0x1c7b7ad8d000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1bd000) =<PHONE_NUMBER>4512 (0x1c7b7ad8d000)
mmap(0x1c7b7ad93000,2236416,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) =<PHONE_NUMBER>9088 (0x1c7b7ad93000)
munmap(0x1c7b7a4dc000,4096)			 = 0 (0x0)
close(3)					 = 0 (0x0)
mprotect(0x1c7b7ad73000,45056,PROT_READ)	 = 0 (0x0)
readlink("/etc/malloc.conf",0x1c7b798c812f,1024) ERR#2 'No such file or directory'
issetugid()					 = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) =<PHONE_NUMBER>9920 (0x1c7b7c000000)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) =<PHONE_NUMBER>0592 (0x1c7b7d19b000)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) =<PHONE_NUMBER>4352 (0x1c7b7e000000)
mprotect(0x1c7af8fa2000,4096,PROT_READ)		 = 0 (0x0)
open("/usr/share/locale/C.UTF-8/LC_CTYPE",O_RDONLY|O_CLOEXEC,011) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=3713,size=51056,blksize=51200 }) = 0 (0x0)
mmap(0x0,51056,PROT_READ,MAP_PRIVATE,3,0x0)	 =<PHONE_NUMBER>0112 (0x1c7b7ea00000)
close(3)					 = 0 (0x0)
munmap(0x1c7b7ea00000,51056)			 = 0 (0x0)
geteuid()					 = 0 (0x0)
sigaction(SIGINFO,{ 0x1c7af8f91dd4 SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
ioctl(0,TIOCGETA,0x1c7b798c970c)		 = 0 (0x0)
fstatat(AT_FDCWD,"/boot/efi/nothing*",0x1c7b798c9600,AT_SYMLINK_NOFOLLOW) ERR#22 'Invalid argument'
rm: write(2,"rm: ",4)				 = 4 (0x4)
/boot/efi/nothing*write(2,"/boot/efi/nothing*",18)		 = 18 (0x12)
: write(2,": ",2)					 = 2 (0x2)
fstatat(AT_FDCWD,"/usr/share/nls/C.UTF-8/libc.cat",0x1c7b798c9290,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/share/nls/libc/C.UTF-8",0x1c7b798c9290,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/share/nls/C.UTF-8/libc.cat",0x1c7b798c9290,0x0) ERR#2 'No such file or directory'
fstatat(AT_FDCWD,"/usr/local/share/nls/libc/C.UTF-8",0x1c7b798c9290,0x0) ERR#2 'No such file or directory'
Invalid argument
write(2,"Invalid argument\n",17)		 = 17 (0x11)
exit(0x1)
process exit, rval = 1
0

# truss rm -f /boot/efi/nothing ; echo $?
mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =<PHONE_NUMBER>51744 (0x6e9df43ff000)
mprotect(0x95db19aeb000,8192,PROT_READ)		 = 0 (0x0)
issetugid()					 = 0 (0x0)
sigfastblock(0x1,0x95db19afce68)		 = 0 (0x0)
open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,01)	 = 3 (0x3)
fstat(3,{ mode=-rw-r--r-- ,inode=1607,size=35,blksize=4096 }) = 0 (0x0)
read(3,"includedir /usr/local/etc/libmap"...,35) = 35 (0x23)
close(3)					 = 0 (0x0)
open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,0145) ERR#2 'No such file or directory'
open("/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,016237005544) = 3 (0x3)
read(3,"Ehnt\^A\0\0\0\M^@\0\0\0S\0\0\0\0"...,128) = 128 (0x80)
fstat(3,{ mode=-r--r--r-- ,inode=33606,size=211,blksize=4096 }) = 0 (0x0)
pread(3,"/lib/casper:/lib:/usr/lib:/usr/l"...,83,0x80) = 83 (0x53)
close(3)					 = 0 (0x0)
open("/lib/casper/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,013) ERR#2 'No such file or directory'
open("/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,04) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=1374,size=1850096,blksize=131072 }) = 0 (0x0)
mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) =<PHONE_NUMBER>81216 (0x6e9df4820000)
mmap(0x0,4280320,PROT_NONE,MAP_GUARD,-1,0x0)	 =<PHONE_NUMBER>18080 (0x6e9df545e000)
mmap(0x6e9df545e000,540672,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x0) =<PHONE_NUMBER>18080 (0x6e9df545e000)
mmap(0x6e9df54f1000,1249280,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_PREFAULT_READ,3,0x83000) =<PHONE_NUMBER>20192 (0x6e9df54f1000)
mmap(0x6e9df5631000,45056,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1b3000) =<PHONE_NUMBER>30912 (0x6e9df5631000)
mmap(0x6e9df564b000,24576,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PREFAULT_READ,3,0x1bd000) =<PHONE_NUMBER>37408 (0x6e9df564b000)
mmap(0x6e9df5651000,2236416,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_ANON,-1,0x0) =<PHONE_NUMBER>61984 (0x6e9df5651000)
munmap(0x6e9df4820000,4096)			 = 0 (0x0)
close(3)					 = 0 (0x0)
mprotect(0x6e9df5631000,45056,PROT_READ)	 = 0 (0x0)
readlink("/etc/malloc.conf",0x6e9df372082f,1024) ERR#2 'No such file or directory'
issetugid()					 = 0 (0x0)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) =<PHONE_NUMBER>04576 (0x6e9df6800000)
mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),-1,0x0) =<PHONE_NUMBER>91104 (0x6e9df78de000)
mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),-1,0x0) =<PHONE_NUMBER>59008 (0x6e9df8800000)
mprotect(0x6e9d727e2000,4096,PROT_READ)		 = 0 (0x0)
open("/usr/share/locale/C.UTF-8/LC_CTYPE",O_RDONLY|O_CLOEXEC,011) = 3 (0x3)
fstat(3,{ mode=-r--r--r-- ,inode=3713,size=51056,blksize=51200 }) = 0 (0x0)
mmap(0x0,51056,PROT_READ,MAP_PRIVATE,3,0x0)	 =<PHONE_NUMBER>16288 (0x6e9dfa600000)
close(3)					 = 0 (0x0)
munmap(0x6e9dfa600000,51056)			 = 0 (0x0)
geteuid()					 = 0 (0x0)
sigaction(SIGINFO,{ 0x6e9d727d1dd4 SA_RESTART ss_t },{ SIG_DFL 0x0 ss_t }) = 0 (0x0)
ioctl(0,TIOCGETA,0x6e9df3721e0c)		 = 0 (0x0)
fstatat(AT_FDCWD,"/boot/efi/nothing",0x6e9df3721d00,AT_SYMLINK_NOFOLLOW) ERR#2 'No such file or directory'
exit(0x0)
process exit, rval = 0
0

That's all I've got for now. Any data to collect?
Cheers,
Joe

Thank you for the detailed explanation.
I think the problem is that you are on a an "interactive shell session", therefore, you must escape the *.
Try:
% rm -f /tmp/foo\*
% echo $?
0

The scripts run non-interactively, and a shell script containing:
#!/bin/sh
rm -f /tmp/foo*
echo $?

returns 0 as expected.

Although, on Linux works as you mentioned... the expansion is ignored... I'll take a closer look over the weekend. Thank you!

For my future reference:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/rm.html

# cat rmtest1.sh
#!/bin/sh
rm -f /tmp/foo*
echo $?
# cat rmtest2.sh
#!/bin/sh
rm -f /boot/efi/foo*
echo $?
# ./rmtest1.sh
0
# ./rmtest2.sh
rm: /boot/efi/foo*: Invalid argument
1

Seems to be related to the msdosfs of /boot/efi.
# mount
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs)
/dev/gpt/efiboot0 on /boot/efi (msdosfs, local)
zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot on /zroot (zfs, local, noatime, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/usr/home on /usr/home (zfs, local, noatime, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)

OK, I think I found it! (unhandled lstat(2) path)
Thank you for digging into it. I'll try to prepare a patch/tests over the weekend. Not sure if it'll be accepted, at least, it should be a documented pitfall.
Thank you!
PS: Can I cc you for the pull request?

https://github.com/freebsd/freebsd-src/pull/1329
It's more a WIP at the moment. But, let's start gathering feedback.

Thank you! PS: Can I cc you for the pull request?
No problem! Sure! =)

Cheers,
Joe

Jose, that's awesome! Thank you so much! The world is better for it!
Cheers,
Joe
On Sun, Aug 25, 2024 at 11:55 Jose Luis Duran @.***>
wrote:

@.**** commented on this pull request.
In scripts/cleanup.sh
https://github.com/jhgorse/packer-FreeBSD/pull/1#discussion_r1730386133:

@@ -5,6 +5,7 @@ set -e
sed -i '' -e 's/^PermitRootLogin yes/#PermitRootLogin no/' /etc/ssh/sshd_config

Purge files we no longer need
+set +e
The fix landed as @.***
https://github.com/freebsd/freebsd-src/commit/0b2c159c8faa3ca155412a1b2e57b3d6bcf91880.
Thank you for reporting it.
—
Reply to this email directly, view it on GitHub
https://github.com/jhgorse/packer-FreeBSD/pull/1#discussion_r1730386133,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANTNMTDVQFTFZLRKCRM3P3ZTH46DAVCNFSM6AAAAABJXNFCICVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDENJZGMZTANRWGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


12 contributors?

Should we do 1 clock per person so in the end we have 12 contributors?

I don't think we should have that restriction.
Mostly because I'd like to leave the clocks open for improvement after their first implementation (by other, new contributors), and partially because I already implemented two of them before the question was asked (oops!).

Agreed! Everyone should feel free to improve and modify the clocks after they are implemented too!

Yeah when I posted this I was thinking about making a second clock, but I thought I would let others have a go as well. I guess that all doesn't really matter since it's a community project and anyone should be able to contribute to all clocks if they can improve it.


Return named tuple from BQM.to_numpy_vectors

Would make for more readable code, rather than the current
ldata, (irow, icol, qdata), off, order = bqm.to_numpy_vectors(return_labels=True))

Duplicated by #708


Virtual hierarchy - select native bug

@yuliujpl It does seem a lot faster. One thing...
When I select Native Hierarchy in the virtual view and then try to click on the "+" to expand any of the datasets, it doesn't work. I just click and get no response.

Hi Heather! It does seem to work, but just slow (takes about 5 seconds for me to load!)

Perfect!


Support Index Based Access Expressions in constants

Description:
In the https://github.com/ballerina-platform/ballerina-lang/pull/14185, only Field based access expressions is supported. Need to add support for Index Based Access expressions as well.
https://github.com/ballerina-platform/ballerina-lang/pull/14185/files/29e9f306d38a7ca170a20430323d2a1402fd24ac#diff-7123076514bbb67aa85076709d29ee0fR2065

Support for index based access with map constants was added with https://github.com/ballerina-platform/ballerina-lang/pull/16622.
With the introduction of the changes to field based access (https://github.com/ballerina-platform/ballerina-lang/pull/16340), it is no longer allowed when accessing maps.


Keep focus if overlay is closed by clicking outside it

Description
The vaadin-date-picker doesn't keep its focus when the overlay is opened and then closed by the user by clicking anywhere in the page.
Expected outcome

Actual outcome

Live Demo

Steps to reproduce

Browsers Affected

[x] Chrome
[x] Firefox
[x] Safari
[ ] Edge
[ ] IE 11
[ ] iOS Safari
[ ] Android Chrome

This is basically the same issue as https://github.com/vaadin/vaadin-dialog/issues/98, and apparent we could fix this by using the overlay.restoreFocusOnClose property.

It’s not exactly the same as the dialog issue, as focus is restored to the input if you close the overlay using the Esc key. But when the overlay is modal, clicking outside it is considered as the same action.

For some reason, Select behaves different. Focus is restored to the field when the overlay is closed. Combo box works the same as date picker.
@rolfsmeds, should we prioritize this issue, as it seems a little inconsistent?

Question is: which is correct? Should clicks outside non-modal overlays return focus to the field? What if I click something interactive, like a Button? I'd expect focus to stay on the button in that case.

 If the overlay has “close on outside click” it’ll close, otherwise it’ll stay open.
Note, that all of our overlays are modal, even though they do not always show the curtain/backdrop.

But your question is still valid, I think.
On macOS, the native <select> regains the focus when you click outside the overlay to dismiss it.


Getting Error on MX Linux

When trying to install this on MX Linux (Based on Debian Stable), I get this error after running autoreconf -i:
Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326.
autoreconf: failed to run aclocal: No such file or directory

I've installed all the dependencies listed for Debian.
Thanks for any help.

I had the same issue and fixed it by installing automake on top of the package already listed: sudo apt install automake.


How do you dispatch API calls based on version?

After reading the documentation, I can't figure out how to have different handlers for different API versions.
Let's say that I have two version in my api: v1 and v2. How do I make it so that I can one handler run for v1 requests and another for v2 requests? I'm not very proficient with Plug, so this could be something basic that I'm missing.
Perhaps this use case should be documented.

@dotboris I just created a PR with an example (and some changes) to support multiple versions (https://github.com/sticksnleaves/versionary/pull/4)

Closed by #4


add Ownable contracts

Add Ownable and Context contract
Make HMToken Ownable and transferable

@Charlie85270 build should be fixed. Please rebase and push again

@posix4e Done !


Dependency Check Versions File Management

We started having an issue last week when a team bumped their version of OWASP Dependency Check on our Azure DevOps pipeline. We were getting an error with the CPE analyzer because it failed initializer. Investigating the issue, we've discovered that when upgrading the Dependency Check version to be downloaded, all the pre-existing library and new library will be kept in the same folder and it cause an issue because some libraries were confused on with version to use.
I suggest keeping each version in a separated folder or cleaning the path where the archive will get decompressed.

PR #58 seems to fix this issue. All files ares deleted except data folder. See in dev branch.
Stays tuned for next release. @ejohn20 is it planned ?


question: why so many open issues?

It is hard to get a birds eye view of open issues and which of those would concern me before using this tool.  What is the rationale for keeping issues open for months?

Hi @MichaelDBA ,
That's a great point. The short answer is that we are releasing a new major version of OmniDB #1067
Major version 2 is frozen, thus, many issues were accumulated;
This is a refactor of the tool with dependency upgrades, architectural changes, new UI, and of course, we are covering several of those issues on this release.
Best Regards

Thanks for the info.


support setting QE group

The ET supports setting the QE group during advisory creations and updates with the new quality_responsibility_name parameter.
https://bugzilla.redhat.com/1386089
Support this in our library as well.

Looks good to me. Might want to add it to debug dump eventually

Thanks @yazug
It's already in dump as qe_group.  We could read the value for a while, it's just that we could not write to it until now.


Slowdown for downloading from YouTube?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.07.06 (update instructions) or later (specify commit)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hi there!
People have been asking this before but since this is a dynamic thing I have to create a new issue - please close it down if inappropriate.
I'm constantly on the latest version of yt-dlp and over the last month my download of YouTube videos is at 30 kB/s which is unbearably slow - is this a YouTube thing and is there anything I can do?
Thank you in advance!
Aleksa
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

You should offer some details to get help: network config, region, verbose log. Or maybe your problem is the same as #7716? Also see #7921.

verbose log

Please share one of these. See instructions in the issue template's checklist that you checked


Can't access https://webpack.js.org/guides/typescript/index.html

Can't access https://webpack.js.org/guides/typescript/index.html

How did you reach that URL?
https://webpack.js.org/guides/typescript/ works

Related to https://github.com/webpack/webpack.js.org/issues/2935

Seems fixed now. 👍


Readme update

Description
Readme update
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x ] New feature (non-breaking change which adds functionality)
[x ] This change requires a documentation update

Change Status

[x ] Complete, tested, ready to review and merge
[ ] Complete, but not tested (may need new tests)
[x ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Test A
[ ] Test B

Checklist

[ x] My code follows the style guidelines of this project
x[ ] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

There is a merge conflict with the database file. Can you remove it? It has nothing to do with the pull request.


expression duplication fix in part2.md

removed duplication of "take [a look] a detailed look at"

Thanks!


Saving a new ParseObject at another object's beforeSave() retriggers that other object's beforeSave resulting to an infinite loop

I have 2 classes named Item and Notification.
In Item's beforeSave() I check if there is a new relation added to it called "queue" if there is then I create a new Notification object with one of its fields points to that Item. This results to an infinite loop wherein  Item's beforeSave() is called multiple times creating several Notification objects in the database.

This sounds like an implementation issue, not an issue with the SDK. beforeSave triggers are simply guaranteed to run whenever an object is saved, with the opportunity to modify or prevent the save operation. I'm not sure this falls in the scope of the SDK.

I don't see at what point the Item#beforeSave is triggered again. I am simply creating a Notification object which saves a field Pointer to it whenever a relationship "queue" is created.
I am expecting the following flow:

Item#beforeSave() is triggered because of a new relation "queue" will be created
Still in Item#beforeSave(), create a Notification object storing other objects including the Item object
Item#beforeSave should not be called again


Config

Might as well add my configs to it.

I'll probably do this the right way and finally break out my own configs again but it can start in here with zsh.


xml regular expression not working

I tried to add a regular expression to the xml tag but it doesn't seem to work properly. I've added the following line
                                                <input>
                                                    <grammar>
                                                        <item>!([a-zA-Z]{3,30}\s*)+ </item>
                                                    </grammar>
                                                    <output>
                                                        <prompt selectionType="RANDOM">
                                                            <item>severity:</item>
                                                        </prompt>
                                                    </output>
                                                </input>

Unfortunately when using regex within Dialog, there is no real way to validate whether your regex is correct. Do you have a tool to test that?
There should be a space in between the exclamation and the actual function, maybe that is causing the error.
What type of inputs are you trying to match to? Maybe I can try to help you write something.


task collection 1.x from pypi

Preliminary requirement: we need a shared folder that is readable and executable by the fractal user, let it be FRACTAL_ROOT_DIR
from PyPI
in a subprocess...

create dedicated venv in FRACTAL_ROOT_DIR/<pkg>_<version>
install package in venv
extract manifest by /venv/python -c "import <pkg>; print(pkg.__manifest__)"
load all tasks exposed in manifest

default behaviour
cd $FRACTAL_ROOT_DIR
PKG_DIR=$PKG_NAME_$PKG_VERSION
mkdir $PKG_DIR
cd $PKG_DIR
python -m venv venv (or similar for conda and the like)
source /venv/bin/activate (or similar)
(venv) pip install $PKG_NAME==$PKG_VERSION
(venv) python -c "import $PKG_NAME; print($PKG_NAME.__manifest__)" > /tmp/fractal/pkg_name_version.manifest.json

we read the output of the last command and access the manifest from within the server
the resulting tasks will have

source = pypi:fractal-tasks-core==0.2.3
command =  /path/to/venv/python path/to/module.py

custom behaviour (TODO)
We keep the folder structure with the following pseudo-script
cd $FRACTAL_ROOT_DIR
PKG_DIR=$PKG_NAME_$PKG_VERSION
mkdir $PKG_DIR
cd $PKG_DIR

the user can provide a custom initialisation / installation script, which needs to output

how to call the dedicated python interpreter
the manifest

from FRACTAL_ROOT_DIR/<userdir>/<taskdir>/
TODO

@tcompa can you please write here the command you would use to start an env with conda pls?

conda create --prefix /tmp/MY_ENV python==3.8 --quiet --yes
conda activate /tmp/MY_ENV
pip install fractal-tasks-core==0.2.6

But notice that there is no special reason to use conda, for the default modules (to be made available for all users). You can go on with standard venvs if you prefer.

Also note that the previous script creates a 3G folder (that would be only 200M before installing the tasks).

conda create --prefix /tmp/MY_ENV python==3.8 --quiet --yes
conda activate /tmp/MY_ENV
pip install fractal-tasks-core==0.2.6

But notice that there is no special reason to use conda, for the default modules (to be made available for all users). You can go on with standard venvs if you prefer.

I actually prefer venv, but we need a way to specify the python version. I can write some fallback logic if needed, i.e.,

try venv
if it doesn't work try pyenv + vnev
if it doesn't work try conda


Chat - " Attachment" is not translated to spanish

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

Action Performed:

Launch the URL https://staging.new.expensify.com
Log in with account translated on Spenish.
On a conversation, click on the + button in the compose box
Click on add attachment
Upload an image (jpeg or png)

Expected Result:
The word "Attachment" must translate "Archivo adjunto''
Actual Result:
The word "Attachment" is not Spanish
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.33-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @nickmurray47 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

https://github.com/Expensify/App/issues/7440


Increase default points to 6k

At 600 points, the chart is still a bit too rough for us to tell when spikes start and end for anything longer than 5 minutes.

FYI, @Longzhao-Google


KAFKA-16713: Define initial set of RPCs for KIP-932

This PR defines the initial set of RPCs for KIP-932. The RPCs for the admin client and state management are not in this PR.
Committer Checklist (excluded from commit message)

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

Should we wait until we cut the 3.8 branch before merging those? If we don't wait, I suggest to mark all the new versions as unstable until they are implemented.

Yes, we will wait until we cut the 3.8 branch before merging.

There are 2 test failures introduced by this PR. I'll get them fixed.

Test failures are not related to this PR: https://ci-builds.apache.org/blue/organizations/jenkins/Kafka%2Fkafka-pr/detail/PR-16022/6/tests


Narrowing to a topic with compose open should prefill the topic input box

I find that frequently I'll be looking at a stream where all the most recent messages are from one topic, so I think I'm just narrowed to that topic. I open the compose box and find that the topic isn't prefilled (because I'm only narrowed to a stream), so I click on the topic's name to fix the narrowing for the topic to autofill, but this closes the compose box.
It'd be a nice usability enhancement if the compose box remained open in such a case and the topic was filled out to match the new narrowing parameters.

We'll need to be careful with this, since it's easy to prefill things in a way that causes users to accidentally send to the wrong place, but I think that in this specific flow (you're narrowed to a stream, have an open but empty compose box, with no topic set, and then narrow to a topic) seems pretty safe.

I came to file the same issue and found the existing issue. So :+1:

@kracekumar if you want to work on this, exports.activate in narrow.js is the code path in question.
Actually @showell this is potentially worth fixing while we're at it working on sidebar narrowing.


Add live website URL to README

No write access to this repo, so I guess you need to hit the big green button :P


Testing

Increased test coverage
Add code coverage reporting

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@24666c3). Click here to learn what that means.
The diff coverage is 100%.

@@          Coverage Diff           @@
##             dev      #17   +/-   ##
======================================
  Coverage       ?   75.87%
======================================
  Files          ?       17
  Lines          ?      804
  Branches       ?        0
======================================
  Hits           ?      610
  Misses         ?      194
  Partials       ?        0

Impacted Files
Coverage Δ

SwiftAudio/Classes/AudioPlayer.swift
79.61% <ø> (ø)

SwiftAudio/Classes/QueueManager.swift
100% <100%> (ø)

SwiftAudio/Classes/QueuedAudioPlayer.swift
78.37% <100%> (ø)

Continue to review full report at Codecov.

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


[Ready] [Recipes] add aishell2

Related to #394

[x] Update results.md with context_size 1 and upload models into hf.

If you have prepared all of files requred by training, you can start training. BTW, there are some files (decode.py, export.py, pretrained.py) which you should do some changes. And you can use pre-commit install to do style check for codes before git commit -m "xxxx".

If you have prepared all of files requred by training, you can start training. BTW, there are some files (decode.py, export.py, pretrained.py) which you should do some changes. And you can use pre-commit install to do style check for codes before git commit -m "xxxx".

Good to know this pre-commit stuff.

If you have prepared all of files requred by training, you can start training. BTW, there are some files (decode.py, export.py, pretrained.py) which you should do some changes. And you can use pre-commit install to do style check for codes before git commit -m "xxxx".

Good to know this pre-commit stuff.

Please have a look at https://icefall.readthedocs.io/en/latest/contributing/code-style.html

@csukuangfj  I think this PR is ready to be reviewd. I have uploaded the model with context-size 1. The dev-ios, test-ios wer are 5.32, 5.56, respectively. The espnet transducer results are 5.3, 5.4, which uses 12 layers with 2048 dims and has more parameters.

Thanks! Just left some minor comments.

Done.

I review your decode.py and I find that you keep some decoding methods that you don't use or achieve. I don't find the related results in your RESULTS.md.
Please remove the related parts that you don't use or achieve. I will suggest you to have a look at https://github1s.com/k2-fsa/icefall/blob/HEAD/egs/aishell4/ASR/pruned_transducer_stateless5/decode.py.

I review your decode.py and I find that you keep some decoding methods that you don't use or achieve. I don't find the related results in your RESULTS.md.
Please remove the related parts that you don't use or achieve. I will suggest you to have a look at https://github1s.com/k2-fsa/icefall/blob/HEAD/egs/aishell4/ASR/pruned_transducer_stateless5/decode.py.

I think @csukuangfj would like me add these methods. It's the same situation with https://github.com/k2-fsa/icefall/tree/master/egs/librispeech/ASR/pruned_transducer_stateless5, where not all decoding methods have corresponding results in the Results.md.

I think @csukuangfj would like me add these methods. It's the same situation with https://github.com/k2-fsa/icefall/tree/master/egs/librispeech/ASR/pruned_transducer_stateless5, where not all decoding methods have corresponding results in the Results.md.

You can test them if you like.
You can use https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/local/compile_lg.py
to get the LG.pt.
You may need to modify decode.py for the newly added decoding methods since librispeech uses BPE
while aishell4 uses Chinese characters.
Could you also test the newly added methods?

I think @csukuangfj would like me add these methods. It's the same situation with https://github.com/k2-fsa/icefall/tree/master/egs/librispeech/ASR/pruned_transducer_stateless5, where not all decoding methods have corresponding results in the Results.md.

You can test them if you like.
You can use https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/local/compile_lg.py to get the LG.pt.
You may need to modify decode.py for the newly added decoding methods since librispeech uses BPE while aishell4 uses Chinese characters.
Could you also test the newly added methods?

Sure, would update in Results.md.

It' very nice if you can add the other decoding methods and the related results.
For Chinese, you should add the stages about building G、LG in prepare.sh (or you can use the pretrained language file). Maybe you can refer to https://github.com/k2-fsa/icefall/blob/master/egs/aishell/ASR/prepare.sh.

It' very nice if you can add the other decoding methods and the related results.
For Chinese, you should add the stages about building G、LG in prepare.sh (or you can use the pretrained language file). Maybe you can refer to https://github.com/k2-fsa/icefall/blob/master/egs/aishell/ASR/prepare.sh and https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/local/compile_lg.py.

I have updated the results and uploaded the decoding results and LG.pt into HF.

It' very nice if you can add the other decoding methods and the related results.

For Chinese, you should add the stages about building G、LG in prepare.sh (or you can use the pretrained language file). Maybe you can refer to https://github.com/k2-fsa/icefall/blob/master/egs/aishell/ASR/prepare.sh and https://github.com/k2-fsa/icefall/blob/master/egs/librispeech/ASR/local/compile_lg.py.

I have updated the results and uploaded the decoding results and LG.pt into HF.

Thanks! Will review it today.

Thanks! Left some minor comments.

Done.

Thanks! Merging.

The following are some screenshots for the above spaces:
https://huggingface.co/spaces/k2-fsa/icefall-asr-aishell2-pruned-transducer-stateless5-B

https://huggingface.co/spaces/k2-fsa/icefall-asr-aishell2-pruned-transducer-stateless5-B-from-recordings

https://huggingface.co/spaces/k2-fsa/icefall-asr-tal_csasr-pruned-transducer-stateless5

https://huggingface.co/spaces/k2-fsa/icefall-asr-gigaspeech-pruned-transducer-stateless2

https://huggingface.co/spaces/k2-fsa/icefall-asr-wenetspeech-pruned-transducer-stateless2

I just created 4 huggingface spaces using the pre-trained models from this PR.
You can try it from within your browser, either running on your desktop PC or on your phone.
Upload a file for recognition

https://huggingface.co/spaces/k2-fsa/icefall-asr-aishell2-pruned-transducer-stateless5-A
https://huggingface.co/spaces/k2-fsa/icefall-asr-aishell2-pruned-transducer-stateless5-B

Record from a microphone

https://huggingface.co/spaces/k2-fsa/icefall-asr-aishell2-pruned-transducer-stateless5-A-from-recordings
https://huggingface.co/spaces/k2-fsa/icefall-asr-aishell2-pruned-transducer-stateless5-B-from-recordings

You can find more spaces in https://huggingface.co/k2-fsa, which contains pre-trained models trained from the following datasets:
LibriSpeech

https://huggingface.co/spaces/k2-fsa/icefall-asr-librispeech-pruned-transducer-stateless3
https://huggingface.co/spaces/k2-fsa/icefall-asr-librispeech-pruned-transducer-stateless3-from-recordings

GigaSpeech

https://huggingface.co/spaces/k2-fsa/icefall-asr-gigaspeech-pruned-transducer-stateless2
https://huggingface.co/spaces/k2-fsa/icefall-asr-gigaspeech-pruned-transducer-stateless2-from-recordings

WenetSpeech

https://huggingface.co/spaces/k2-fsa/icefall-asr-wenetspeech-pruned-transducer-stateless2
https://huggingface.co/spaces/k2-fsa/icefall-asr-wenetspeech-pruned-transducer-stateless2-from-recordings

tal_csasr

https://huggingface.co/spaces/k2-fsa/icefall-asr-tal_csasr-pruned-transducer-stateless5
https://huggingface.co/spaces/k2-fsa/icefall-asr-tal_csasr-pruned-transducer-stateless5-from-recordings

I have tried it. This is really cool. Do you have some docs about how to make services like this?

I have tried it. This is really cool. Do you have some docs about how to make services like this?

Yes, please have a look at https://huggingface.co/docs/hub/spaces
I suggest that you use spaces in https://huggingface.co/k2-fsa as examples for your own models.
Just copy and modify.


Improve cubemap importance sampling

Ports the importance sampling implementation over to compute. This increases performance by about 10% and makes cubemap reflection computation way more flexible.
Also changes the updated pattern for reflection probes set to UPDATE_ONCE. Before it updated over 12 frames (capture each face in 1 frame, blur each face in 1 frame). Now it updates over 16 by default and it can change depending on roughness layers (capture each face in 1 frame, blur each face of the second mip level in 1 frame, then blue the entire cubemap for each layer of subsequent frames). The benefit of computing a layer at a time is that each layer can rely on the previous layer to blur much better.
A side effect of this change is that it is now fast enough to reset the reflection probe every 16 frames without affecting performance much (if you want 4 fps reflections). :)
I was going to substantially improve the importance sampling implementation, however after discussing with reduz, it became clear that my plans would conflict with the move to implementing sky shaders. So I will have to wait until after sky shaders are implemented before attempting any more.

Thanks!


Issue with Ordered Lists

I'm using the default serializer with a few types for custom blocks
When using the list option in the editor, more specifically an ordered list, I can see that the content in the editor is numbered correctly.
When it comes to rendering this out on the frontend though, everything has the number 1 beside it.
The code shows that each list item is wrapped in an <ol> as you can see from this screenshot.

Is there anything I should be adding to add to the serializer to get these to group up into the same list?

This issue is a duplicate of https://github.com/sanity-io/block-content-to-react/issues/23
This comment https://github.com/sanity-io/block-content-to-react/issues/23#issuecomment-668031729 should solve your problem.

Closing this, as the new @portabletext/react library is the successor to this module.
Please see https://github.com/portabletext/react-portabletext


#119 issue is solved

Description

Added the footer section.
Category

[ ] Documentation
[ ] Resource Addition
[ ] Codebase
[x] User Interface
[x] Feature Request

Related Issue

Fixes #199
Checklist

[x] I have gone through the CONTRIBUTING guide
[x] The name of the resource is spelled correctly (if applicable)
[x] The link to the resource is working (if applicable)
[x] The resource is added in the correct format (if applicable)
[x] I have tested changes on my local computer (if applicable)

@Sriparno08 i have created pr

@Ananyamishra08 Please make the 'Beginner-Friendly Repos' page footer look exactly the same as the landing page footer.

@Ananyamishra08 Please make the 'Beginner-Friendly Repos' page footer look exactly the same as the landing page footer.

ok , i am quickly doing the change.


Tab Cycling -- Froze up, got this error.

Environment data

PS version: 5.1.15063.138
PSReadline version: 1.2
os: 10.0.15063.0 (WinBuild.160101.0800)
PS file version: 10.0.15063.0 (WinBuild.160101.0800)
Steps to reproduce or exception report
Oops, something went wrong.  Please report this bug with the details below.
 Must be non-negative and less than the size of the collectio
n.
Parameter name: index
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at Microsoft.PowerShell.PSConsoleReadLine.Kill(Int32 start, Int32 length, Boolean prepend)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignor
eIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------

Closing as no repro - that stack isn't possible, PSConsoleReadLine.Kill can't be bound directly to a key, and anything called from ProcessOneKey must be bindable.
If you have a solid repro, feel free to reopen.


multiple chores

I'm not sure if these commits would normally require separate PR's so i've bundled them:

on NPM: link to proper homepage
add .eslint configuration to extend videojs
so I get auto correct in VSCode (at least in my setup)
npm audit --fix
for obvious reasons.... :)

Hey thanks for the pull request. We use vjsstandard in this project to lint. It's a small wrapper around eslint that uses eslint-config-videojs internally. As for the package update changes, I just went through and updated them manually, and some code changes were required. Unfortunately this means that your pull request isn't needed anymore, thanks for  bringing these issues to our attention.


Create 42.TrappingRainWater.py

Pull Request Template
What have you Changed(must)
Added algorithm for 42.Trapping Rain Water
Write here what you have changed in cosebase
Issue no.(must) - #78
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will marked as spam.
[x] My file is in proper folder
[x] I am following clean code and Documentation.
[x] I have added title and what program will do first in the file
[x] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

Added issue number.


Icon request: F-Droid

URL for the brand / site / app
https://forum.f-droid.org/
Logo resources for the icon
https://gitlab.com/fdroid/fdroidclient/-/blob/master/logo-icon.svg
Anything else?
A very well known android store apps.
Confirmation

[X] I have read and followed the issue guidelines.

We only make icons for really popular forums (at least over 250,000 total members and high posting activity). This forum only has 6211 members. For forums under the requirements, forum software related icons are the prefer solution.
Use one of theDiscourse icons.

In the Discourse based forums, you can find the user count by: hamburger menu (top-right) -> "Users" -> user count is next to "filter by username".


[Event Hubs Client] Track Two: Fifth Preview (Remove Embedded Track One)

Summary
The focus of these changes is to remove the track one compatibility layer, including the embedded client and associated support constructs.
Last Upstream Rebase
Monday, October 21, 4:26pm (EDT)
Related and Follow-Up Issues

Remove embedded track one code and dependencies (#8221)

/azp run net - eventhub - ci

/azp run net - eventhub - ci


Backdoor context for opengl resource retrieval

This implements the backdoor context so that resources created by non-current contexts can be retrieved and serialised.

Hi! All the suggestions are implemented and the pull request has been updated.


Update Simulator icon retrieval

Since Big Sur release, the iconFile and iconPath properties return nil due to missing informations from the UTI declaration.
Fortunately we can get the url of the icon using the identifier of the UTI that matches the filename of the image.

Ah! Sorry, I totally missed this. I've taken out most of this code now.

Ah! Sorry, I totally missed this. I've taken out most of this code now.


Model is not updated when input is inside angular component

When a custom type is wrapping an input which is an angular component, changes made to passed in value inside that component  are not propagated back to the formly model.
This does work as expected when input is inside a directive though. I assume it's related with two-way vs one-way data binding.
Is this a bug or do I need some extra logic to propagate changes back from a component?
Here's a jsbin.

You are right, it is related to one-way and two-way binding. You are using one-way binding in your component, so things are going one way, right? Just use =. Nobody said you have to use < only in components...

@smajl you're right. I was trying to follow angular's docs saying Inputs should be using < and @ bindings., but this does not work in this case.
closing as not related to formly


Browser package for Blueprint

Feature Description:
Now that we have packages for multiple operating systems, for that Electron version of Blueprint, it would be desirable to also have some sort of packaged browser version of Blueprint.
This could be easily consumed, e.g. in Docker images, instead of attempting to build the contained Theia app from scratch, each time, as has been the norm so far. We think it will lower the bar considerably, for creating Theia-based containerised vanilla IDE appliances (where no customisation of the app is required).
As a first step, we'd be happy to have a single type of package, whatever is easiest, so long as we can use it in a Docker image we intend to create in this repo.

Note that I'm currently investigating building such a browser app as well as its packaging into an executable format.
This is in the investigation state and I'm making very slow progress on this. I'm basically trying tools such as pkg to turn a Node app into an exe, bundling the backend code using Webpack to minimize the build size, etc... Learning as I go, so it is not clear if it will actually work for Theia since the project is not trivial to bundle.
I will post my conclusion once I reach one on this task.

A nice first use-case or test bed for this would be if we stood up our own hosted version of Theia. However, we would need someone to contribute infrastructure for hosting it.
For current adopters, what is the current way for them to integrate Theia? Is the idea with this to make their job easier?

The way I see it, Theia is an appliance to get a Window into a development environment. With that in mind, I was thinking that people using Theia blueprint in the browser would define their development environment as a Dockerfile of some sort, and lastly drop in and install Theia in order to work inside it.
I think Che also focuses on the "development container" approach where Theia runs in one container dedicated for it, and when you open terminals to run your project it is actually running in the container running your development environment. While it is nice it is more complex to setup.
So the idea I'm investigating would make people's job easier in the sense that they'll be able to focus on building their containerized development environment, and have Theia at the ready easily deployable inside it.

For current adopters, what is the current way for them to integrate Theia?

Create images and build Theia for those themselves, usually by building directly into the image.

Is the idea with this to make their job easier?

Yes, but keep in mind that this is just an investigation so far.

[...] if we stood up our own hosted version of Theia.

I am having a hard time imagining what that would look like. It would be the most useful if people can define/pick their development environment and get to work inside it using Theia. But that's what workspace servers like Che are doing, so running a Che workspace server instance deploying Blueprint?

if we stood up our own hosted version of Theia.

Providing a Docker image that bundles Blueprint is a step towards that direction, but like Paul says, there are important required components/services that are not part of Blueprint or Theia (e.g. authentication, managing development containers, ...). If we wanted to go in that direction, I would suggest the Foundation investigate using Che, which could probably have a version of Blueprint, adapted to run in its environment.

Progress update: I managed to package a browser version of Blueprint.
My changes are on the following branch: https://github.com/eclipse-theia/theia-blueprint/tree/mp/browser-package
See theia-blueprint-linux-prototype-1.tar.gz for a prototype binary made on Ubuntu 16.04.
Doing this work revealed a few areas that could be improved in Theia, see https://github.com/eclipse-theia/theia-blueprint/blob/mp/browser-package/applications/browser/README.md#theia-blueprint-web, I'll open issues on the relevant repositories and see if I can come up with fixes.

Note that an alternative to packaging could be to only bundle the backend using Webpack, and expecting people to run the minimized scripts using their own installed Node version (which would have to be compatible with our bundle).
The bundle size is roughly ~20MB IIRC, compared to ~200MB once packaged as executable.
The executable version is that much bigger because of the embedded Node runtime.

@paul-marechal @marcdumais-work Currently this is part of the Beta 1 milestone. We would plan to announce the move from Alpha to Beta end of June. Shall we move this ticket to the next milestone?

@jfaltermeier sounds good.

This still being worked on?

Just for completeness, this question was answered here, where it was also asked: https://github.com/eclipse-theia/theia-blueprint/issues/75#issuecomment-1408590806

This is very helpful for our production environment:

In CI, the image building can be accelerated by using ADD http://xxx/thiea-ide.tar.gz.
for most case  with-no nodejs/theia-ide pre-installed, containers can mount the host directory or download from remote storage when they need the pakage.

hi @paul-marechal , Your contributions to the browser-package are highly valuable and significant，I want to know if it will work for the latest version.
I want to build a browser package with Node.js runtime, but I'm not familiar with Node.js. I've read thisGenerate webpack config for backend bundling
#12412 and  mp/browser-package , but I still don't know how to get started.
Can you provide some suggestions?


Create CONTRIBUTING.md

Add information from https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue

fyi https://github.com/MemeBattle/monorepo/issues/393#issuecomment-1681335309


[general] Lightning navigation

Overview
This pull request enhances navigation within Salesforce pages from the popup menu by integrating Lightning Navigation. Previously, clicking a link triggered a full page reload, which could take several seconds. Now, Lightning Navigation allows users to redirect to new locations without reloading the entire page. Should Lightning Navigation fail, the system gracefully falls back to standard navigation.
Additionally, this update maintains functionality for opening links in new tabs based on user settings, including detecting when users hold down the ctrl/command key to open a new tab.
During this update, I also addressed a bug where navigating to a custom settings object from the objects tab would inconsistently open the Object Manager instead of the intended custom settings page. Additionally, I fixed an issue where Object Manager setup URLs were not functioning properly for Knowledge objects
Testing
Extensive testing was conducted in various environments to ensure compatibility and seamless integration with the existing functionalities of Inspector. I encourage further testing to validate the efficiency and usability enhancements of this feature. All unit tests have been executed as per the guidelines outlined in our contribution guide.
Documentation
Changes have been documented in the CHANGES.md file.
Request for Review
I kindly request a review of this pull request. I am open to making any necessary adjustments based on your feedback.
Thank you.
Video before:
https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/82345405/dc485942-3f12-4cbb-9745-4253f40ea324
Video after:
https://github.com/tprouvot/Salesforce-Inspector-reloaded/assets/82345405/f4bbceda-ba9a-425d-995e-97f74e7fd594

Hi @tprouvot,
Thank you for reviewing this PR.
I can explore an option to communicate directly with the content script by posting a message to the popup's parent. This will not require the new permissions.
What do you think?

Hi @tprouvot, Thank you for reviewing this PR. I can explore an option to communicate directly with the content script by posting a message to the popup's parent. This will not require the new permissions.
What do you think?

Hi @toly11
I like this approach !

Ok @tprouvot,
I'll work on that and post when complete.

The result looks great @toly11 👏
I checked if we could also use the navigation for internal shortcut links onDataSelect for AllDataBoxShortcut class and it seems to be OK, would you like to integrate it ?

The result looks great @toly11 👏 I checked if we could also use the navigation for internal shortcut links onDataSelect for AllDataBoxShortcut class and it seems to be OK, would you like to integrate it ?

Great to hear about the test results!
Regarding the suggestion, are you referring to the show all data link which navigates to an extension page?

No I'm talking about those links which can redirect to setups links such as Deployment Status

Few remarks concerning the inject.js script, today it is inserted in the page even if the user doesn't interact with the extension.
I would prefer to inject only when the user opens the popup, do you think it's doable ?
Would you be able to remove the lightningNavigate listener using the componentWillUnmount hook ?
Last thing, could you remove the debug logs and add some comment explaining why you created a inject.js file instead of scripting permission  (basically to make the extension work with less permissions which can lead to company blacklisting it )?

No I'm talking about those links which can redirect to setups links such as Deployment Status

Just got a chance to review this.
I’d be happy to add support for the shortcuts tab. However, currently the setup shortcuts always open in a new tab. Integrating Lightning Navigation should also consider the user’s settings for opening links in a new tab and whether they clicked Command/Control. If these conditions are not met, it should try to open with Lightning Navigation.

Few remarks concerning the inject.js script, today it is inserted in the page even if the user doesn't interact with the extension. I would prefer to inject only when the user opens the popup, do you think it's doable ?
Would you be able to remove the lightningNavigate listener using the componentWillUnmount hook ?

Good point. It will probably be better to add and remove the event listener directly in button.js in the openPopup, and closePopup functions, right? what do you tnink

Last thing, could you remove the debug logs

Do you think we should also remove the debug when Lightning navigation fails? (addon/inject.js:19)

Few remarks concerning the inject.js script, today it is inserted in the page even if the user doesn't interact with the extension. I would prefer to inject only when the user opens the popup, do you think it's doable ?
Would you be able to remove the lightningNavigate listener using the componentWillUnmount hook ? Last thing, could you remove the debug logs and add some comment explaining why you created a inject.js file instead of scripting permission (basically to make the extension work with less permissions which can lead to company blacklisting it )?

Sure. Where will it be bast to document this?

and add some comment explaining why you created a inject.js file instead of scripting permission (basically to make the extension work with less permissions which can lead to company blacklisting it )?

Sure. Where will it be bast to document this?

I think you can add a comment directly in the header file just to explain why it was done like this.

Last thing, could you remove the debug logs

Do you think we should also remove the debug when Lightning navigation fails? (addon/inject.js:19)

We can keep the log but use the .error method instead (suggestion done in the review)

I'm thinking about one think also, since we have an option to open the links in a new tab, we should mention that enabling this will prevent the lightning navigation to be used.
So I think we should add this info in the how-to page and add a tooltip in the option.js
Let me know if you want me to do it

Hi @toly11,
I've addressed the suggested action on how-to file and option page.

Did you create a suggestion, or should I create a new commit?

Hi @toly11,
I could push my file, thank you for authorising the updates.
Last thing, I would like to have a setting which allows users to enable / disable this functionality.
I have experienced some latency from time to time where the lightning navigation is slower than classic (many tabs opened).
Now the question is : should we enabling it by default or not ?
By experience, things that are not enabled by default are not largely used. On the other hand I fear some users complaining about this feature that may make the navigation slower.
What we can do is to enabling it by default on the beta version and see if we have some complains.
What do you think ?

Hi @toly11,
Did you had a chance to see my previous comment ?


API for registering inactive funds

Introduces ActiveIssuanceOf which is the total issuance not including the treasury funds and any other funds marked as inactive with deactivate. This should generally be used rather than TotalIssuance.
Balances pallet provides a migration which can be used to mark accounts with inactive funds (which, after the upgrade, we assume will be kept up to date with deactivate and reactivate). For chains with XCM, this should be used to mark the Checking Account when upgraded.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2103869

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2103868

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-each-crate
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2107173

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2107158

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-check-benches
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2107157

@muharem a final review/approve, so we can merge?

@muharem issues addressed.

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2110982

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2110983

As a follow-up, all funds locked in nomination pools also have to be marked as deactivated now.
The migration will be O(pool_count). Each pool would look at its bonded account ledger.total and mark that as deactivated.


fix missing err check in the commit path

Type of change

Bug fix

Description
This PR addresses some of the missing err check in the ledger commit path.
Additional details
A careful analysis must be done to ensure that this PR is not creating a possibility of a fork.

@cendhu - thanks for catching these. I am still looking at 2/3 of these more closely to understand the fallout a bit better.
Also, I guess we should perhaps add errcheck linter in CI.


How I can run this project?

I run extract_weights.py
then load_weights.py
and then I run model.py
but I did not recieve any result?
Please help me! How I can run this and recieve result

What result are you talking about?
After running load_weights.py you get model .h5 file which can be used for segmentation. In fact, you can simply load weights while defining Deeplab model.

the result like this
https://github.com/bonlime/keras-deeplab-v3-plus/blob/master/imgs/seg_results2.png

Initiate a model, then use model.predict on preprocessed image (scale pad, divide by 255, substract 1)

I initiate a model like this:
deeplab_model = Deeplabv3(input_shape=(512,512,3), classes = 4, weights='pascal_voc', OS=8)
and then use
deeplab_model.predict(x) which x is a prepossessed image. And the return is a array with shape (1, 512, 512, 4).
How can I generate a segmentation map image from this array?

@zyfsa
The model is too big, with OS=8 your batch size is going to be 6, or even less, and training will take too long
In original paper they also train with OS=16

The best solution is to start only with xception weights freezed to not reduce the batch size too much

@lsymuyu  you are right!  I tried to train it using my own dataset with only two classes.
green_model = Deeplab_model.Deeplabv3(input_shape=(521,521,3), classes=2, weights='pascal_voc', OS=16)
#green_model.summary()
# I freze all except the last layer? This is OK?
for layers in green_model.layers[:-1]:
layers.trainable = False
def pixelwise_crossentropy(target, output):
output = tf.clip_by_value(output, 10e-8, 1. - 10e-8)
return - tf.reduce_sum(target * tf.log(output))
green_model.compile(loss = pixelwise_crossentropy, optimizer = optimizers.SGD(lr=0.1,
momentum=0.9), metrics=['accuracy'])
However the estimation is not good at all...any suggestions ? Thanks in advance.

I've tried to train this model with Data Science Bowl data, but results also were bad. I will try to obtain good results in the future.
Try freezing first 356 layers, and all higher BatchNorms layers

Thanks. Except Deeplab, any other semantic segmentation models worth to try?

hello, I also want to train the model on our own dataset. how to make the model can work on the image with different H,W,like(384,512,3).  How to train this model? I am not familiar with keras, but  I have learnt tensorflow. Could u give me some ideas about training? Thanks!!!

@ClaireTun you can train it like any other keras model
This repo has a good exapmle of training on Pascal VOC dataset:
https://github.com/nicolov/segmentation_keras

@bonlime By now this issue maybe can get closed since it is explained in the readme.md?
https://github.com/bonlime/keras-deeplab-v3-plus#how-to-get-labels
Even though I would not call it "how to get labels" but rather "running the network" or "running inference".

I've made a PR that contains an example script to run the model.  I am new to Deep Learning and any feedback is welcome.
https://github.com/bonlime/keras-deeplab-v3-plus/pull/89

I'm trying to start a project that provides more of a Quickstart to running this model.  It should run with a simple pip install and no other modifications.  It provides a CLI and a Dockerized method to run it.  It uses TF 2.0 Alpha and Python 3.7.  You can check it out here:
https://github.com/sachsbl/segmental

I initiate a model like this:
deeplab_model = Deeplabv3(input_shape=(512,512,3), classes = 4, weights='pascal_voc', OS=8)
and then use
deeplab_model.predict(x) which x is a prepossessed image. And the return is a array with shape (1, 512, 512, 4).
How can I generate a segmentation map image from this array?

Why do I get this error?
TypeError                                 Traceback (most recent call last)
 in ()
----> 1 deeplab_model = Deeplabv3(input_shape=(512,512,3), classes = 4, weights='pascal_voc', OS=8)
16 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/init_ops.py in call(self, shape, dtype, partition_info)
497       scale /= max(1., fan_out)
498     else:
--> 499       scale /= max(1., (fan_in + fan_out) / 2.)
500     if self.distribution == "normal" or self.distribution == "truncated_normal":
501     # constant taken from scipy.stats.truncnorm.std(a=-2, b=2, loc=0., scale=1.)
TypeError: unsupported operand type(s) for /: 'Dimension' and 'float'

Probably you are on Tensorflow 1.13, try 2.0 BETA


Remove StorageRequestFailedException

Fixes: https://github.com/Azure/azure-sdk-for-net/issues/8144

Checks are green in devops.


[9.2.x] Support upstream mptcp

Same as #10701 but for 9.2.x branch

[approve ci debian]

[approve ci clang-format]

[approve ci]

[approve ci]

@serrislew Does this remove the support for the old MPTCP stack? That's fine (and expected) on master, but we wouldn't want that on 9.2.x branch.


Setting log level higher than warning does not suppress progress bar

Describe the bug
I would like to disable progress bars for .map method (and other methods like .filter and load_dataset as well).
According to #1627 one can suppress it by setting log level higher than warning, however doing so doesn't suppress it with version 1.9.0.
I also tried to set DATASETS_VERBOSITY environment variable to error or critical but it also didn't work.
Steps to reproduce the bug
import datasets

from datasets.utils.logging import set_verbosity_error

set_verbosity_error()

def dummy_map(batch):
    return batch

common_voice_train = datasets.load_dataset("common_voice", "de", split="train")
common_voice_test = datasets.load_dataset("common_voice", "de", split="test")

common_voice_train.map(dummy_map)

Expected results

The progress bar for .map call won't be shown

Actual results

The progress bar for .map is still shown

Environment info

datasets version: 1.9.0
Platform: Linux-5.4.0-1045-aws-x86_64-with-Ubuntu-18.04-bionic
Python version: 3.7.5
PyArrow version: 4.0.1

Hi,
you can disable logging by patching it as follows:
import datasets
import logging
datasets.logging.get_verbosity = lambda: logging.NOTSET
# map call ...

Thank you, it worked :)

See https://github.com/huggingface/datasets/issues/2528 for reference

Note also that you can disable the progress bar with
from datasets.utils import disable_progress_bar
disable_progress_bar()

See https://github.com/huggingface/datasets/blob/8814b393984c1c2e1800ba370de2a9f7c8644908/src/datasets/utils/tqdm_utils.py#L84

Now the library officially recommends set_progress_bar_enabled(False)
from datasets.utils import set_progress_bar_enabled

set_progress_bar_enabled(False)

source:
https://github.com/huggingface/datasets/blob/1fd47120ace13626c528367787ffa13e1a26e6c0/src/datasets/utils/tqdm_utils.py#L83-L88

From https://github.com/huggingface/datasets/pull/3897, disable_progress_bar is the method you should use

Now disable_progress_bar function is in datasets/src/datasets/utils/logging.py.
https://github.com/huggingface/datasets/blob/aa555a299ad73c65e3f997a764e9d211675ab05d/src/datasets/utils/logging.py#L233-L236
And the method mentioned in https://github.com/huggingface/datasets/issues/2651#issuecomment-880270774 is not working now.


Cells do not execute

I am using jupyter-notebook 6.1.5 and neovim 0.4.4
$ jupyter --version
jupyter core     : 4.7.0
jupyter-notebook : 6.1.5
qtconsole        : 5.0.2
ipython          : 7.19.0
ipykernel        : 5.3.4
jupyter client   : 6.1.7
jupyter lab      : 3.0.7
nbconvert        : 6.0.7
ipywidgets       : 7.5.1
nbformat         : 5.0.8
traitlets        : 5.0.5
$ jupyter nbextension     list
Known nbextensions:
  config dir: /Users/jeremymann/.jupyter/nbconfig
    notebook section
      jupytext/index  enabled
      - Validating: OK
  config dir<EMAIL_ADDRESS>    notebook section
      jupyter_ascending/extension  enabled
      - Validating: OK
      pydeck/extensionRequires  enabled
      - Validating: OK
  config dir: /usr/local/etc/jupyter/nbconfig
    notebook section
      jupytext/index  enabled
      - Validating: OK
      plotlywidget/extension  enabled
      - Validating: OK
      pydeck/extension  enabled
      - Validating: problems found:
        - require?  X pydeck/extension
      jupyter-js-widgets/extension  enabled
      - Validating: OK
$ jupyter nbextension     list
Known nbextensions:
  config dir: /Users/jeremymann/.jupyter/nbconfig
    notebook section
      jupytext/index  enabled
      - Validating: OK
  config dir<EMAIL_ADDRESS>    notebook section
      jupyter_ascending/extension  enabled
      - Validating: OK
      pydeck/extensionRequires  enabled
      - Validating: OK
  config dir: /usr/local/etc/jupyter/nbconfig
    notebook section
      jupytext/index  enabled
      - Validating: OK
      plotlywidget/extension  enabled
      - Validating: OK
      pydeck/extension  enabled
      - Validating: problems found:
        - require?  X pydeck/extension
      jupyter-js-widgets/extension  enabled
      - Validating: OK

I'm actually not that familiar with vim plugins or anything, but my guess is that the error is actually not with vim, but with the way jupyter ascending is set up (because we haven't even really officially launched it, partly because of how annoying it is to set up correctly right now!)
All the vim plugin does is call a command line program with some particular arguments, so the best way to debug this is to make sure that the command line call succeeds. Try running this from the same working directory as your vim process and using whatever python will be active for that vim process (replacing the $absolute_file_path and $line_number variables)
python -m jupyter_ascending.requests.execute --filename $absolute_file_path --linenumber $line_number

You can (and should) enable debugging on both the client and server by setting these environment variables:
# client
JUPYTER_ASCENDING_LOG_LEVEL=DEBUG JUPYTER_ASCENDING_SHOW_TO_STDOUT=1 JUPYTER_ASCENDING_IS_LOGGING_ENABLED=1 python -m jupyter_ascending.requests.execute --filename $absolute_file_path --linenumber $line_number

# server--launch jupyter notebook like this instead of however you normally do:
JUPYTER_ASCENDING_LOG_LEVEL=DEBUG JUPYTER_ASCENDING_SHOW_TO_STDOUT=1 JUPYTER_ASCENDING_IS_LOGGING_ENABLED=1 jupyter notebook

Opened a PR for this.
The jupyter_ascending and jupyter_ascending.vim docs where not aligned and the vim plugin matched on synced and not sync
 if match(file_name, g:jupyter_ascending_match_pattern) < 0     return   endif

Ahh, that makes sense. Thanks for fixing!
I merged the PR, so lmk if it still doesn't work for some reason.

Thanks for closing.


Guides around handling "states"

There are many use cases that involve tracking states reported in metrics. We should create a set of guides around state-related use cases.

Track the duration of a state using stateDuration().
Count state within a given period of time (stateCount()).
Query state changes only (monitor.statechanges()).

1.x content we may be able to glean use cases from:
stateDuration(): https://docs.influxdata.com/kapacitor/v1.5/nodes/state_duration_node
stateCount(): https://docs.influxdata.com/kapacitor/v1.5/nodes/state_count_node
monitor.statechanges(): https://docs.influxdata.com/kapacitor/v1.5/nodes/change_detect_node/