text:
Cannot register RFID reader

Hi all,
I struggle since hours with setting it all up from scratch, especially with the RFID reader, which is the following: Reiner SCT cyberJack RFID basis. This device works correctly with MacOS and Windows and even under Raspbian I am able to make it work but not with the RPi-Jukebox-RFID.
When I enter lsusb I get the following:
pi@raspberrypi:~ $ lsusb
Bus 001 Device 005: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 004: ID 0c4b:9102 Reiner SCT Kartensysteme GmbH cyberJack RFID basis contactless smartcard reader
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
That means that the USB RFID device is recognized at BUS 001, Device 004 correctly.
When I swipe any RFID card over the device nothing happens.
Only when I execute the following command I can use it. But once pcscd is terminated I stops working immediately.
sudo pcscd -a -d -f
My problem is that when I run the registration process of the RPi-Jukebox the RFID device is not listed:
pi@raspberrypi:~ $ ls -la /dev/input/by-id/
total 0
drwxr-xr-x 2 root root  60 Feb 16 22:25 .
drwxr-xr-x 4 root root 120 Feb 16 22:25 ..
lrwxrwxrwx 1 root root   9 Feb 16 22:25 usb-0d8c_C-Media_USB_Headphone_Set-event-if03 -> ../event0
Or
pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ python2 RegisterDevice.py
Choose the reader from list
0 C-Media USB Headphone Set
Only my USB soundcard is listed, but not the RFID reader. Somehow the reader is not attached to an event id?
Any ideas?

I also had a Reiner SCT in stock. But that one will not work.
The USB device must be detected as a HID (i.e. Keyboard). Which is not the case with Reiner SCT readers.
You should invest in the proposed card reader and keep the Reiner one for other purposes. Unless you dig into pcsc-lite and combine these two projects...

Thanks @comdoxx, That's exactly how it is.
I bought another RFID reader today from Neuftech. It's cheaper, it recognizes all types of RFID cards and it just works like a charm now!
pi@raspberrypi:~ $ lsusb
Bus 001 Device 005: ID 0d8c:000c C-Media Electronics, Inc. Audio Adapter
Bus 001 Device 008: ID 16c0:27db Van Ooijen Technische Informatica Keyboard
Bus 001 Device 006: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
or
pi@raspberrypi:~/RPi-Jukebox-RFID/scripts $ ls -la /dev/input/by-id/
total 0
drwxr-xr-x 2 root root  80 Feb 18 23:10 .
drwxr-xr-x 4 root root 140 Feb 18 23:10 ..
lrwxrwxrwx 1 root root   9 Feb 16 22:25 usb-0d8c_C-Media_USB_Headphone_Set-event-if03 -> ../event0
lrwxrwxrwx 1 root root   9 Feb 18 23:10 usb-HXGCoLtd_27db-event-kbd -> ../event1
Thanks anyway!

Hi @Chapuisat @comdoxx
thanks for this research. I learned something new - and that's always a good thing. I added your findings to the wiki:
https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/RFID-Reader-Special
... and will close this thread for now. Thanks, micz

source: gharchive/issue

authors: Chapuisat MiczFlor comdoxx

license: MIT

license_type: permissive

license_source: github-api


text:
chore: remove php-fpm

This will remove FPM as it does not seem to be needed but uses precious system resources.
Please check thoroughly, but as far as I could see lighttpd only used the php-cgi in its implementation. After manually disabling the fpm package from my sons box everything (the phoniebox webinterface) still worked fine.

I did not touch the mopidy3 install script as I expect conflicts with #835

Maybe @xn--nding-jua can provide some help?

I manually removed fpm package, rebooted and everything still worked fine.

Ok, I had the same experience - let's just ditch it.

The fpm service is still started in our install script, see https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/bb0327b34a063142e1fc0144b9ed733ddb741682/scripts/installscripts/buster-install-default.sh#L603

source: gharchive/pull-request

authors: ZyanKLee s-martin

repo: MiczFlor/RPi-Jukebox-RFID


text:
Block entities don‘t move in the end

Block entities don‘t move in the end
server jar : folia-bundler-1.20.4-R0.1-SNAPSHOT-reobf
plugin version 2.3_a

I also encountered the same problem and don't know how to fix it

I also encountered the same problem,it lose its velocity

sorry for being late i will look into issue soon. have news will tell.

can anyone try with unsafe end teleport option on in config/paper-global.yml`?
unsupported-settings:
  allow-unsafe-end-portal-teleportation: true```

can you try version 2.4 ?

I tried 2.4 version, It still doesn't look working.The entity has no momentum。

I tried 2.4 version, It still doesn't look working.The entity has no momentum。

can i get folia commit version do /version

This server is running Folia version git-Folia-"8210085" (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 8210085)

Are you using fork ?
i can't find commit "8210085" in official repo

This is an automatic build of the official version.
https://github.com/Echoflare/Folia
Is there something wrong with this version?

i just need to find what version and commit so i can try to reproduce what is make the issue

i can't reproduce on https://github.com/Echoflare/Folia commit 8210085
what design of sand dupe you using ? or maybe something wrong with you configuration ?
https://github.com/MidnightTale/FoliaFlow/assets/125941391/2737ae77-faf5-49d9-af19-c92988258f8e

I will replace a new game save file for testing.Maybe there is something wrong with my server.

repo: MidnightTale/FoliaFlow


text:
🛑 headache-help.org is down

In 5611c22, headache-help.org (https://www.headache-help.org/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: headache-help.org is back up in a87fdf7 after 19 minutes.

repo: MigraineKR/upptime


text:
Seeding data

Everything for a book

Content might be difficult to do for now

1-2 publishers
1 operator
1 user
Access types

Owner
Subscriber
Null (if a user unsubscribes) Access type should be nullable

Need to be done by Thursday pls :) (ignore)

Need to be done by Thursday pls :) (ignore)

You got it :D

Are we going to store area codes for phone numbers? 🤔
87654321 vs 45876543321.
I think it's relevant as the company already expects global integration? 🤷

authors: ZhakalenDk jeongoks


text:
Release v1.3.1

Allow readlayers(::AbstractVector{<:AbstractString})
Add README.md
Deploy documentation automatically

@JuliaRegistrator register

Comments on pull requests will not trigger Registrator, as it is disabled. Please try commenting on a commit or issue.

authors: JuliaRegistrator Mikumikunisiteageru


text:
TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28923

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28923

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

TagBot fix

TagBot fix

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28921

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28921

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28942

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28942

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28953

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28953

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28954

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28954

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28981

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/28981

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29028

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29028

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29112

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29143

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29229

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29240

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29288

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29320

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29369

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29388

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29420

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29592

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29624

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29740

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29742

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/29855

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30734

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30737

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30796

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30798

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30801

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30805

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30807

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30806

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30808

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30853

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30887

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/30889

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/31002

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/31390

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/31391

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/31392

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/37807

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38050

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38262

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38266

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38434

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38779

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38785

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38904

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/38986

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/40541

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/40606

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/42145

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/44820

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/45299

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/48373

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/48623

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/52665

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/52669

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/52998

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53067

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53550

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53565

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53588

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53601

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53611

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53658

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/53735

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54529

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54571

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54640

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/54641

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/55254

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/55257

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/55268

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/56369

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/57494

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/58161

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/58291

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/58933

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59005

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59018

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59068

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59482

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/59917

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/60352

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/60827

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/61060

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/61698

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/63873

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/66001

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/66206

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/66732

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68024

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68023

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68036

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/68063

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/69676

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/70237

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/70379

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/70460

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/70806

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/70898

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/70953

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/71331

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/71335

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/71536

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/71540

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/71642

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/72564

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/73009

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/75792

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/77550

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/77956

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/79983

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/80298

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/81537

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/82105

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/82384

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/83430

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/84402

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85835

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/86890

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88039

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88052

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88107

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88439

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88788

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/88849

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89156

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89164

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89363

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89849

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89990

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/97688

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/98164

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/101089

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/101526

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/103262

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/103499

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/104896

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/105642

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/105754

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/109116

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/119539

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/119860

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120080

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120309

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120631

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/120940

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121048

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121169

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121392

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/121426

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/122040

authors: JuliaTagBot MilesCranmer


text:
Log Filtering

