[Bug] KeypressOSD bugs

1. Summary
Sometimes I get bad quality GIFs use ScreenToGIF if I record GIF with KeypressOSD AutoHotkey script.
2. Expected behavior
Good GIF quality.
3. Actual behavior

Project,
ScreenToGIF encoder — I see nice image in my local PViewer program, but image nod displayed in any web hosting.
System encoder — nice image, but 150MB. Image hostings don't support very large images.
Legacy — bad quality:

4. Steps to reproduce
I record and edit my GIF → I save my GIFs in different encoders → I get actual behavior.
5. Environment
Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
ScreenToGIF:
<IP_ADDRESS>115
KeypressOSD:
2.10
Thanks.

The gif (from the ScreenToGif encoder) plays nicely on the link that you shared.
The gif (from the Legacy encoder) fails to render because the color being changed is close to the default dummy color (a color that will be represented as transparent), lime green.
I downloaded the project so I can debug it. Thanks.

I was able to identify and fix this bug. It happened because the encoder was set to use a dummy color, but it could not find when the perfect rectangle was introduced in a frame with no other pixel modification.
When failing to find the dummy color in the color map, the index 0 was set as transparent. That killed the red color in the example project.

The gif (from the ScreenToGif encoder) plays nicely on the link that you shared.

@NickeManarin, http://i.imgur.com/wQwsoWR.gif image successfully open for me in Chrome and Opera, but don't open in Firefox 51.0.1 (64-bit).
The problem reproduced for me in Safe Mode and in Firefox without plugins and user settings.
Firefox bug?
Thanks.

@Kristinita Working alright with Edge.

@NickeManarin , is it Firefox bug or ScreenToGIF encoder bug?
The problem reproduce for me in other file, which I get in ScreenToGIF encoder:

Project: http://jmp.sh/32AvhlU,
GIF: http://i.imgur.com/V3axgYT.gif.

GIF not open in Firefox.
Thanks.

Looks like a Firefox bug. If you open that gif on Firefox, press F12 to open the developers tool, go to the Network tab, refresh the page to detect the GET command.
Hover the cursor on top of the thumbnail of the GET entry, you can see that the gif plays nicely.

Bugzilla@Mozilla Bug 1338551.
Thanks.


Create slide deck to tell the story of Exit this Page

What
Create a slide deck to be presented in the hackathon.
Why
To explain to participants;

where the contribution originated
user personas
research findings and iterations

This can also be re-used / added to for future show & tells.
Who needs to work on this
TBC
Who needs to review this
Ciandelle, Katrina
Done when

[ ] Slide deck created
[ ] Reviewed

Hey there! Do we know if this is unblocked now and back in progress?


Handle when invalid channel id is specified

Trello card
Trello-3051
Context
Our on-campus events provide a channel= query string parameter (by way of a QR code/URL). If the channel is invalid we currently show an unhelpful error message.
Whilst it shouldn't be possible for users to encounter this scenario, if the QR code author makes a mistake it could lead to
the user running into it.
Handle the error more gracefully and provide the user with a way of continuing.
Changes proposed in this pull request

Handle when invalid channel id is specified

Also fixes a bug whereby the channel ID was dropped if the user hits a validation error on the identity step.
Guidance to review

@ethax-ross The error message makes more sense now :-)
What I don't quite understand is why we need the notification banner when clicking on the error message link effectively resets the form as well? Does it not clear the channel id?

I still don't quite understand this @ethax-ross
Clicking on the two links takes you to two different screens? Why do we need both?

@gemmadallmandfe oh I see -- so we can't change the link (at least easily) in the validation message so that's why we need the notification; but I see what you mean we may as well just not show the validation error -- I'll updated that.

This looks fine to me as far as I can tell!
Tested as follows:
sub_channel - used a query string with a sub_channel and went through the TTA funnel to completion
channel - used a query string with an invalid channel and went through the TTA funnel to completion


fix: Fix GraphQL 16 upgrade

Upgrade to GraphQL 16 was failing because referencing the property isDeprecated which doesn't exist anymore on GraphQLField.

removed reference to this property since it was used only to take it out from a field object
fixed unit tests to new GraphQL signature
updated Apollo dev dependency

Any updates?

Hello, we need this in production please, @maticzav @giacomorebonato 😢.
Thanks!

Still no updates?

I fixed conflicts, but I don't have time to test it at the moment.

I would love this to be released - I'd be happy to help with testing if there's any way I can be useful

Any updates?

Anybody?

We ended up removing graphql-middleware and replaced it with resolver composition from graphql-tools:
https://www.graphql-tools.com/docs/resolvers-composition
Works well and seems to be maintained.

Very nice, thank you @sandromartis

Closing this. I believe @sandromartis found the best solution.

@giacomorebonato does that mean this project is officially no longer maintained?

https://www.graphql-tools.com/docs/resolvers-composition

do you have an example how to port from graphql-middleware to https://www.graphql-tools.com/docs/resolvers-composition because it's not immediately obvious to me


[WFLY-9308] Fixing wrong license info for jboss-saaj-api_1.3_spec

Related Jira: https://issues.jboss.org/browse/JBEAP-11428
Related PR: https://github.com/jbossas/jboss-eap7/pull/2348

Can one of the admins verify this patch?


Openstack images are not synced correctly

Some race conditions remain in images fetching logic.

In fact only one region data is saved.


iPhone and iPad often drop Wi-Fi connection

100% lost while/after uploading a large file, e.g., upload movies to dropbox from iPhone

Reassoc every 1 minute on iOS/iPadOS
Also reproduced on Android (every 2-3 minutes) and Ubuntu (> 10 minutes)
Sep 07 19:08:04 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:08:04 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:08:04 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:08:04 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: associated
Sep 07 19:08:04 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 RADIUS: starting accounting session 7B41E5189341C87A
Sep 07 19:08:04 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 WPA: pairwise key handshake completed (RSN)
Sep 07 19:09:05 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:09:05 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:09:05 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: associated
Sep 07 19:09:05 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 RADIUS: starting accounting session 0D47F6673435BB3B
Sep 07 19:09:05 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 WPA: pairwise key handshake completed (RSN)
Sep 07 19:10:05 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:10:05 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:10:06 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: associated
Sep 07 19:10:06 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 RADIUS: starting accounting session DE3F87818E432416
Sep 07 19:10:06 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 WPA: pairwise key handshake completed (RSN)
Sep 07 19:11:06 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:11:06 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:11:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: associated
Sep 07 19:11:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: associated
Sep 07 19:11:08 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 RADIUS: starting accounting session BB4CCBF5A497708F
Sep 07 19:11:08 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 WPA: pairwise key handshake completed (RSN)
Sep 07 19:12:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:12:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:12:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: disassociated
Sep 07 19:12:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 IEEE 802.11: associated
Sep 07 19:12:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 RADIUS: starting accounting session E98E618C5F9EC678
Sep 07 19:12:07 vsixpi hostapd[391092]: wlan0: STA d8:1c:79:0d:71:66 WPA: pairwise key handshake completed (RSN)

