RPIOS - Debian version 12 (bookworm) support

Created to track issue, testing on Deb 12 based RPIOS
Work already done: https://github.com/danmons/retronas/issues/345
Testing of branch: main

Installation: OK
Launch: OK
Set User/Group: OK
Relaunch OK

Installing Items: Broken
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
ERROR: Ansible could not initialize the preferred locale: unsupported locale setting
Press [Enter] to continue...

we need to manually set LC_ALL, this is a known issue and requires a fix a the tooling level, we can work around this

Installers (they just need to run to completion here, not fail)
Samba: OK
Netatalk 2: FAILED
dependency errors

Netatalk 3: OK
EtherDFS: OK
lighthttpd: OK
proftpd: OK
tftpd-hpa: OK
OpenSSH: OK
telnet: OK
NFS: OK
TFNS: OK
pygopherd: OK
3DS QR Codes: Failed
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Error while linking: [Errno 2] No such file or directory: b'/data/retronas/3ds/cia' -> b'/data/retronas/roms/nintendo/3ds/cia'", "path": "/data/retronas/roms/nintendo/3ds/cia"}

Samba for PS2: OK
Playstation 3: OK
Samba for MiSTer: OK
Samba for X360: OK
Samba for Batocera: OK
Samba for RecalBox: OK
Samba for Emuelec: OK
fenir-ode-webserver: OK
xlink-kai: OK
gogrepo: OK
ROM Import: OK
FSP server: OK
Sabretools: OK
DiscImageCreator: OK
Samba for Amiga: OK
Syncthing: OK
Cockpit: OK
WebOne proxy: OK
Bitorrent: OK
aria2: OK
megatools: OK
apfs-fuse: OK
hb-store-cdn: OK
zterm: OK
atdpro: OK
miniterm: OK
dreampi: OK
ethflopd: OK
mc: FAILED
ytree: FAILED
far2l: FAILED
ntp: FAILED
dependency error libnetfilter

WaybackProxy: OK

these worked once deps from dreampi were resovled
Netatalk 2: OK
mc: OK
ytree: OK
far2l: OK
ntp: OK

hdparm: OK
tcpser: OK
laptop-ao: OK
webui: OK
xboxmanager: OK
netlink: OK
kermit: FAILED
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Path /etc/inetd.conf does not exist !", "rc": 257}

nabu: OK
dexdrive: OK
open-iscsi: FAILED
ERROR! The requested handler 'open-iscsi - Restart service' was not found in either the main handlers list nor in the listening handlers list

linux-gadgets: OK
UPDDB: OK

ondevice menu
ucon64: OK
extract-xiso: OK
hdl-dump: OK
nbd-client: OK
pfsshell: OK
cue2pops: OK
pi1541: OK

kermit moved to a systemd service

went through the last lot of playbooks to see gather facts, i can't see anything overly concerning with deb12 support so people can try and see how it goes

Current deluge 2.0.3-4 on bookworn make BitTorrent installable but not working, see: https://forum.deluge-torrent.org/viewtopic.php?t=56545

thanks have added an opt-in updater to version 2.12 from debian testing

@sairuk where I can find this updater?

Ok, tried in branch "testing", unfortunately I get still errors:
November 8, 2023
11:46 PM
Started deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:46 PM
deluge-web.service: Consumed 2.783s CPU time.
systemd
11:46 PM
Stopped deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:46 PM
deluge-web.service: Scheduled restart job, restart counter is at 45.
systemd
11:46 PM
deluge-web.service: Consumed 2.783s CPU time.
systemd
11:46 PM
deluge-web.service: Failed with result 'exit-code'.
systemd
11:46 PM
deluge-web.service: Main process exited, code=exited, status=1/FAILURE
systemd
11:46 PM
TypeError: cannot unpack non-iterable NoneType object
deluge-web
11:46 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:46 PM
username, password = get_localhost_auth()
deluge-web
11:46 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 31, in default_hostlist
deluge-web
11:46 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:46 PM
default_hostlist(),
deluge-web
11:46 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 104, in __init__
deluge-web
11:46 PM
^^^^^^^^^^
deluge-web
11:46 PM
self.hostlist = HostList()
deluge-web
11:46 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 380, in __init__
deluge-web
11:46 PM
^^^^^^^^
deluge-web
11:46 PM
self.web_api = WebApi()
deluge-web
11:46 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 691, in __init__
deluge-web
11:46 PM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
deluge-web
11:46 PM
self.__server = server.DelugeWeb(options=self.options)
deluge-web
11:46 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 70, in start
deluge-web
11:46 PM
web.start()
deluge-web
11:46 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 6, in start
deluge-web
11:46 PM
^^^^^^^
deluge-web
11:46 PM
sys.exit(start())
deluge-web
11:46 PM
File "/usr/bin/deluge-web", line 8, in <module>
deluge-web
11:46 PM
Traceback (most recent call last):
deluge-web
11:46 PM
Started deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:46 PM
deluge-web.service: Consumed 2.744s CPU time.
systemd
11:46 PM
Stopped deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:46 PM
deluge-web.service: Scheduled restart job, restart counter is at 44.
systemd
11:46 PM
deluge-web.service: Consumed 2.744s CPU time.
systemd
11:46 PM
deluge-web.service: Failed with result 'exit-code'.
systemd
11:46 PM
deluge-web.service: Main process exited, code=exited, status=1/FAILURE
systemd
11:45 PM
TypeError: cannot unpack non-iterable NoneType object
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
username, password = get_localhost_auth()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 31, in default_hostlist
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
default_hostlist(),
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 104, in __init__
deluge-web
11:45 PM
^^^^^^^^^^
deluge-web
11:45 PM
self.hostlist = HostList()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 380, in __init__
deluge-web
11:45 PM
^^^^^^^^
deluge-web
11:45 PM
self.web_api = WebApi()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 691, in __init__
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
self.__server = server.DelugeWeb(options=self.options)
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 70, in start
deluge-web
11:45 PM
web.start()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 6, in start
deluge-web
11:45 PM
^^^^^^^
deluge-web
11:45 PM
sys.exit(start())
deluge-web
11:45 PM
File "/usr/bin/deluge-web", line 8, in <module>
deluge-web
11:45 PM
Traceback (most recent call last):
deluge-web
11:45 PM
Started deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Consumed 2.883s CPU time.
systemd
11:45 PM
Stopped deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Scheduled restart job, restart counter is at 43.
systemd
11:45 PM
deluge-web.service: Consumed 2.883s CPU time.
systemd
11:45 PM
deluge-web.service: Failed with result 'exit-code'.
systemd
11:45 PM
deluge-web.service: Main process exited, code=exited, status=1/FAILURE
systemd
11:45 PM
TypeError: cannot unpack non-iterable NoneType object
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
username, password = get_localhost_auth()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 31, in default_hostlist
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
default_hostlist(),
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 104, in __init__
deluge-web
11:45 PM
^^^^^^^^^^
deluge-web
11:45 PM
self.hostlist = HostList()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 380, in __init__
deluge-web
11:45 PM
^^^^^^^^
deluge-web
11:45 PM
self.web_api = WebApi()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 691, in __init__
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
self.__server = server.DelugeWeb(options=self.options)
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 70, in start
deluge-web
11:45 PM
web.start()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 6, in start
deluge-web
11:45 PM
^^^^^^^
deluge-web
11:45 PM
sys.exit(start())
deluge-web
11:45 PM
File "/usr/bin/deluge-web", line 8, in <module>
deluge-web
11:45 PM
Traceback (most recent call last):
deluge-web
11:45 PM
Started deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Consumed 2.835s CPU time.
systemd
11:45 PM
Stopped deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Scheduled restart job, restart counter is at 42.
systemd
11:45 PM
deluge-web.service: Consumed 2.835s CPU time.
systemd
11:45 PM
deluge-web.service: Failed with result 'exit-code'.
systemd
11:45 PM
deluge-web.service: Main process exited, code=exited, status=1/FAILURE
systemd
11:45 PM
TypeError: cannot unpack non-iterable NoneType object
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
username, password = get_localhost_auth()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 31, in default_hostlist
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
default_hostlist(),
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 104, in __init__
deluge-web
11:45 PM
^^^^^^^^^^
deluge-web
11:45 PM
self.hostlist = HostList()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 380, in __init__
deluge-web
11:45 PM
^^^^^^^^
deluge-web
11:45 PM
self.web_api = WebApi()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 691, in __init__
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
self.__server = server.DelugeWeb(options=self.options)
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 70, in start
deluge-web
11:45 PM
web.start()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 6, in start
deluge-web
11:45 PM
^^^^^^^
deluge-web
11:45 PM
sys.exit(start())
deluge-web
11:45 PM
File "/usr/bin/deluge-web", line 8, in <module>
deluge-web
11:45 PM
Traceback (most recent call last):
deluge-web
11:45 PM
Started deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Consumed 2.066s CPU time.
systemd
11:45 PM
Stopped deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Scheduled restart job, restart counter is at 41.
systemd
11:45 PM
deluge-web.service: Consumed 2.066s CPU time.
systemd
11:45 PM
deluge-web.service: Failed with result 'exit-code'.
systemd
11:45 PM
deluge-web.service: Main process exited, code=exited, status=1/FAILURE
systemd
11:45 PM
TypeError: cannot unpack non-iterable NoneType object
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
username, password = get_localhost_auth()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 31, in default_hostlist
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
default_hostlist(),
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 104, in __init__
deluge-web
11:45 PM
^^^^^^^^^^
deluge-web
11:45 PM
self.hostlist = HostList()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 380, in __init__
deluge-web
11:45 PM
^^^^^^^^
deluge-web
11:45 PM
self.web_api = WebApi()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 691, in __init__
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
self.__server = server.DelugeWeb(options=self.options)
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 70, in start
deluge-web
11:45 PM
web.start()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 6, in start
deluge-web
11:45 PM
^^^^^^^
deluge-web
11:45 PM
sys.exit(start())
deluge-web
11:45 PM
File "/usr/bin/deluge-web", line 8, in <module>
deluge-web
11:45 PM
Traceback (most recent call last):
deluge-web
11:45 PM
Started deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Consumed 2.055s CPU time.
systemd
11:45 PM
Stopped deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Scheduled restart job, restart counter is at 40.
systemd
11:45 PM
deluge-web.service: Consumed 2.055s CPU time.
systemd
11:45 PM
deluge-web.service: Failed with result 'exit-code'.
systemd
11:45 PM
deluge-web.service: Main process exited, code=exited, status=1/FAILURE
systemd
11:45 PM
TypeError: cannot unpack non-iterable NoneType object
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
username, password = get_localhost_auth()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 31, in default_hostlist
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
default_hostlist(),
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/hostlist.py", line 104, in __init__
deluge-web
11:45 PM
^^^^^^^^^^
deluge-web
11:45 PM
self.hostlist = HostList()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/json_api.py", line 380, in __init__
deluge-web
11:45 PM
^^^^^^^^
deluge-web
11:45 PM
self.web_api = WebApi()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/server.py", line 691, in __init__
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
self.__server = server.DelugeWeb(options=self.options)
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/web.py", line 70, in start
deluge-web
11:45 PM
web.start()
deluge-web
11:45 PM
File "/usr/lib/python3/dist-packages/deluge/ui/web/__init__.py", line 6, in start
deluge-web
11:45 PM
^^^^^^^
deluge-web
11:45 PM
sys.exit(start())
deluge-web
11:45 PM
File "/usr/bin/deluge-web", line 8, in <module>
deluge-web
11:45 PM
Traceback (most recent call last):
deluge-web
11:45 PM
Started deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Consumed 2.052s CPU time.
systemd
11:45 PM
Stopped deluge-web.service - Deluge Bittorrent Client Web Interface.
systemd
11:45 PM
deluge-web.service: Scheduled restart job, restart counter is at 39.
systemd
11:45 PM
deluge-web.service: Consumed 2.052s CPU time.
systemd
11:45 PM
deluge-web.service: Failed with result 'exit-code'.
systemd
11:45 PM
deluge-web.service: Main process exited, code=exited, status=1/FAILURE
systemd
11:45 PM
TypeError: cannot unpack non-iterable NoneType object
deluge-web
11:45 PM
^^^^^^^^^^^^^^^^^^
deluge-web
11:45 PM
username, password = get_localhost_auth()
deluge-web
11:45 PM