Via the CLI the user can add a filter to the monitor command, I would like to also implement this via the Monitor page, this would be a client side filter, in the UI level, this cannot be at the server store level due to users changing and adjusting filters as they go, as if it was it would cause a re-fetch of all data for that task, aka Jira style!
The UI for managing filters would be in the extended header; a chevron to expand the header can be added, multiple filters can be applied for a compounding effect, with a quick filter in the base header to add filters by name with an &/| delimiter, filters would be a Regexp I'm hoping I can get away with having users generate an or/and of regexes meaning only one regex has to be ran per item.
Blocker - #26 should be implement before as a way of trimming down the data set, otherwise we might end up filtering 1000+ items each time the item list grows, as a result of the compounding complexity that is pagination mix with filtering #26 will have to be extended to be filter aware.

This has gone fairly well so far; jinxed, if it continues to do so I might also add highlighting.

repo: MiloszKrajewski/TooMany


text:
[WIP -- DO NOT MERGE] Hard fork integration test

Nothing to see here.

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

! ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

authors: dkijania psteckler

repo: MinaProtocol/mina


text:
Publish libp2p metrics for peercount, msg size and connection count.

Thank you for contributing to Mina! Please see CONTRIBUTING.md if you haven't
yet. In that doc, there are more details around how to start our CI.
Explain your changes here.
Publish libp2p metrics for peer count, msg size and connection count.
Explain how you tested your changes here.
Currently, I am testing it in prometheus. I have created a draft PR. Once testing is done I will mark the PR for review.
Checklist:

[x] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[x] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them:

Closes #0000
Closes #0000

closing in favour of https://github.com/MinaProtocol/mina/pull/7971

please close in favour of #7971

authors: arijitAD noot


text:
improve intg test readme

trivial changes to readme

!approved-for-mainnet

authors: QuiteStochastic aneesharaines


text:
performDataBinding() take too much time

Hi @amitshekhariitbhu...
First, i would like to say thanks for your awesome lib
i have problem in my project. when i start new activity performDataBinding() take to much time (sometimes more than 5-6 sec)
and new activity start so slow.
what is the cause of this problem?
& is there any way to fix this?
Thanks 👍

on which device you are running this sample app?

did you have any helpful suggestion?


text:
Fix typo @ README.md

becomse -> becomes

Good catch! Thank you so much! Merged

authors: heblushabus yunfanjiang

repo: MineDojo/MineDojo


text:
items lost on death due to invalid flag & target?

As of spongeforge-1.12.2-2705-7.1.0-BETA-3409.jar + griefprevention-1.12.2-4.3.0.652.jar, when a player die in a claim with item-spawn = false, keepInventory = false, all his inventory gets deleted with no item dropped.
This also happens if said player is the owner of the claim.
According to gpdebug:

when a player dies, we have Flag = item-spawn, Target = minecraft:custom
when a player drops, we have Flag = item-drop, Target = minecraft:player

I think we've 2 issues here, not sure if they're in GriefPrevention or SpongeCommons:
1- when dying, Flag should be item-drop with Target being the player
2- when item-spawn is cancelled, items should be returned to player's inventory, this might be a consequence of the invalid flag?
Issue is reproduced with no mods (only a bunch of plugins).
Issue is reproduced with spongeforge-1.12.2-2705-7.1.0-BETA-3355.jar.
Issue is reproduced with griefprevention-1.12.2-4.3.0.646.jar.
I didn't try other versions.

In latest GP, item-spawn no longer affects living entities so this should no longer be an issue.

authors: LemADEC bloodmc

repo: MinecraftPortCentral/GriefPrevention

license: mit

license_source: bigquery


text:
Minecraft Relative teleportation ACK issue freezes player positions

In my gamemode I have implemented a "spread pattern" / "recoil" feature that relies on "RelativeFlags.ALL" to adjust only the yaw and pitch of the client.
player.teleport(new Pos(0, 0, 0, recoilData.horizontalRecoil, recoilData.verticalRecoil), null, RelativeFlags.ALL);

While this works when physically close to the server / on localhost, on high pings it causes an extremely weird ack issue where the server "freezes" the position of the player as long as the teleports are being sent. This is demonstrated by these two videos where the server is not registering the pitch/yaw changes and only updates the player position once the teleports have ended:
https://github.com/user-attachments/assets/88535746-a365-4d92-979f-fbfdacb6f6b2
https://github.com/user-attachments/assets/6912105f-40fb-44bb-841f-85cc4180f03d

Further discussion
Suspected line:
https://github.com/Minestom/Minestom/blob/f8b6eb0d0bfbd843b5aacfb3948cec96da816df8/src/main/java/net/minestom/server/listener/PlayerPositionListener.java#L47

This is a temporary hotfix
               player.sendPacket(new PlayerPositionAndLookPacket(
                        new Pos(0, 0, 0, recoil_data.horizontal_recoil, recoil_data.vertical_recoil),
                        (byte) RelativeFlags.ALL,
                        -1
                ));

repo: Minestom/Minestom


text:
Add Resource loading API

This adds a simple api to read files from the extension jar resources, as well as preference over files in the extension directory.
The obvious use case here is config files.
resolves #106
resolves #252

Closing due to issue with origin repository. Recreated as #302


text:
Add ArgumentSoundEvent to ArgumentType

This adds a sound event argument to the ArgumentType list, to allow for selecting custom/normal sounds client side.

If this argument accepts custom sounds, returning a SoundEvent is wrong as that only supports built-in sounds. Probably worth either changing this to return Sound.Type, which can either be a SoundEvent or just a custom sound with a key. This would allow people to instanceof to check if they have a SoundEvent or not.

If this argument accepts custom sounds, returning a SoundEvent is wrong as that only supports built-in sounds. Probably worth either changing this to return Sound.Type, which can either be a SoundEvent or just a custom sound with a key. This would allow people to instanceof to check if they have a SoundEvent or not.

Should be fine once we are done replacing the enums

authors: LeoDog896 TheMode kezz


text:
[BUG]: The rename window keeps quitting

How are you running AnythingLLM?
AnythingLLM desktop app
What happened?
When I am trying to rename a thread in a workspace a popup window opens to punch in the name for the thread and as soon as I click on the input box to edit the name the popup window goes away.
I am using the Anything LLM Mac App (Apple Silicon) - v1.5.6
Are there known steps to reproduce?
Following are the steps to reproduce

Create a workspace
Start a new thread
Click on three dots in the workspace explorer window against your thread and click on rename
Click on input box to rename
The popup window closes

A fix was published with v1.5.7: "Fix issues where you could not rename threads manually"

@ethyoo thanks for this. this issue seems to be resolved now.

authors: argoyal ethyoo

repo: Mintplex-Labs/anything-llm


text:
Disable scene objects at build time

discussions about NetworkScenePostProcssing: https://github.com/MirageNet/Mirage/discussions/608
problems with disabling objects:

User does not control enable/disable of gameobjects.   This creates unexpected behaviors for users.  Complicated and brittle logic for scene objects

feature is left over from UNET, hard to know reason for initial feature

Solution:

[ ] remove this feature
[ ] Add to migration guide

I did a test solution comparing the current vs not doing the disable/enable with NetworkScenePostProcess and ServerObjectManager.
I used the ChangeScene example. In Room1 and Room2 I added 1000 SceneObjects. I ran the server in server only mode. I put a Stopwatch at the start and end of SpawnObjects().
Current: 24-26ms scene changes
Dont Disable: 17-19ms scene changes
roughly 30% faster

authors: James-Frowen uweenukr

repo: MirageNet/Mirage


text:
Unable to use raw tool schema when making calls

Description
It should be possible to use the raw, original tool schema definition (i.e. not a function or BaseTool class but the raw JSON itself). This would:

Make it easier to start using Mirascope without having to switch all tool definitions immediately.
Ensure it's possible to do anything you can do with the raw schema in case using functions/tools is limited for some reason.

Python, Mirascope & OS Versions, related packages (not required)
mirascope==v0.14.1

This isn't a bug, it's a feature request.
If this is heavily requested for whatever reason, we can re-open this request and look into adding this functionality, but right now I don't see the value add (beyond dynamic tools, which I would prefer to solve natively anyway).

repo: Mirascope/mirascope


text:
Tests are failing: NoSectionError: No section: 'default'

I have no idea why one of the tests is suddenly failing on Travis. It worked before, it works locally, but apparently https://github.com/Miserlou/Zappa/commit/0d9d710acd8d96baf54e18649c5a2d3a3669d425 broke the ability to load AWS credentials from a string? I'm confused.

facepalm

repo: Miserlou/Zappa


text:
Feature proposal: support management commands for frameworks other than Django

Context
It's often necessary to run manage commands in other web frameworks.
For example, Flask comes with an "official" cli called flask as of 0.11. We often need to run db migrations like flask db upgrade. Other frameworks like Pymarid has their own management cli too.
To invoke those commands with Zappa now, people need to figure out which python function correspond to a command, and call it with invoke.
Since this is a common requirement, it would be nice for Zappa to support it out of the box.
Possible Fix
I think there can be 2 ways to support this:

add a zappa sub-command to execute arbitrary shell commands, like zappa shell ./manage.py db upgrade. The handler can simply run the command in a subprocess. It won't be more insecure than invoke.
support other frameworks like we do for Django now. This involves more branches in the lambda handler, but feels more controlled. E.g.: zappa manage django shell, zappa manage flask db upgrade. Apparently we'll need a branch for each framework, which can be significantly more work than the first approach.

I'm happy to make a PR if you're OK with any of them.

I like this, but I think the interface is simply:
zappa invoke 'db upgrade' --cli
Happy to accept a PR with test!

authors: Miserlou blurrcat


text:
Addressing #909: Don't load credentials for 'package' command

Description

Changes the zappa package command so it doesn't load AWS credentials.
Adds test that zappa package doesn't load credentials.

GitHub Issues

#909

Coverage increased (+3.4%) to 76.384% when pulling 3002397fdb59f9c5cf4d4b722cb5b2fdbeb8a784 on bcongdon:feature/909 into 1d8f75c577cd7668fcc1a71e4a6d4d9244e6668f on Miserlou:master.

Nice small and clean solution.

authors: Miserlou bcongdon coveralls


text:
Add new LENGTH digester & more fixes

This PR contains an important bugfix, and required a new release:

Families-check was modifying plugin-digesters while iterating.

Detailed changes:

Length of bytes-hashed are provided for each file as just another digester.
Send to stdout explanatory msgs about what is being hashed only when
hashing multiple items.  The point is for script using omnihash to
easily parse its output in the case of a single file, but still contain
all necessary info in case it's input is being redirected in a log file
and multiple files are hashed.
Retrofit all TCs as TestCase.methods, to easily view what's was the failing condition.
Added TCs for hash-length.
Now ALL TCs OK.

An excellent solution!

authors: Miserlou ankostis

repo: Miserlou/omnihash


text:
Dedicated integrated medals area

Heyo, here is the same suggestion talked about here, MisfitMaid suggested I make a Git Issue, so here we are :)
Discord Post:
I brought this up with MisfitMaid, but here is a suggestion :).
Add an integrated 'medals area' where the different medals are shown.
Here is what I think would look nice, and what I shared with MisfitMaid:

I added this. It supports champion medals too.

Very nice :)

authors: XertroV st-AR-gazer

repo: MisfitMaid/tm-map-info

license: Unlicense


text:
Default imageboard

Dashchan 2.0, is it possible to make a default imageboard that will open after launching an app?

Yes. Use long tap in imageboards list. (I mean imageboards list in drawer, not in app settings).

authors: Mishiranu ninefineninja

repo: Mishiranu/Dashchan


text:
[Bug] Can not install python packages

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):

Release Version installed [e.g. v1.0.3]

Additional context
Add any other context about the problem here.

I have just installed anaconda in AWS windows work space. but can not find "Anaconda Prompt" in the work space.
Can not install python packages. need to solve this issue asap.

@vasanthi can you please have your team look into this with Shraaboni, and if unable to determine the resolution, please escalate to Aaron and I.  Thanks! :)

@fergusonsha-umkc @aaronmbruce I have just installed anaconda in AWS windows work space. but can not find "Anaconda Prompt" in the work space. Can not install python packages. need to solve this issue asap.

@ShraaboniSarker These kind of questions should come to me. You need assistance with installing anaconda in your windows service workspace, this is not a bug in the service workbench.
@soliman455 Will you be able to have a screen share session with @ShraaboniSarker today or tomorrow to help her with the installation?

@vasanthi014 I have already installed anaconda in the Windows service workbench. I don't need support for installation. I am  facing difficulties with installing python packages.
Dr. Song told me to create issue under this repo.

Do you see any error when you install packages? Can you share screenshots?

no the installation process was successful. but when trying to access conda environment it is not appearing in the command line. Also can not access " conda prompt " from Work space.

repo: Missouri-BMI/service-workbench-on-aws


text:
Thanks!

hey @Mitch528 just came across this, looks awesome. Going to test it out now ;p
Are you still active on it? What are you working on with it?

@Jonovono Hey! So sorry for the long delayed response. As you probably have figured out by now, I have not been very active on this project, though I do plan to try and work on it as time permits.


text:
[BUG] Simulated hands do not scroll in 2023.2

Describe the bug
In Unity 2023.2 Editor (beta), simulated hands do not scroll backwards/forwards. Not observed in 2023.1

What XRI version is being used in 2023.2?

2.5.1 (updated from 2.3.0 in 2021)

Having the same issue in Unity 2023.2.9f1.

authors: AMollis NLR-L marlenaklein-msft


text:
🛑 Mailserver is down