Make sure to disconnect all accessories from your iPhone and remove the protective case.
Make sure to update your iPhone system to the latest version. (Important: Please back up your iPhone before updating the system.)
Make sure that the apps you install are from the App Store and have been updated to the latest version.
Make sure there are no potential Wi-Fi and Bluetooth interference nearby.
If you have installed a Wi-Fi assistant app, please be sure to uninstall the relevant app and see if the problem persists.
Try restarting your router and your cable or DSL modem.
Try force closing all background apps and then restart your iPhone.
Tap Settings > General > Reset > Reset Network Settings. This will restore your Wi-Fi network and password, cellular settings, and your previous VPN and APN settings.
Tap Settings > General > Reset > Reset All Settings. Your iPhone will restart and all settings will be removed, but no data or media will be erased.
If possible, try changing to a different Wi-Fi network environment to see if the problem persists.


Machine rename support

[x] read the CONTRIBUTING guidelines
[x] raised a GitHub issue or discussed it on the projects chat beforehand
[ ] added unit tests
[ ] added integration tests
[ ] updated documentation if needed
[ ] updated CHANGELOG.md

Changes:

Machines can have nicknames
If nickname is set, it overrides Machine Name and new name will be used instead
Added nickname on nodes list output
New command nodes rename sets and clears nickname

Thanks for the feedback. But, that's the point of the nickname field. It's a new field and can only be set by cli (or api). When set, it overrides machine name. When cleared, machine name is used. So, enable autogenerate machine name checkbox functionality is there.

Well, db.AutoMigrate(&Machine{}) already does that, right? During my tests, column appeared as soon as I run the executable.

Closing this in favour of #560


Create Your Own Blog About Protocol Roles

Create Your Own Blog About Protocol Roles
🚀 Goal
We want you to share what you've learned about protocol roles in your own blog post.
🤔 Background
This issue focuses specifically on creating a blog post to teach others about Web5 protocol roles. Your contribution here will help developers learn about this topic!
🤝 How You Can Contribute
We've broken it down into smaller tasks. Every contribution counts!
🔑 Tasks and Acceptance Criteria
❗You must only assign yourself one task at a time to give everyone a chance to participate.❗
You may assign yourself your next task after your current task is reviewed & accepted.

[ ] You must host your content on your own website or channel.
[ ] Add your content information directly to the site/src/externalContributors.json file in the repository.
[ ] Save your image in the site/static/image/external-contributor/ directory, ensuring the image is in a 16:9 ratio.
[ ] Create a pull request with your changes for review.
[ ] Link your submitted PR in a comment here to count towards Hacktoberfest.

Your contribution in externalContributors.json must include:

[ ] Type: Video, Blog, Social (please choose the appropriate one)
[ ] Thumbnail: the path to your image, e.g., /img/external-contributor/yourimage.png
[ ] Title: the title of your content
[ ] Link: a direct link to your content
[ ] Your name

Here’s an example of the JSON format to follow:
[
    {
        "type": "blog",
        "thumbnail": "/img/external-contributor/yourimage.png",
        "title": "Exploring Web5",
        "link": "https://linktoyourcontent.com/web5-post",
        "contributor": "Your Name"
    }
]

Available type options:

Video
Blog
Social

🌟 Resources

[] Web5 Protocol Roles Guide
[ ] Our Blogs
[ ] Our YouTube channel

Getting Started
This content task is part of Hacktoberfest! We welcome contributions from creators of all skill levels. Here's how you can get started:

Read the contribution guidelines
Read the code of conduct
Choose a content-specific task from the list above
Comment ".take" on the corresponding issue to get assigned the task
Fork the repository and create a new branch for your work
Make your changes and submit a pull request
Wait for review and address any feedback

Questions?
If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

Please assign this task to me as a part of Hacktoberfest 2024.

.take

@taniashiba Please review the linked PR. Your feedback is highly appreciated. Thank you!


decouple sql statement parser from sql.nvim

:D what if the string passed has single quote? should it replace it with '', bind should gsub("'", "''") ... what else do we need to check for?

:D what if the string passed has single quote? should it replace it with '', bind should gsub("'", "''") ... what else do we need to check for?


JS-YAML: named tag handle cannot contain such characters at line 23, column 24

My PostGIS database requires a password with exclamation points (!). I got this error when I went tried to save my datasource, with text indicating that the ! character in my database password was the offending character. I am not the database owner and would prefer not to change my password anyway.

Take a look at the Note: Protecting your PostGIS password section at https://www.mapbox.com/tilemill/docs/guides/postgis-work/ which gives the details on using .pgpass to avoid having to manually set the password.


Resolve LGTM alert: automated semicolon insertion

Added semicolons to resolve LGTM alert: automated semicolon insertion
See LGTM alert snapshot for details

thanks!


Update Rufio version:

Issue #, if available:
Description of changes:
This version has the provider options feature.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


Distribute package as a universal wheel

Wheels are the modern standard of Python distribution
Advantages of wheels:

Faster installation
Avoids arbitrary code execution for installation by avoiding setup.py
Allows better caching for testing and continuous integration
Creates .pyc files as part of installation to ensure they match the
Python interpreter used
More consistent installs across platforms

When you'd normally run python3 setup.py sdist upload, run instead python3 setup.py sdist bdist_wheel upload.
For more details, see:
https://pythonwheels.com/

I have been told that setup.py upload is deprecated, and that uploads should be done using twine instead.
But I think I could leave off upload and the command would give me an obvious file to upload with twine.

Yup, you can use twine to upload the wheel as well.


Layout settings documentation

I haven't found any documentation for the layout settings, like the format text label option ({song},{album} etc.) Maybe add this to the github wiki/ as a separate txt file?

There is no help system right now in the app which I need to add. For the format options, I'll add a wiki page but right now in the app, if you hover over the label for the format there will be a tooltip.


Mac: Can't go fullscreen when opened from terminal

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:13:05.928Z)
OS Version: Darwin x64 16.7.0
Extensions:

Extension
Author
Version

vscode-clock
Compulim
0.0.1

gitflow4code
GreatMinds
0.0.5

vscode-docker
PeterJausovec
0.0.16

python
donjayamanne
0.6.5

git-project-manager
felipecaputo
1.3.2

vscode-nginx-conf-hint
hangxingliu
0.0.3

Go
lukehoban
0.6.62

vscode-nginx
shanoor
0.3.1

vim
vscodevim
0.8.6

vscode-todo-highlight
wayou
0.5.5

If VSC is not already open and is opened from the terminal, clicking the fullscreen button or command-ctrl-f or command-k z beeps and doesn't go fullscreen. If on the other hand it is already open in the background, it works.
Steps to Reproduce:

Open from the terminal: code .
Try to go fullscreen

@darkermatter tmux?

yes

@bpasero I just tried outside of tmux and it works as expected. Anyway, why should that make a difference to a GUI process?

Read https://medium.com/@joaomoreno/persistent-terminal-sessions-in-vs-code-8fc469ed6b41

@bpasero Thanks for the link! That's a game changer


Picks up Windows USERNAME instead of the variable from env