i do not see this behavior on deb12, i did however push some perms fixes that needed to be done after the updated packages were installed

@sairuk I've pulled your permissions fixes, now the service doesn't return errors but if I try to connect to deluge web ui on 8112  port it goes in timeout...

pip has an exception handler in bookworm which we need to work around
we can remove /usr/lib/python3*/EXTERNALLY-MANAGED so we don't have to handle multiple command lines across distros


Move collection of state onto Dispatchers.Default in PlayerFragment.kt

Change Type (required)
Indicate the type of change your pull request is:

[x] patch
[ ] minor
[ ] major

#Release Notes
Move collection of player view model state onto Dispatchers.Default in PlayerFragment.kt
Does your PR have any documentation updates?

[ ] Updated docs
[x] No Update needed
[ ] Unable to update docs

Background:
Prior to this change, handleAssetUpdate would be called once and only once for each navigation / change in the asset view tree.  After the aforementioned change, there was a certain scenario (navigation to another view in the same flow) where handleAssetUpdate would be called twice once for the new view and another time for the previous view.  This resulted in odd scenarios on the UI where it would appear that a user briefly navigated to a new screen before returning to the original screen.
I noticed that collecting the view state on anything other than Default.Dispatchers caused this change in behaviour, so this PR simply reverts that change from the linked PR + brings back the intoOnMain.

/canary


Feature request: Run tests from editor

Hi there!
I just checked out lapce now, and it looks really cool!
One thing that's missing for me, is the ability to run tests from inside the editor.
I'm pretty sure its quite an obvious feature request and you guys probably are planning on something similar...
My humble suggestions:

The "light bulb" hint near a test function definition can have an action "run this test"

Add a right-click on an open file tab --> Run tests in this file

Right click a file/directory in the package explorer --> Run tests in this file/directory
In the command palate --> Run tests in current file

Thanks a lot, keep on the great work guys!

Btw, I would like to try and take over implementing this feature if that's ok with you guys 🙂

@Eraden as a JB user myself, i agree 😁
Full disclosure though guys, I have a full time job so my progress with this PR is quite slow unfortunately :/
If you want to, it'll be very understandable of you to take over this PR.
Anyway, if you guys can provide some leads on where to start, which areas are relevant for me to take a look at in order to get it going -   that'd be great. Thanks!

You might need to look at the LSP code and the LSP specification a bit.
I'm unsure of how exactly the LSP reports runnable things like the testing. It might be related to code lens?
I haven't looked too closely, but these may be related (from RA): https://github.com/rust-lang/rust-analyzer/blob/master/editors/code/src/run.ts and maybe https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/runnables.rs#L110

Thanks, it looks like a great starting point!
I'll take a look and see what I can come up with

Hey @MinusGix and everyone,
Unfortunately, this issue is taking more time and effort than I expected, so I'm afraid I'd have to step down from this issue for now 🙁
It's a busy time for me, and I thought I could have a quick win here, but sadly it turns out I'm not able to...
This is a really cool project and I hope to see it grows even more!
Sorry and thanks for your time ❤
Maybe we'll meet on another issue sometime later on 🙂

I can try and pick this up, as I'm interested in doing some LSP stuff.
Seems like the codebase around LSP has changed quite a lot since #648, but I'll see with what I can come up :smiley:

It's already being worked on in #1809


Prompt and Negative Prompt

I think being able to put prompt and negative prompt to the config preset would be helpful as some checkpoint models actually require you to enter specific positive or negative prompts to make it work correctly.
https://civitai.com/models/1250/the-simpsons this one for example needs "asim style" for the prompt to make it work.
I don't know about anyone else, but I definitely struggle with remembering all the quirks of some of the models I have and this feature would save lot of looking stuff up when I could just have it in a preset already for me.
And I think it would also enhance this suggestion: https://github.com/Zyin055/Config-Presets/issues/4
Although I'm fine without it autoswitching the models, I can do that myself and just name the preset after the model I should be using for each preset

The ability to add the prompt/negative prompt to a config preset was added a few days ago. You can use the new "Add tracked fields..." button to track those fields and use them when creating a preset.
But due to the technical complexity the selected model cannot be changed in this way.


virtio-fs: Visual Studio 2022 cannot compile files in the file system of virtiofs mounted.

Describe the bug
A clear and concise description of what the bug is.
Hi,  I have encountered a strange problem.
Visual Studio  2022 cannot compile files in the file system of virtiofs.  But Explorer can read and write normally and works very well.
Thanks.
To Reproduce
Steps to reproduce the behaviour:

Install Arch Linux
Setup Virt
Install Windows 2k16 on KVM (win2k16)
Install virtio-win-0.1.240.iso
Install winfsp
Install VS 2022
Create a new project on a virtiofs filesystem
Compile

Expected behavior
A clear and concise description of what you expected to happen.
VS 2022 build successful
Screenshots
If applicable, add screenshots to help explain your problem.

Hi @luozhiya,
Thanks for reporting. This is a known issue. Probably, the problem is the file creation time absence in FUSE and virtiofsd.

Hi @luozhiya, which language are you compiling in Visual Studio?

Hi @YanVugenfirer
I am using C++ and created the Console App project through VS's templates.

Any update on this? it is a serve bug

@liyimeng sorry, not yet

It is virtiofs Windows specific issue.  There is inconsistency of the file timestamps between Windows and Linux host

It is virtiofs Windows specific issue. There is inconsistency of the file timestamps between Windows and Linux host

Could be interesting to know how nfs/samba solve this problem.

Tracker - https://issues.redhat.com/browse/RHEL-11831


Fail to recompile tools when ocaml (and its dependency) needs to be recompiled.

When (for some reason) the ocaml package need to be recompiled, all of its dependency have also to be. However, since the repository they come from is disabled, they cannot be.
A solution to this would be to pin them with a path, instead of just installing them from the repo.

Could there be a way to tell Opam not to recompile ocaml ? It's certainly because a system dependency changed so it's not useful in this case.

Fixed by #134.


Scale down & cache thumbnail images

Having enabled this module, I see in the network traffic that all images for all journal entries are downloaded upon initial load of the system.
When images are large, this can lead to a considerable delay in initial load time for the user.
My suggestion is to resize the images on the server and cache the images. This will allow for all journal entries to have thumbnails without adding megabytes to the initial download screen.

You are right about this issue. I'ver never paid attention to that kind of problem. Your suggestion sounds good. I will take a look into it and investigate this further.

I love your module but alas had to disable it because I have some big images - even after converting them to webp.
One challenge you will have with my suggestion is updating the thumbnail if the image is changed.


home-manager-path error, rm no operands

Describe the bug
I've tried to switch to nixflk in nix-shell, but i havent been able to do a successful build
To Reproduce
Steps to reproduce the behavior:

have an existing NixOS @ 20.09
nix-shell and flk (hostname) switch

Expected behavior
a flake gen is rebulit, from a previous config that included nix 2.4 and home-manager
Additional context
$ nix --version
nix (Nix) 2.4pre20201201_5a6ddb3

full log:
[flk]$ flk chapterhouse switch
warning: Git tree '/home/tgunnoe/src/nixflk' is dirty
building the system configuration...
warning: Git tree '/home/tgunnoe/src/nixflk' is dirty
error: --- Error ---------------------------------------------------------------------------------------------------------------------- nix
builder for '/nix/store/iv179g9mc9adic8mswj862z0iqzxr64n-home-manager-path.drv' failed with exit code 1; last 3 log lines:
  created 0 symlinks in user environment
  rm: missing operand
  Try 'rm --help' for more information.
error: --- Error ---------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/hibp5jidfxfb4bqx4y9k8f6b48bsb2ic-home-manager-generation.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/42n3xq2ckx7jcagv8smwb8gavhm1znka-user-environment.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/48r1j45aflfiw6cn9zg32wpbsm828mv5-etc.drv' failed to build
error: --- Error ---------------------------------------------------------------------------------------------------------------------- nix
1 dependencies of derivation '/nix/store/0a9ldka1nh7bc5v1fpzh8xjjv642aax5-nixos-system-chapterhouse-20.09.20201214.7362dab.drv' failed to build

nevermind. it was my fault.
i had:
home-managers.users.tgunnoe.home.packages = mkForce [ ] ;
I probably picked it up from an earlier iteration of the project.

nevermind. it was my fault.
i had:
home-managers.users.tgunnoe.home.packages = mkForce [ ] ;
I probably picked it up from an earlier iteration of the project.


Setup sandbox environment on ueialliance.org

Description
Provide sandbox environment at ueialliance.org
Host layer2 config file that can be used in the environment

Had setup the infra last week.
Have sent the layer 2 to be installed.
Once that is done, I will test the network and close this

Sent the following Layer 2 link and instructions to Trillectric on Monday
https://raw.githubusercontent.com/beckn/beckn-sandbox/main/artefacts/DENT/layer2/dent_ev-charging_0.1.0_1.1.0.yaml