In 366a533, Mailserver (https://outlook.office.com) was down:

HTTP code: 417
Response time: 120 ms

Resolved: Mailserver is back up in 1d7a71c after 10 minutes.


text:
placeholder align setting

how do i set the align mode for placeholder?

You can set the textAlignment  property.

i've set the textAlignment attribute to center. the placeholder still set to left align, but the text input have set to center align

Fixed in ff0be04a6e4eb230d5f0ddeec5e86800e2f254b2. Thanks for the feedback.

Hi, a7a17f8a79fd3f435989388b8b82c5c64e71f239 is a better way to fix the problem.

authors: MoZhouqi masbenx

repo: MoZhouqi/KMPlaceholderTextView


text:
템플릿 점검용입니다.

💬 Description
이슈 템플릿이 제대로 개발이 되었을까요 ?
✅ To Do

[x] well made
[x] very good
[x] bad

아주 잘 만들어졌습니다~

repo: Moa-dev-team/Moa-backend


text:
Com Port De-Selection  Idea.

In progress.....
https://www.mobiflight.com/forum/topic/6824.html

ok thank you for this idea. I will follow it up here

Sorry.   not find time to specify this..... But the Topic also says what is needed......
In easy words.....
People have problems sometimes a new device is not found.....  And specialy people who need MEGAS for other things ( e.g. with own sketches to controll something) get stuck in case MF scans on every startup all Ports for compatible Boards ( to migrate for MF) .....  But may user not want this.
I don´t know how the whole ComPort Logic works.... and e.g, if we can define a clear ComPort ourself ( or if it is created by windows on every startup or so).
Pressumed Feature:   the user should be able to "de-select" special Com Ports.... So MF no longer check these Ports anymore.
Benefit:   Users can STILL use the Auto Firmware Update Tool..... In case the problematic Boards are now "unvisible" for MF.

Additional Note:
In case this is a verry rare usecase.....   We should not "blow up" our GUI.
Maybe this is another good point to think about a "INI File".
Not sure how Sebastian think about that....
Why not a TextFile *.cfg or *.ini  that can be edit with a ordinary Text Editor.
And the e.g. a area we could enter something like
#ComPorts
ComPort_02, false

Do not blow up the GUI.  an ini file as suggested which looks at which com ports to scan and which ones to bypass should be fantastic.

If this feature would otherwise be considered, I think a simple context menu entry for an arduino in the list might work?

cool idea

Hi
I must rework my comment!
I missunderstand the "AutoFirmware Update" Option all the time.
Seb explane this in the last release Vid.... So my initial Request is no longer a important request.
Till now i thought..... If i disable "AutoFirmwareUpdate" i thought MF fully no longer check or upload Firmware!
As Seb explaned....   With this Option only Board without Firmware are ignored, BUT   Board with a Firmware are still "checked".
So my request make no sense anymore!
With current system we can "ignore" Boards if we want to do this..... And same time we have still the benefit, that "MF Boards" will be updated with newest Firmware..... Whatever Option is Disabled.
Only Disadvantage:
If a User have the Option Disabled.... But now connect a new Arduino he like to use for MF.... THEN it not work!
He must activate the Firmware Update toporary... BUT Then also all "permitted Boards" will get a MF Firmware Flash.
So he need to disconnect the problematic boards in this special situation!  But not on every Firmware Release.... Only if he add a New Board !
Summary:
I think we can life with the current system!

There are cases where even probing for MF firmware seems to disturb another devices.
I remember someone saying the Class Echo desktop panel does get confused when MF Connector connects to the serial port - same with CPFlight MCP. The Class Echo is a desktop simulator panel, based on a regular Arduino Mega with a lcd screen. Thje CPFlight MCP has the same VID/PID as a Mega, and it seems to get confused by the connection attempt as well.

UPDATE :  - New behavour !
https://www.mobiflight.com/forum/topic/6969.html
A User report on every MF Startup his 3D Printer struggle !

We cannot control the rest of the world, and whether other devices get confused when being probed.
Maybe a simple text file with ignored ports names, one per line, would work?
It would let those affected users list mark their problematic devices to be ignored, and could continue using them while enjoying Mobiflight as well.

this issue is already planned for 9.3 - it is on the short list and will be worked on soon.

That is great news!

Will be implemented by #845 - Thanks for everyone to provide input and feedback to this.

authors: DocMoebiuz MobiFlight-Admin okansacli pizman tigert

repo: MobiFlight/MobiFlight-Connector


text:
Update Crosswalk Version

Builds that were working a week ago are now failing due to CCA configured by default to use an out dated crosswalk version. I can't figure out how to update it.

org.xwalk:xwalk_core_library_beta:18+
FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring root project 'android'.

Could not resolve all dependencies for configuration ':_armv7DebugCompile'.
Could not find any version that matches org.xwalk:xwalk_core_library_beta:18+.
Searched in the following locations:
https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library_beta/maven-metadata.xml

As discovered by others: issues/592 one cannot update the version via the traditional config.xml file. They stated to specify the version use the mobile manifest file. However, i'm unsure what json string its looking for to do this. I've attempted adding "xwalkVersion":"xwalk_core_library:18+" ..ect without luck. Any help would be greatly appreciated!

Finally found it, app now builds by adding
"webview": "crosswalk@18+",
to the mobile manifest

repo: MobileChromeApps/mobile-chrome-apps


text:
Modify how often feeds are checked for updates

On the Mobility Database API (https://github.com/MobilityData/mobility-feed-api), we're checking for new updates to feeds once a week. The catalogs checks daily.
We want to sync this across the catalogs and the API so the frequency of checks is consistent, so we'd like to reduce the frequency of checks on the catalogs repo to once a week.
Curious if any consumers have feedback on the frequency of checks for feed updates.

Updated to check every Monday and Thursday based on analytics in https://docs.google.com/spreadsheets/d/1Q96KDppKsn2khdrkraZCQ7T_qRSfwj7WsvqXvuMt4Bc/edit?resourcekey=&gid=717490477#gid=717490477.

repo: MobilityData/mobility-database-catalogs


text:
perplexity = nan

In a new training, without anything very different from the past, except a new language pair FR->ES, all was going well for few days, when suddenly the log is showing a calculation result "perplexity = nan" for each validation step. This activates the flag "stalled", and the learning rate is decreasing each time. With my configuration, if this is the only trouble, this should not be too damageable. But it's very strange...

Hi,
I didn't know about the switching from OpenNMT to Tensor2Tensor/Tensorflow. When did this occur ?
As far as I see, the official latest 2.5 release is still with OpenNMT. No ?
How can I be informed of all changes in MMT ?
Best regards,
Etienne

Hi @EtienneAb3d
there is a discussion, here on issue #377 , where you can find all the info about the switch and the new ModernMT with Tensor2Tensor Transformer. We are about to make the 3.0 release after having solved some issues and some deep testing.
To be informed of any discussions, you can "Star" the project (top right of the Github Page) and "Watch" the project selecting option "Watching". You'll be notified of issues, releases and discussions.
Best,
Davide

repo: ModernMT/MMT


text:
Detail view added for budget items

Proposed Changes

Detail view added for budget items

Screenshot

Checklist

[x] Feature developed
[x] Created/updated unit tests
[ ] Comments in code
[ ] Documentation written

Coverage increased (+1.6%) to 79.487% when pulling a32efe4eaf5a60dfc1ac35cac6a6bd0332e76a05 on semirturgay:adding-budget-detail into ddf7c8e1ee591036dbf2f6285e5ae412423f4f6e on ModusCreateOrg:master.

authors: coveralls semirturgay


text:
Repeating overlap event (FP) in overlap history

Hi, I got the same issue as #167 (and perhaps it was solved in the last update), but the event (which was marked as FP) appears 3 times in the 'Overlap history' tab in the app.
It's the same event with the same location, date and time.
Screenshot

I second this and attach a screenshot.

Hi @OfirKP and @Eladkay, the issue was fixed in previous versions. Thanks for reporting.

authors: Eladkay OfirKP kaplanlior

repo: MohGovIL/hamagen-react-native


text:
video

how do i load a video in chromapper

Download and synchronize the video with the in-game Chroma mod first, then with this plugin, the video should show in ChroMapper as well.

authors: MoistSac keanodudok

repo: MoistSac/ChroMapper-Cinema


text:
Preserve arguments after redirects

This PR resolves #137.

Previously, when executing a CommandContext that has a child CommandContext due to the parser encountering a redirected node, the arguments present in the original context would not be copied to the child context. In the example I presented in #137, the command structure looked like this:
literal("command"):
    literal("high") -> argument("number", Integer from 10 to 20) (first branch) -> argument("string", greedy string) -> executor
    literal("low") -> argument("number", Integer from 0 to 10) -> redirects to (first branch) node

The bug I identified in #137 means that when executing the redirected branch (eg. "command low 5 some text"), an IllegalArgumentException would be thrown since the executor expects the "number" argument to be present in the child CommandContext, which is used when executing the command. I expected that the command should run without error, with the value for the "number" argument being 5. In contrast, the 'real' branch would always work as expected, with the "number" argument present as given.

This PR fixes this bug by adding and using the CommandContext#copyWithArgumentsOf method:
public CommandContext<S> copyWithArgumentsOf(CommandContext<S> context) {
    Map<String, ParsedArgument<S, ?>> newArguments = new HashMap<>();
    newArguments.putAll(context.arguments);
    newArguments.putAll(this.arguments);
    return new CommandContext<>(source, input, newArguments, command, rootNode, nodes, range, child, modifier, forks);
}

In my example case, the "number" -> value: 5 argument present in the original CommandContext would be copied to the child CommandContext, so that it is present when the executor is run.

I added tests that directly make sure the new CommandContext#copyWithArgumentsOf method works as expected. I want to add tests to make sure copyWithArgumentsOf is being used correctly when executing commands, but I wasn't sure where to put a test like that. I wanted to make sure that I followed the code style of this repo. I'm not yet sure how the code base tests functionality like this, so I erred on the side of not adding those tests yet.

If you'd like to discuss whether or not the 'bug' this PR resolves is actually intended behavior, I think those comments fit best as replies to the original issue, #137. I'm honestly not sure if my issue is intended behavior or not since I couldn't find any documentation on what node redirects are supposed to do. It seems most intuitive to me that the arguments should be preserved, hence why I went through the effort to make this PR :P.

If you will add a summary it will be better to understand your main message :)

Sure. I think I also found a different but related problem with redirects, suggestions, and arguments, so I'll explain that here too.

Summary:
When suggesting arguments after a redirect, the CommandContext given can only access arguments before the redirect.
When executing a command after a redirect, the CommandContext given can only access arguments after the redirect.
These two situations handle arguments differently when redirects are present. I believe that both of these situations are bugs. The correct outcome should be that all arguments are present.

Reproducing the 'bugs'
To help explain this better, I created a demonstration here https://github.com/willkroboth/brigadier/commit/b1663e517b867c454bb8f74651986b9048b982bc that looks like this:
@Test
public void testCustomStuff() throws Exception {
    System.out.println("Testing custom stuff");

    SuggestionProvider<Object> monitorSuggestions = (context, builder) -> {
        System.out.println(context.getArguments());

        builder.suggest("a").suggest("b").suggest("c");
        return builder.buildFuture();
    };

    ArgumentCommandNode<Object, String> end = argument("ending", StringArgumentType.word())
            .suggests(monitorSuggestions)
            .then(argument("lastArg", StringArgumentType.word())
                    .suggests(monitorSuggestions)
                    .executes(context -> {
                        System.out.println(context.getArguments());

                        return 1;
                    })
            )
            .build();

    ArgumentCommandNode<Object, Integer> firstBranchEnding = argument("number", IntegerArgumentType.integer(1, 10)).then(end).build();
    LiteralArgumentBuilder<Object> firstBranch = literal("low").then(firstBranchEnding);

    LiteralArgumentBuilder<Object> secondBranch = literal("high").then(
            argument("number", IntegerArgumentType.integer(11, 20))
                    .redirect(firstBranchEnding)
    );

    LiteralArgumentBuilder<Object> base = literal("base")
            .then(firstBranch)
            .then(secondBranch);

    subject.register(base);

    System.out.println(subject.getCompletionSuggestions(subject.parse("base low 5 ", source)).get());
    System.out.println();
    System.out.println(subject.getCompletionSuggestions(subject.parse("base low 5 a ", source)).get());
    System.out.println();
    System.out.println(subject.getCompletionSuggestions(subject.parse("base high 15 ", source)).get());
    System.out.println();
    System.out.println(subject.getCompletionSuggestions(subject.parse("base high 15 a ", source)).get());
    System.out.println();

    subject.execute("base low 5 a b", source);
    System.out.println();
    subject.execute("base high 15 a b", source);
    System.out.println();
}

When this test is run, this gets printed into the console:
Testing custom stuff
// First test
{number=ParsedArgument{range=StringRange{start=9, end=10}, result=5}}
Suggestions{range=StringRange{start=11, end=11}, suggestions=[Suggestion{range=StringRange{start=11, end=11}, text='a', tooltip='null'}, Suggestion{range=StringRange{start=11, end=11}, text='b', tooltip='null'}, Suggestion{range=StringRange{start=11, end=11}, text='c', tooltip='null'}]}

{number=ParsedArgument{range=StringRange{start=9, end=10}, result=5}, ending=ParsedArgument{range=StringRange{start=11, end=12}, result=a}}
Suggestions{range=StringRange{start=13, end=13}, suggestions=[Suggestion{range=StringRange{start=13, end=13}, text='a', tooltip='null'}, Suggestion{range=StringRange{start=13, end=13}, text='b', tooltip='null'}, Suggestion{range=StringRange{start=13, end=13}, text='c', tooltip='null'}]}

// Second test
{number=ParsedArgument{range=StringRange{start=10, end=12}, result=15}}
Suggestions{range=StringRange{start=13, end=13}, suggestions=[Suggestion{range=StringRange{start=13, end=13}, text='a', tooltip='null'}, Suggestion{range=StringRange{start=13, end=13}, text='b', tooltip='null'}, Suggestion{range=StringRange{start=13, end=13}, text='c', tooltip='null'}]}

{number=ParsedArgument{range=StringRange{start=10, end=12}, result=15}}
Suggestions{range=StringRange{start=15, end=15}, suggestions=[Suggestion{range=StringRange{start=15, end=15}, text='a', tooltip='null'}, Suggestion{range=StringRange{start=15, end=15}, text='b', tooltip='null'}, Suggestion{range=StringRange{start=15, end=15}, text='c', tooltip='null'}]}

// Third test
{number=ParsedArgument{range=StringRange{start=9, end=10}, result=5}, ending=ParsedArgument{range=StringRange{start=11, end=12}, result=a}, lastArg=ParsedArgument{range=StringRange{start=13, end=14}, result=b}}

// Fourth test
{ending=ParsedArgument{range=StringRange{start=13, end=14}, result=a}, lastArg=ParsedArgument{range=StringRange{start=15, end=16}, result=b}}

This output shows both 'bugs' in action. It probably needs an explanation though if you don't know what to look for.

Structure of the example
The structure of my test command looks like this:
literal base
-> then literal low
   -> then argument number (integer from 0 to 10)
      -> then argument ending (string that's just a single word)
         suggests 'monitorSuggestions'
         -> then argument lastArg (string that's just a single word)
            suggests 'monitorSuggestions'
            executes the only executor for this command
 -> then literal high
    -> then argument number (integer from 11 to 20)
       redirects to base->low->number

monitorSuggestions looks like this:
SuggestionProvider<Object> monitorSuggestions = (context, builder) -> {
    System.out.println(context.getArguments());

    builder.suggest("a").suggest("b").suggest("c");
    return builder.buildFuture();
};

And the Command on lastArg looks like this:
context -> {
    System.out.println(context.getArguments());

    return 1;
}

The problem with redirects, arguments, and suggestions
The first test checks the suggestions for "base low 5 " and "base low 5 a ". Since this path does not include a redirect, it acts as expected. The CommandContext when building suggestions includes both the number and ending arguments.
Simplified output:
// Suggesting `"base low 5 "`
Arguments: {number=5}
Suggestions{'a', 'b', 'c'}

// Suggesting `"base low 5 a"`
Arguments: {number=5, ending=a}
Suggestions{'a', 'b', 'c'}

The second test checks the suggestions for "base high 15 " and "base high 15 a ". This path includes a redirect, so the arguments get messed up.
Simplified output:
// Suggesting `"base high 15 "`
Arguments: {number=15}
Suggestions{'a', 'b', 'c'}

// Suggesting `"base high 15 a"`
Arguments: {number=15}
Suggestions{'a', 'b', 'c'}

Here, the CommandContext used when building the suggestions for "base high 15 a" is missing the value for the argument ending, even though it was given as "a". When base->high->number redirects to base->low->number->ending, only arguments before the redirect are accessible.

The problem with redirects, arguments, and executes
The third test checks what happens when executing "base low 5 a b". Since this path does not include a redirect, it acts as expected. The CommandContext includes the number, ending and lastArg arguments.
Simplified output:
Arguments: {number=5, ending=a, lastArg=b}

The fourth test checks what happens when executing base high 15 a b. This path includes a redirect, so the arguments get messed up.
Simplified output:
Arguments: {ending=a, lastArg=b}

Here, the CommandContext used when executing "base high 15 a b" is missing the value for the argument number, even though it was given as 15. When base->high->number redirects to base->low->number->ending, only arguments after the redirect are accessible.

I think that both of these behaviors are unintentional. It seems that arguments are not being handled properly when redirects (and forks) create child CommandContext objects. This PR aims to resolve these two 'bugs' by making sure that all arguments given in a command are present when redirects are involved, the same way it works with a linear path when there are no redirects.
It looks like https://github.com/Mojang/brigadier/pull/140 moved some functionality around, so this PR currently conflicts with the main branch. I also recently realized there was a bug with the suggestions (thanks to https://github.com/JorelAli/CommandAPI/issues/310), so I haven't figured out how to fix that yet. I'll try to figure something out though and update this PR soon.

authors: willkroboth yanisderbikov

repo: Mojang/brigadier


text:
Recommend numpy docstring standard by default?

Currently, the sphinx extensions do not include numpydoc to render numpy style docstrings, which are both human- and sphinx-readable.
What do folks think about including numpydoc by default and encouraging users to follow the numpy docstring convention?

NumPy-style docs would be my preferred way of doing things over Google-style by far. We usually route through Napoleon over numpydoc however.
It would be good to take a wholistic approach to the default addons as there are several very useful ones like intersphinx and autosummary as well.

+1 for numpy-style docstrings.
looks like psi is using napoleon and some astropy-originated tools for auto-api. https://github.com/psi4/psi4/blob/master/doc/sphinxman/source/conf.py.in#L74-L83
+1 for intersphinx, too

+1 for napoleon. I really like the look of it, and once I've had a chance to play with it on my own repos, I think it would be good to push it to the other OpenFF projects too.
There's a parallel conversation about it here: https://github.com/openforcefield/propertyestimator/pull/13

authors: dgasmith j-wags jchodera loriab

repo: MolSSI/cookiecutter-cms


text:
Hotfix/1.0.11

Added automatic changelog creation

closes #86

repo: MolarVerse/PQAnalysis


text:
Experiment with XPBD

This method comes with quite a few benefits over the way I'm currently doing things. Substepping for improved accuracy and energy conservation, easy coupling with particle-based soft bodies, and a potentially even simpler solver than mine.

Done, and it's good! Not experimental anymore so closing this :D

repo: MoleTrooper/starframe


text:
#860 - Add code splitting

Fixes Issue

Closes #860
Changes proposed
Previously :-

Now (after adding lazy loading) :-

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[x] I have updated the documentation accordingly.
[x] All new and existing tests passed.

It is giving error in deployment..

Oh i am sorry it would be 'loader.css' and not 'Loader.css'
I removed the preloader because it was clashing with the Suspense fallback loader for the home page, hence I added the same loader to all the pages

@MonalikaPatnaik I will resolve all the conflicts and then add a PR

repo: MonalikaPatnaik/UMatter


text:
Tarea insertion sort

Entrega de la tarea de InsertionSort, el documento en Markdown y el codigo en Scala

Lo mismo que en el PR anterior, está mal el branch. Gracias

repo: MontealegreLuis/algoritmos


text:
Update README.md

Made minor edits.

OK

repo: MooersLab/pymolshortcuts


text:
🛑 Club Penguin Atake TV Video CDN is down

In 8c34e95, Club Penguin Atake TV Video CDN (https://cdn.cpataketv.dink.cf/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Club Penguin Atake TV Video CDN is back up in 07c029b.

repo: MoonlightStudiosInt/status


text:
🛑 Waddle Penguins Island - API is down

In d39ac1a, Waddle Penguins Island - API (https://api.waddlepenguins.me/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Waddle Penguins Island - API is back up in 0ab40a5.


text:
Invalid Tab

My Synch Tab Groups add-in keeps generating/popping up this error in the FF "Error caught in the Syn Tab Groups". Not sure what the problem is and how to fix it. Here is what I see in the debug console when I follow your steps to provide details on the bug. If this helps you to resolve the problem, great!!
Error: Invalid tab ID: 95 ExtensionUtils.jsm
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Error: Invalid tab ID: 95 ExtensionUtils.jsm
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Error: Could not establish connection. Receiving end does not exist. tabs-move.js:98:7
Error: Could not establish connection. Receiving end does not exist. tree.js:616:25
Error: Could not establish connection. Receiving end does not exist. tree.js:202:5
Error: Could not establish connection. Receiving end does not exist. handle-tree-changes.js:122:3
Error: Could not establish connection. Receiving end does not exist. tree.js:616:25
Error: Could not establish connection. Receiving end does not exist. tree.js:202:5
Error: Could not establish connection. Receiving end does not exist. handle-tree-changes.js:122:3
Error processing windowTypes: This property is deprecated tst-api.js:509
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Error processing windowTypes: This property is deprecated tst-api.js:509
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
TypeError: e.map is not a function[Learn More] background.js:1:13903
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
TypeError: e.map is not a function[Learn More] background.js:1:13903
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18719
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18719
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Error: Could not establish connection. Receiving end does not exist. tree.js:327:5
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18719
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
TypeError: e.map is not a function[Learn More] background.js:1:13903
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
TypeError: e.map is not a function[Learn More] background.js:1:13903
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:20159
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. tree.js:327:5
Error: Invalid tab ID: 100 ExtensionUtils.jsm
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Error: Invalid tab ID: 100 ExtensionUtils.jsm
Error: Could not establish connection. Receiving end does not exist. tree.js:327:5
Error: Invalid tab ID: 100 ExtensionUtils.jsm
TypeError: e.map is not a function[Learn More] background.js:1:13903
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
TypeError: e.map is not a function[Learn More] background.js:1:13903
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
TypeError: e.map is not a function[Learn More] background.js:1:13903
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
Error: Could not establish connection. Receiving end does not exist. Browser.js:3:1937
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:18498
TypeError: e.map is not a function[Learn More] background.js:1:13903

Have you tried to disable/enable the extension ?
It seems your data or maybe the whole extension code is corrupted... In the worth case you should probably install it again. Have you done a backup before ? Could you still do one ?

authors: Morikko sudpank

repo: Morikko/sync-tab-groups


text:
Add files via upload

Whitepaper-Arabic.md

Arabic whitepaper :)

repo: MorpheusAIs/Morpheus


text:
check that when auto-delete=false, and visibility-timeout has passed, that the message would be sent again

at the moment, core-test/done-fn-handle-present-when-auto-delete-false check that the message is still there by deleting the message again. And if it's a successful delete, then that means the message was still on the queue if auto-delete=false.
But that's not exactly the same behaviour we require. This is a critical feature of SQS that we rely on. So it would be better to mimic the behaviour as much as possible in the test.
One obstacle for testing this is I'm not sure if localstack's sqs server supports resending. If not, then this could be an integration test with a live queue.

I will have to check again, but I think I remember that in the beginning when we had the visibility functionality there was already a test in place where this worked fine with localstack. I'll have another look.

authors: Quantisan daisybytes

repo: Motiva-AI/clj-sqs-extended


text:
在给的base文件上继续fine-tune，为啥loss非常大

在maerec_b_union14m.pth基础上继续用Union14-M做fine-tuning，损失却很高。按理说它损失应该非常低才对。
才其他数据集上fine-tune也不能很快拟合。

Hi @prefixRAINSTARsuffix
建议使用这个优化器配置进行 finetune：../base/schedules/schedule_adamw_cos_10e.py
# optimizer
optim_wrapper = dict(
    type='OptimWrapper',
    optimizer=dict(
        type='AdamW',
        lr=1e-4,
        betas=(0.9, 0.999),
        eps=1e-08,
        weight_decay=0.01))
train_cfg = dict(type='EpochBasedTrainLoop', max_epochs=10, val_interval=1)
val_cfg = dict(type='ValLoop')
test_cfg = dict(type='TestLoop')

# learning policy
param_scheduler = [
    dict(
        type='CosineAnnealingLR',
        T_max=10,
        eta_min=1e-8,
        convert_to_iter_based=True)
]

Hi @prefixRAINSTARsuffix 建议使用这个优化器配置进行 finetune：../base/schedules/schedule_adamw_cos_10e.py
# optimizer
optim_wrapper = dict(
    type='OptimWrapper',
    optimizer=dict(
        type='AdamW',
        lr=1e-4,
        betas=(0.9, 0.999),
        eps=1e-08,
        weight_decay=0.01))
train_cfg = dict(type='EpochBasedTrainLoop', max_epochs=10, val_interval=1)
val_cfg = dict(type='ValLoop')
test_cfg = dict(type='TestLoop')

# learning policy
param_scheduler = [
    dict(
        type='CosineAnnealingLR',
        T_max=10,
        eta_min=1e-8,
        convert_to_iter_based=True)
]

我就是用这个微调的。是加载了你训练好的 maerec_b_union14m.pth 这个模型（不是mae预训练的vit），在Union14M上继续训练，发现loss很大（按理说应该是0.0几才对）。

Hi @prefixRAINSTARsuffix 建议使用这个优化器配置进行 finetune：[../base/schedules/schedule_adamw_cos_10e.py]

具体来说是加了这一行：

我的目的是想用你训练好的maerec_b_union14m.pth在其他数据集上做微调，但是发现很难收敛。之后我就验证了一下在原始的Union14M上的效果，发现loss同样很大。

可以试一试调小学习率，maerec_b_union14m.pth 最后训练完的时候，学习率已经降到了 1e-8，可能模型微调的时候学习率也要低一点

可以试一试调小学习率，maerec_b_union14m.pth 最后训练完的时候，学习率已经降到了 1e-8，可能模型微调的时候学习率也要低一点

我 1e-3 到 1e-8 都试过了，都是差不多的

试一试在config 里面添加 load_from='maerec_b_union14m.pth' 呢，我没有试过 runner.load_checkpoint() 这个操作，不太清楚这两者之间是否有差异

load_from='maerec_b_union14m.pth'

这样可以。我对mmocr了解太少，谢谢你🙏

authors: Mountchicken prefixRAINSTARsuffix


text:
Error when running CellPose

Hi!
We got this error:
Traceback (most recent call last):
  File "/g/funcgen/galaxy-production/tools/cellpose_segmentation/0.6/cp_segmentation.py", line 94, in <module>
    main(args.inputs, args.img_path, args.img_format, args.output_dir)
  File "/g/funcgen/galaxy-production/tools/cellpose_segmentation/0.6/cp_segmentation.py", line 57, in main
    **options)
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/cellpose/models.py", line 282, in eval
    stitch_threshold=stitch_threshold)
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/cellpose/models.py", line 542, in eval
    flow = np.array([dx_to_circ(dP[1:,i]) for i in range(dP.shape[1])])
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/cellpose/models.py", line 542, in <listcomp>
    flow = np.array([dx_to_circ(dP[1:,i]) for i in range(dP.shape[1])])
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/cellpose/models.py", line 64, in dx_to_circ
    flow = (utils.hsv_to_rgb(HSV)*255).astype(np.uint8)
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/cellpose/utils.py", line 23, in hsv_to_rgb
    r, g, b = hsv_to_rgb_channels(h, s, v)
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/numpy/lib/function_base.py", line 2108, in __call__
    return self._vectorize_call(func=func, args=vargs)
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/numpy/lib/function_base.py", line 2186, in _vectorize_call
    ufunc, otypes = self._get_ufunc_and_otypes(func=func, args=args)
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/site-packages/numpy/lib/function_base.py", line 2146, in _get_ufunc_and_otypes
    outputs = func(*inputs)
  File "/g/funcgen/galaxy-production/database/dependencies/_conda/envs/mulled-v1-a3d8e3d2223f740ae00d18494ade7b9bef6e0c49ca4e41a5d033b2a48d633f57/lib/python3.7/colorsys.py", line 146, in hsv_to_rgb
    i = int(h*6.0) # XXX assume int() truncates!
ValueError: cannot convert float NaN to integer

Do you have an idea what the issue may have been?

It looks like the output flows are NaN? Who's cellpose wrapper is this? It's hard for me to tell what's going on without seeing the source code

closing due to inactivity but let us know if you still have issues

authors: carsen-stringer tischi

repo: MouseLand/cellpose


text:
Connect store to react components

Features:

Connect Book component to global redux store using useSelector function.
Added reducers: add and remove.  And added useDispatch function to make changes to the global state based on user interaction with the application.

@prolajumokeoni Hi, I now added the initial state as requested 😅 Do I need to request a review again?

repo: Movgto/react-redux-bookstore


text:
Fix for Issue 2800

Contains
Fixes #2800
How to test
Break some bushes: a small cloud of rapidly disappearing particles/leaves should appear where the bush used to be - this is the normal behavior.
The Bug detailed in 2800 had the particle appear in the lower portion of the field of view of the player, in a frame of coordinates seemingly unrelated to the visible world.
Notes
This problem was due to the SimpleBlendMaterialsNode implicitly relying on other nodes to set the correct modelview and projection matrices. After the merging of PR #2794 nodes must either add a StateChange to look through a specific camera or run their code assuming the projection and modelview matrices being identity matrices - opengl's default.
As testing of #2794 didn't include semi-transparent objects, this problem was not noticed.

Hooray Jenkins reported success with all tests good!

Tested out, both scenarios are fine now, and the code pretty simple and cool to see. Thanks! :-)

authors: Cervator GooeyHub emanuele3d

repo: MovingBlocks/Terasology


text:
feat: GooeyCLI - replacement utility scripting system based on PicoCLI.

Still a proof of concept, with a limited amount of old functionality converted to showcase the new approach. Relies on a groovyw tweak (https://github.com/MovingBlocks/groovy-wrapper/pull/5), renames the scripts (gw is < 1/3rd of groovyw ! Think of the savings!), and lets PicoCLI worry about all the CLI structuring. Also experimenting with https://github.com/Terasology/Index/pull/7
Contains
Overhaul of our utility scripting. PicoCLI takes away all the awkwardness surrounding argument parsing and such, plus automatically generates usage text, even at every level, a la kubectl, docker, git, etc.
Key part is defining commands and options inside small classes using PicoCLI. A command class can define a link to sub-command classes, which in turn can have their own and so on (gw -> module -> get ..). From anywhere you can mix-in other classes containing simple definitions for options, so you only need to define a given option (like --origin) in one place then just mix it in wherever needed. If something isn't relevant for a given combination just don't link it. Easy!

Replaces a ton of messy code - util.groovy is no more, the weird loading of files as text to then turn them into Groovy scripts dynamically is gone, and you can write way cleaner, well, everything.
Adding new commands is trivial rather than painful, and it is easy to add them at any level with a single small file. Options / Parameters can be added separately as traits / mix-ins, then plugged in wherever
Is technically in Groovy, but remains largely easy Java without a lot of elaborate Groovy'isms. I did try for a bit to get plain Groovy scripts to work (cuts down even more boilerplate code) but it didn't seem worth the hassle / weirdness / quirks in trying to use the setup with our Groovy Wrapper
A help / -h / --help command is available at every level, detailing everything automatically. Extra examples can easily be added beyond the auto-generated stuff
Working text colors on Windows - previous ANSI coloring only works on Linux/Mac, and leaves control characters in the output on Windows. Some stuff like underlining still doesn't work on Windows, but colors do 🌈
Docs for PicoCLI are pretty great, it seems very mature, and also has lots of nice examples. Plus it is apparently embedded within Groovy itself!

Diagram!

The green stuff can actually be run, everything else is supporting (some sub-commands require additional sub-commands - you can run gw module but will get an error about that being meaningless on its own). Diagram doesn't cover all use cases and not everything listed is done yet.
How to test

Check out PR
Run gw commands in the root of your workspace

That's it, really! Everything else should just work, no extra steps needed. Not a lot is actually functional yet

Try to use the help command in various places. Or nothing at all and see what happens
gw module get ModuleName should work normally, you can add -o / --origin to vary where to get modules from. The old gradle.properties global override for different GitHub locations should also work, if set (example: alternativeGithubHome=Nanoware)

You should be able to get multiple modules in one go, but recurse and other stuff isn't in yet

gw init says some things, including colored output!
Try putting the -o flag in different places, using different commands
gw module refresh should do the build.gradle update to all modules, demonstrates a sub-command defined specifically within an item type - sort of like a private command to that parent, rather than write it in its own file, when it won't make sense anywhere else

Outstanding before merging

[ ] Sanity checks for architecture and such (I feel like I code so rarely I'm forgetting all the patterns and probably could have done this better), plus actually confirm if we want to do this - #4035
[ ] Finish converting old functionality
[ ] See if the PicoCLI and jansi jars in the Gradle Wrapper can just be added to the classpath to avoid their @Grabs
[ ] May well move to a future goal but: extract the utility scripting to its own repo and solely @Grab a built jar from there. In most cases users don't really need the scripts themselves, and I'm sure we could come up with a way to sub in source when you want to edit it, like with other items. Benefit: Use the exact same setup for both Terasology and DestSol (and more?), limit the amount of code in the engine repo, possibly version things better?

Future goals
While not a goal with this PR I'm hoping to build more advanced functionality on top of it, partly via my day job where I'm trying to do something similar in a different use case (enterprise CI/CD / app dev)

Add back in command combinations that ask the user for input? Unsure how useful that really is, so rather wait till later
Look into hooking the command auto-completion in (even if it might not work on Windows)
A promote / release command that'll tag a repo on GitHub. Possibly deal with a GitHub release? Or would that be Jenkins? #4035 again
A fork command that'll create a fork on GitHub of a target item
A command that'll create a normal repo remotely on GitHub (not a fork). Name?
A pr command that'll create a PR automagically
bulk commands to handle large-scale modifications, such as an engine change needing minor tweaks in a dozen or two modules (prep branches, bulk commit, push to GitHub, make / merge PRs if desired, possibly add markup somewhere to tell Jenkins to test them all together)
Possibly minor reporting options? Related to open PRs, branches, and such. Jenkins X does some neat things
Possibly utility scripting to help manage teams on GitHub, adding new users easily, standardize user lists, make labels the same in different repos,etc
Git adapters for other providers (GitLab, etc) - not necessarily very useful for us here but I need it for work anyway, so here eventually we might be able to support modules on other Git providers seamlessly?
Some ways later, maybe: use some of this logic remotely via Jenkins and/or ChatOps (use the commands on chat to create repos for new users, release things, detail forks, etc)
Possibly use PicoCLI itself inside the game - could it power our in-game console? We already have code overlap there between TS and DS, maybe we could have a game console library both projects could use. Been wondering about this since I started digging around, and recently actually found https://github.com/Rubydesic/MinecraftPicocli - not sure if that's in-game console or server console 🤔
Maybe support wiki items or even gh-pages items if we end up using those

I tried to run the ./gw command
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/michaelpollind/.gradle/wrapper/dists/gradle-6.4.1-all/13imxtezgn9nwzqt8rgtkunh1/gradle-6.4.1/lib/groovy-all-1.3-2.5.10.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Caught: picocli.CommandLine$InitializationException: class java.lang.Module is not a command: it has no @Command, @Option, @Parameters or @Unmatched annotations
picocli.CommandLine$InitializationException: class java.lang.Module is not a command: it has no @Command, @Option, @Parameters or @Unmatched annotations
        at picocli.CommandLine$Model$CommandReflection.validateCommandSpec(CommandLine.java:10774)
        at picocli.CommandLine$Model$CommandReflection.extractCommandSpec(CommandLine.java:10612)
        at picocli.CommandLine$Model$CommandSpec.forAnnotatedObject(CommandLine.java:5765)
        at picocli.CommandLine.<init>(CommandLine.java:223)
        at picocli.CommandLine.toCommandLine(CommandLine.java:3415)
        at picocli.CommandLine.access$14200(CommandLine.java:145)
        at picocli.CommandLine$Model$CommandReflection.initSubcommands(CommandLine.java:10636)
        at picocli.CommandLine$Model$CommandReflection.extractCommandSpec(CommandLine.java:10599)
        at picocli.CommandLine$Model$CommandSpec.forAnnotatedObject(CommandLine.java:5765)
        at picocli.CommandLine.<init>(CommandLine.java:223)
        at picocli.CommandLine.<init>(CommandLine.java:196)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at GooeyCLI.main(GooeyCLI.groovy:30)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at org.gradle.wrapper.GroovyBootstrapMainStarter.start(GroovyBootstrapMainStarter.java:35)
        at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:108)
        at org.gradle.wrapper.GroovyWrapperMain.main(GroovyWrapperMain.java:60)

Thanks @pollend !
I've wondered if setting this up as its own sourceSet in Gradle would add anything, but IntelliJ already prompts to configure a Groovy SDK. Maybe if it was Gradled it would also auto-fetch the @Grab dependencies you can otherwise manually fetch for completion via ALT-ENTER. Could also perhaps be a way to later embed the CLI source if it gets extracted and shoved into a jar, yet you still want to optionally work on it inside an engine workspace in source form.
Not super high priority to find out just yet. Happy just to know it is working for somebody else (after a few tweaks)

Okay, bunch more updates in, including @pollend's initial Gradle setup taken a few steps further. Commands like gw module recurse JoshariasSurvival should now work, including a bug fix vs the current groovyw variant - in JS if you have AdditionalFruits already present in source, which depends on EdibleFlora, the old way would stop at AF and never retrieve EF.
There was a point when the gw script for Linux/Mac/Git Bash/Cygwin etc wasn't setting the classpath right. That should be fixed now. Much better structure too, starting to pull out overly unique/wide logic in big methods and trying smarter approaches. At least that's what my head suggests to me, not entirely sure!
Sneaking in bits of colored text but this is still a draft with a ton of extra logging just to make it easier to check on this. More to come, just sleepy 💤

Closing this to clean up, will recreate in the future if the coding spirits will it 👍

authors: Cervator pollend


text:
Update README and remove or overhaul the Wiki

We have the main overview of the launcher project in the README, some old bits and pieces in the wiki and additional information in docs/.
Definition of Done

[ ] information is updated in README and docs/
[ ] wiki is removed and disabled for this repository

I'd like to add some information about the maintenance of the launcher repo while at it:

briefly document that we're using Github Actions to build, test, and package the launcher
add information about third-party tools, e.g., check-run-reporter (how to log in and update the API token in GitHub secrets, for instance)

The wiki has been disabled.

repo: MovingBlocks/TerasologyLauncher


text:
didSelectDayView not called on launch

didSelectDayView(_:_:) is not being called on first launch. I also tried calling calView.toggleViewWithDate(Date()) to force it, but that doesn't do anything either.
Any help?

Please use issue template.

authors: LinusGeffarth elsesiy

repo: Mozharovsky/CVCalendar


text:
Initializer does not override a designated initializer from its superclass

I got this error message after update to xcode 6.3.1.
/Users/MNurdin/Documents/iOS/xxxxx/Pods/CVCalendar/CVCalendar/CVCalendarView.swift:112:14: Initializer does not override a designated initializer from its superclass

File CVCalendarView.swift, line number 112.

Discussed in #54.

authors: Mozharovsky datomnurdin


text:
Confused: cbarrick's version vs. this?

npm install gulp-run gets cbarrick's deprecated version, but npm home gulp-run comes here.  If you've taken over, can you publish a new version to true things up?

The reason this is an issue is that gulp prints Warning: gulp-run is deprecated on every run, which is causing people to file bugs on my project.

Just a warning. Currently, the next version is not ready for production. So you need to wait a few days.

So... have "a few days" passed already? Any help still needed?

Done.

authors: MrBoolean hildjj nfantone

repo: MrBoolean/gulp-run

license: isc


text:
Updated Games List.json

Added a few obscure games.
All 1024x1024 accept Carcassonnne which is close.
Lastest commit is most up to date.

Thanks for your contribution, I had to check the commits first and I've found this:

CS:GO already exists in the Games List
The Orange Box already exists in the Games List
Raskulls and Carcassonne titleicon are not in 1024x1024
All the titlebackground you added are stock "transparent" images, why's that?

Images must be 1024x1024 so it fits correctly on the Discord presence, it can be lower, like 800x800, but it must be a square

I commited these changes to my fork, thanks for the feedback. Also I didn't really know what to put for "titlebackround" so I just put it a transperant image so as not to interfere.
The new image for Carcassone is a 219x219 square, the new image for Raskulls is 1024x1024.

Bro it ask me to update my fork....
I have all the links its fine.


text:
feat: introduce jaeger support for tracing

Add jaeger support for tracing.

Ref: #118 .

And a early put request:

The busy duration looks reasonable, but the idle duration is pretty long. May caused by lock / CAS operation? Need further investigation.

Need run a perf.

repo: MrCroxx/RunKV


text:
Feature Request

First of all, this is a surprisingly powerful plugin that does a very good job of showing me all matches for criteria, and taking me to the match... great job.
Now for the feature request. I am using this plugin to find text matches for the purposes of replacing them, on a case by case basis. Therefore, I have to keep reopening the plugin and submit my search again. It would be great if the plugin remembered, or had an option to remember, the last searched value/results so I can quickly move to the next match.

Interesting feature, I will squeeze time to implement this feature.

authors: MrPeak sonburn

repo: MrPeak/sketch-search-everywhere


text:
i am failed to generate Multilingual pdf file?

I am trying to generate pdf from  Urdu text html form. It's failed to generate it.. but only shows me some uni code characters...
Please help me.

Hey and thanks for posting this! This issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.

authors: arasabbasi yasirkhanmkd

repo: MrRio/jsPDF


text:
Suggestion: Add lower water consumption for certain clothing

Barring adding stillsuits as a new item of clothing I'd suggest patching power armor to reduce the water fall rate, as it could have the ability to recapture water even on non-desert planets imo.
It would also be cool to have a thirst multiplier for clothing/non-clothing.
Same could work for sleeping in tents.

Already planned, the armour immortus is wearing has this feature.

Reopening, I like the idea that it might give togas, burqas, dusters, etc, a slightly reduced water rate. Will add a "stillsuit" style addition that gives decent water bonuses, but with drawbacks elsewhere, like water, or vulnerability to emps

authors: MrSamuelStreamer Tilaxx

repo: MrSamuelStreamer/WaterFlavourPack


text:
[ADD] Composer Switch

Issue: some dialog like language installation seems having the button -> need to prevent dialog that is not log-note/message

POC Cancelled, feature added in Odoo 17.2

authors: GaetanVandenBergh MrSweeter

repo: MrSweeter/vigilant-potato


text:
Added new app 'AIChatbot'

Type of change

[x] Added new project
[ ] Bug fix
[x] New features
[ ] Enhanced documentation

Changes proposed in this pull request

Project name : AIChatbot

Short description : Personal assistant similar to ChatGPT. This is my contribution towards #hacktoberfest2023.

Why is this project awesome?
• Fun to make. Fun to use.
• README.md has detailed steps on how to use the app.
• I have enlisted app features on README.md. So check it out.
• It comes with a user registration and authentication system.
• It also saves a user's chat history with AlBot.

Checklist

[x] The code is Python 3 compatible
[x] I have added relevant comments in my file to make code understandable
[x] I have added my project in a folder which includes all the necessary files

Dropping in to check for code review comments.

Remove ds_store files

authors: Mrinank-Bhowmick Shailaputri


text:
卡片布局问题

看你的DEMO，卡片高度不一致时，会出现大片留白(但看你的截图是等高等宽的).
是否是瀑布式布局出现问题。

能有详细的效果截图么？

应该是因为多行省略不兼容的问题，能问下你用的浏览器及版本吗，后面会对这个兼容问题做修复

firefox 56.0(32位)下会出现该问题；chrome没问题

edge同样也会出现该问题

兼容bug已修复

authors: BruceYuj Mrminfive

repo: Mrminfive/hexo-theme-skapp


text:
Multiline + Immediate Textfield teleports cursor to end when typing quickly (server only)

Bug type
Component
Component name
MudTextField
What happened?
When typing quickly in a multiline textfield with immediate="true", the cursor teleports to the end of the field and any further typing occurs here. This only seems to happen on blazor server, likely due to latency.
Expected behavior
The cursor should remain in the middle of the textbox.
Reproduction link
https://try.mudblazor.com/snippet/QOQbkXRuoWBQtlQu
Reproduction steps

Open the try.mudblazor above
Copy the text into a blazor server project
Click in the middle of the default string and type quickly.
Your cursor will teleport to the end.

Relevant log output
No response
Version (bug)
5.1.5
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On what operating system are you experiencing the issue?
Windows
Pull Request

[x] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@henon it look like suppress

Yep, when I fixed the input update problem with two-way bindings on immediate inputs I forgot the multiline text boxes which use a textarea tag internally instead of an input tag.  I found the bug. but now a test is failing. will need a bit more time

Got the tests working again too. PR: #2926

authors: Mr-Technician henon mckaragoz

repo: MudBlazor/MudBlazor