As the title says, this happens on Win10. unset USERNAME doesn't do anything on Windows. I think it is a better solution if you change the name of the variable for the username, or add a clause to README on how to do this on Windows.
Thank you for an awesome work which I have yet to get it to working. lol
Meanwhile, I am going to give this a shot on WSL

Yeah, I'll have to change the variables names - I haven't done it since it would be a breaking change.
I haven't used Windows, but apparently you can use set USERNAME= to temporarily unset the environment variable (according to StackOverflow anyway). I don't have a Windows box to test this, but maybe give this a shot?

I was just trying that. It was able to login but it died with this message:
Error: UrlError(RelativeUrlWithoutBase)
Same issue on WSL Ubuntu. I will put the stdout here:
[2021-02-20T18:35:46Z INFO  reddsaver] Starting data gathering from Reddit. This might take some time. Hold on....
[2021-02-20T18:35:48Z INFO  reddsaver::user] Number of items processed : 100
[2021-02-20T18:35:51Z INFO  reddsaver::user] Number of items processed : 200
[2021-02-20T18:35:53Z INFO  reddsaver::user] Number of items processed : 300
[2021-02-20T18:35:54Z INFO  reddsaver::user] Number of items processed : 367
[2021-02-20T18:35:54Z INFO  reddsaver::user] Data gathering complete. Yay.
Error: UrlError(RelativeUrlWithoutBase)

It seems to have encountered an invalid URL. could you prefix the command with RUST_LOG=debug and share the output log here or on pastebin? (It might contain sensitive data, so please mask them before commenting). Thanks!

I think it errors out trying to resolve a domain. I will add the last bit of the log here.
[2021-02-20T19:04:25Z DEBUG hyper::client::connect::dns] resolving host="i.imgur.com"
[2021-02-20T19:04:25Z DEBUG reddsaver::download] Subreddit VALID: DIY present in "DIY"
[2021-02-20T19:04:25Z DEBUG reddsaver::download] Subreddit VALID: Windows10 present in "Windows10"
[2021-02-20T19:04:25Z DEBUG reddsaver::download] Subreddit VALID: InternetIsBeautiful present in "InternetIsBeautiful"
[2021-02-20T19:04:25Z DEBUG reddsaver::download] Subreddit VALID: raspberry_pi present in "raspberry_pi"
[2021-02-20T19:04:25Z DEBUG reqwest::connect] starting new connection: https://v.redd.it/
[2021-02-20T19:04:25Z DEBUG reddsaver::download] Subreddit VALID: somethingimade present in "somethingimade"
[2021-02-20T19:04:25Z DEBUG hyper::client::connect::dns] resolving host="v.redd.it"
[2021-02-20T19:04:25Z DEBUG reqwest::connect] starting new connection: https://i.redd.it/
[2021-02-20T19:04:25Z DEBUG reddsaver::download] Subreddit VALID: cyberDeck present in "cyberDeck"
[2021-02-20T19:04:25Z DEBUG hyper::client::connect::dns] resolving host="i.redd.it"
Error: UrlError(RelativeUrlWithoutBase)

I see - I'll have to update to skip downloading on domain resolution failure. Sorry about that - I'll update the ticket once I cut a new release with the fixes.

@dsivasuthan - I just released v0.3.1 with some bug fixes. Can you try now? Thanks!

Perfect, that solved the network failure issue. I will close the ticket but please mention that you have to set USERNAME on Windows on README. Thanks for the quick fix.

Thanks @dsivasuthan - I've updated the README with the windows environment variable troubleshooting step.


deepspeed单机多卡lora 70b oom

Reminder

[X] I have read the README and searched the existing issues.

[WARNING]  async_io: please install the libaio-dev package with apt
[WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING]  Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.4
[WARNING]  using untested triton version (3.0.0), only 1.0.0 is known to be compatible
/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/linear.py:49: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead.
def forward(ctx, input, weight, bias=None):
/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/linear.py:67: FutureWarning: torch.cuda.amp.custom_bwd(args...) is deprecated. Please use torch.amp.custom_bwd(args..., device_type='cuda') instead.
def backward(ctx, grad_output):
Traceback (most recent call last):
File "/root/miniconda3/bin/llamafactory-cli", line 8, in
sys.exit(main())
File "/root/miniconda3/lib/python3.8/site-packages/llmtuner/cli.py", line 75, in main
raise NotImplementedError("Unknown command: {}".format(command))
NotImplementedError: Unknown command: env
root@autodl-container-1c3542b085-2c059f9b:~/autodl-tmp/LLaMA-Factory-0825# FORCE_TORCHRUN=1 llamafactory-cli train examples/train_lora/llama3_lora_sft_ds3-70b.yaml
/root/miniconda3/lib/python3.8/site-packages/torchvision/io/image.py:13: UserWarning: Failed to load image Python extension: libtorch_cuda_cu.so: cannot open shared object file: No such file or directory
warn(f"Failed to load image Python extension: {e}")
[2024-08-29 01:18:17,599] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[WARNING]  async_io requires the dev libaio .so object and headers but these were not found.
[WARNING]  async_io: please install the libaio-dev package with apt
[WARNING]  If libaio is already installed (perhaps from source), try setting the CFLAGS and LDFLAGS environment variables to where it can be found.
[WARNING]  Please specify the CUTLASS repo directory as environment variable $CUTLASS_PATH
[WARNING]  sparse_attn requires a torch version >= 1.5 and < 2.0 but detected 2.4
[WARNING]  using untested triton version (3.0.0), only 1.0.0 is known to be compatible
/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/linear.py:49: FutureWarning: torch.cuda.amp.custom_fwd(args...) is deprecated. Please use torch.amp.custom_fwd(args..., device_type='cuda') instead.
def forward(ctx, input, weight, bias=None):
/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/linear.py:67: FutureWarning: torch.cuda.amp.custom_bwd(args...) is deprecated. Please use torch.amp.custom_bwd(args..., device_type='cuda') instead.
def backward(ctx, grad_output):
08/29/2024 01:18:20 - INFO - llmtuner.hparams.parser - Process rank: 0, device: cuda:0, n_gpu: 2, distributed training: False, compute dtype: torch.bfloat16
[INFO|tokenization_utils_base.py:2287] 2024-08-29 01:18:20,537 >> loading file tokenizer.json
[INFO|tokenization_utils_base.py:2287] 2024-08-29 01:18:20,537 >> loading file added_tokens.json
[INFO|tokenization_utils_base.py:2287] 2024-08-29 01:18:20,537 >> loading file special_tokens_map.json
[INFO|tokenization_utils_base.py:2287] 2024-08-29 01:18:20,537 >> loading file tokenizer_config.json
[INFO|tokenization_utils_base.py:2533] 2024-08-29 01:18:20,801 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
08/29/2024 01:18:20 - INFO - llmtuner.data.template - Replace eos token: <|eot_id|>
08/29/2024 01:18:20 - INFO - llmtuner.data.template - Add pad token: <|eot_id|>
08/29/2024 01:18:20 - INFO - llmtuner.data.loader - Loading dataset suicide_train_data.json...