Sent the following message on Whatsapp to Trillectric.
Yesterday I sent you a mail with the link and instructions for layer 2 installation.
Do you need any more assistance to finish the sandbox environment installation?
Just as a reminder, in case you have not already installed, you also will need to install the beckn-sandbox (https://github.com/beckn/beckn-sandbox) to test end to end transactions on the sandbox environment. Once the transaction test is done, you can publish the availability of the sandbox.
cc @bharath-ganapathy

2024-07-24 Status: Pooja has sent a mail yesterday to Trillectric to finish the task. It is unfinished as of today.

2024-07-26 Status: I have asked Pooja to follow up. The layer 2 file is still not installed and the sandbox environment is not yet up.

This has now been setup and is up
cc @bharath-ganapathy


_find performance issues

Description
Although the docs advise to start using _find rather the regular db views, it looks like _find is at least 5x time slower than a regular view. Is that something expected?

Steps to Reproduce
USING NODEJS

Create a new index through .createIndex
Query the db through _find using fields to match the newly created index.
We queried for about 10k rows. It took about 3.8 seconds, while a regular view, for the same amout of data took 800ms.

USING CURL
The same as above. The execution took the same amount of time(3.8)s.
Expected Behaviour
The find execution should take at least the same amount of time as a normal view, or less?
Your Environment
Nodejs under linux/mac-os.

CouchDB Version used:
2.3.1
Browser name and version:
Operating System and version:
Mac-os / Centos 7

Additional context

A _find shouldn’t be slower. It’s using map/reduce underneath. So it’s the same query engine. What does your _explain say? Is the index being used. You can also enable execution_stats to tell you how the find query went to get more insight.

From: Nicu Spinu<EMAIL_ADDRESS>Sent: Thursday, August 22, 2019 10:28 AM
To: apache/couchdb
Cc: Subscribed
Subject: [apache/couchdb] _find performance issues (#2129)
Description
Although the docs advise to start using _find rather the regular db views, it looks like _find is at least 5x time slower than a regular view. Is that something expected?
[image]https://user-images.githubusercontent.com/35466661/63499019-afe7f700-c4cf-11e9-86cf-8580f101d45d.png
Steps to Reproduce
USING NODEJS

Create a new index through .createIndex
Query the db through _find using fields to match the newly created index.
We queried for about 10k rows. It took about 3.8 seconds, while a regular view, for the same amout of data took 800ms.

USING CURL
The same as above. The execution took the same amount of time(3.8)s.
Expected Behaviour
The find execution should take at least the same amount of time, or less?
Your Environment
Nodejs under linux/mac-os.

CouchDB Version used:
2.3.1
Browser name and version:
Operating System and version:
Mac-os / Centos 7

Additional context
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/apache/couchdb/issues/2129?email_source=notifications&email_token=AABL2AV4FCKUCPOLFN6YVCTQFZE3HA5CNFSM4IOSIVN2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGW4IZQ, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AABL2AUEL2MGV4LS7XMZKVLQFZE3HANCNFSM4IOSIVNQ.

This is what _explain says:

And this is how the index _design doc look like.

 From the JavaScript, it looks like you creating the mango view then querying it versus the map index which has already been created and possibly already built.

From: Nicu Spinu<EMAIL_ADDRESS>Sent: Thursday, August 22, 2019 1:10 PM
To: apache/couchdb
Cc: garren smith; Comment
Subject: Re: [apache/couchdb] _find performance issues (#2129)
This is what _explain says:
[image]https://user-images.githubusercontent.com/35466661/63509337-98ffcf80-c4e4-11e9-9d8c-6dd46d1f3b2f.png
And this is how the index _design doc look like.
[image]https://user-images.githubusercontent.com/35466661/63509298-7a99d400-c4e4-11e9-994b-7dcb75c53b4c.png
And this is what the execution_stats look like
[image]https://user-images.githubusercontent.com/35466661/63509482-f136d180-c4e4-11e9-90fb-991510e7707a.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/apache/couchdb/issues/2129?email_source=notifications&email_token=AABL2AQ6PR4DYPCCRHGLKIDQFZX3BA5CNFSM4IOSIVN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD44WO2I#issuecomment-523855721, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AABL2AVQ2QFRZTNVWW5CPMDQFZX3BANCNFSM4IOSIVNQ.

Even if I create the index on runtime, or if using one that was created before - the result will always take over 3.5seconds.
The above piece of code is just to get some runtime outputs(they both run ONE time):

The _find - using an index - takes 3700ms.
Executing a view(that was created before) - 800ms

They both examine the same amount of data(i.e 15846) - however - the _find is way slower.

One difference between Query and MapReduce is that Query will always load
the entire document for each result row (effectively include_docs=true in
MapReduce terms) and then construct a result returning only the specified
fields. This means there's a potentially expensive additional fetch for
each row, particularly so if your documents are large.
In general, indexing with Query is significantly faster than JavaScript
MapReduce but querying is not (though is more flexible).
On Thu, 22 Aug 2019 at 13:30, Nicu Spinu<EMAIL_ADDRESS>wrote:

Even if I create the index on runtime, or if using one that was created
before - the result will always take over 3.5seconds.
The above piece of code is just to get some runtime outputs(they both run
ONE time):

The _find - using an index - takes 3700ms.
Executing a view(that was created before) - 800ms

They both examine the same amount of data(i.e 15846) - however - the _find
is way slower.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/apache/couchdb/issues/2129?email_source=notifications&email_token=AAAX36ZJVJGEM6YQB44TNXTQF2BFBA5CNFSM4IOSIVN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD445Q6Y#issuecomment-523884667,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAX364Q7YBTSXNMHJE6TKDQF2BFBANCNFSM4IOSIVNQ
.

Query also doesn't have the Reduce part of MapReduce yet. If you're really trying to get just a _count then you will be faster for JS right now.

So that means _find will never be as fast as a regular db view.
I guess the docs should be warning about this performance trade you are doing when using _find.
Perhaps this issue be moved on the couchdb docs repo?

@ngspinu No, it is still accurate in the large majority of cases.
Reduce support for Mango is being added in #1254.

@ngspinu if you want to open a Documentation issue on the specific sentence you found misleading, we can add a qualifier there saying that reduce support for _count, _sum, and _stats is still forthcoming, and that in that specific situation, we still recommend JS views.

@wohali - this issue was closed, but there is no real response on why _find is way slower than running a regular view. Is there any way we could get some?
Thank you.


Style upgrade

[x] The new tweet form needs something, padding/margin for sure.
[x] Make "All" and "Followed" links into buttons that show which view is active.
[x] "Lucy's Stream" at the top doesn't make sense
[x] Show the current view somewhere on the page as a heading ( "Followed users")
[ ] Followed user's tweets should be highlighted in some way on the All view.
[ ] Do something with the background.

https://occs.mybalsamiq.com/projects/six/laduke-twitter.jpeg?version=4&etag=9WBrV2N7BU9HK.LomK8YBA3f15ZqipqY

Not applicable after mercury redo.


Potential nil pointer dereference in stateMachine.doExecConfigChange

Can be reproduced ?
yes
Steps:
https://github.com/matrixorigin/matrixcube/blob/77729741a1ee16148ee5c0940d5f1cda16e978a3/raftstore/replica_state_machine_exec.go#L110
the p is nil at this line
Expected behavior:
no warning
Actual behavior:
Environment:

Version or commit-id (e.g. v0.1.0 or 8b23a93):
Hardware parameters:
OS type:
Others:

Configuration file:
Additional context:

Error message from client:
Server log:
Other information:

Already fixed


ENH: add time to md for spec api

Added test from @tacaswell. Will make a decision later as to allowing key customization or fixing it throughout (may be preferable).

Hahahah. gs.MD_TIME_KEY seems to be code for, "I do not want to participate in a facility-wide debate about what we are going to call this."

@danielballan Am I so transparent? :blush:


If the input sample name consists of only numbers, "ValueError: Different sample sets found" is happened when running compute-copy-number alteration.

If the input sample name consists of only numbers, the "read_depth.data.samples" contains the sample name as a string type.
However the "control_statistics.data.index" contains the sample name as an integer data type.
It caused the 'ValueError('Different sample sets found')' and KeyError: "None of [Index(['1642'], dtype='object')] are in the [index]" during running compute-copy-number.
Is there any solution except attaching some string to the sample name?
Best regards,

@leefall,
Thanks for reporting the issue! I was able to reproduce the error myself. PyPGx should be able to handle sample names that consist of only numbers.
That said, I made a fix to the 0.20.0-dev branch. In my testing, it works fine now. I simply added a line of code that explicitly converts the index as string. Please give this new version a try by local installation (see how) and let me know if it works for you as well.
I have been planning to release the official version of 0.20.0 so if you the fix works for you, I will upload the new version to pip and conda soon.
Thanks!

Thanks for your quick and kind response.
I will try after updating the version.

It worked!!
I appreciate your fix.
Sincerely,

@leefall, I just uploaded the official version of 0.21.0 to pip and conda. Enjoy!


No auto-completion for workflow variable

Describe the bug

Steps to reproduce

Create variables in workflow
Use the variable

Result

No auto-completion. User need to input manually.
Expected behavior

Support auto-completion like service.
Environment

Walrus version: v0.4.0-rc3
UI version: v0.4.0-rc3

Additional context
Add any other context about the problem here.

Environment

Walrus version: main 278965251ef397a0f67ffab3c9348f4243d92c56
UI version: dev-bb09fa3

Test Result:
The autocomplete prompt is workflow.var-name, but in reality, workflow.var.var-name is the effective syntax.
Should the backend be modified to use workflow.var-name, or should the frontend be modified to use workflow.var.var-name

Environment

Walrus version: main f41cb2758ccafbd4e458c1b171345b1987aa3247
UI version: dev-2c4d8f3


[Bug] The Source Data Fetcher thread may not exit during job failover

Search before asking

[X] I searched in the issues and found nothing similar.

Paimon version
0.9
Compute Engine
Flink
Minimal reproduce step

If the task block at poll method, it will hung forever. Besides, this lead to the FileSourceSplitReader can not be close which will bring the memory leak

What doesn't meet your expectations?
We should wakeup from the poll method during the shutdown
Anything else?
No response
Are you willing to submit a PR?

[X] I'm willing to submit a PR!

Hi, can you explain the whole case? Under what circumstances would it hang?

The last RecordIterator is fetched and add in elementQueue and have not been completed polled out.
The source task failover, and want to shutdown the FetchTask, the fetchTask is block on the pollEntry because the RecordIterator is not released. then this thread will not exit.

We can observe this log in the taskmanager


Move tools message into package

Originally, I thought that the client (other dash tooling) would be responsible for passing in their own message to show the user about our data collection policy, but really there should be one standard message that is shown to all clients that is controlled by this package. And when there is an update to the messaging, we will update the package version.

This was completed in https://github.com/eliasyishak/dash_analytics/pull/13


Team assignment

What
What changes are being made? (e.g. feature, bug, docs, etc.)
Why
Why are these changes necessary?
How
How were these changes implemented?
Checklist
Have you done all of these things?

[ ] Documentation added
[ ] Tests
[ ] TypeScript definitions updated
[ ] Ready to be merged

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 172 (3.49%)  changed or added relevant lines in 11 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-1.5%) to 10.728%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/components/VolunteerBoard/Board.tsx
0
1
0.0%

src/store/auth.ts
0
1
0.0%

src/store/volunteerList.ts
6
11
54.55%

src/components/TeamAssignment/TeamAssignment.tsx
0
10
0.0%

src/components/TeamAssignment/TeamsWithCandidates.tsx
0
13
0.0%

src/pages/TeamAssignment/TeamAssignmentPage.tsx
0
13
0.0%

src/components/TeamAssignment/VolunteersWithTeamWishes.tsx
0
19
0.0%

src/components/VolunteerBoard/VolunteerTeam/VolunteerTeam.tsx
0
23
0.0%

src/store/volunteerTeamAssignSet.ts
0
23
0.0%

src/components/TeamMembers/TeamMembers.tsx
0
25
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/store/auth.ts
1
0%

Totals

Change from base Build<PHONE_NUMBER>:
-1.5%

Covered Lines:
170

Relevant Lines:
1326

💛  - Coveralls


Set min_log_gap_to_join to max_int32.

looks good, can you also set use_new_joiner_type_ to true in this PR?


Clarify that eth1 blocks must be deep enough in chain for consideration for genesis

https://github.com/ethereum/eth2.0-specs/pull/1834

should be resolved in https://github.com/ChainSafe/lodestar/pull/969/files too


add support for dark mode

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Uncaught TypeError: context2 is undefined

I'm currently working on a game using kontra  and i'm using typescript however when I bundle everything together i'm getting an issue with kontra.
Uncaught TypeError: context2 is undefined
    _p kontra.mjs:769
    init kontra.mjs:727
    Updatable kontra.mjs:384
    GameObject kontra.mjs:440
    Text kontra.mjs:711
    factory$7 kontra.mjs:815
    <anonymous> text.js:2
[kontra.mjs:769:4](http://localhost:8081/kontra/kontra.mjs)
    _p kontra.mjs:769
    init kontra.mjs:727
    Updatable kontra.mjs:384
    GameObject kontra.mjs:440
    Text kontra.mjs:711
    factory$7 kontra.mjs:815
    <anonymous> text.js:2

The line pointed out is the following:
context2.font = this.font;

Situated in the _p() of the class Text extends GameObject {
This error happens for the following Text entities as well as a Sprite.
test.ts
import { Text } from "kontra"
//Set our title
export let title = Text({
    text: 'GIVE ME SPACE!',
    font: '20px Luminari, fantasy',
    color: 'white',
    x: 100,
    y: 200,
    anchor: { x: 0.5, y: 0.5 },
    textAlign: 'center'
});
export let score = Text({
    text: 'Score:',
    font: '20px Luminari, fantasy',
    color: 'white',
    x: 50 + 16 * 3,
    y: 150,
    anchor: { x: 0.5, y: 0.5 },
    textAlign: 'center'
});

The issue comes when rendering.
index.ts
let loop = GameLoop({  // create the main game loop
  render: () => {
    // Non need to render the collision layer
    if (this.tileEngine) {
        this.tileEngine.renderLayer("ground");
    }
    // character.render();
    title.render();
    score.render();
    this.lifeCollection.forEach(element => {
        //console.log(element)
        element.render();
    });
  }
});

The issue seems to be when sprites are defined in other files. the render then can't pass the context properly.
Is there a way to define sprites in another file and then handle the render properly ?

So this might be related to #318. If text.ts get's imported before index.ts is able to call init() to pass the canvas and setup the context, then when Text is created it doesn't have the context set so it won't be defined when it renders.

@straker in my current setup what I tried to do was the following

src
---sprites
------character.ts
------title.ts
------score.ts
---index.ts

Where index.ts was a class and in the constructor I initialized the tileengine and the tileloop.
I came through two problems with that structure. which I think are a bit similar
the sprites can't work properly as they are imported in index.ts at the top and since the Sprite() is already called in the file itself it has already initialized without the context.
I tries passing the context to the sprite thinking that could be a good solution but it didn't work.
The second one is the fact that the context is auto passed to the update and render function.
I wanted to put those functions in a seperate method in the class for cleaner code and then having
update(this.updateState)

this way I could easily access properties defined in my class butt this means in loose the binding to the context which is used in render. I tried passing the context to the updateState function so I could try something like character.render(context) but this was also with no avail.
for #318 do you have any  idea yet?

Not at the moment. I need to go through everything to see what options I have.

Not at the moment. I need to go through everything to see what options I have.

Alright I understand! Looking forward if you do find a solution. I love the simplicity of kontra and how lightweight it is. Currently using it for a mini mmo type tileset game and hopefully ill be able to share it soon

Alright, I think I fixed this in #332. Should be able to create any object now before calling init and use them so long as you don't try to render them before calling init.

Awesome will give it a try in the coming weeks!!! Thanks a lot!


babel-jest README has a weird regexp

🐛 Bug Report
https://github.com/facebook/jest/blob/c9c8dba4dd8de34269bdb971173659399bcbfd55/packages/babel-jest/README.md says
"transform": {
  "^.+\\.[t|j]sx?$": "babel-jest"
},

That regexp confuses ranges with groups; you want either [tj]sx or (t|j)sx. As is, the regexp matches foo.|s.
To Reproduce
let re = new RegExp("^.+\\.[t|j]sx?$")
"foo.|s".match(re)

Expected behavior
let re = new RegExp("^.+\\.[tj]sx?$")
"foo.js".match(re) !== null
"foo.ts".match(re) !== null
"foo.|s".match(re) === null

This matches the regexp used in code:
https://github.com/facebook/jest/blob/c9c8dba4dd8de34269bdb971173659399bcbfd55/packages/jest-config/src/constants.ts#L11
Seems we should fix it, then? Wanna send a PR removing the |?


[FIX] change data load function.

Changed data load function. Dataset parsing has been accelerated from about 5 hours to 10 minutes.
Motivation
Very slow dataset parsing. The proposed changes speed up parsing from about 5 hours to 10 minutes.
Modification
Only two lines.

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

Don't quite understand lint problem.

Please fix lint following this guidance.

I had run pre-commit and got something strange (see the screen). Is it normal?

Hi @col14m,
We'd like to express our appreciation for your valuable contributions to the mmdetection3d. Your efforts have significantly aided in enhancing the project's quality.
It is our pleasure to invite you to join our community thorugh Discord_Special Interest Group (SIG) channel. This is a great place to share your experiences, discuss ideas, and connect with other like-minded people. To become a part of the SIG channel, send a message to the moderator, OpenMMLab, briefly introduce yourself and mention your open-source contributions in the #introductions channel. Our team will gladly facilitate your entry. We eagerly await your presence. Please follow this link to join us: https://discord.gg/UjgXkPWNqA.
If you're on WeChat, we'd also love for you to join our community there. Just add our assistant using the WeChat ID: openmmlabwx. When sending the friend request, remember to include the remark "mmsig + Github ID".
Thanks again for your awesome contribution, and we're excited to have you as part of our community!


How to compile

I dont't know how to compile this file,tell me the steps please.

Hi :)
Almost all compilers should compile test application without special switches (but probably you want tune it for maximum performance).
Here build script used in travis CI: https://github.com/lieff/minih264/blob/master/scripts/build_x86.sh
Minimal gcc example with milti-threading support (4 max threads by default):
gcc -O3 -o minih264e minih264e_test.c system.c -lm -lpthread

and without milti-threading:
gcc -O3 -DH264E_MAX_THREADS=0 -o minih264e minih264e_test.c -lm

You can use mingw copmiler to build for windows (no threading sample):
x86_64-w64-mingw32-gcc -O3 -DH264E_MAX_THREADS=0 -o minih264e.exe minih264e_test.c -lm

And after https://github.com/lieff/minih264/commit/1434b8c9cbb8e8f58fc96c1e085add3f948a945b commit you can use msvc:
cl.exe /Ob2 /DH264E_MAX_THREADS=0 minih264e_test.c libcmt.lib oldnames.lib kernel32.Lib

Compilers I've checked: gcc, clang, mingw, msvc. But since it valid C11 more should work out of box.


Remove 300ms delay

@kpu said:

The current setup is killing latency when we have a 300 ms wait then a 20 ms translation time and brag about how fast that 20 ms was.

Why display the speed if there is always a noticeable 300ms delay.
The 300ms delay is there to prevent unnecessary translations from being triggered, the idea being that 300ms is about the time the user needs to switch from typing to reading the translation. By holding off the translation, it can be started immediately once the user does stop typing instead of having to wait for a translation in progress before starting to translate that final input.
Implementation
This only really makes sense if the translation takes longer than 300ms itself. So I suggest we set the initial delay to 1ms, and once the input text is large enough that translation time is longer than 300ms, we switch input delay to 300ms. That way you get both the noticeable speed initially, but also quick response times when there is a lot of text (or a really slow machine).
Things to take into account:

measure over a couple of translations (the first translation is always a bit slower than the following ones)
prevent weird inconsistent switching behaviour when right on that 300ms edge
reset the delay to 1ms when text field is cleared?
Can we base it on the words/second speed measurement? That way we can estimate whether the delay is applicable before changing it (would solve the text field cleared -> go back to 1ms delay case automatically)

Scope
This can further be improved a lot by only translating sentences we haven't already translated, but that's out of scope for this issue.

I think for now, we can change it to 1 ms (and probably add a setting in the configuration). My reasoning is, that people that copy/paste long sequences of text wouldn't edit them inside the app, but somewhere else.

I'll remove the timer entirely for the time being. There isn't much added value of having a signal trigger a timer trigger a signal, all on the same thread anyway, and removing it makes the code a little simpler. Any improvement in responsiveness further down the line will probably come in the form of translating only sentences that changed.


Scripts come out looking odd.

Whenever i get the .dll's and open them, they never come out normal. For example, https://pastebin.com/1h7hKJKA. And while extracting them, I get this error https://pastebin.com/2JvHEeww at 80% before the script ends.

The script is looking as expected and the error is a known one.


Fixes m365 help not displaying command groups in alphabetical order

Fixes m365 help not displaying command groups in alphabetical order. Closes #1922

Nice one @Abderahman88 💪🏾 I was wondering if we could use arrow functions instead of regular function to keep it consistent and get rid of that any type as well while we are there. Do you think that would be nice?
  const sortedCommandGroupsToPrint = Object.keys(commandGroupsToPrint).sort().reduce((object: { [group: string]: number }, key: string)=> {object[key] = commandGroupsToPrint[key];return object;}, {})

Good suggestion @rabwill. Let's update the code and get it in @Abderahman88 👏

Merged manually. Thank you and welcome aboard! 👏 🎉


Remove provider initialization message

Q
A

🐛 Bug fix?
yes

🚀 New feature?
no

⚠ Deprecations?
no

❌ BC Break
no

🔗 Related issues
#337

❓ Documentation
no

Description
When launching a scan, the tool was logging the message "Terraform provider initialized" which means the tool has gained access to the provider's API and is scanning the account, looking for resources in the actual infrastructure. So it can be confusing to the user if you have resources in several regions.

@all-contributors please add @sundowndev for code.


No update on any issue in a long time

Please address #6 and #13 soon. My two applications depend on this package. The entire community would appreciate some help here.

I'm working on a new release.


cannot fetch remote branch: EOF

Describe the bug
After upgrading Flux from v2.29.5 to v0.32.0, the Image Automation controller throws the following error:
{"error":"cannot fetch remote branch: EOF", "level":"error", "logger":"controller.imageupdateautomation", "msg":"Reconciler error", "name":"staging-image-update", "namespace":"flux2", "reconciler group":"image.toolkit.fluxcd.io", "reconciler kind":"ImageUpdateAutomation", "ts":"2022-08-24T12:42:28.576Z"}

This ImageUpdateAutomation object is deployed on the cluster:
apiVersion: image.toolkit.fluxcd.io/v1beta1
kind: ImageUpdateAutomation
metadata:
  name: staging-image-update
  namespace: flux2
spec:
  git:
    checkout:
      ref:
        branch: master
    commit:
 [...]
    push:
      branch: master
  interval: 1m0s
  sourceRef:
    kind: GitRepository
    name: flux2
  update:
    path: ./apps/staging
    strategy: Setters

I am facing the same issue in v0.31.5 but not in v0.30.2.
Expected behavior
The Image Automation controller throws no error.
Kubernetes version
GKE 1.23.8
Git provider
Gitlab private repository.
Additional context
In Slack, @pjbgf noticed I use the same branch for pushing and pulling the sources in the ImageUpdateAutomation definition. He recommended I remove the push.branch field from the spec and that did fix the error.

Thank you @PierreBart for reporting the issue.

The checkout branch is the same as push branch.

For reference, that logic resides at:
https://github.com/fluxcd/image-automation-controller/blob/65e004f1e885037c6a621cf7f55e46cf8a4eb3fd/controllers/imageupdateautomation_controller.go#L240


Enable extract_metadata() to access remote cram files

Currently, modo.file_utils.extract_metadata fails, if the cramfile is stored remotely, as it can not access the cramfile and its header. To enable this remote cramfiles should automatically be accessed via htsget server.
Requirements:

[ ] change extract_metadata to access the cramfile header conditional on storage type
[ ] access cram file header via htsget-server, if stored remotely

not a priority right now, this will come up again once the streaming is improved.


Allow simple custom error pages for specific HTTP status codes

IIS provides a mechanism for configuring custom pages/files to be shown when specific HTTP status codes occur, e.g. show 404.html when a 404 happens.
We should have a similar feature that works cross-server and is provided by the diagnostics package.

A few things we did decide on:

The primary purpose is to generate human readable HTML pages, preferably something that matches the rest of the site's style.
It needs to be configurable per status code. The default behavior for any given status code is open to discussion.
Only handle responses with no body, do not support replacing the body.
A simple scenario would do a client side redirect to another URL responsible for rendering the page (with a 200 status code).
Note: Responses should be greater than 500 bytes (?), IE will not show small error responses.

Outstanding Issues:
How should you generate the body?

There are lots of problems with trying to re-execute the request to let MVC or static files generate the body.

They'll overwrite the status code
They may try to honor request cache headers (if-not-match) with strange side-effects
They may generate response cache headers. Caching errors is bad.

How can you avoid breaking an API request?

Do you need to check the Accept header to avoid sending HTML to client expecting XML/JSON?
For the redirect-to-page scenario, how do we suppress that for API calls?

Surely an API request should ignore the body and just go off status code, otherwise they'd have barfed on IIS anyway :)

Planning to finish this coming week.

This change went in today.


When fixable rules are overlapping, It takes multiple format/fix commands to reach the same result as cli xo --fix

The .xo-config.cjs
Using eslint-plugin-simple-import-sort
// yarn add --dev eslint-config-simple-import-sort
module.exports = {
  prettier: true,
  plugins: ['simple-import-sort'],
  rules: {
    'simple-import-sort/imports': 'error'
  }
}

This code
import {b,a} from 'file'

is formatted into below using VSCode  Format Document with - XO
import {a,b} from 'file'

is formatted into below using Cmd xo --fix
import { a, b } from 'file'

The result is different.
I guess the Cmd runs eslint fix -> prettier in order, but the VSCode runs eslint fix only.

The extensions does not run things any differently than the CLI. There is no prettier or eslint step, they are both ran at the same time by eslint under the hood in xo.

Try setting the  "xo.runtime" setting in VSCode so you are using the same nodejs binary for both the cli and the extension. Otherwise, by default xo in vscode will use the version of nodejs bundled inside of vscode which can cause different results from the cli.

Make sure you have all other extensions disabled.

Please let me know if this fixes the issue.

Setting the xo.runtime didn't help. I output the edits and result and find out the problem
"edits": {
   "[0,0,0,21]-simple-import-sort/imports": {
      "label": "Fix this simple-import-sort/imports problem",
      "documentVersion": 13,
      "ruleId": "simple-import-sort/imports",
      "edit": {
        "range": [ 0, 21 ],
        "text": "import {a,b} from 'a'"
      }
    },
    "[0,8,0,11]-prettier/prettier": {
      "label": "Fix this prettier/prettier problem",
      "documentVersion": 13,
      "ruleId": "prettier/prettier",
      "edit": {
        "range": [ 8, 11],
        "text": " b, a "
      }
    },
"result": {
    "documentVersion": 13,
    "edits": [
      {
        "range": { "start": { "line": 0, "character": 0 }, "end": { "line": 0, "character": 21 }
        },
        "newText": "import {a,b} from 'a'"
      }
    ]
  }

The VSCode runs the fix at the same time and output an overlap free result. I guess the xo cmd runs the fix in sequence.

@gutenye - thank you so much for digging into this problem. I will look more deeply into this and see if I need to strip out some of the old overlap logic.

So after taking a look I realized that this is just a known issue. There is actually not a core problem, you just have to run format 2x to get the same results as the CLI for some overlapping rules. This is something I am interested in fixing long term, but it's not a very high priority since the work around is just executing format 2x.
This is a duplicate of https://github.com/xojs/vscode-linter-xo/issues/42
Unfortunately, solving this issue is not as trivial as "run x before y" - we will need to recreate the same logic that eslint already uses to handle cases where a single line has overlapping fixes and I believe it's complicated.
I will keep this open until I have time to fix, but this will likely remain a low priority since its a very minor inconvenience and the extension still gets to the same final result after a couple of format commands.

Will this solution be easier? Add a editor.codeActionsOnSave option.
The Eslint VSCode Exension has this option
 "editor.codeActionsOnSave": {
      "source.fixAll.eslint": true
  },
  "editor.formatOnSave": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode"
}

This will run eslint fix first, then prettier fix, fixes my issue.

Save two or more times is not an option for me, every time I save a file, I have to take extra time to check if there's still eslint error? If so, save it again, if not, skip it. It's slow and not developer-friendly.

eslint suffers from this too, but is admittedly a little better than this xo extension --- try formatting big unformatted files with eslint, xo + unicorn plugins and prettier. -- You will have to save multiple times. Also, it doesn't happen very often in this extension at all, it is not nearly as inconvenient as you are making it out to be.

Will this solution be easier? Add a editor.codeActionsOnSave option.

Maybe - this is on the road map. I have recently started supporting code actions, but I haven't done the code actions on save. Feel free to take a look at the LSP spec and implement this.

Another idea, can we change

Feel free to test this out! I will play with this idea. My suspicion is that this will not work well at all because it will cause the squiggly error underlines in vscode to be in the wrong places, or results won't return all the correct information for the original errors, so it will be missing errors and flagging the wrong places. The lint functionality is more important than the format functionality. - If this were to work and be this simple the that would be great!... However, I am not optimistic until I see and test it.
Note that every lint error already has the "fixed" result in it, if it is fixable, even without the "fix" option. The likely only way to really fix this is to manually implement logic in getDocumentFixes method.
And please trust me that I have attempted to fix this problem on numerous occasions because I do know it is annoying when it happens, but I haven't found an easy way yet.
I do accept PRs, although I have only got 1 I think since taking over maintenance of this extension.

Was able to get it working in the latest release so that this should no longer occur, thanks for the suggestions


v3.13

Description of the PR
aplus-courses-3.13.zip
Manual testing: Windows and Linux, one platform using the new UI and another using the old one. Testing can be limited to just the critical parts.

Testing environment: Windows 10, IntelliJ 2023.2, old UI: no issues found


add usePlaceholderId option

mysqljs (others might too) requires query values to be escaped via a question mark.
usePlaceholderId option is added In order to facilitate this behaviour
let jsonSql = require('json-sql')({
  dialect: 'mysql',
  namedValues: false,
  valuesPrefix: '?',
  usePlaceholderId: false
});

any word on this?

Hello! Thanks for your PR, it is good improvement.
But what about another name of this option, for example indexedValues?
In my opinion this name will be combined better with the existing options:
separatedValues
namedValues
indexedValues

Please, could you also add a description of the new option to the docs section here: https://github.com/2do2go/json-sql/tree/master/docs#configureoptions and a test case for the new option here: https://github.com/2do2go/json-sql/blob/master/tests/0_base.js

I've renamed the option, added docs and tests, like you suggested.
Please review.

<EMAIL_ADDRESS>is available in npm now


Safari Push Notifications not enabled by user gesture

Issue
In my React app, I’m triggering push notifications via a user gesture onClick in Safari, but I still receive the following error:
Unhandled Promise Rejection: Error: Push notification prompting can only be done from a user gesture.

What am I doing wrong?
Replication
1. User Interface
// `token` and `userId` provided by the app
<button onClick={() => enablePushFn({ token, userId })}>Enable Notifications</button>

2. Function
const enablePushFn = ({ token, userId }) => {
  const beamsClient = new PusherPushNotifications.Client({
    instanceId: process.env.NEXT_PUBLIC_PUSHER
  })

  const beamsTokenProvider = new PusherPushNotifications.TokenProvider({
    url: `/api/push/register`,
    queryParams: {
      userId
    },
    headers: {
      Accept: 'application/json',
      'Content-Type': 'application/json',
      ...(token ? { Authorization: `Bearer ${token}` } : undefined)
    }
  })

  beamsClient
    .start()
    .then(() => beamsClient.setUserId(userId, beamsTokenProvider))
    .then(response => console.log(response))
}

This is still the case even if I do a bare-bones function:
<button onClick={() => {
  const beamsClient = new PusherPushNotifications.Client({
    instanceId: process.env.NEXT_PUBLIC_PUSHER
  })

  beamsClient.start().then(response => console.log(response))
}}>
  Enable Notifications
</button>

I've been able to replicate this when using Safari and the code snippet provided. Interestingly the code does work on Firefox, which also has the same restrictions on when Push Notification permission can be granted (in response to a user gesture) so this looks to be specific to Safari. I'll keep digging.

I have been able to resolve this - although I am not certain precisely why this works.
Removing the instantiation of the beamsClient from the onClick handler prevents the error from showing. For example, the below works:
let beamsClient;

useEffect(() => {
    beamsClient = new PusherPushNotifications.Client({
     instanceId: process.env.NEXT_PUBLIC_PUSHER
   })
   if("serviceWorker" in navigator) {
     window.addEventListener("load", function () {
      navigator.serviceWorker.register("/service-worker.js").then(
         function (registration) {
           console.log("Service Worker registration successful with scope: ", registration.scope);
         },
         function (err) {
           console.log("Service Worker registration failed: ", err);
         }
       );
     });
   }

   }, []);

   <button onClick={() => {
    beamsClient.start()
      .then(response => console.log(response))
      .then(() => beamsClient.addDeviceInterest("debug-hello"))
  }}>Enable Notifications
    </button>

Are you able to attempt a similar pattern?

@benw-pusher adding the service worker script to the useEffect, as well as instantiating beamsClient did the trick! I also had to make sure that none of the initialization (beamsClient.start()) was appearing in a useEffect as well. Appears that Safari is quite finicky like that. Including a full reproduction below for authenticated user push notifications in case someone else is running into the same issue.
Thanks again! 🎉
let beamsClient

const DesignLayoutsTodosNotifications = () => {
  useEffect(() => {
    beamsClient = new PusherPushNotifications.Client({
      instanceId: process.env.NEXT_PUBLIC_PUSHER
    })

    if ('serviceWorker' in navigator)
      window.addEventListener('load', () =>
        navigator.serviceWorker.register('/service-worker.js').then(
          registration =>
            console.log('Service Worker registration successful with scope: ', registration.scope),
          err => console.log('Service Worker registration failed: ', err)
        )
      )
  }, [])

  return (

Reminders

      <button
        onClick={() => {
          // Must remain here and not placed inside a hook so that Safari recognizes this as a user gesture
          const beamsTokenProvider = new PusherPushNotifications.TokenProvider({
            url: `/api/push/register`,
            queryParams: {
              userId: userId // `userId` provided from elsewhere
            },
            headers: {
              Accept: 'application/json',
              'Content-Type': 'application/json',
              ...(token ? { Authorization: `Bearer ${token}` } : {}) // `token` provided from elsewhere
            }
          })

          beamsClient
            .start()
            .then(() => beamsClient.setUserId(authUser?.userId, beamsTokenProvider))
            .then(() => setPushEnabled(true))
        }}
      >
        Enable Notifications
      </button>

  )
}

export default DesignLayoutsTodosNotifications


fix MinGW format string 'unknown conversion type character' warnings

@sezero noticed that %z does not work properly with MingW, patch here:
In case you want to fix this, a patch against vkQuake is here: https://github.com/Novum/vkQuake/pull/498

Would it be possible for you to create a PR here please ?

I'm not the author. @sezero do you want me to create a PR?

Yes, please do.
Also make a PR to restrict #pragma comment (lib,"xxx.lib") to msvc,
i.e. see https://github.com/Novum/vkQuake/commit/08b0789790a1e14756fe19321c04c6f5d417b13a#diff-08af23c7d272598a9d3e25b98ef6a63fd5793e1e49b1a672a5201c13da7cfd1f

The mingw format string situation turns out to be more annoying:  With a
gcc switch like -std=gnu11 which turns on _GNU_SOURCE, gcc then emits
gnu_printf warnings like:
'I' flag used with '%x' gnu_printf format [-Wformat=]
So, mainstream mimalloc should probably keep its %z usage as is, and we
should keep our modifications to ourselves.
Mainstream mimalloc should still restrict #pragma comment (lib,"xxx.lib")
to msvc, though.

The mingw format string situation turns out to be more annoying: With a
gcc switch like -std=gnu11 which turns on _GNU_SOURCE, gcc then emits
gnu_printf warnings like:
'I' flag used with '%x' gnu_printf format [-Wformat=]

Isn't the problem more like __USE_MINGW_ANSI_STDIO being 0 or 1? I would expect --std=gnu11 to imply the latter, in which case %z probably is valid (and the right thing to do). If it is 0, then %I64* is what needs to be used. At least that's what my cursory test using gcc -D__USE_MINGW_ANSI_STDIO=1 -Wall -c -o /tmp/a1.o /tmp/a1.c suggest, where the contents of /tmp/a1.c are:
#include <stdio.h>

int main(int argc, char **argv)
{
	printf("%zx\n", (size_t)-1);
	printf("%I64x\n", (size_t)-1);
	return 0;
}


Add FBProcessQuery

Adds FBProcessQuery which is a wrapper around the somewhat-complicated usage of libproc and sysctl.
libproc is used as a simple interface to accessing basic information about running processes and the files that they access. sysctl is used for it's very handy KERN_PROCARGS2 call, which allows the caller to access information about the launch path, environment and args of any process that the current user has permission to look at.
This class will enable FBSimulatorControl to:

Kill off the janky pgreping that requires a subshell for simple tasks
Infer the process identifier of arbitrarily launched simulators.
Inspect the launch environment of all launchd_sim subprocesses.

awesome! lgtm

lgtm


Experimental: Adding Accelerate

For now, tried adding it within the model structure

Tested on cpu, gpu, multiple-gpu, tpu (in a colab)

Still: Want to test on multiple tpus or a tpu that would support T0 & ilk

TODO: Wait on refactor from https://github.com/bigscience-workshop/lm-evaluation-harness/pull/60 and then add the accelerate code to the new model setups.

@cjlovering I can provide a large TPU cluster when necessary to do larger scale testing.

@cjlovering I can provide a large TPU cluster when necessary to do larger scale testing.

Fantastic! I think that'd be great in a day or two. I'll wait til we pull in the batching and refactor, and then add this again to the new model classes.

I made a new branch for the mode refactor.


Use gpt-4o model

This upgrades from GPT-4 model to GPT-4o, mimicking https://github.com/CopilotC-Nvim/CopilotChat.nvim/pull/377
The new model appears to be noticeably quicker to provide responses, but hard to tell for sure!
Announcement: https://github.blog/changelog/2024-07-31-github-copilot-chat-and-pull-request-summaries-are-now-powered-by-gpt-4o/

Thank you!

I tested it today and it's really faster !

Thanks merging this so quickly!


Small fixe install

hello
your install.sh create small error
https://github.com/cryptopoo/hiveos_gddr6x_temps/blob/main/install.sh
remove small code no echo ^^
Created symlink /etc/systemd/system/gddr6x_temps.service → /opt/gddr6x_temps/gddr6x_temps.service.
==========================================================
|             Installed and activated!                   |
|========================================================|
|       If this works for you consider donating at:      |
|                                                        |
|    BTC    bc1q0xrs5cq7zwrnvz7dkzvgrzya48se6zgkt90sln   |
|    ETH    0x9b7A231147c8294cC558F080B26F948Bfd523A79   |
|    ETC    0xe9c8F439196fBA21f383AE69e8E4330B1493C335   |
|    BNB    0x9b7A231147c8294cC558F080B26F948Bfd523A79   |
|    RVN    RB2JTzcSxfZtWcQhYMCgad2M1T8Xi7dgPX           |
==========================================================
install.sh: line 30: BTC: command not found
install.sh: line 31: ETH: command not found
install.sh: line 32: ETC: command not found
install.sh: line 33: BNB: command not found
install.sh: line 34: RVN: command not found

Doh! Fixed :) Thanks :dancers:


Fixed typo in Troubleshoot Azure Active Directory Application Development

@devlead : Thanks for your contribution to the Azure documentation! The author, @ajamess, has been notified to review your proposed change.


Use Self-Documenting Makefiles

Is your feature request related to a problem? Please describe.
Make files if are very customized slowly become hard to read and find which defined commands you need to use.
Describe the solution you'd like
If self-documenting makefiles would be implemented, as provided in example here: https://swcarpentry.github.io/make-novice/08-self-doc/index.html it would provide a way to easily document and maintain project development makefiles.
Describe alternatives you've considered
Writing bash scripts results in very messy documentation again and implementing cli like ahoy adds another dependency for the environment.
Additional context
Example docker.mk:
include .env

.PHONY: up down stop prune ps shell drush logs

default: up

DRUPAL_ROOT ?= /var/www/html/web

## help	:	Print commands help.
help : docker.mk
	@sed -n 's/^##//p' $<

## up	:	Start up containers.
up:
	@echo "Starting up containers for $(PROJECT_NAME)..."

	@docker-compose stop

## prune	:	Remove containers and their volumes.
prune:
	@echo "Removing containers for $(PROJECT_NAME)..."
	@docker-compose down -v

## ps	:	List running containers.
ps:
	@docker ps --filter name='$(PROJECT_NAME)*'

## shell	:	Remote in to runninng `php` container.
shell:
	docker exec -ti -e COLUMNS=$(shell tput cols) -e LINES=$(shell tput lines) $(shell docker ps --filter name='$(PROJECT_NAME)_php' --format "{{ .ID }}") sh

## drush	:	Execute `drush` command without additional arguments.
drush:
	docker exec $(shell docker ps --filter name='^/$(PROJECT_NAME)_php' --format "{{ .ID }}") drush -r $(DRUPAL_ROOT) $(filter-out $@,$(MAKECMDGOALS))

## logs	:	View containers logs.
logs:
	@docker-compose logs -f $(filter-out $@,$(MAKECMDGOALS))

# https://stackoverflow.com/a/6273809/1826109
%:
	@:

Example output when executing make help:

Looks good, PR is welcome!

Will make one asap! Thanks!

Merged


[Sema] Allow extending specialized types

While we patiently wait for parameterized extensions, I figured this feature can be split off and proposed separately so that people can use some much needed sugar for extensions. This allows for the following:
extension Array<Int> {} // translates to `extension Array where Element == Int {}`

This means that users can now finally use type sugar for their extended types like the following:
extension [Character] {
  func makeString() -> String {
    // ...
  }
}

In the process of doing this, I stumbled upon https://bugs.swift.org/browse/SR-4875 , and removing the constrained extension diagnostic means that this bug should probably just be fixed, so it is now.
Resolves: https://bugs.swift.org/browse/SR-4875

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 418af510ffedeee9eeffab4efa732168f46d1fcd

@swift-ci clean test Linux

Looks like requirement_inference.swift needs updating as well.

🎉

Does this need to go through evolution?

Speaking of which, I remember some people were sceptic about this because it wasn't obvious to them whether Array<Class> would translate to == or :.

Build failed
Swift Test OS X Platform
Git Sha - 418af510ffedeee9eeffab4efa732168f46d1fcd

Build failed
Swift Test Linux Platform
Git Sha - 418af510ffedeee9eeffab4efa732168f46d1fcd

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - db2f077e7fefec66a36ed421b40e95f078d60a4a

@swift-ci clean test Linux


update circleci config

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@894b73b). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #185   +/-   ##
=========================================
  Coverage          ?   22.02%
=========================================
  Files             ?        6
  Lines             ?      722
  Branches          ?        0
=========================================
  Hits              ?      159
  Misses            ?      536
  Partials          ?       27

Impacted Files
Coverage Δ

pilot/piloter.go
50% <ø> (ø)

pilot/fluentd_piloter.go
0% <ø> (ø)

pilot/filebeat_piloter.go
6.66% <ø> (ø)

pilot/format.go
75.75% <0%> (ø)

pilot/pilot.go
26.53% <0%> (ø)

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 894b73b...51c41cc. Read the comment docs.


Extend DialogicPortrait by custom portraits.

This PR extends DialogicPortrait on custom portraits in the custom assets.
This prevents errors when a method like _highlight is invoked.

Are you sure this works without the scripts needing any adjustments?

I can test a bit more.

Thank you.


Added avatar events

Added virtual function definitions
Updated version

I have read the CLA Document and I hereby sign the CLA

I have read the CLA Document and I hereby sign the CLA


refactor docker scripts, add ngrok option

The ngrok option is a convenient when using the framework in a mobile environment
Fixes #138

@jakubkoci this is working as intended now.
We now have separate internal/external host and endpoint. This needs some refactoring to make it support multiple transports, but that's a future addition


Flow's mentioned twice in the README.md

Hey! I noticed, you've mentioned Flow twice in your README under "Other projects". I'd make a PR to fix it, but I'm not sure which description you'd prefer ¯\_(ツ)_/¯  (both're excellent!)

Fixed in PR.
Thanks 👍


Fix find_or_create_event_by_id if there is not matching non-NIL event id

Code was attempting to treat a nil as an array.  Now will properly create a new event if the event with a matching id is not found.

Thanks!


Data download crashes in some point

Hi,
First of all, thank you for sharing the code.
 It appears to be quite large, resulting in slow download speeds, and eventually, the download crashes after a certain point. It indicates that it would take more than 2 days to complete the download.
Is it possible for you to share a smaller dataset instead? This would be helpful for me to understand the required format of the Excel file and allow me to test how it works, anf if it needs other files.
Thank you once again, and I look forward to your response.
A screen-capture :

Hi @arnal46,
Thank you for your message.
I am sorry to hear that you are having issues with the download. However, I can confirm that I downloaded the files in approximately 1 hour today. I have also checked with colleagues in other parts of the world and they were able to download the data without any issues in 2-3 hours. Perhaps try again at another time.
The Excel file included in the dataset is a lookup table that contains metadata for each of the imaging files. It does not include the experimental data. The complete data set linked in the README is required to run the analysis as published.
Please also note that the files are only 13.9GB in total, which is relatively modest in size compared with many neuroimaging datasets.
I am closing this issue because:

It relates to downloading data from an external server, not an issue with the code.
I do not maintain this external server but have confirmed that the download is working at this time.


Add unit tests for data loader functions

As the name suggests. We'll take the mock data approach for unit tests.

Integration tests for both the configuration and data file loaders have been implemented which both used mocked datasets (PR #195).

The data loader test from #173 is not complete (see comment in test_data_loader), so I'll re-open this.

This has been resolved in PR #221 and can therefore be closed pending future changes to additional data formats (e.g. NASC data files, related to #158).


Hide a screen from the tab bar

Why it is needed?
I used to use Expo's built in Tabs and for any route that I did not want displayed in the tab bar I would simply use href: null and tabBarStyle: { display: "none" }. I can't seem to do that anymore with this library.
This is needed because sometimes I don't want every screen from my (tabs) group to be displayed in the tab bar.
Possible implementation
Perhaps you guys could simplify Expo's solution and imply create a prop like screenHidden? Or if that's not possible, just copy Expo's solution like I've shown below.
Code sample
const TabLayout = () => {
  return (
    <Tabs
      backBehavior="history"
      screenOptions={{
        tabBarActiveTintColor: Colors.primary.base,
        tabBarInactiveTintColor: Colors.ink.lighter,
      }}
    >
      <Tabs.Screen
        name="profile"
        options={{
          href: null,
          tabBarStyle: {
            display: "none"
          }
        }}
      />
      <Tabs.Screen
        name="settings"
        options={{
          tabBarLabel: "Settings",
          tabBarIcon: ({ color, size }) => (
            <Ionicons name="settings-outline" color={color} size={size} />
          )
        }}
      />
    </Tabs>
  );
};

export default TabLayout;

Hey you can use tabBarItemHidden to hide items from showing in the tab bar

Hey you can use tabBarItemHidden to hide items from showing in the tab bar

Hey, i did see that prop earlier but i'm unsure where it goes as there's no examples online or code completion on my end. Do you happen to know?

You need to pass it to screenOptions of each screen you want to hide.
Here are the docs: https://okwasniewski.github.io/react-native-bottom-tabs/docs/guides/usage-with-react-navigation.html#tabbaritemhidden
You should have correct auto completion if you use compatible version of React Navigation (v7)


FunctionApps have system-assigned identities by default

In this section (Set up security access for the function app) My function app already had system-assigned identity enabled. WOrth double-checking, but you may be able to remove this section

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

ID: 0de01786-459d-f25b-5219-eb6f598db9bd
Version Independent ID: a34a0d3c-758a-c56d-517c-9d5235edc5b7
Content: Set up a function in Azure for processing data - Azure Digital Twins
Content Source: articles/digital-twins/how-to-create-azure-function.md
Service: digital-twins
GitHub Login: @baanders
Microsoft Alias: baanders

@rinisbet
I have assigned the issue to the content author for further review and update the doc as appropriate.

Hi @rinisbet,
I was able to reproduce what you described with the system managed identity enabled by default, so I'm updating the guidance to anticipate that it'll already be set up.
I also tried creating an Azure function in a different way (through the portal) to see if it's always enabled by default, and found that in this case, it was not. To account for contingency scenarios that we may not be anticipating, I'm leaving in smaller backup instructions for how to create it if the new default isn't working for someone.
I am making these changes in this PR: https://github.com/MicrosoftDocs/azure-docs-pr/pull/149101. I'll have Git automatically close this issue once the fix PR is merged, but you can always continue the conversation in this thread if there is more to discuss on this topic.
Thank you!


Pruning dev is breaking vsce packaging

The size of the bundle doesn't change, and doing the dev pruning is otherwise breaking vsce when installed as a dev dependency.
Let's save the file culling for when we optimize the package.

Interesting, I was seeing it change in sizes, so perhaps it was something different causing the file to change sizes.

Probably want to update the RELEASE.md to remove the section you added about the pruning as well.

Probably want to update the RELEASE.md to remove the section you added about the pruning as well.

Yep I'll update that over here. Good catch!

Yip, you are correct, sir! Not sure what else I was seeing, but maybe it was a combination of trying the -external:* parms on esbuild and a lot of other things. Sorry about that!

Oh no worries, there are a lot of moving parts in the bundling and packaging. It's taken some time for me to even get my head 75% of the way around it. The remaining 25% is still 🫤.


Caterpillar should generate app.info.js

app.info.js is used by the runtime polyfill (and possibly in future polyfills) for querying the manifest and Chrome App ID (basically any metadata we were originally able to access in the Chrome App). This should be generated by Caterpillar and put into the boilerplate directory of the output web app.

The structure of this file should be
chrome.caterpillar.manifest = {
  'name': 'test'
};
chrome.caterpillar.appId = 123;

It can assume caterpillar exists. It should be included as a dependency file, and injected into the HTML after caterpillar.js and before any polyfills.

Resolved in this CL.


c8ypact configuration and setup issues

There have been reports on less critical issues re: setup and configuration of c8ypact.

cy.mount does not use ignore config value. It should also completely disable c8ypact if mode is set to disabled.
documentation of strictMocking should state it is throwing an error instead of responding with 404.
strictMocking and strictMatching config values are not always used
getConfigValue is broken and is not reading from  Cypress.config().c8ypact
recordingMode new has been reported to not work for component tests
plugin is not picking up changed recording files without restarting Cypress tests

Is related to setting C8Y_PACT_MODE to mock in global before() of the test suite. If isEnabled() is called before the globale before(), the mode() will resolve to disabled. In the reported case this caused recordings to being loaded so mocking failed.

Fix is already available as of 6).


add quicklens

fyi @adamw
already green in local testing

followup https://github.com/scala/community-builds/commit/64943f8e6bd35b1a61b261dced32f35540507705

@adamw can haz 2.13 crossbuild, by any chance?

@SethTisue two dependencies have problems: scalatest and clippy. I guess I'll wait for 2.13 final :)

both ScalaTest 3.0.x and 3.1.x are available for 2.13.0-RC3. or, you mean some more specific ScalaTest problem.

Ok, updating scalatest to RC5 helped :)
But of course there's a problem with collecitons. Not sure if there's going to be a solution which will work both with 2.12 and 2.13:
  implicit def traversableQuicklensFunctor[F[_], A](
      implicit cbf: CanBuildFrom[F[A], A, F[A]],
      ev: F[A] => TraversableLike[A, F[A]]
  ): QuicklensFunctor[F, A] =
    new QuicklensFunctor[F, A] {
      override def map(fa: F[A])(f: A => A) = fa.map(f)
    }

(TraversableLike is the problem)

@adamw does something like  https://scastie.scala-lang.org/TEGv0IpnTOK4LJ6gz3PNAw suffice?

@martijnhoekstra thanks! I suppose I'll have to create separate <2.13 and >=2.13 source modules

@SethTisue done! Thanks @martijnhoekstra !
and even the tests pass ;)