I have lost everything important to me. All I do is drive my friends away, everything I say hurts them. I can't do anything right. I can't be a good friend. I can't be a good child to my parents. I can't be a good grandchild to my grandma. I can't be a good example for my younger cousins. I can't be a good student for my teachers. I can't be good at fighting games. I can't be good at racing games. I can't be good at art.  I can't even be a good boy because I'm trans. I can't do anything right. I've started to try and starve myself, at least that method is slower and won't be as painful as hanging myself, I'd prefer having access to a gun though, at least that would be quicker, painless, and more deadly. I'd have a better place in heaven, at least I'll be able to see my dad again. All the help I could get doesn't even want to talk to me anymore. I'm a nuisance. I can't do anything right I'm so useless, if I keep starving myself I'll at least be dead by the end of the week. I just want my death to come faster''Because your friends and family would miss you' is not a good reason to keep living.<|eot_id|><|start_header_id|>assistant<|end_header_id|>
behavior<|eot_id|>
label_ids:
[-100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, 56966, 128009]
labels:
behavior<|eot_id|>
[INFO|configuration_utils.py:731] 2024-08-29 01:18:25,299 >> loading configuration file /root/autodl-tmp/LLM-Research/Meta-Llama-3___1-70B-Instruct/config.json
[INFO|configuration_utils.py:800] 2024-08-29 01:18:25,301 >> Model config LlamaConfig {
"_name_or_path": "/root/autodl-tmp/LLM-Research/Meta-Llama-3___1-70B-Instruct",
"architectures": [
"LlamaForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 128000,
"eos_token_id": [
128001,
128008,
128009
],
"hidden_act": "silu",
"hidden_size": 8192,
"initializer_range": 0.02,
"intermediate_size": 28672,
"max_position_embeddings": 131072,
"mlp_bias": false,
"model_type": "llama",
"num_attention_heads": 64,
"num_hidden_layers": 80,
"num_key_value_heads": 8,
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": {
"factor": 8.0,
"high_freq_factor": 4.0,
"low_freq_factor": 1.0,
"original_max_position_embeddings": 8192,
"rope_type": "llama3"
},
"rope_theta": 500000.0,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"transformers_version": "4.43.4",
"use_cache": true,
"vocab_size": 128256
}
[INFO|modeling_utils.py:3641] 2024-08-29 01:18:25,321 >> loading weights file /root/autodl-tmp/LLM-Research/Meta-Llama-3___1-70B-Instruct/model.safetensors.index.json
[INFO|modeling_utils.py:1572] 2024-08-29 01:18:25,322 >> Instantiating LlamaForCausalLM model under default dtype torch.bfloat16.
[INFO|modeling_utils.py:3786] 2024-08-29 01:18:25,322 >> Detected DeepSpeed ZeRO-3: activating zero.init() for this model
[2024-08-29 01:18:25,323] [INFO] [comm.py:637:init_distributed] cdb=None
[2024-08-29 01:18:25,323] [INFO] [comm.py:652:init_distributed] Not using the DeepSpeed or dist launchers, attempting to detect MPI environment...
[2024-08-29 01:18:25,706] [INFO] [comm.py:702:mpi_discovery] Discovered MPI settings of world_rank=0, local_rank=0, world_size=1, master_addr=<IP_ADDRESS>, master_port=29500
[2024-08-29 01:18:25,706] [INFO] [comm.py:668:init_distributed] Initializing TorchBackend in DeepSpeed with backend nccl
[INFO|configuration_utils.py:1038] 2024-08-29 01:18:25,717 >> Generate config GenerationConfig {
"bos_token_id": 128000,
"eos_token_id": [
128001,
128008,
128009
]
}
[2024-08-29 01:18:26,527] [INFO] [partition_parameters.py:345:exit] finished initializing model - num_params = 429, num_elems = 41.65B
[rank0]: Traceback (most recent call last):
[rank0]:   File "/root/miniconda3/bin/llamafactory-cli", line 8, in
[rank0]:     sys.exit(main())
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/llmtuner/cli.py", line 65, in main
[rank0]:     run_exp()
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/llmtuner/train/tuner.py", line 33, in run_exp
[rank0]:     run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/llmtuner/train/sft/workflow.py", line 34, in run_sft
[rank0]:     model = load_model(tokenizer, model_args, finetuning_args, training_args.do_train)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/llmtuner/model/loader.py", line 135, in load_model
[rank0]:     model = AutoModelForCausalLM.from_pretrained(**init_kwargs)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/auto/auto_factory.py", line 564, in from_pretrained
[rank0]:     return model_class.from_pretrained(
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/transformers/modeling_utils.py", line 3798, in from_pretrained
[rank0]:     model = cls(config, *model_args, **model_kwargs)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 506, in wrapper
[rank0]:     f(module, *args, **kwargs)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 1068, in init
[rank0]:     self.model = LlamaModel(config)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 506, in wrapper
[rank0]:     f(module, *args, **kwargs)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 845, in init
[rank0]:     [LlamaDecoderLayer(config, layer_idx) for layer_idx in range(config.num_hidden_layers)]
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 845, in
[rank0]:     [LlamaDecoderLayer(config, layer_idx) for layer_idx in range(config.num_hidden_layers)]
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 506, in wrapper
[rank0]:     f(module, *args, **kwargs)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 634, in init
[rank0]:     self.mlp = LlamaMLP(config)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 506, in wrapper
[rank0]:     f(module, *args, **kwargs)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 230, in init
[rank0]:     self.gate_proj = nn.Linear(self.hidden_size, self.intermediate_size, bias=config.mlp_bias)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 516, in wrapper
[rank0]:     self._post_init_method(module)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 1081, in _post_init_method
[rank0]:     self._zero_init_param(param)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 1040, in _zero_init_param
[rank0]:     param.partition()
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 1375, in partition
[rank0]:     self._partition(param_list, has_been_updated=has_been_updated)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 1524, in _partition
[rank0]:     self._partition_param(param, has_been_updated=has_been_updated)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/utils/nvtx.py", line 15, in wrapped_fn
[rank0]:     ret_val = func(*args, **kwargs)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 1589, in _partition_param
[rank0]:     partitioned_tensor = torch.empty(partition_size, dtype=param.dtype, device=device)
[rank0]:   File "/root/miniconda3/lib/python3.8/site-packages/deepspeed/runtime/zero/partition_parameters.py", line 240, in wrapped_fn
[rank0]:     tensor: Tensor = fn(*args, **kwargs)
[rank0]: torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 448.00 MiB. GPU 0 has a total capacity of 79.14 GiB of which 42.75 MiB is free. Process 666325 has 79.09 GiB memory in use. Of the allocated memory 77.58 GiB is allocated by PyTorch, and 724.51 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
[rank0]:[W829 01:18:27.645524036 ProcessGroupNCCL.cpp:1168] Warning: WARNING: process group has NOT been destroyed before we destruct ProcessGroupNCCL. On normal program exit, the application should call destroy_process_group to ensure that any pending NCCL operations have finished in this process. In rare cases this process can exit before this point and block the progress of another member of the process group. This constraint has always been present,  but this warning has only been added since PyTorch 2.4 (function operator())
Others
No response

我弄52b的模型都报错，oom。 如果用offload，连内存和swap都干爆停止了

160GB的最低要求大概得用zero3+offload

是不是长度太长了。我288G显存只能支持2048，3092显存就干爆了，求回复


frr: upgrade 9.0.1 -> 9.0.2

Upgrade FRR to 9.0.2 and drop all patches as they are included in the release.
Rebase the append to it.

Tested in internal pipeline #69713


Integration Test - Release - 2020/08/10 21:40:23

Auto create for integration test. IssueCommandFlow

@PRMergerTest3 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Unit tests for org service

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

0 of 738 (0.0%)  changed or added relevant lines in 6 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.001%) to 9.527%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