https://github.com/scala/community-builds/commit/eeb0d7541191fd7f25517b31c418cdb8f0ed7ff3 :+1: (confirmed by our Jenkins)


Table layout-fill not working

I'm trying to make the table fit the height in my md-content. But i can't get it to work.
How it looks now:

How I want it to look:

Also I hope it's possible to make the headers of the table static as so for the pagination. So the scrollable content would be the rows.

Can you please create a codepen example, so that I can see what the problem is. Now I don't really see the point.


drumkit darkmode

Description
issue no #244
Checklist

[x] I've been assigned an issue related to this PR.
[x] I've used beautifiers.
[x] I've added my Project's name and description to Index.md
[x] I've made a README.md file for my Project.
[x] The README.md file of my projrct contains Project title, Description, Use of project, Set up, Stack used and Output (Screenshots).

Related Issues or Pull Requests number
(Write your answer here.)

@ayushseth07, I think you were supposed to implement dark mode for the already existing project.
@chicken-biryani, please correct me if I'm wrong.
However, we will accept this project since you've put in so much effort! 💯

@ayushseth07, I think you were supposed to implement dark mode for the already existing project.
@chicken-biryani, please correct me if I'm wrong.
However, we will accept this project since you've put in so much effort! 💯

so i have to do the changes in already exisiting project?


[crypto] Remove unused modules

As part of the initiative to harden the crypto library, the first line item is to remove all unused modules: https://github.com/libra/libra/issues/2683
This does that. Note: there is more work that can be done such as eliminating sha2 and (maybe) digest, but we need to tweak either the hkdf or extend tiny-keccak appropriately.

Perhaps before I commit, I can leave a comment about experimental code. I'm not keen on maintaining experimental code. We have a git repo so we can always resurrect anything here if we need it.

Yes please add a comment here. I understand we can always find it, just saying that sometimes deleted unused features/algorithms that might be required in the future are forgotten and people build it from scratch if this is not documented properly.

Yes please add a comment here. I understand we can always find it, just saying that sometimes deleted unused features/algorithms that might be required in the future are forgotten and people build it from scratch if this is not documented properly.

Very fair! I would really hate for us to remove it in this PR and then rather than bring back these versions we write it from scratch. Especially considering that these implementations are rather clean. Stack updated with a pointer.

@bors-libra r=kchalkias

:pushpin: Commit 40fe9ca has been approved by kchalkias

:hourglass: Testing commit 40fe9cab3670ee4f6f71a4a50855faa6132b12fb with merge f398961ad992143fe0a673095b7e51b198dfc565...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: kchalkias
Pushing f398961ad992143fe0a673095b7e51b198dfc565 to master...