core/organization/mocks/user_service.go
0
46
0.0%

core/organization/mocks/preferences_service.go
0
47
0.0%

core/organization/mocks/authn_service.go
0
58
0.0%

core/organization/mocks/relation_service.go
0
112
0.0%

core/organization/mocks/policy_service.go
0
149
0.0%

core/organization/mocks/repository.go
0
326
0.0%

Files with Coverage Reduction
New Missed Lines
%

core/organization/organization.go
3
0.0%

Totals

Change from base Build<PHONE_NUMBER>9:
-0.001%

Covered Lines:
10619

Relevant Lines:
111461

💛  - Coveralls


[RESOURCE] Citizens' Climate Lobby contact congress

Resource title
Contact congress through Citizens' Climate Lobby
URL
https://citizensclimatelobby.org/get-loud-take-action/
Relevant tags (1 per line)
Contacting representatives
Politics/US
Individual Action
Resource Summary
A website making it easy to to email (or call) your legislators in Congress to push for policy action to address climate change. Featured policies include carbon fee and dividend, clean energy permitting reform, building electrification, healthy forests.
Relevance
No response
Other comments
No response

Thanks for the suggestion! We already have https://citizensclimatelobby.org as a resource (onboarded in issue #21, PR #60). Although the tags and URL before weren't as good as they could be.


Dependency introduced to {myrmidon} package

Using renv::status() {myrmidon} is not shown as not being used so this may be from some dependency code from another package like {NHSRpostcodetools}?

renv removed in earlier PR


Create  decreasing sort

Hi, there i have added some files here

Hey @Abhithecoder-22  so why you have created issue?
Kindly explain.

PR accepted @Abhithecoder-22
Successfully merged to HacktoberFest_22 repo.
🚀🚀👍

@Abhithecoder-22 Need the response?

Thanks

Thanks for the merging my first repo in hactoberfest 2022 . If you have any
other directory where i upload code then tells me.
On Thu, 6 Oct, 2022, 12:14 am Saurabh Kumar, @.***>
wrote:

@Abhithecoder-22 https://github.com/Abhithecoder-22 Need the response?
—
Reply to this email directly, view it on GitHub
https://github.com/py3-coder/Hacktober_Repo_22/pull/217#issuecomment-1268813036,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AY6YJTL7JJIOAGKXOBBW4BTWBXEBNANCNFSM6AAAAAAQ5G6XZA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Das_Geek: Watch maketecheasier.com

Das_Geek requests the watch of the watch_keyword maketecheasier\.com. See the MS search here and the Stack Exchange search here.

maketecheasier\.com has been seen in 3 true positives, 8 false positives, and 1 NAA.

Approved by Makyen in Charcoal HQ


GH-513 Changed casing of headlines

Partially solves #513
Unfortunately this method lower cases words like:

API
ISO
OAuth
OpenAPI
RFC
URL

@whiskeysierra good try, but unfortunately not working that good. We have a number of keywords, that must be capitalized independent of title style, e.g. HTTP, JSON, ...
May be we have to do it manually.


[nextra-theme-blog]: fix Application error: a client-side exception has occurred when invalid date was provided in frontmatter + TESTS

related https://github.com/shuding/nextra/issues/609
Date constructor in some browsers has different behaviour
In chrome follow date is valid:
https://github.com/numToStr/site/blob/8fef54ca4d778515cf94c8b277b1006774dd8a22/pages/blog/lsp-neovim-retrospective.mdx?plain=1#L4

But in Safari

This PR assert frontmatter date to be equal for the following formats:

YYYY-MM-DD
YYYY/MM/DD
YYYY-MM-DD HH:mm
[YYYY-MM-DD]T[HH:mm]

cc @numToStr

This is brilliant! Thanks @B2o5T. I never imagined that the date was the issue, and apparently safari didn't liked that date format.


DuckDB in Pyodide?

Hi,
May I ask please, if there has been an attempt to use the DuckDB Python package in Pyodide? Given that the native code is already ported, there shouldn't a lot if work remaining. No?
Many thanks
Best

Hey, there is quite a bit of work remaining depending on the feature set that you're asking for.
If you'd be searching for a bare-bone duckdb instance without http filesystem, the missing pieces would be mostly porting over the python api to pyodide.
But DuckDB-Wasm ships with a few more components to integrate with the browser apis.
(E.g. something like SELECT * FROM 'http://foo' uses a browser-specific web filesystem and runs in a web worker for synchronus XHRs)
This is significant effort to port since we'd have to interface with the DuckDB-Wasm API from pyodide.

Hello! Have a look here!
https://github.com/pyodide/pyodide/pull/2961
There was also some discussion about this in our Discord in the show and tell section!

This can likely be closed, the path forward is compiling directly duckdb Python bindings within the Pyodide environment.
See https://github.com/duckdb/duckdb-pyodide.
Some lessons from duckdb-wasm are still relevant, mostly since it shaped the code to be compatible with the Web platform.

Relevant: DuckDB is now one of the Pyodide official packages, https://github.com/pyodide/pyodide/pull/4684


Datadog operator CRDs for Pulumi SDK v3

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details
Currently, this package depends on "github.com/pulumi/pulumi/sdk/v2/go/pulumi", which prevents me from using it with an app written with v3.
Should I generate the CRD code on my own?

Hi @dor-utila, I updated the Go dependencies, but found that there are some other problems that have appeared with the code generation since it ran last. I opened https://github.com/pulumi/pulumi-kubernetes-crds/issues/12 to track getting that fixed.
In the meantime, you should be able to generate the datadog bindings on your own using https://github.com/pulumi/crd2pulumi directly.


Webhook type user_update

Hi,
We have a webhook setup for types room_update, recording_update and user_update :

We do receive all room_update and recording_update but we seldom receive user_update. I did not quite find the exact pattern for when we do receive them though.
Here is an example:
We join a user to a new room and redirect him to the room URL
$room = $eyeson->join($user, $room_name, $options);
redirect($room->getUrl());