Arrow back icon when drawer open

how can i remove the back arrow in the app bar when i open the drawer?

Sounds like you're after not showing the back arrow when inner drawer is open. You could use the innerDrawerCallback to set a bool _isOpen variable on your view that you would use to enable or disable the leading back arrow.
The docs on AppBar give a good example of not relying on automaticallyImplyLeading and defining your own "leading" widgets on AppBar. In your case AppBar.leading would be null when the drawer is open and have the default behavior when it's closed.
Good luck!

solved, perfect thank you very much!

The solution didnt work for me!
this is the code..
 Widget build(BuildContext context) {     return InnerDrawer(         colorTransitionChild: Colors.transparent,         onTapClose: true,         // tapScaffoldEnabled: true,         boxShadow: [BoxShadow(color: Colors.grey)],         //proportionalChildArea: false,         //borderRadius: 12,         innerDrawerCallback: (isOpened) {           _isOpen = isOpened;           print(_isOpen);         },         swipe: true,         scale: IDOffset.horizontal(1),         colorTransitionScaffold: Colors.transparent,         offset: IDOffset.horizontal(0.15),         key: key,         rightChild: Container(           color: Colors.white,         ),         scaffold: Scaffold(           appBar: AppBar(             leading: null,             elevation: 1,             title: Text('flutter.dart.lang'),             actions: [               IconButton(                   icon: Icon(Icons.menu),                   onPressed: () {                     key.currentState.toggle();                   })             ],           ),         ));   }


Enable one-liner chaining by returning 'this' in function 'add'

const spinner = new Spinner('%s do something').start();

instead of
const spinner = new Spinner('%s do something');
spinner.start();

Could you return 'this' everywhere so you can chain everywhere?

@grant Sure, but it looks like the author no longer maintains this package. You can simply fork my repo and add return this; at the end of every function.


⚠ SceneTime has degraded performance

In 5ffcace, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1791 ms

Resolved: SceneTime performance has improved in 1cf96b1 after 6 minutes.


setcolor issue

hello i tried changing the color and i keep getting a grey color no matter what color i use.
Here is my code in my activity:
playPauseButton.setColor(R.color.myColor);
I'll like to know if there is another way i can change the color ?

Thanks @andyrosty  !
Please wait a minute.
I will check it!!!!!
(ﾉω・)

@andyrosty
Please try this!
playPauseButton.setColor(ContextCompat.getColor(R.color.myColor));

wow...thanks so much worked for me.I just had to change the code a little.
playPauseButton.setColor(ContextCompat.getColor(getBaseContext(), R.color.myColor));
Thanks once more.

Please contact us if there is a bug ლ(´ڡ`ლ)
Thanks!


Removed unnecessary complexity in readme.md

In PostgreSQL, views run as the defining user, meaning you don't
need a view wrapping a function (you can just have a view).  This
improves readability, maintainability, performance, and clarity.

Coverage remained the same at 52.344% when pulling b27a8d88fd35cde0eaf920d26664605bdae6d13a on einhverfr:docfix into e701b80fd52821b3fab1dbab99138902e581eeac on wrouesnel:master.

Coverage remained the same at 52.344% when pulling b27a8d88fd35cde0eaf920d26664605bdae6d13a on einhverfr:docfix into e701b80fd52821b3fab1dbab99138902e581eeac on wrouesnel:master.

I've seen the security definer-function approach to monitoring used by many projects.¹ Does directly using a view have any other side-effects, like maybe allowing writes?
¹ https://github.com/pganalyze/collector#setting-up-a-restricted-monitoring-user

These views are not updatable.  It is true that depending on default permissions views wrapped in ways like this may or may not be updatable but in my experience with PostgreSQL since 6.5 I would note that by default people don't get write permissions to tables or views.
Additionally these are built on system views which are not updatable.  So in these cases, write permission is not at all an issue.   If the underlying relation was updatable then you could grant access to other users to write.

I think the main thing I need to do is add some integration testing around non-superuser monitoring. That way we can have some confidence worth changes like this.

Coverage remained the same at 55.152% when pulling 5d51e002f52d4b355138a6a43696029799721ad3 on einhverfr:docfix into 0e9fccdb277bcd3e418c7c32718c90d33e9cd5b9 on wrouesnel:master.

I can't see a reason not to merge this, so let's merge it!


Inconsistent naming of predicates

This is a pretty minor issue, but nevertheless might be something to take note of. IntPredicate and RealPredicate have different naming schemes from each other.  The latter uses Than while the former does not. For example: IntPredicate.SignedLess & RealPredicate.OrderedAndLessThan.
Additionally, the documentation for RealPredicate seem to be suffering from a copy-paste error:
"Predicate enumeration for integer comparison".

The names are based on the actual LLVM naming under the hood, which are not consistent themselves. However since the .NET names are a remapping to .NET anyway there's no reason they can't be made more consistent except that it would be a breaking change. That would need to happen on a major release boundary.
The docs are something that can be updated without breaking anything. (Though not currently without a new release since the docs are generated as part of the build to ensure they are current with a particular build/release)


Confusing options

If I give a tag name, what is the branch name used for (and vice-versa)?
Either one uniquely identifies a release.
Please clarify in the README.

Oh, yeah… I don't know how to fix the README for the semantics you've got, but branch is not a branch name and tag is not a tag name.  For 5.9 the branch would be release/5.9 and the tag would be swift-5.9-RELEASE but what I actually have to pass is something like
        branch: swift-5.9-release
        tag: 5.9-RELEASE

Perhaps the option names are poor, naming is difficult!  I'm open to renaming the options in a backwards compatible manner.  The names themselves are references to the URL:
https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a/swift-DEVELOPMENT-SNAPSHOT-2023-08-12-a-windows10.exe
which appears to be:
https://download.swift.org/[branch]/[host]/swift-[tag]/swift-[tag]-[host][suffix]

In the ideal scenario, we would be able to use just the release version and or snapshot (for a release train or stable train) as a single parameter and derive everything from that.

BTW, the tag terminology is also on the download page as well.

We should really discuss how to fix this.  I just came back here and find myself opting for https://github.com/SwiftyLab/setup-swift/ because I can't figure out what these instructions mean.  Presumably your Windows support is better, but at least for simple use cases I totally understand how to use the other one.

i have also found this extremely frustrating although the problem is hardly limited to this particular project. identifying toolchains is hard.

Clearly doesn't have to be this hard. The swiftylab component makes it trivial. Anyone could implement the same API.

Continuing from https://github.com/swift-actions/setup-swift/issues/634#issuecomment-1980787840
@compnerd wrote:

I know that you are frustrated by those options, but they are what apple uses. I'm happy to rename them, but we need the two parameters (or at least a way to derive the two). compnerd/gha-setup-swift does work on other platforms as well, and is much easier to evolve when working with the Windows platform. I don't mind co-maintaining an action if it is designed to take the needs for evolving the Windows support in mind.

Well, the names are confusing, but even if you do that there needs to be

a clear explanation of what the names mean, and
most especially, for the vast majority out there who only want to use released versions of Swift, how to go from an official version number to these settings.

Ideally, though (and you really need to do this if you want uptake of usage) there would be one option you could set that would take an official number, and, if set, would be used to derive the other settings.

could this be as simple in the instructions as saying,

for an official release version X, use
        with:
          branch: swift-${{ X }}-release
          tag: ${{ X }}-RELEASE

?

Yeah, I'm totally happy to have the documentation say that.