The user activate is cam and mic and join the room. Stays for 30 seconds, than close the room for all.
The webhooks we receive are as follows:
1- type: room_update
room:
id: consultation-1-production
name: Clinique virtuelle Medicart
ready:
started_at: 2021-02-17T11:23:56.103Z
shutdown:
2- type: room_update
room:
id: consultation-1-production
name: Clinique virtuelle Medicart
ready: 1
started_at: 2021-02-17T11:23:56.103Z
shutdown:
3- type: room_update
room:
id: consultation-1-production
name: Clinique virtuelle Medicart
ready:
started_at:
shutdown: 1
We did not receive any user_update.
Perhaps we receive user_update only with the second user joining ?
Question:
1- Can you specify what action should trigger a user update ?
2- What is the best way to detect when people are leaving the room ?
Thanks!

Thank you for reaching out. Our support team will contact you. The user_update is a legacy method that will not work properly in some cases, we will update our documentations asap.


chore(main): release 1.4.0

:robot: I have created a release beep boop
1.4.0 (2022-09-17)
Features

post-merge新增pull后的分支检测提示 (fed524f)

Docs

修改文档的分支管理描述 (c5ce0b6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/WGrape/posture/releases/tag/v1.4.0 :sunflower:


pgsql Special Sequences aren't escaped

When data contains special sequences, they are not escaped in RelANNIS Output, causing the subsequent import to fail (or probably worse: inject bad code). I've encountered it with \. (Backslash Colon - COPY-END), but I guess it would work with other sequences as well.
Reproducible: Always
Steps to reproduce:

Have data with \. somewere in it (e.g. in a token)
Convert to RelANNIS
Attempt to import

The new escape mechanism in the ANNISModules (https://github.com/korpling/pepperModules-ANNISModules) for the 3.3 import format fixes this.


added num_dig, changed id_col in add_ids

Changes Introduced:

Parameter Customization:

Introduced a new parameter num_digits to allow users to specify the number of digits for the unique IDs.

Improved Default Column Name:

Changed the default column name from Patient_ID to ID to be more generic and widely understood.
Updated the parameter name from column_name to id_colname for better clarity and consistency.

Great functionality added to the function (num_digits) and changing the default column name.


Clarify Installation Requirements to run tests locally

📖 Documentation
To run the tests locally, I had to do a 'full' install, i.e. pip install -e .[full] from my cloned repo and manually install pytest. If this procedure could either be clarified in the contributors document, or a more minimal dev extras section (that includes pytest) could be added to the pyproject.toml, that would be helpful.

@JacksonBurns  would you like to add that to your current PR ?

I'm not sure, is that the intended solution? If some of the dependencies are not required for testing it would be nice to have a minimal dev package, but I don't know enough about molfeat to say.

We use conda mainly to manage our environment and dependencies. I will clarify that, but adding alternative through pip is also a good idea.

https://github.com/datamol-io/molfeat/pull/75 should address this issue.


这个是需要配置openai账号吗

这个错误不太懂
Traceback (most recent call last):
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 69, in map_httpcore_exceptions
yield
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 233, in handle_request
resp = self._pool.handle_request(req)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 216, in handle_request
raise exc from None
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/connection_pool.py", line 196, in handle_request
response = connection.handle_request(
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/http_proxy.py", line 207, in handle_request
return self._connection.handle_request(proxy_request)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/connection.py", line 101, in handle_request
return self._connection.handle_request(request)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/http11.py", line 143, in handle_request
raise exc
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/http11.py", line 113, in handle_request
) = self._receive_response_headers(**kwargs)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/http11.py", line 186, in _receive_response_headers
event = self._receive_event(timeout=timeout)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpcore/_sync/http11.py", line 238, in _receive_event
raise RemoteProtocolError(msg)
httpcore.RemoteProtocolError: Server disconnected without sending a response.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/xqls/app/FunClip/funclip/launch.py", line 251, in
funclip_service.launch()
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/gradio/blocks.py", line 2324, in launch
httpx.get(
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_api.py", line 198, in get
return request(
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_api.py", line 106, in request
return client.request(
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_client.py", line 827, in request
return self.send(request, auth=auth, follow_redirects=follow_redirects)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_client.py", line 914, in send
response = self._send_handling_auth(
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_client.py", line 942, in _send_handling_auth
response = self._send_handling_redirects(
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_client.py", line 979, in _send_handling_redirects
response = self._send_single_request(request)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_client.py", line 1015, in _send_single_request
response = transport.handle_request(request)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 232, in handle_request
with map_httpcore_exceptions():
File "/usr/lib/python3.10/contextlib.py", line 153, in exit
self.gen.throw(typ, value, traceback)
File "/home/xqls/app/FunClip/venv/lib/python3.10/site-packages/httpx/_transports/default.py", line 86, in map_httpcore_exceptions
raise mapped_exc(message) from exc
httpx.RemoteProtocolError: Server disconnected without sending a response.

是的，使用gpt系列模型需要您有openai的账号并且有余额，把api-key配置到对应的位置，用于体验的话可以使用g4f开头的那个模型，他使用了https://github.com/xtekky/gpt4free仓库来免费调用gpt
另外您也可以使用阿里云百炼的apikey来调用qwen系列模型，方法是一样的


ForceSet has been deprecated.Dose anyone fix it?

I got the same problem, an update would help alot


HBASE-15314 Allow more than one backing file in bucketcache

https://issues.apache.org/jira/browse/HBASE-15314

I am unable to attach the patch to the JIRA, so I opened this pull request.


How to construct Vector3

How to construct Vector3?
I've try "new Vector3(x, y, z)" but not working.
Sorry my English is bad.

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

ID: d901daf9-c51f-7ad7-16e2-94576596c244
Version Independent ID: d901daf9-c51f-7ad7-16e2-94576596c244
Content: minecraft/server.Vector3 Interface
Content Source: creator/ScriptAPI/minecraft/server/Vector3.md
Service: minecraft-bedrock-edition
GitHub Login: @JakeShirley
Microsoft Alias: jashir

Hi, I finally found it! Here's the code:
const position = {
                                x: x,
                                y: y,
                                z: z
                            };


App doesn't stop in Visual Studio Code

When running an Avalonia 11 preview 4 desktop app in debug mode from Visual Studio Code, exiting it (the app) will not terminate it. It hangs in one of the threads (it seems). This does not happen if running the app from the command line in debug mode. The app needs to be force closed to be able to shut it down.
To Reproduce, do the following

Create the app-mvvm template-based app
Replace the 0.10.18 references with 11.0.0-preview4
Run it
Close it
It keeps running

Expected behavior: it should terminate the app properly and give back result 0.

OS: macOS Ventura (on Apple Silicon)
Version 11.0.0-preview4
Visual Studio Code 1.73.1

It hangs in one of the threads (it seems)

Can you show the stacktrace of this thread? It's possible on Visual Studio and Rider, not sure about others.

Yes, I can get a stack trace in Visual Studio Code. But: all threads are running, and cannot be paused when exiting the 11.0 app. It can only be terminated. I've tried Rider (2022.3 EAP 8), but the same issue is there as well. All threads are running and cannot be paused.
Maybe someone can check this on Windows? It might be a platform problem.

I wonder if anything else is missing or wrong. I think it would be great if you can share your project with us. So we can check it on our own.


First call of Utils.GetTypedObject is very slow

We have an entity with 182 fields, which can contain different data types in the fields.
Translate the entity to a IDictionary<string, object>, run it through Utils.GetTypedObject which is slow the first time.
static IDictionary<string, object> GetEntityValues(Entity entity)
{
	ExpandoObject entityExpandoObject = new ExpandoObject();
	IDictionary<string, object> entityValues = entityExpandoObject;

	foreach (Field field in entity.Fields)
	{
		entityValues.Add(field.FieldType.Id, field.Data);
	}

	return entityValues;
}

// 10 items
List<Entity> items = GetItems();

// Doesn't make any difference, so it's not a particular item
//items.Reverse();

// Just in case for testing
await Task.Delay(TimeSpan.FromSeconds(5));

foreach (Entity item in items)
{
	IDictionary<string, object> entityValues = GetEntityValues(item);
	Stopwatch stopwatch = Stopwatch.StartNew();
	object itemEntityTyped = Utils.GetTypedObject(entityValues);
	Console.WriteLine($"GetTypedObject3 [{item.Id}]: {stopwatch.ElapsedMilliseconds}ms");
}

Results:
GetTypedObject: 824ms
GetTypedObject: 157ms
GetTypedObject: 149ms
GetTypedObject: 144ms
GetTypedObject: 134ms
GetTypedObject: 145ms
GetTypedObject: 186ms
GetTypedObject: 158ms
GetTypedObject: 191ms
GetTypedObject: 133ms

The first time it always is around 4 times slower. Is Utils.GetTypedObject still needed? Is there any way to let it use a Dictionary instead, or is there some other way we can improve the performance?
I know my work laptop isn't that fast, Intel Core i5-6200U, but it should be faster to convert 182 fields.
Executing the rules itself always is fast, at least no problems there. But, we currently only use like entity.Field == true.
I've created a separate reproduce solution for it. Which strangely is faster than the above stats.
ConsoleApp_20201028_1431_GetTypedObjectReproduce.zip
Started!
Loading values from file...
Loaded values from file
Wait 5 seconds...

@KoalaBear84 GetTypedObject only converts an object if the type is not present(if type of object is expandobject). In the sample that you shared since you convert it to dictionary<string,object> it does not run any type conversion logic and hence is fast.
As for dictionary support, it should support basic use case as you mentioned in v2.1.4+. I will try adding some test case with dictionary<string,object>. Meanwhile you can consider your dictionary<string,object> as a dynamic object and check if it improves performance

Thanks for your reply. I've removed the extra call. Will be tested tomorrow and I'll update this ticket accordingly.

It's tested and the rules work. Strangely there are still some big fluctuations in the ExecuteRule. But that is strange, looks like the issues are a problem from the system, not the Rules Engine. Thanks!


Incorrect departure times when departure time  > 60 mins.

When the departure time is more than 60 mins. in the future, this card displays e.g. "66 minutes" as "6 minutes".

if fixed this in #5  but seems like nobody wants to merge something here. You could use my fork.


Make Bumpmapping Consistent with Displacement Mapping

Describe the bug
Right now per-pixel derivative tangent frame calculation is invariant to UV or position scaling.
Bump scale height should be given relative to modelspace coordinates, i.e. a height of 1.0 should be 1-unit of modelspace coordinates.
Steps to Reproduce
Use Tessellation Shader or Parallax Occlusion Mapping to Displace a surface, compute the normal from per-pixel derivatives of the world space positions.
Compare computed normal with derivative map normal as given by nbl_glsl_perturb functions.
Expected vs observed behavior
Displacement mapped normal should be consistent with derivative map.
P.S.

Schussler postponed.


Class constructor Fe cannot be invoked without 'new'

ERROR:Uncaught (in promise) TypeError: Class constructor Fe cannot be invoked without 'new'
three:r134
three-text-2d:dist/three-text2d.js

has anyone found a fix for this?

Following


Update the ppp documentation

Fixes #67171

"The actual gsm-modem sample was removed earlier [...]" - was it / should it be? AFAIKT it is still there?

Ah, yes. It was deprecated but not yet removed.

"The actual gsm-modem sample was removed earlier [...]" - was it / should it be? AFAIKT it is still there?

Ah, yes. It was deprecated but not yet removed.

so maybe it's also premature to delete doc/connectivity/networking/api/gsm_modem.rst? I will leave it up to decide what you (and maybe @bjarki-trackunit) think is best


Provide the Cobalt App-Dev community examples to help them get started

While helping myself and others to adopt Cobalt, I've felt a need to write an article, or series of articles, that lays out the journey from 'before Cobalt' to 'after Cobalt' for a few typical web apps and micro-service patterns.
Cobalt is under development, but I think it's at a point where such articles would be stable and help others to find their way forward with Cobalt.
Description
As a Cobalt contributor, I'd like to craft what I've learned into some written stories that will help others to understand Cobalt, leverage Cobalt, and contribute to Cobalt.
Acceptance Criteria
One, or more, articles that explain how to build contemporary applications whose infrastructure is managed via Cobalt. Such articles would either need to explain Cobalt, or describe how "advocated patterns," or "templates," are leveraged (preferably across a set of applications).
The stories need to be short enough to be appealing to read (quickly) and just detailed enough to provide a working relationship between the reader and Cobalt.
Tasks

[ ] enumerate existing usages of Cobalt, and derive story ideas from them.
[ ] write some outlines / quick 'sketches' of some of usage patterns, then have the team of contributors and users provide feedback and direction (and writing assistance)
[ ] write stories/articles!

Again, I'd like to keep these short, but valuable.

Closed as dupe of #85


Update mongo-collection-instances dependency

This update fixes a couple issues regarding Mongo.Collection wrapping.

Seems legit


chore: nodejs-hello-world to 0.0.3

chore: Promote nodejs-hello-world to version 0.0.3

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Preview is distorted on mobile

For some reason preview appears vertically stretched on the mobile

Do you have the same problem on the live Parts Tracker?

No, it appears totally fine

Ok. This is probably a bug. I'll check.

I've confirmed the problem occurs with Android Chrome. I can't recreate the problem on any other browser including Chrome iOS and Windows. Since the problem doesn't exist on the live PT (I've confirmed that as well) a fix will have to wait until I reimplement the mobile menu scheme (which is the only real different in the markup between the two PT versions) to see if the problem persists.

Chrome on iOS uses WebKit instead of chromium, which is very likely to be the reason of this difference

This appears to be an Android only problem. I tested on Firefox as well as Google Chrome (Yandex isn't playing with my Android emulator for some reason). Again, once the HTML for mobile menu is restored, this may fix the bug.

Now that the main menu isn't breaking formatting on mobile, this issue appears to be fixed.


Added Document Viewers Section

Hi, I added document viewers section. Also, it can be renamed as PDF readers but they identity themselves as Document Viewer (https://github.com/linuxmint/xreader). It will be nice to have such a section! Thanks

Stuff like "PDF" should not be formatted like hashtags. Please look more carefully at how tagging is used in this document.

ok fixed like Taxi entry.


Update rubocop and reek

Thoughts on this branch name? I've opened about 10 dependency update PRs so far and it usually isn't obvious how to name them uniquely. I think adopting something like update/dependencies/march-2016 might be nice

Thoughts on this branch name?

For dependency upgrades I usually just use something like fix/upgrade-deps. They aren't open for very long, and I don't know if there's a lot of value in naming it something more specific.

For dependency upgrades I usually just use something like fix/upgrade-deps. They aren't open for very long, and I don't know if there's a lot of value in naming it something more specific.

Yeah, branch names are empheral as they are not part of the git repositories history. Github keeps them as metadata, but given the fact we could leave github any time its not worth inflating the amount of information in a piece of data that will not be useful in the future.
All I care about is what happens to the master branch.
Merging anyway, because as I said: the branch name is not as important. Lets go with fix/... as we used in the past.


cherry-pick update the criteria for determining worker nodes

issue： https://issues.redhat.com/browse/ACM-4537

/assign @elgnay

/hold

/lgtm

/unhold


Update Handling-Events

Hey @viren-vii thanks for the suggestion. And thanks for qeighing in @sijusamson.
You don't always want to preventDefault, it depends on the use case. So you "could" do it but you don't necessarily need to.
Going to close, but thanks again!

Hey @viren-vii thanks for the suggestion. And thanks for qeighing in @sijusamson.
You don't always want to preventDefault, it depends on the use case. So you "could" do it but you don't necessarily need to.
Going to close, but thanks again!


Forcing true on .playSegments restricts future playing

If we do something like anim.playSegments([0, 10], true); and then later, after it finishes, try to do something like anim.play() to finish the animation, it does not play.
If we do anim.playSegments([0, 10], true); then later, after it finished, do anim.goToAndStop(0, true); then anim.play(), it only plays until the 10th frame, set by the .playSegments.
The only way to play the rest of the animation as it stands is to use anim.playSegments([10, endFrameNum], true);, essentially overriding the previous (though it is done playing already), which is a pain.
Can .playSegments be improved to where the animation can be finished using .play() after it? And also not restrict playback if an earlier frame is navigated to then played from?

playSegments works as if you were changing the "Work Area" in your composition in AE. So if you're looping or changing the speed / direction or controlling playback it will set the limits.
If you need to reset the segment to the original value, you should use resetSegments or as you suggest, set a new segment to play.

I wasn't aware resetSegments existed! Haha. Maybe that should be in the "Usage" section

But in any case, from a JS animation perspective I expect it to work as I commented above. Maybe both functionalities could be had, changing the name of one?

I think this should be handled with events and play - pause actions, otherwise it might get confusing having two similar behaviors that don't work well together.
I'll have a look into it.

To be more clear, my idea is to have:

A playSegments([start, end], true) which jumps to the starting frame, plays until the end and allows more playing to occur afterwards if later commanded (without resetting)
A setAnimationArea([start, end], true) (or something named similarly) which restricts the play to those frames (likely changing the current play time to the beginning of that section for convenience)

done in the latest release
setSegment(init,end)


The string 'endpoint' is not localized in 'Custom Environments' dialog

Storage Explorer Version: 1.14.0-dev
Build: 20200523.2
Branch: master
Language: All
Platform/OS: Windows 10/ Linux Ubuntu 16.04/ macOS Mojave
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer.
Open 'Settings' -> Application (Regional Settings) -> Select '中文(简体)' -> Restart Storage Explorer.
Open connect dialog -> Select 'Add New Environment' -> Click 'Next'.
Type the environment name and ARM endpoint -> Click 'Next'.
Enter the credentials for an azure account.
Reopen connect dialog -> Select 'Use Custom Environment' option -> Click 'Next'.
Check the string 'endpoint' in the dialog.

Expect Experience:
The string 'endpoint' is localized.
Actual Experience:
The string 'endpoint' is not localized.

Localized on all locales.
File: loc\en\src\Standalone\resources\ConnectDialog.json
ID: 0; "LabelArmEndpoint"
SRC: ARM endpoint:

Verified this issue on build 20200924.2. Reproduce.

This resource no longer exists.


我在Android端用来画百分比进度图，会显示指针，如何去掉它？I'm going to draw progress graph,I'll show the pointer on mobile,how do I get rid of the pointer？

I solved the issue by setting the properties of the pointer , the code as is follows
series:[
   ...
   pointer:{
      width:0
   }
]


Linux D-Bus method for keep.running / keepawake does not lock screen automatically

Affected versions: at least 0.6.0, 0.7.0, 0.7.1
Description:
The D-Bus method used on Linux uses org.freedesktop.ScreenSaver interface, Inhibit method to take an inhibitor lock. This causes the screen not to lock at all, even if using keepawake(keep_screen_awake=False) (wakepy <=0.6.0) or keep.running() (wakepy >=0.7.0).  This is known and mentioned in documentation.
Task
Use some another method on Linux with keep.running(), which only inhibits suspend (and does not inhibit screesaver / screen lock).

I think this can marked as done with https://github.com/fohrloop/wakepy/issues/136 which uses org.gnome.SessionManager for keep.running method. That is "some other method" which unfortunately only supports GNOME. Most probably there will be no single method which would be supported in all Linux operating systems. Will try to add support to all desktop environments one by one. Each desktop environment should be handled in their own ticket.
The org.gnome.SessionManager based keep.running() method will be added in 0.8.0. In the same release, the faulty org.freedesktop.ScreenSaver based keep.running() will be removed.


androidx-migration

I’m having issues migrating to AndroidX

What exactly is the problem you're facing? Did you follow the migration guide?

Yes, I did the Refactor of the android file and migrate to androidx but I'm still stuck in the same issue

Seems like the trouble is with the firestore plugin but, I tried lot of versions and still nothing

Hi @PedroPinto23
Are you using the last version of cloud_firestore plugin?
Does https://github.com/FirebaseExtended/flutterfire/issues/1401#issuecomment-554699228 help?

Thanks! It Worked adding the multDexEnabled true and '  implementation "androidx.multidex:multidex:2.0.0" ' in the dependencies


Any way to make mpos working with new 0.18 Core version?

Trying to figure how to make mpos works with 0.18 core version.
Any progress on that? anyone looking for a fix?
Thanks!

Nvm

The dev branch is working fine here since a few months... Any other test results?
I have just noticed that the payouts script fails to delete the active flag in the DB, happens every 3-5 weeks but I can't get any debugging info for looking at that in an issue. All the rest is stable here.


Opening Web folder // npm install/run/start no visual Reacg

When trying to run on react I am having issues getting the graphic up in the browser, nothing is coming up on deploying it. It says complied successfully, but nothing is coming up. I tried uninstalling, do I need to docker everything first like in the opening read.me? Maybe I am missing something?

Please provide some debug infos such as browser console logs, docker logs. Then I can help.

Here is what is in my console for React;

Hope this helps

I think it's because you the app can't get correct result from node. Are you using localhost ethereum node? If so, have you switched your rpc network to localhost:8545?