Snakebids create enhancements

Proposed changes
Various improvements suggested in #187. I think allowing blank responses bears a bit more discussion but this handles the other three requests.
Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!

[x] Changes have been tested to ensure that fix is effective or that a feature works.
[x] Changes pass the unit tests
[x] I have included necessary documentation or comments (as necessary)
[x] Any dependent changes have been merged and published

Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.

Ok will merge without closing the issue.


Language server not working/Heap out of memory

I am trying to diagnose why my vscode motoko extension has just stopped putting anything like errors/warnings in vscode anymore
I have tried

Changing to multiple older versions of vscode
Changing my source code to when I knew it worked
Restarted my computer

Upon looking I find this error in my output, no matter the cases listed above
Loading packages for directory: /home/gekctek/git/daoball
Running `mops sources` in directory: /home/gekctek/git/daoball
Received: ["--package","base",".mops/base@0.11.0/src","--package","itertools",".mops/itertools@0.2.1/src","--package","datetime",".mops/_github/datetime#28e765bf5bb6b9d75a9416713ab863bea0d4a61f/src","--package","ic",".mops/ic@1.0.1/src","--package","test",".mops/test@1.2.0/src","--package","xtended-text",".mops/xtended-text@0.2.5/src","--package","xtended-numbers",".mops/xtended-numbers@0.2.1/src","--package","icrc3-mo",".mops/icrc3-mo@0.2.3/src","--package","stable-write-only",".mops/_github/stable-write-only#v0.1.0@02e9aac74bdbed86b52ebed985d82b6ef66a76d8/src","--package","map9",".mops/_github/map9#v9.0.1@10b68f6ea8df5e72dfa4c07a50c8bb60a916c233/src","--package","vector",".mops/vector@0.2.0/src","--package","sha2",".mops/sha2@0.0.4/src","--package","rep-indy-hash",".mops/rep-indy-hash@0.1.1/src","--package","encoding",".mops/_github/encoding#v0.4.1@2711d18727e954b11afc0d37945608512b5fbce2/src","--package","base-0.7.3",".mops/_github/base-0.7.3#aafcdee0c8328087aeed506e64aa2ff4ed329b47/src","--package","array",".mops/_github/array#v0.2.1/src","--package","motoko_numbers",".mops/_github/motoko_numbers#v1.1.0@773953141f976ccdfc2e6a2c451b841a53bb39a0/src","--package","cert",".mops/_github/cert#v0.1.3@c403ffec0a60f658a1009976c785aa567ff0da77/src","--package","sha256",".mops/_github/sha256#9e2468f51ef060ae04fde8d573183191bda30189/src","--package","cbor",".mops/_github/cbor#5adf22b177d187d076b222e94b3fdf071b7c0b65/src","--package","sha224",".mops/_github/sha224#82e0aa1a77a8c0a2f98332b59ffc242d820e62cb/src","--package","icrc7-mo",".mops/icrc7-mo@0.3.1/src","--package","candy_0_3_0",".mops/_github/candy_0_3_0#v0.3.0@907a4e7363aac6c6a4e114ebc73e3d3f21e138af/src","--package","stablebuffer",".mops/_github/stablebuffer#v0.2.0@110660769d11ba93c618dc4712525d20503bdc37/src","--package","stablebuffer_1_3_0",".mops/_github/stablebuffer_1_3_0#v1.3.0@acdde6bb5b939227997cebdbb8919d2e6da8691c/src","--package","encoding_0_4_1",".mops/_github/encoding_0_4_1#v0.4.1@2711d18727e954b11afc0d37945608512b5fbce2/src","--package","icrc30-mo",".mops/icrc30-mo@0.3.1/src","--package","ic-certification",".mops/ic-certification@0.1.3/src","--package","random",".mops/_github/random#0a02c4b819fb29eee9b74ebb2e5fd1ccf351206e/src",""]
Package: base -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: itertools -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: datetime -> /home/gekctek/git/daoball/.mops/_github/datetime#28e765bf5bb6b9d75a9416713ab863bea0d4a61f/src (file:///home/gekctek/git/daoball)
Package: ic -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: test -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: xtended-text -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: xtended-numbers -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: icrc3-mo -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: stable-write-only -> /home/gekctek/git/daoball/.mops/_github/stable-write-only#v0.1.0@02e9aac74bdbed86b52ebed985d82b6ef66a76d8/src (file:///home/gekctek/git/daoball)
Package: map9 -> /home/gekctek/git/daoball/.mops/_github/map9#v9.0.1@10b68f6ea8df5e72dfa4c07a50c8bb60a916c233/src (file:///home/gekctek/git/daoball)
Package: vector -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: sha2 -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: rep-indy-hash -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: encoding -> /home/gekctek/git/daoball/.mops/_github/encoding#v0.4.1@2711d18727e954b11afc0d37945608512b5fbce2/src (file:///home/gekctek/git/daoball)
Package: base-0.7.3 -> /home/gekctek/git/daoball/.mops/_github/base-0.7.3#aafcdee0c8328087aeed506e64aa2ff4ed329b47/src (file:///home/gekctek/git/daoball)
Package: array -> /home/gekctek/git/daoball/.mops/_github/array#v0.2.1/src (file:///home/gekctek/git/daoball)
Package: motoko_numbers -> /home/gekctek/git/daoball/.mops/_github/motoko_numbers#v1.1.0@773953141f976ccdfc2e6a2c451b841a53bb39a0/src (file:///home/gekctek/git/daoball)
Package: cert -> /home/gekctek/git/daoball/.mops/_github/cert#v0.1.3@c403ffec0a60f658a1009976c785aa567ff0da77/src (file:///home/gekctek/git/daoball)
Package: sha256 -> /home/gekctek/git/daoball/.mops/_github/sha256#9e2468f51ef060ae04fde8d573183191bda30189/src (file:///home/gekctek/git/daoball)
Package: cbor -> /home/gekctek/git/daoball/.mops/_github/cbor#5adf22b177d187d076b222e94b3fdf071b7c0b65/src (file:///home/gekctek/git/daoball)
Package: sha224 -> /home/gekctek/git/daoball/.mops/_github/sha224#82e0aa1a77a8c0a2f98332b59ffc242d820e62cb/src (file:///home/gekctek/git/daoball)
Package: icrc7-mo -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: candy_0_3_0 -> /home/gekctek/git/daoball/.mops/_github/candy_0_3_0#v0.3.0@907a4e7363aac6c6a4e114ebc73e3d3f21e138af/src (file:///home/gekctek/git/daoball)
Package: stablebuffer -> /home/gekctek/git/daoball/.mops/_github/stablebuffer#v0.2.0@110660769d11ba93c618dc4712525d20503bdc37/src (file:///home/gekctek/git/daoball)
Package: stablebuffer_1_3_0 -> /home/gekctek/git/daoball/.mops/_github/stablebuffer_1_3_0#v1.3.0@acdde6bb5b939227997cebdbb8919d2e6da8691c/src (file:///home/gekctek/git/daoball)
Package: encoding_0_4_1 -> /home/gekctek/git/daoball/.mops/_github/encoding_0_4_1#v0.4.1@2711d18727e954b11afc0d37945608512b5fbce2/src (file:///home/gekctek/git/daoball)
Package: icrc30-mo -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: ic-certification -><EMAIL_ADDRESS>(file:///home/gekctek/git/daoball)
Package: random -> /home/gekctek/git/daoball/.mops/_github/random#0a02c4b819fb29eee9b74ebb2e5fd1ccf351206e/src (file:///home/gekctek/git/daoball)

<--- Last few GCs --->

[13240:0x611fef0]   102007 ms: Scavenge 4041.0 (4136.6) -> 4038.6 (4137.4) MB, 7.0 / 0.0 ms  (average mu = 0.786, current mu = 0.655) allocation failure;
[13240:0x611fef0]   102016 ms: Scavenge 4042.1 (4137.4) -> 4039.6 (4138.4) MB, 7.4 / 0.0 ms  (average mu = 0.786, current mu = 0.655) allocation failure;
[13240:0x611fef0]   103174 ms: Scavenge 4043.2 (4138.4) -> 4040.7 (4146.4) MB, 1155.7 / 0.0 ms  (average mu = 0.786, current mu = 0.655) allocation failure;

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0xb881c0 node::Abort() [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 2: 0xa92a26  [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 3: 0xd73d50 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 4: 0xd740f7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 5: 0xf51a95  [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 6: 0xf63f0d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 7: 0xf3e65e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 8: 0xf3fa17 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
 9: 0xf20e7a v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
10: 0x12e84bf v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
11: 0x1724e39  [/home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node]
[Info  - 12:11:08 PM] Connection to server got closed. Server will restart.
Loading packages for directory: /home/gekctek/git/daoball

Any help in diagnosing the issue would be appreciated, its slowing down my development to use
My project https://github.com/edjCase/daoball/
main branch

Thanks for the repro link. Everything seems to work on my end, so this might be specific to your system. I'll see if there's any way to reduce the peak memory usage in case that's the root of the issue.
Does this still happen with previous versions of the Motoko extension?

@rvanasa I ran it on my laptop, same repo and i get the same thing with the out of memory and no showing of errors/warnings in vscode, only see them in the CLI when i do a CLI build
I dont think I mention that I am using WSL2 for both of my computers, windows 11

Okay, good to know about WSL. This might just be caused by running out of memory in VS Code. It's possible that other extensions are also contributing to the memory usage, although I'll also try to find ways to improve this next time I get a chance to work on the Motoko extension again.

Some more context
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
gekctek 2433 177 26.9 15365964 4395324 pts/2 Rl+ 09:57 3:09 /home/gekctek/.vscode-server/bin/863d2581ecda6849923a2118d93a088b0745d9d6/node --stack-size=1361 /home/gekctek/.vscode-server/extensions/dfinity-foundation.vscode-motoko-0.16.3/out/server.js --node-ipc --clientProcessId=19163

It seems specifically that the motoko extension is taking up a good chunk of my memory
Going to test with other versions
I feel like there is something with my code that is triggering a bug?

I am testing these out with rebooting my wsl2 instance just to make sure i have a clean slate to test
Changing to different extension versions I know worked like 0.16.0 has the same issue
I switched repositories to https://github.com/edjCase/motoko_random and IT WORKS, in multiple versions including the latest
So it must be a repo specific issue for https://github.com/edjCase/daoball
The question is what, im not sure how to diagnose the specific issue.
Ill try reverting commits again until it works

Ok, 'solved'
I deleted the .dfx and .mops directories and restarted and it is now fine
I always noticed that there is a delay in the extension highlighting when starting up.  So maybe it was just an issue with too many uncleaned mops packages or something?
Is there a lot of analysis going into these?


[DOC] Adding documentation for conjectures

At present, the documentation for conjectures is missing:

https://sphinxcontrib-prettyproof.readthedocs.io/en/latest/syntax.html#conjectures

@AakashGfude just working on a PR for the docs so I will add this.

I think this is just missing an example.

@mmcky example, as well as the definition and syntax, and arguments it takes.

I was looking for a conjecture example on QuantEcon and forgot to include it. Thanks for the improvements @mmcky! I have already merged your changes so I'll go ahead and close this issue.


sse.h: AltiVec optimisation in _mm_cmpneq_ps

Merged, thanks!
I was able to reproduce it; I just forgot to add -qaltivec when we were chatting earlier.  I removed that second cast and added 641d90fa342b7fb5f4ad29996be5cc07c49c715d so it wouldn't try to use that function on xlc.


ActionBootCompleted requires additional permissions

Doc issue description
There may be additional permissions needed for newer Android versions with regards to the boot completed broadcasts:
https://github.com/dotnet/maui/issues/15009
https://developer.android.com/reference/android/content/Intent#ACTION_BOOT_COMPLETED

Broadcast Action: This is broadcast once, after the user has finished booting. It can be used to perform application-specific initialization, such as installing alarms. You must hold the Manifest.permission.RECEIVE_BOOT_COMPLETED permission in order to receive this broadcast.

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin.Forms. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI is the replacement for Xamarin.Forms, and it's documentation can be found here.


Generate new view version without corresponding migration

Consider a scenario where you are changing the name of a column on one of your base tables. That column is referenced in a view, so you need to drop the view, do the rename, and then update the view to the new version. My workflow for this typically goes:

Realize I want to change a name, so generate a migration. Write the rename_column method call.

Run the migration and get an error because the column is referenced in a view.

Run rails generate scenic:view my_view to generate a new version of the view to update.

At this point, I tend to forget that the view generator also generated me a migration. So I manually write my drop_view and create_view statements in my original migration and then get confused when I get errors when I rake db:migrate. The errors are caused by this new migration that I have to manually delete.
Would a flag to the generator (--no-migration) make sense here?

Are you less likely to remember the new migration (which Git informs you of), or the --no-migration flag?

I thought of that as I was writing this. Best response I could come up with was at least I could do rails destroy scenic:view my_view immediately followed by --no-migration.
But I can also use :Rmigration in vim, followed by !rm %.

Even with that, I'd then be getting rid of all of my changes to the view. So forget this. It's a bad idea for my use case.


minijail: init at android-8.0.0_r34

I use it, and it's great.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Missing an entry in pkgs/top-level/all-packages.nix! :)

@GrahamcOfBorg build minijail

@GrahamcOfBorg build minijail


Fix setQueryData crash

Hello!
This PR fixes a bug in setQueryData where it would crash if one attempted to change a query which has not been created yet.
The current change is making this a no-op. However we can probably create the query object here instead and apply the update on it, but I'm not sure what is desired.
I also took the opportunity to write a simple test case for this using Jest. Please point me in the right direction if you find something that you don't feel comfortable with in this change. :)

I wasn't fast enough to push the code, do you think the current implementation is fine, or should I push my new changes to a new PR?
The change done now is absolutely fine for me, but I can think of one case where it would be useful to prime a query prior to it being fetched client-side. If I fetch some data on the server and provide it inlined in the html markup, it can be useful to have a way to use that data instantly when booting the app.

Does the newly added config.initialData work for this use case?

Hi! Yes that do seem to work.


What breaking changes would you like to include in a 2.0 release?

I just released version 1.2.0, which includes the --continue-on-fail flag by @5j9. Working on the release branch, I realized that pip-review is still dragging Python versions from the stone age behind it.
I feel it is time to drop support for deprecated Python versions, i.e., everything below Python 3.7. That is a change that could potentially break some workflows, so it requires a major version upgrade.
As far as I can tell, there are currently no other breaking changes that people have advocated for in the issue list or the pull requests. If you have such an idea, please mention it here. I will leave this ticket open for at least a month or so.

I'd also suggest dropping support  for pip versions earlier than v18.0 (that's about the time Python 3.7 got released).


Big problem in 'ALT+TAB' to switch applications inside of RDP.

Hi.
Well, i have a big problem.
First, sorry for my english, i'm brazilian and don't speak english very well..
My problem is that, when i press 'ALT+TAB', to switch between two applications, for example, two excel documents. When i press the shortcut 'ALT+TAB', the cursor 'lost', then, i cannot keep writing while i don't move the mouse. After i move the mouse,  i 'return to the application', and then, i can writing in the document.
But it just happens when i pressed 'ALT+TAB' fast, if i do it with a interval about 2 seconds, it works.

Looks like a dead issue, closing.
Reopen if still of matter.


the site lists a common at the end of tags

"Fx, Instrument," should be "FX, Instrument"

i think we should try to take inspiration from tonehunt.org and how it presents itself, it does the tags much more cleanly and we can easily take their code as it's MIT

Yes agree comma should not be there.
I do like putting tags as separate chips/pills

Adding to list of enhancements


[BUG] - Parsing XML on specifics unicodes

Repro steps:
boardshelfd-api

run: boardshelfd-api

boardshelfd

use games stub with: 414317 or 293207
run: boardshelfd
goto: /home
check logs (unicode like 0x1F, are not parsable)

this come from the alternatives names (cyrilic/japanese/chinese...)


Refactor(jobs): Hide CP bar when not crafting (#1752)

Description
This PR refactored @Echoring 's previous PR (#1752)

Add count matching
A few changes make it faster in regex matching

Thank @Jaehyuk-Lee for explaining the Korean language grammar.
Note
I have tested in JP/EN/FR.
DE should work, but I am not very sure if there are exceptions what I have not noticed.
Waiting for @Echoring and @Jaehyuk-Lee for testing in CN/KO.
How To Test
Download these two files below and replace your local files in the same path (don't forget to backup your files):
resources/translations.js
ui/jobs/jobs.js

There're quotation marks missing in CN.
It should be “\ue0bb(?<recipe>.*)”

Korean translation looks fine, I didn't try it though.


https://my_domain/repository/foo/bar/foobar, redirect to home page

Hi @kwk
Thank you for your docker-registry-frontend.
when I click the link of the image(foo/bar/foobar:1.0, the address is https://my_domain/repository/foo/bar/foobar), then it redirect to home page.
git revision: bc7a80b (pull V2)
I read the app.js, and I found that the url(https://my_domain/repository/foo/bar/foobar) didn't match the pattern '/repository/:repositoryUser/:repositoryName' .
I thought that the tag of my image is wrong, it should be user/repo_name, so I modify the tag to user/repo_name
, then it works.

I'm seeing similar behavior.  I think what is happening is I am clicking on the link for the image and I am getting an error from the registry so it is shooting me back to the homepage.  Here's my process
-build container called webapp
-tag webapp:latest foo.example.com/webapp:latest (foo.example.com is my priv registry)
-push foo.example.com/webapp:latest
This would show up on the frontend in a heading called webapp with a link called webapp under it.
That link just leads me back to the frontpage.

Currently we only support the registry/namespace/repo scheme. Please don't use registry/repo.

I got it.
Thanks @kwk @stevebannon


Mixed content on https://doc.babylonjs.com/babylon101/lights and broken image

Hi,
There's a mixed content warning on https://doc.babylonjs.com/babylon101/lights because there's a reference to an http image http://doc.babylonjs.com/img/testlight.jpg which should be https. I can fix that in a PR, but there's also a broken image - http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-44-73-metablogapi/4760.image_5F00_thumb_5F00_058CC84D.png - what should that refer to?

Thanks a lot for your help!
You can just remove the broken image for now ;)

I'd failed to notice that there's also a link to http://urbanproductions.com/wingy/babylon/misc/normals03.jpg - that site doesn't seem to support https - is there some other place we could serve this image from?

Yep just store it in public/html/imgs


Porting to ros2

Reopening PR for rqt_plot, after merging into the incorrect target branch.

@brawner @mlautman I wasn't sure what your usernames on answers.ros.org are and if you are watching the tags form these ROS 2 packages. Please consider looking into this report: https://answers.ros.org/question/317532/rqt_plot-crash-when-removing-topic-crystal-devel-branch/

I responded. This is related to these issues:
https://github.com/ros2/rclpy/issues/255
https://github.com/ros-visualization/rqt/issues/181
For reference, my username on answers is just brawner.
On Tue, Mar 5, 2019 at 10:52 AM Dirk Thomas<EMAIL_ADDRESS>wrote:

@brawner https://github.com/brawner @mlautman
https://github.com/mlautman I wasn't sure what your usernames on
answers.ros.org are and if you are watching the tags form these ROS 2
packages. Please consider looking into this report:
https://answers.ros.org/question/317532/rqt_plot-crash-when-removing-topic-crystal-devel-branch/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ros-visualization/rqt_plot/pull/17#issuecomment-469812423,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA_x-nRiB2OvlHsy_eWpbBRTgypY11-Kks5vTr0FgaJpZM4ZL9wq
.

mine is mlautman


cbs.com not working

cbs.com not working
http://www.cbs.com/shows/the_price_is_right/video/UOUHoGVTfYukdfndZFGiFe_wJF2TDSZ7/the-price-is-right-3-21-2016/

Will be fixed in a upcoming release: https://github.com/rg3/youtube-dl/issues/8893

This issue is already fixed and fix will be incorporated in the next version of youtube-dl.

You guys rock. Much appreciated.


Create Enum Value for fields Parameter of /annotation Endpoint, Improve Swagger Doc

Create enum value AnnotationType and use it in place of the String type
Refactor all function definitions
Improve api docstrings by showing all valid values in the fields parameter
Remove -XX:MaxPermGen argument from surefire configuration (there is no PermGen memory in the JVM anymore.. has been that way for a long time, I assume this is old copy pasta and on newer JVMs it actually prevents tests from running, for JVM 8 it gives a warning that this argument has no effect)

@jeffquinn-msk I was wrong. Seems like tests are actually passing for other PRs currently. See, for example, #681. I will investigate further why this one is consistently failing.

@jeffquinn-msk I think I figured out why tests are failing. This PR changes the way the endpoints handles the fields param. Somehow it cannot handle lowercase values anymore.

The tests are still using the values of the enums. For example, see https://github.com/jeffquinn-msk/genome-nexus/blob/2d9aacf036e1ba66bdc483b02959dedd29fde2db/web/src/test/java/org/cbioportal/genome_nexus/web/AnnotationIntegrationTest.java#L39. That is annotation_summary instead of ANNOTATION_SUMMARY for this example.
We should fix this by allowing both lowercase and uppercase values before merging this PR. That is the current behavior in production anyway.

@jeffquinn-msk Do you think you'll have time to improve this PR so that we still allow case insensitive input for fields?


Font resize lost after re-focusing the terminal window

Windows Terminal version
1.11.2921.0
Windows build number
No response
Other Software
No response
Steps to reproduce
Ctrl+mouse scroll up or down can resize the fonts in the terminal window.
Expected Behavior
In previous versions, the fonts stayed resized when the focus was returned to the terminal window.
Actual Behavior
When the focus is returned to the terminal window after some time has passed, the font size reverts to default. Doesn't happen EVERY time, which makes this undesired change all the more weird. Possibly there's now a condition that I haven't been able to spot when this actually happens.

Are you using any sort of IME? Or do you have an unfocusedAppearance set?
I suspect that this is related to #11522

Are you using any sort of IME? Or do you have an unfocusedAppearance set?

No.

I suspect that this is related to #11522

Indeed it is, thanks! I realized this only happens after I switch the keyboard language (Alt+Shift).

@zadjii-msft I've now installed this version and it doesn't have this issue so I'll stick with that until this bug is resolved.
https://github.com/microsoft/terminal/releases/tag/v1.9.1942.0

Okay super, thanks for confirming! /dup #11522


Restore Laravel 5.1 LTS compatibility

Tying this again...  I believe it really is this simple, it is working fine for me.  All tests are passing under 5.1 (have to force composer to install it—it looks like it is possible to automate this in Travis.)
Please let me know if you can think of anything I've missed here.

Thanks! I'll add this in for now. Be warned however that I'm likely to drop 5.1 support again if it makes introducing a new feature difficult.

No problem.  Hopefully I'll have been able to upgrade by the time that happens, but feel free to ping me and I'll see if I can't contribute another fix.


Collect Data in a specific period (Since - Until)

Hi there,
is it possible to collect pictures (and metadata) only from a specific period?
For example all the pictures of the last year with a specific hashtag.
P.s. is it possible to collect just metadata (+comments; geotags etc) without downloading all the pictures?
Best
P

Hi,
you can play around with dropwhile and takewhile from itertools like in the following snippet:
from datetime import datetime
from itertools import dropwhile, takewhile

import instaloader

L = instaloader.Instaloader()

posts = L.get_hashtag_posts('milfgarden')
# or
# posts = instaloader.Profile.from_username(L.context, PROFILE).get_posts()

SINCE = datetime(2015, 5, 1)
UNTIL = datetime(2015, 3, 1)

for post in takewhile(lambda p: p.date > UNTIL, dropwhile(lambda p: p.date > SINCE, posts)):
    print(post.date)
    L.download_post(post, '#milfgarden')

Hi! I tried out that feature (copy pasted the code, changed the hashtag and dates, and ran the script)  and I get nothing, i.e. I do not get any error message and the script seems to have ran but I also do not get any results.

Hi, I have the same error as stagenam3, I get nothing when I change the dates and the hashtag. If I change the hashtag only, still nothing. What can I do to get results?

Same problem here. It does nothing after you run the code like the code has finished conducting.

I get a problem, 429 Too Many Requests, how I can resolve it?

Hi,
you can play around with dropwhile and takewhile from itertools like in the following snippet:
from datetime import datetime
from itertools import dropwhile, takewhile

import instaloader

L = instaloader.Instaloader()

posts = L.get_hashtag_posts('milfgarden')
# or
# posts = instaloader.Profile.from_username(L.context, PROFILE).get_posts()

SINCE = datetime(2015, 5, 1)
UNTIL = datetime(2015, 3, 1)

for post in takewhile(lambda p: p.date > UNTIL, dropwhile(lambda p: p.date > SINCE, posts)):
    print(post.date)
    L.download_post(post, '#milfgarden')

I can get a result from that code, but when I changed a hashtag and date, I get an error, 429 Too Many Requests.

I have the same problem, I do not get the requests specified in the code and, when the process finishes, a KeyError: 'query_hash'
What is happening?

This is the correct way about this:
from datetime import datetime
import instaloader

def gen(start, end, posts):
    for post in posts:
        if post.date > start and post.date > end:
            pass
        elif post.date >= start and post.date <= end:
            yield post
        elif post.date <= start:
            break

L = instaloader.Instaloader()
profile = instaloader.Profile.from_username(L.context, "instagram")
posts = profile.get_posts()

for post in gen(start=datetime(2020, 11, 27), end=datetime(2020, 11, 30), posts=posts):
    print(post)

Note, however, that end is not inclusive, and start is inclusive. This because end (as in the example) is technically considered datetime.datetime(2020, 11, 30, 0, 0), or 11-30-2020 at 00:00:00, which means a post at 11-30-2020 15:00:00 would not be included.

Added this feature for use out-of-the-box in #898.

The below code works for me to get the posts from the last 7 days.
import instaloader
import datetime
import time
import csv
from pathlib import Path
from datetime import datetime, timedelta
from itertools import dropwhile, takewhile

def getposts_sevendays():
    loginuser = input('Enter Login User Name: ')
    loginpwd = input('Enter Login password: ')

    instanter = instaloader.Instaloader()
    # User need to login to his own account before accessing other followed/Public profiles.
    instanter.login(loginuser, loginpwd)

    fpath = Path('insta.csv').absolute()

    username = []
    with open(fpath, newline='') as f:
        for i in csv.reader(f):
            username.append(i[0])

    for user in username:

        posts = instaloader.Profile.from_username(instanter.context, user).get_posts()

        since = datetime.today()

        until = since - timedelta(days=7)

        for post in takewhile(lambda p: p.date > until, dropwhile(lambda p: p.date > since, posts)):
            print(post.date)
            instanter.download_post(post, user)

        time.sleep(60)

from datetime import datetime
from itertools import dropwhile, takewhile

import instaloader

L = instaloader.Instaloader()

posts = instaloader.Profile.from_username(L.context, "instagram").get_posts()

SINCE = datetime(2015, 5, 1)
UNTIL = datetime(2015, 3, 1)

for post in takewhile(lambda p: p.date > UNTIL, dropwhile(lambda p: p.date > SINCE, posts)):
    print(post.date)
    L.download_post(post, "Instagram")

when running this code I get an error that is
TypeError: can't compare offset-naive and offset-aware datetimes
at line
for post in takewhile(lambda p: p.date > UNTIL, dropwhile(lambda p: p.date > SINCE, posts)):

when running this code I get an error that is
TypeError: can't compare offset-naive and offset-aware datetimes
at line for post in takewhile(lambda p: p.date > UNTIL, dropwhile(lambda p: p.date > SINCE, posts)):

Thanks! This has been fixed with version 4.8.4.

Just going to add to this for those that might run into the problem I did. The solution here does not always work when trying to get posts from the last X days, so between now and sometime in the past, this is because pinned instagram posts come first in the list of posts regardless of when they were posted. So if the first pinned post is further in the past compared to your UNTIL date i.e p.date > UNTIL evaluates to False, then no other posts are returned even if they are more recent.
I modified @synchronizing's generator function above to what's below and it worked for me, unfortunately the is_pinned property for a pinned post I was testing with was returning False (the documentation actually warns about this, https://instaloader.github.io/module/structures.html#instaloader.Post.is_pinned) so I have to always check 3 extra posts to make sure that I am not skipping posts that are in the time range I want.
MAX_NUMBER_OF_PINNED_POSTS = 3

def post_generator(start_time, end_time, posts):
    pinned_posts_counter = 0
    for post in posts:
        if post.date_utc > start_time and post.date_utc > end_time:
            pass
        elif post.date_utc >= start_time and post.date_utc <= end_time:
            yield post
        elif post.date_utc < start_time:
            if pinned_posts_counter < MAX_NUMBER_OF_PINNED_POSTS:
                pinned_posts_counter += 1
                continue
            else:
                break

I was wrongly assuming (probably most people are as well) that the posts are always sorted in chronological order starting with the most recent ones, found out the hard way that that's not always the case haha, but anyway hope this helps someone.


Support interpreting ELF program headers

Structures for the 64- and 32-bit program headers added in ee71853242647f0c31f0e4dd4c12fbbd3e483d44 and cc3f38afdc6b042cbf453bcd43ac325536f86d1b.


[#177050508] Added doc for alert silences

Signed-off-by: Dana Pruitt<EMAIL_ADDRESS>

Thank you @warshawd!


Add GCP signer example

See: https://github.com/alloy-rs/alloy/tree/main/crates/signer-gcp

@zerosnacks can I work on this?

Sure! Assigned to you

@zerosnacks I have a question, signer-gcp doesn't seem to be exported from the signer crate unlike `aws`, `trezor` and `ledger`

yes you can proceed with that @codeWhizperer, this is expected


Fix spell error: condiiton -> condition

This PR is a

[ ] Feature Implementation
[-] Bug Fix
[ ] Documentation

What this PR does / why we need it:
Fix spell error: condiiton -> condition
Which issue(s) this PR fixes

Fixes #
Please leave this checklist in the PR comment so that maintainers can ensure a good PR.
Merge Checklist:

[ ] New feature

[ ] Tests
[ ] Documentation

[ ] SVCat CLI flag
[ ] Server Flag for config

[ ] Chart changes
[ ] removing a flag by marking deprecated and hiding to avoid
breaking the chart release and existing clients who provide a
flag that will get an error when they try to update

/assign @pmorie

/ok-to-test
/lgtm
/approve


Dark/Light mode control

I prefer to have overlays like this show in the opposite color scheme than the current one in use - this is to make sure it stands out against the background of the normal app views.  So, feature request!

Hi @vectorstofinal
This library was never intended to provide the most extensive way for showing alerts! we're trying to mimic what Apple does in their quick alerts.
Please consider other libraries like SwiftMessages if your use case require custom UI.


With HOMEBREW_CASK_OPTS="--require-sha", brew bundle exits 0 even if installation is not successful

Provided that HOMEBREW_CASK_OPTS="--require-sha",
even if installation is not successful due to checksum not defined,
brew bundle still exists 0 and not reporting any error.
For example: (chromium cask defines its sha256 checksum as :no_check)
export HOMEBREW_CASK_OPTS="--require-sha"
echo 'cask "chromium"' | brew bundle --file=-

From the output, it seems everything is okay and chromium is installed:
==> Downloading https://formulae.brew.sh/api/cask.jws.json

Installing chromium
Homebrew Bundle complete! 1 Brewfile dependency now installed.

Also, the status code is 0.
; echo $?
0

However, in fact chromium is not installed:
; brew info chromium | fgrep 'Not installed'
Not installed

Strangely, running brew bundle with the verbose option, brew exists 1 correctly:
; echo 'cask "chromium"' | brew bundle --file=- --verbose
Installing chromium
Installing chromium cask. It is not currently installed.
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-cask/2786e56
Already downloaded: /Users/kyo/Library/Caches/Homebrew/downloads/a03ec19b95fb538ee676d9dd29426ec36977b638c0865408ab7dda1030f0ac33--chromium.rb
Error: Cask 'chromium' does not have a sha256 checksum defined and was not installed.
This means you have the --require-sha option set, perhaps in your HOMEBREW_CASK_OPTS.
Installing chromium has failed!
Homebrew Bundle failed! 1 Brewfile dependency failed to install.

; echo $?
1

Homebrew version: 4.2.2-18-gdcd267b

I can report the same symptoms - brew bundle reports a successful install although one of the packages failed to install for completely unrelated reasons. Manual brew install fails properoy.

Confirmed, after a brew update it seems to be failing as expected, without --verbose:
$ echo 'cask "emacs"' | brew bundle install --file=-; echo $?
Installing emacs
==> Downloading https://emacsformacosx.com/emacs-builds/Emacs-29.1-1-universal.dmg
Already downloaded: /Users/ichamberlain/Library/Caches/Homebrew/downloads/bc7dcf972996173def825339282d91fd01e6a66a1448b5b37ec126d4500c561f--Emacs-29.1-1-universal.dmg
==> Installing Cask emacs
Error: It seems there is already an App at '/Applications/Emacs.app'.
==> Purging files for version 29.1-1 of Cask emacs
Installing emacs has failed!
Homebrew Bundle failed! 1 Brewfile dependency failed to install.
1

Please verify

Verified this issue is fixed (tested on Homebrew 4.2.2-29-gb3751bc). 🎉

@ian-h-chamberlain @weakish thanks for reporting back, really helpful 🙇🏻


Child project cla group should hide/remove for parent project when parent project removed from child project

Related PCC tickets : https://jira.linuxfoundation.org/browse/PCC-2553
Project setup

Parent project A
Child 1 project
Child 2 project

Steps :

Login admin portal
Add CLA group at child 1 project , refer screenhot
At Child 1 project
Go to Basic –> Legal page
Edit legal page
Update parent project to LF research
Save changes
At parent project A
Go to easycla page

Actual results : CLA group created for child project still visible
Expected :CLA group should remove at parent project after step 3

https://images.zenhubusercontent.com/194341141/531e72fd-7936-42ba-9cbd-64a6563f3f68/untitled__1_.mp4

Hello @shyam-goshike , @nickmango
Unable to verify this issue due to OPA issue reported at PCC

PCC-2859 : Unable to update project details at basic & legal edit prompt

@thakurveerendras can you please confirmed this has been tested? If yes then please change the status. Thanks!

Tested issue on dev site & found that it is fixed as expected, So closing this issue


0.3.5 release

This fixes https://github.com/emilsvennesson/script.module.inputstreamhelper/issues/59

@emilsvennesson Please approve the pull request in the Kodi repo https://github.com/xbmc/repo-scripts/pull/1118


Cosmosdb Table storage operations with PowerShell

PowerShell supportability roadmap was announced in May 2017.
https://docs.microsoft.com/en-us/azure/storage/tables/table-storage-how-to-use-powershell

Is there a tentative ETA for the PowerShell documentation?

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

ID: 5c8143f6-c64f-408b-15b1-e259fd03e6c2
Version Independent ID: 630ff8c7-1288-cc6f-e1b8-b1c19a64f64c
Content: Create a Table API table for Azure Cosmos DB
Content Source: articles/cosmos-db/scripts/cli/table/create.md
Service: cosmos-db
Sub-service: cosmosdb-table
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@Ayanmullick Thank you for your question. We are checking internally and will get back shortly.

@markjbrown Could you please shared your inputs about the docs release for cosmos Table storage operations with PowerShell

Yes, there is no ETA for PowerShell to do data operations out of our Table API accounts. PowerShell is only used to do control plane operations (management) for Cosmos DB resources. We don't offer a way to do this for Table API and there is nothing on our roadmap to do this.
Apologies we don't have anything to offer for this. We will connect with the Storage Team to have this article updated.  (CC @robinsh ).
Thanks.

Thank you for the update @markjbrown. @SteveL-MSFT,  Did the PowerShell team reach out to Cosmosdb to clarify misconceptions?
Community call link: https://www.youtube.com/embed/pxdUwXhyvzo?start=4087&end=4106

@dcaro @theJasonHelmick

What misconceptions? Sorry. I don't know what the video is for.
The screen cap of User Voice is consistent with what I wrote above as I wrote that decline too.

What misconceptions? Sorry. I don't know what the video is for.
The screen cap of User Voice is consistent with what I wrote above as I wrote that decline too.

@markjbrown, the PowerShell  Principal manager, @SteveL-MSFT,  disagrees with that characterization in the clip below.
PowerShell for data plane: https://youtube.com/clip/UgkxoRbjd5HcSy6dEd1_pYJ-D3gItFNKA0pB

Considering that there is no ETA for this feature, we really don't have an action item to implement here in this repo.
If this is a feature that you'd like to see, please continue to use feedback.azure.com to voice feedback.
For now, we can't make a change here in the docs repo until the change is implemented.
#please-close


awscli: 1.32.58 -> 1.32.101

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for awscli is: Unified tool to manage your AWS services
meta.homepage for awscli is: https://aws.amazon.com/cli/
meta.changelog for awscli is: https://github.com/aws/aws-cli/blob/1.32.101/CHANGELOG.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.32.101 with grep in /nix/store/yanmwgzcz7j80s98zxixgsy9wjdyw4z3-awscli-1.32.101
found 1.32.101 in filename of file in /nix/store/yanmwgzcz7j80s98zxixgsy9wjdyw4z3-awscli-1.32.101

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

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath

awscli
bash-my-aws
git-remote-codecommit
iceshelf
nimbo
pacu

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/yanmwgzcz7j80s98zxixgsy9wjdyw4z3-awscli-1.32.101 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A awscli https://github.com/r-ryantm/nixpkgs/archive/037bdeef3a448a439e32cd9effe8cf704fa1c175.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/037bdeef3a448a439e32cd9effe8cf704fa1c175#awscli

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

10 packages built:

awscli
awscli.dist
bash-my-aws
git-remote-codecommit
git-remote-codecommit.dist
iceshelf
nimbo
nimbo.dist
pacu
pacu.dist

Maintainer pings
cc @anthonyroussel for testing.

I'll downgrade awscli with this PR to synchronize with botocore. https://github.com/NixOS/nixpkgs/pull/310068


[SPO] [UI/UX] Not all trials are visible

Moreover, you can extend width to fit all available space

all good


oss-fuzz: manually install Go, fix paths

Needs https://github.com/google/oss-fuzz/pull/10672.

Not sure why Codecov is complaining.


fix(TypographyOverflow): improve performance

SPC-1148
Description
TypographyOverflow is implemented in a way that it always spawns the new style tag whenever new component is rendered. E.g. on the talent list page more than 1000 style tags were spawned. It turned out those style tags were causing style recalculations and unnecessary reflows (and generally they are pretty expensive).
This was happening because we were using the dynamic styles (https://cssinjs.org/jss-plugin-rule-value-function/?v=v10.7.1). This plugin works in a way that it spawns a new stylesheet which holds all dynamic rules for any particular instance of the component. And then updates it with dynamic values when props are changing:
https://github.com/mui-org/material-ui/blob/next/packages/material-ui-styles/src/makeStyles/makeStyles.js#L107
https://github.com/mui-org/material-ui/blob/next/packages/material-ui-styles/src/makeStyles/makeStyles.js#L131
In our case we're not really changing the number of TypographyOverflow lines dynamically. We just use some initial lines value and that is enough.
In this PR I've changed the implementation to use inline styles for -webkit-line-clamp property since it is used very rarely and only for multiline typography overflows.
How to test

Make sure TypographyOverflow works as expected

Screenshots
Before

After

Search form rendering on talents page
Without the fix

With the fix

Single talent card rendering
Without the fix

With the fix

This fix affects the performance of almost all pages in SP project and cuts off seconds of UI freezes from some interactions. E.g. the talent list rendering is 5 seconds faster.
Review

[x] Read CONTRIBUTING.md and Component API principles
[x] Annotate all props in component with documentation
[x] Create examples for component
[x] Ensure that deployed demo has expected results and good examples
[x] Ensure that tests pass by running yarn test
[x] Ensure that visuals tests pass by running yarn test:visual. If not - check the documentation how to fix visual tests
[x] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.


Rename Module

This pull request renames the module according to the discussion in
https://github.com/fastify/fastify/issues/3733.
Note that the deprecation module has already been published and that the
code for it does not exist in this repository.
Coordinating the drastic changes to the code for the module deprecation and
then restoring the code for the module renaming would have been extremely
difficult and prohibitively tedious.
Important: no further releases should be added to the old major version.

I got a 128 status code when running it through deprecate-module tool (which seems a permission error). However, I was able to run it to fastify-awilix without issue.

Could you update the readme with the new name, and the plugin name as well please @RafaelGSS?
https://github.com/fastify/fastify-schedule/blob/main/lib/schedulePlugin.js#L18

Could you update the readme with the new name, and the plugin name as well please @RafaelGSS?
https://github.com/fastify/fastify-schedule/blob/main/lib/schedulePlugin.js#L18

The plugin name should remain the same for fastify@3.

Good point

@RafaelGSS You can pull latest main to fix linting

Can someone merge it? I don't have permission in this repo.


MINOR: fix Bash shebang on vagrant/ scripts

cc @granders

LGTM

LGTM

Could we do the same on the scripts in /bin please?
There was two PR doing it which were refused apparently because folks are scared to change those files, I would love to use those scripts on NixOS without hacking them.

Seems you are referring to #335 and #557 - neither was refused out of fear, just a security concern raised :) Let's try to bump...
[ BTW, the motivation for this patch was to fix the shebang not being the first line on the scripts, rather than switch to using /usr/bin/env, though that also crept in ]


pbm_pitr_error always 1

First of all, thanks for the exporter. It's crazy this isn't built into pbm agent.
I'm trying to understand the logic behind pbm_pitr_error. This is the code's logic:
      const lock = await db.collection('pbmLock').findOne({ type: 'pitr' })
      const now = Math.round(new Date().getTime() / 1000)
      const pitrStale = !lock || (lock.hb.high + 30) < now
      pbmPITRErrorGauge.set(pitrStale ? 1 : 0)

In my case, lock = null, so pbm_pitr_error is always firing. I can confirm pitr is working on my install:
~ kubectl exec mongodb-replicaset-my-replicaset-0 -c backup-agent -- pbm status

Cluster:
========
my-replicaset:
  - my-replicaset/mongodb-replicaset-my-replicaset-0.mongodb:27017 [S]: pbm-agent v2.4.1 OK
  - my-replicaset/mongodb-replicaset-my-replicaset-1.mongodb:27017 [P]: pbm-agent v2.4.1 OK
  - my-replicaset/mongodb-replicaset-my-replicaset-2.mongodb:27017 [S]: pbm-agent v2.4.1 OK

PITR incremental backup:
========================
Status [ON]

Currently running:
==================
(none)

Backups:
========
S3 XXXXXXXX
  Snapshots:
    2024-05-15T22:17:21Z 7.17GB <logical> [restore_to_time: 2024-05-15T22:46:39Z]
    2024-05-15T17:17:30Z 11.01GB <logical> [restore_to_time: 2024-05-15T17:24:26Z]
    2024-05-15T15:44:33Z 10.91GB <logical> [restore_to_time: 2024-05-15T15:51:19Z]
    2024-05-14T22:17:21Z 7.05GB <logical> [restore_to_time: 2024-05-14T22:45:42Z]
    2024-05-14T12:48:27Z 7.04GB <logical> [restore_to_time: 2024-05-14T13:19:56Z]
    2024-05-14T11:38:21Z 47.70KB <logical> [restore_to_time: 2024-05-14T11:38:27Z]
    2024-05-13T22:17:21Z 6.65GB <logical> [restore_to_time: 2024-05-13T22:42:43Z]
    2024-05-12T22:17:21Z 42.18MB <logical> [restore_to_time: 2024-05-12T22:17:38Z]
    2024-05-11T22:17:21Z 42.19MB <logical> [restore_to_time: 2024-05-11T22:17:41Z]
    2024-05-10T22:17:21Z 42.22MB <logical> [restore_to_time: 2024-05-10T22:17:38Z]
  PITR chunks [84.13MB]:
    2024-05-15T17:24:27Z - 2024-05-16T12:56:49Z
    2024-05-14T13:19:57Z - 2024-05-15T15:51:19Z

Metrics exposed by pbm-exporter
# HELP pbm_snapshots_total Number of snapshots per status
# TYPE pbm_snapshots_total gauge
pbm_snapshots_total{status="done"} 17

# HELP pbm_snapshots Detail of snapshots with statuses
# TYPE pbm_snapshots gauge
pbm_snapshots{name="2024-05-15T22:17:21Z",status="done"} 1
pbm_snapshots{name="2024-05-15T17:17:30Z",status="done"} 1
pbm_snapshots{name="2024-05-15T15:44:33Z",status="done"} 1
pbm_snapshots{name="2024-05-14T22:17:21Z",status="done"} 1
pbm_snapshots{name="2024-05-14T12:48:27Z",status="done"} 1
pbm_snapshots{name="2024-05-14T11:38:21Z",status="done"} 1
pbm_snapshots{name="2024-05-13T22:17:21Z",status="done"} 1
pbm_snapshots{name="2024-05-12T22:17:21Z",status="done"} 1
pbm_snapshots{name="2024-05-11T22:17:21Z",status="done"} 1
pbm_snapshots{name="2024-05-10T22:17:21Z",status="done"} 1

# HELP pbm_last_snapshot Status of last snapshot
# TYPE pbm_last_snapshot gauge
pbm_last_snapshot{status="done"} 1

# HELP pbm_last_snapshot_error 1 if last snapshot is in error
# TYPE pbm_last_snapshot_error gauge
pbm_last_snapshot_error 0

# HELP pbm_last_snapshot_since_seconds Time since last snapshot
# TYPE pbm_last_snapshot_since_seconds gauge
pbm_last_snapshot_since_seconds 52822

# HELP pbm_nodes_total Number of nodes per status
# TYPE pbm_nodes_total gauge
pbm_nodes_total{status="ok"} 3
pbm_nodes_total{status="error"} 0

# HELP pbm_nodes Detail of nodes with statuses
# TYPE pbm_nodes gauge
pbm_nodes{rs="my-replicaset",host="my-replicaset/mongodb-replicaset-my-replicaset-0.mongodb:27017",status="ok"} 1
pbm_nodes{rs="my-replicaset",host="my-replicaset/mongodb-replicaset-my-replicaset-1.mongodb:27017",status="ok"} 1
pbm_nodes{rs="my-replicaset",host="my-replicaset/mongodb-replicaset-my-replicaset-2.mongodb:27017",status="ok"} 1
pbm_nodes{rs="my-replicaset",host="my-replicaset/mongodb-replicaset-my-replicaset-0.mongodb:27017",status="error"} 0
pbm_nodes{rs="my-replicaset",host="my-replicaset/mongodb-replicaset-my-replicaset-1.mongodb:27017",status="error"} 0
pbm_nodes{rs="my-replicaset",host="my-replicaset/mongodb-replicaset-my-replicaset-2.mongodb:27017",status="error"} 0

# HELP pbm_pitr_chunks_total Number of PITR chunks
# TYPE pbm_pitr_chunks_total gauge
pbm_pitr_chunks_total 265

# HELP pbm_pitr_error 1 if PITR is in error
# TYPE pbm_pitr_error gauge
pbm_pitr_error 1

# HELP pbm_last_pitr_chunk_since_seconds Time since last PITR chunk
# TYPE pbm_last_pitr_chunk_since_seconds gauge
pbm_last_pitr_chunk_since_seconds 54

This is on mongo 6.0.9-7 and pbm 2.4.1

Honestly I don't remember the logic. It returns 0 on my installs, but maybe there is some version difference.
If you see a better way to detect if PITR is working I would gladly accept a PR. Maybe it is actually better to remove this metric and simply use pbm_last_pitr_chunk_since_seconds ?


Migrate current files in "archive" folder to a better location

The "archive" folder in the wiki is for things that are to be deleted, but there are some files (screenshots) in that folder that are used by current documentation and should be moved to a better location. Need to audit the files in there before anything is deleted.

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description

/cc @ilyas1974


[4.0] Blank parts of the error/warning text box in the script pane are not text-selectable.

Godot version
v4.0.alpha1.official [31a7ddbf8]
System information
Windows 10
Issue description
When you have warnings or errors like this, if you want to select part of the text box, it doesn't work as expected

While you can click and drag to select text if you put your cursor exactly onto a letter, if you put it in the blank space to the right, the cursor will turn into the little text selecting ][ shape, but won't actually select any text

What it should do is start selecting on the same line, from the right-most character, just like a normal text editor.
Steps to reproduce
Get an error or warning, and try to select the text.
Minimal reproduction project
No response

I believe this is an issue with RichTextLabel in general, rather than an editor issue.

I believe this is an issue with RichTextLabel in general, rather than an editor issue.
@Proggle Can you reproduce this on 3.4.2?
cc @bruvzg

I've got it in 3.4 stable at least.  Seems like anything after the end of a line has this selection issue.  I used this function to throw a bunch of warnings
func foo(alpha,beta,delta,gamma,a,b,c,d,e,f,g):
	pass

And the areas I've boxed are unselectable as well.

The output pane has something similar, but the non-working area is only the part to the right and below the last line.
https://user-images.githubusercontent.com/89282845/153050980-aff4a790-673a-4618-b92f-f4e6716513ff.mp4


Refactoring in TechTree

I won't be pulling this right now because once some changes are made to the sc2api in the next patch I'll be completely revamping it then


Bug: copy returns matrix with wrong communication pattern

Hi @fverdugo,
There is an issue with the current copy function. I detected it for the old implemetation of PSparseMatrix, but I believe it should affect the new one as well.
Here is a MWE:
using PartitionedArrays

np = 2
ranks = with_debug() do distribute
  distribute(LinearIndices((np,)))
end

n = 4
rows = uniform_partition(ranks,n)
I,J,V = map(ranks) do r
    if r == 1
        I = [1,2,3]
        J = [1,2,3]
    elseif r == 2
        I = [3,4]
        J = [3,4]
    end
    I,J,fill(Float64(r),length(J))
end |> tuple_of_arrays
A = old_psparse!(I,J,V,rows,rows) |> fetch

B = copy(A)

A_caches = A.cache.items[1].cache
B_caches = B.cache.items[1].cache

which yields:
PartitionedArrays.VectorAssemblyCache{Float64}(Int32[2], Int32[], JaggedArray{Int32,Int32}(Vector{Int32}[[3]]), JaggedArray{Int32,Int32}(Vector{Int32}[]), JaggedArray{Float64,Int32}([[0.0]]), JaggedArray{Float64,Int32}(Vector{Float64}[]))

PartitionedArrays.VectorAssemblyCache{Float64}(Int32[2], Int32[], JaggedArray{Int32,Int32}(Vector{Int32}[[]]), JaggedArray{Int32,Int32}(Vector{Int32}[]), JaggedArray{Float64,Int32}([Float64[]]), JaggedArray{Float64,Int32}(Vector{Float64}[]))

The issue here is the following: We are not implementing copy, but rather copyto! and similar. Additionally, similar depends on the type of the local matrices, in our case SparseArrays.
I believe the issue is that SparseArrays's similar returns a sparse matrix without non-zero elements. This makes the construction of the assembly caches to be wrong.
A possible solution (without changing the behaviour of SparseArrays is to also implement copy in the following way:
function Base.copy(a::PSparseMatrix)
  mats = map(copy,partition(a))
  cache = map(copy_cache,a.cache)
  return PSparseMatrix(mats,partition(axes(a,1)),partition(axes(a,2)),cache)
end

where copying the cache is not necessary, but is more efficient (I believe).

Hi @JordiManyer, it makes sense. Thanks for reporting!
Feel free to add the fix + some test + PR.


ValueError: shape contains '0': (0,) at fasterrcnn_resnet50_fpn

I tried Faster-RCNN(ResNet50) model.
model = torchvision.models.detection.fasterrcnn_resnet50_fpn(pretrained=True)

# Pytorch to ONNX
onnx_filename = 'fasterrcnn_resnet50_fpn_imagenet.onnx'
dummy_input = torch.randn(1, 3, 224, 224)
input_names = ['act']
output_names = ['out']
model.eval()
torch.onnx.export(model, dummy_input, onnx_filename,
                  verbose=True,
                  export_params=True,
                  opset_version=11,
                  do_constant_folding=True,
                  input_names=input_names, output_names=output_names)

# data types
dtypes = {}
act_dtype = ng.int16
weight_dtype = ng.int16
bias_dtype = ng.int16
scale_dtype = ng.int16

disable_fusion=False

# ONNX to NNgen
(outputs, placeholders, variables,
 constants, operators) = ng.from_onnx(onnx_filename,
                                      value_dtypes=dtypes,
                                      default_placeholder_dtype=act_dtype,
                                      default_variable_dtype=weight_dtype,
                                      default_constant_dtype=weight_dtype,
                                      default_operator_dtype=act_dtype,
                                      default_scale_dtype=scale_dtype,
                                      default_bias_dtype=bias_dtype,
                                      disable_fusion=disable_fusion)

But, ValueError: shape contains '0': (0,) error message was displayed at ng.from_onnx.
Traceback (most recent call last):
  File "fasterrcnn_resnet50.py", line 47, in <module>
    disable_fusion=disable_fusion)
  File "/nngen/onnx/__init__.py", line 290, in from_onnx
    default_operator_dtype)
  File "/nngen/onnx/__init__.py", line 401, in _to_constants
    dtype=dtype, shape=shape, name=name)
  File "/nngen/storage.py", line 30, in __init__
    dtype=dtype, shape=shape, name=name)
  File "/nngen/basic_types.py", line 359, in __init__
    _Storage.__init__(self, dtype=dtype, shape=shape, name=name, is_input=False)
  File "/nngen/basic_types.py", line 335, in __init__
    _Numeric.__init__(self, dtype=dtype, shape=shape, name=name)
  File "/nngen/basic_types.py", line 57, in __init__
    raise ValueError("shape contains '0': %s" % str(shape))
ValueError: shape contains '0': (0,)

Do you know the cause of the error?

Hi
I stumbled upon the same error when I tried to create a nngen model from onnx, and I think I have figured out the cause of this error, so would like to share my conclusion here.
TL;DR
This error is caused by a lack of supporting onnx operators in nngen. In my case I need the Reszie operator. In @Kocha 's case, it needs Reszie and Split.
To resolve this issue, an additional implementation for the operators is needed. If you would like to use Faster-RCNN(ResNet50) model in your project, I recommend opening a issue for a support for these operators.
My analysis of this error
The model I tried was a PyTorch implementation of Fast-SCNN; I first converted the weights provided by the repository to onnx, and using that onnx file I tried to convert it to a nngen model, which gave me this error
Traceback (most recent call last):
  File "onnx_to_nngen.py", line 28, in <module>
    default_bias_dtype=bias_dtype,)
  File "C:\Users\nagak\Anaconda3\envs\nngen\lib\site-packages\nngen\onnx\__init__.py", line 296, in from_onnx
    default_operator_dtype)
  File "C:\Users\nagak\Anaconda3\envs\nngen\lib\site-packages\nngen\onnx\__init__.py", line 407, in _to_constants
    dtype=dtype, shape=shape, name=name)
  File "C:\Users\nagak\Anaconda3\envs\nngen\lib\site-packages\nngen\storage.py", line 30, in __init__
    dtype=dtype, shape=shape, name=name)
  File "C:\Users\nagak\Anaconda3\envs\nngen\lib\site-packages\nngen\basic_types.py", line 359, in __init__
    _Storage.__init__(self, dtype=dtype, shape=shape, name=name, is_input=False)
  File "C:\Users\nagak\Anaconda3\envs\nngen\lib\site-packages\nngen\basic_types.py", line 335, in __init__
    _Numeric.__init__(self, dtype=dtype, shape=shape, name=name)
  File "C:\Users\nagak\Anaconda3\envs\nngen\lib\site-packages\nngen\basic_types.py", line 57, in __init__
    raise ValueError("shape contains '0': %s" % str(shape))
ValueError: shape contains '0': (0,)

After some digging around in the code, I found out that this value error pointed to an constant operator which contained no value, and was also an input for the scale parameter for Resize.
I assume that when PyTorch tries to convert the model to onnx, the default parameters of F.inerpolate layers are automatically converted to onnx constant operators, despite the default parameter is set to None, hence causing this issue.


WRN-18729: Added editable prop to Scroller to support editing items

Checklist

[x] I have read and understand the contribution guide
[ ] A CHANGELOG entry is included
[ ] At least one test case is included for this feature or bug fix
[x] Documentation was added or is not needed
[ ] This is an API breaking change

Issue Resolved / Feature Added
Added editable prop to Scroller to support editing items
Resolution
To support editing, added a flex wrapper and used flex order to order items.
Additional Considerations
Links
WRN-18729
Comments
Enact-DCO-1.0-Signed-off-by: Mikyung Kim<EMAIL_ADDRESS>

I got error when I scroll with hoverToScroll.
encountered two children with the same key, `1`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.
    at div
    at EditableWrapper (http://<IP_ADDRESS>:8080/main.iframe.bundle.js:53256:5)
    at div
    at ScrollerBasic (http://<IP_ADDRESS>:8080/main.iframe.bundle.js:20372:5)
    at div
    at http://<IP_ADDRESS>:8080/main.iframe.bundle.js:33337:5
    at http://<IP_ADDRESS>:8080/main.iframe.bundle.js:24497:9
    at Scroller (http://<IP_ADDRESS>:8080/main.iframe.bundle.js:53705:19)
...


Usage and Build Documentation Update

Large BUILD.md update
Large USAGE_desktop.md update
Corrections to USAGE_android.md

I would like the two usage documents to merge in the future.  The option table could be unified with separate columns for the Android and Desktop option names.


[CARBONDATA-1112] fix failing IUD testcase

add to whitelist

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2129/

https://github.com/apache/carbondata/pull/986 also the same issue in different way. Please check.

retest this please

Build Failed  with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/2151/

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-2.1/44/Failed Tests: 2carbondata-pr-spark-2.1/org.apache.carbondata:carbondata-core: 2org.apache.carbondata.core.writer.CarbonFooterWriterTest.testWriteFactMetadataorg.apache.carbondata.core.writer.CarbonFooterWriterTest.testReadFactMetadata

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/carbondata-pr-spark-1.6/15/

Can one of the admins verify this patch?

SDV Build Failed with Spark 2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/49/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/67/

SDV Build Fail , Please check CI http://<IP_ADDRESS>:8080/job/ApacheSDVTests/1239/

Build Success with Spark 2.1.0, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder1/608/


Queen node not initalizing

I have some problems trying to run the bee-factory. I follow the steps mentioned in the readme for setting up the environment. All previous steps seem correct:
./scripts/network.sh
./scripts/blockchain.sh
npm run migrate:contracts
npm run supply

When I execute ./scripts/bee.sh start, the queen node does not initialize. When I go to the test-queen container logs I see the following:
time="2021-06-14T13:29:40Z" level=info msg="version: 0.6.0-67cc8f24"
time="2021-06-14T13:29:40Z" level=warning msg="clef is not enabled; portability and security of your keys is sub optimal"
time="2021-06-14T13:29:40Z" level=info msg="using existing swarm network address: 689a7bc16ea0291977f77b33403a4cd3e776d9a19f47ba0b66634359983d1cd4"
time="2021-06-14T13:29:40Z" level=info msg="swarm public key 03d5f6051105af2bc1dfb657031fc9d10df9be44ed24608e730a9a0cd07c97e906"
time="2021-06-14T13:29:40Z" level=debug msg="using existing libp2p key"
time="2021-06-14T13:29:40Z" level=debug msg="using existing pss key"
time="2021-06-14T13:29:40Z" level=info msg="pss public key 02f20bfb14a31491f8a9aec2dc455be4353733040e921ececcf612aca735b0bc7c"
time="2021-06-14T13:29:40Z" level=info msg="using ethereum address 26234a2ad3ba8b398a762f279b792cfacd536a3f"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x11141cb]

I am running:

Docker version 20.10.6, build 370c289
Ubuntu 20.10

The most likely problem I see is that it seems that it runs Bee version 0.6.0-67cc8f24 (which is the default). However it has known stability issues and it is recommended that you are running a more recent version, for example 0.6.2-984dca0a.
You can do this by changing the value of BEE_VERSION to 0.6.0-67cc8f24 in ./scripts/.env or export the BEE_VERSION in the shell with the new value. Then run again the commands from start.

Yes, the problem was this. Now when running with Bee version 0.6.2 I can run and interact with the environment.
Thanks for your quick answer!


[Bug] Can't @ user's with space in their name

Checks

[X] I confirm that I have searched for existing issues / pull requests before reporting to avoid duplicate reporting.
[X] I confirm that I followed the MCDC Docs and read the Changelog, but this problem still exists.
[X] I confirm that I noted that if I don't follow the instructions, the issue may be closed directly.

Java Version
17
Minecraft Version
1.19.2
MCDiscordChat Version
MCDiscordChat-2.0.0-alpha.10.jar
Description
When @ing any user with no space in their name the bot functions as expected. When @ing someone with a space it does not @ the user.
The user's name is "Northern Sprint#6947"

To Reproduce
@ any user with a space in their name in the minecraft chat
Log
2022/09/20 21:12:03 [serv  **  ] a chat message was sent
2022/09/20 21:12:12 [serv  **  ] [21:12:12] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @northernsprint
2022/09/20 21:12:12 [serv  **  ] a chat message was sent
2022/09/20 21:12:16 [serv  **  ] [21:12:16] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @northernsprint
2022/09/20 21:12:16 [serv  **  ] a chat message was sent
2022/09/20 21:12:23 [serv  **  ] [21:12:23] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @Northern Sprint
2022/09/20 21:12:23 [serv  **  ] a chat message was sent
2022/09/20 21:12:26 [serv  **  ] [21:12:26] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @Northern Sprint
2022/09/20 21:12:26 [serv  **  ] a chat message was sent
2022/09/20 21:12:31 [serv  **  ] [21:12:31] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @NoerthernSprint
2022/09/20 21:12:31 [serv  **  ] a chat message was sent
2022/09/20 21:12:35 [serv  **  ] [21:12:35] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @NorthernSprint
2022/09/20 21:12:35 [serv  **  ] a chat message was sent
2022/09/20 21:12:51 [serv  **  ] [21:12:51] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @"Northern Sprint"
2022/09/20 21:12:51 [serv  **  ] a chat message was sent
2022/09/20 21:12:57 [serv  **  ] [21:12:57] [Netty Epoll Server IO #14/INFO]: [Not Secure]  "@Northern Sprint"
2022/09/20 21:12:57 [serv  **  ] a chat message was sent
2022/09/20 21:13:08 [serv  **  ] [21:13:08] [JDA MainWS-ReadThread/INFO]: [Discord]  @Northern Sprint
2022/09/20 21:13:08 [serv  **  ] a chat message was sent
2022/09/20 21:13:12 [serv  **  ] [21:13:12] [Netty Epoll Server IO #22/INFO]: [Not Secure]  §e@Gabriel§f
2022/09/20 21:13:12 [serv  **  ] a chat message was sent
2022/09/20 21:13:22 [serv  **  ] [21:13:22] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @northern
2022/09/20 21:13:22 [serv  **  ] a chat message was sent
2022/09/20 21:13:39 [serv  **  ] [21:13:39] [Netty Epoll Server IO #14/INFO]: [Not Secure]  <@1021354909829959700?
2022/09/20 21:13:39 [serv  **  ] a chat message was sent
2022/09/20 21:13:43 [serv  **  ] [21:13:43] [Netty Epoll Server IO #14/INFO]: [Not Secure]  <@1021354909829959700>
2022/09/20 21:13:43 [serv  **  ] a chat message was sent
2022/09/20 21:13:45 [serv  **  ] [21:13:45] [Netty Epoll Server IO #14/INFO]: [Not Secure]  @1021354909829959700
Config
{
"generic": {
"language": "en_us",
"botToken": "",
"botPlayingStatus": "Minecraft",
"botListeningStatus": "",
"webhookUrl": "",
"channelId": "731621330016927854",
"consoleLogChannelId": "",
"updateNotificationChannelId": "",
"useUuidInsteadOfName": true,
"avatarApi": "https://mc-heads.net/avatar/%player%.png",
"broadcastCommandExecution": false,
"announceServerStartStop": true,
"announcePlayerJoinLeave": true,
"announceDeathMessages": true,
"announceAdvancements": true,
"allowMentions": true,
"formatChatMessages": true,
"useServerNickname": true,
"announceHighMspt": true,
"msptCheckInterval": 5000,
"msptLimit": 50,
"mentionAdminsForUpdates": true,
"updateChannelTopic": true,
"channelTopicUpdateInterval": 600000,
"excludedCommands": [
"/msg",
"/tell",
"/tellraw",
"/w"
],
"adminsIds": [
"106938698938978304"
]
},
"multiServer": {
"enable": false,
"host": "<IP_ADDRESS>",
"port": 5000,
"name": "SMP",
"botIds": []
},
"customMessage": {
"unformattedResponseMessage": "",
"unformattedChatMessage": "",
"unformattedOtherMessage": "",
"unformattedCommandNotice": "",
"formattedResponseMessage": "",
"formattedChatMessage": "",
"formattedOtherMessage": "",
"formattedCommandNotice": "",
"serverStarted": "",
"serverStopped": "",
"joinServer": "",
"leftServer": "",
"deathMessage": "",
"advancementTask": "",
"advancementChallenge": "",
"advancementGoal": "",
"highMspt": "",
"offlineChannelTopic": "",
"onlineChannelTopic": "",
"onlineChannelTopicForMultiServer": ""
},
"latestVersion": "2.0.0-alpha.10",
"latestCheckTime":<PHONE_NUMBER>404
}

Noted

Please try the latest build.


configure frontend stack

configuration of basic frontend stack

Unfortunately repushing main branch broke this PR, please recreate it.


Moves robots before fight button is pressed

The robot moves before the fight button is pressed, this should not happen.

This happens because of the way the storage is implemented. Right now it's written directly to the desired shadow of the gateway. This needs to be changed so it writes to a "team shadow" and only when team is ready gets written to the gateway default shadow.

This happens because of the way the storage is implemented. Right now it's written directly to the desired shadow of the gateway. This needs to be changed so it writes to a "team shadow" and only when team is ready gets written to the gateway default shadow.

Instead of creating a new shadow, couldn't we just write to the admin shadow? and then update the desired shadow of the gateway when all teams are ready?

Since it's the team's data, I would not let them write to the admin shadow.


Level of how autonomous the AutoPR is should be highly configurable

There may be repository level configurations with a range or select action to do automatically.
There also may be issue level configuration, by default the same as for repository.
And the default level for repository should be set to allow zero configuration for users. Do autonomously only things it is good at.

AutoPR is currently configurable in that you can adjust which actions run as part of a triggered workflow.
Perhaps what you're looking for is a more direct way of interacting with GPT-4 in a PR? As in, one GPT-4 call per AutoPR run? We could implement something like that as a separate agent. If that's the case, please open a separate issue for that.


New ttf-parser versions released

This is just a polite ping that there were two new ttf-parser versions released recently, and we'd love to update to them, with a matching owned-ttf-parser release. If you could use any assistance in getting a release out, let me know.

Upstream 0.23 was published a couple of hours ago, I'll publish a new version this crate soon.
You say "two new versions" but 0.22 was published a few days ago. Do you mean something else?

Yes I meant 0.22 and 0.23. I failed to check whether you already published owned-ttf-parser v0.22, sorry. But you did! Really appreciate the quick reaction, thank you! ☺


mi box 3 : app crash

Hello,
First i wanna thanks Brady for his work.
I have try latest Android release on my Mi Box 3 (Android TV 7)
connexion with HUE hub is ok, all lights are in list and space configuration is found.
Problem:

There is no "display" to select in monitor list, but when click on start sync and use preview there is something inside preview box.
When i'm in gui and go out to start Plex or anythings else, app crash.

hop see a new release soon !

Folding into #126


interval=0 does not work after the first time it gets reset

Hi Takeshi
While using the interpreter, if you set the slider to some value and then reset it back to 0, the interpreter does not go back to "optimised mode".
To reproduce:

Navigate to the URL
Hit play (The program executes instantly and we see the final state)
Refresh
Move the "interval" slider to some value
Hit play (The program now executes at a lower speed as required)
Move interval back to 0
Hit play (The program now executes at 1ms delay)

At step 7, the program would have to run in "optimised mode" and just display the final state. It does not.
I think that this should really be ==.

Thank you for your report!
I fixed it.


401 errors even with 24hr interval.

Hello!
So, I've upgraded to latest version. But i still hit the following even with 24hr between attempts.  I've read the old tickets, and I think i have "checked all the boxes".
GARMIN_USERNAME and GARMIN_PASSOWRD are set via env variables.
`j2@pentserv02:~/withings-sync$ withings-sync -f 2021-01-01
2021-07-06 07:29:04,446 - withings - INFO - Refresh Access Token
2021-07-06 07:29:04,865 - withings - INFO - Get Measurements
2021-07-06 07:29:05,117 - root - INFO - This Withings metric contains no weight data.  Not syncing...
2021-07-06 07:29:05,123 - root - INFO - No Trainerroad username or a new measurement - skipping sync
Traceback (most recent call last):
File "/usr/local/bin/withings-sync", line 11, in
load_entry_point('withings-sync==3.3.1', 'console_scripts', 'withings-sync')()
File "/usr/local/lib/python3.6/dist-packages/withings_sync-3.3.1-py3.6.egg/withings_sync/sync.py", line 196, in main
sync(**vars(args))
File "/usr/local/lib/python3.6/dist-packages/withings_sync-3.3.1-py3.6.egg/withings_sync/sync.py", line 184, in sync
session = garmin.login(garmin_username, garmin_password)
File "/usr/local/lib/python3.6/dist-packages/withings_sync-3.3.1-py3.6.egg/withings_sync/garmin.py", line 156, in login
session = self._get_session(email=username, password=password)
File "/usr/local/lib/python3.6/dist-packages/withings_sync-3.3.1-py3.6.egg/withings_sync/garmin.py", line 93, in _get_session
raise APIException('SSO error %s %s' % (ssoResp.status_code, ssoResp.text))
withings_sync.garmin.APIException: SSO error 401

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge;" />
    <title>GARMIN Authentication Application</title>
    <link href="/sso/css/GAuth.css?20210406" rel="stylesheet" type="text/css" media="all" />

    <link rel="stylesheet" href=""/>

           <input type="hidden" id="queryString" value="service=https%3A%2F%2Fconnect.garmin.com%2Fmodern&clientId=GarminConnect&gauthHost=https%3A%2F%2Fsso.garmin.com%2Fsso&consumeServiceTicket=false" />
     	   <input type="hidden" id="contextPath" value="/sso" />

Sign In

                <form method="post" id="login-form">

Invalid sign in. (Passwords are case sensitive.)

						Email

						    <input class="login_email" name="username" id="username" value="j2@redactedemailt" type="email" spellcheck="false" autocorrect="off" autocapitalize="off"/>

                        Password
                        (Forgot?)
                        <input type="password" name="password" id="password" spellcheck="false" autocorrect="off" autocapitalize="off" />
                         Caps lock is on.

                    <input type="hidden" name="embed" value="false"/>
                    <input type="hidden" name="_csrf" value="2F64E8AD909DF7C93482C27BFED95F29664D6A217E3F1EAA596A5A9E271E092D8840C8EC1643133D6AD030CB55DACAC2D3FA" />
                    <button type="submit" id="login-btn-signin" class="btn1" accesskey="l">Sign In</button>

                </form>

`

First off thanks for the work, was keen to get this installed and up and running.
It worked the very first time when running the command. No issues. Was sure not to run it again. The next time I ran it was about 12 hours later and got the 403 error. Every day for the last week, got the 403 error. What is worse, is that now I cannot log into the Garmin Connect App on my phone, with the same public IP as the (home) computer that gets the 403.
I have to switch the phone off the home network onto 4G for garmin connect log in to work :( - clearly something is not right with the cloudflare part of the sign on.

Hi @JanJoh I had the same problem.
I recommend to you to double check if the env for the password has indeed really been set correctly.
For me it seems the special characters in the password caused the issue.
You can check after setting them with the command 'set'.
Make sure that if you set your password to use ' to no have special characters like $ wrongly interpreted.
GARMIN_PASSWORD='abcdefg$123'

For me it worked only once, during initial sync. Now if I want to resync I get 403 every day, however long I wait between resyncs. So it stopped working for me completely. I tried different IPs, no luck. I'm using Mac OS X.

thanks @misiektoja and @Schischu ... I have been quite intrigued by your solutions. I had used the cmd variables - the last two weeks have been on and off but off for me - I would say with once every 6 hours, 403 about 75% of the time or more.
I just ran using the env variables for both username and password instead (and confirmed with ' and checked with echo) - and nope, still 403 on the first attempt. i will leave it to run and see what happens these coming days...

I don't know if this was the actual solution but I think upgrading openssl was the solution for me. I did some research on the CloudFlare generated 403 errors and found that some of them were a result of the version of openssl that was being used to negotiate the SSL connection to Garmin. I was struggling with intermittent 403s running withings-sync on a CentOS 7.9 box with openssl 1.0.2k-21.el7_9.x86_64. When I moved the app to a RPi running Raspbian with openssl 1.1.1d-0+deb10u7 the problem completely disappeared.

Same errors for me. Doing some Google research revealed that this CloudFlare error 403 can be circumvented by using HTTP/2 to query the website. I adjusted the code and now it works for me. I created a pull request to integrate my changes: https://github.com/jaroslawhartman/withings-sync/pull/49

hi @ciancim this works a charm now. Many thanks!!


Thanks for showing this off! Api Key FYI

Just a heads up if that was left there by accident, there's an api key in self_discover.py

devnuc.lan is probably only accessible from his network, so not a big problem.

I think the main reason I should not include the API key is so that people stop messaging me there's an API key in the code lol

Lol


Preview mode plugin

Is it possible to implement a custom preview mode?
I would like to publish a plugin with custom preview rendering for RDF responses.
Is it possible to add custom selection to the "Preview Mode" dropdown?

Interesting! This might be doable 👀 we are slowly trying to expand on UI plugin capabilities. Currently no plugin API exists for response preview modes, but it can certainly be added. I'm thinking an API like the following might work?
{
  label: string,
  canPreview: (responseMimeType: string) => boolean, // check whether the mime type is supported by your plugin/viewer
  element: (context: Object) => HTMLElement | Promise<HTMLElement>, // render a component and return a DOM node (needs some documentation)
}

Hey! Thanks for coming back to me :)
canPreview
I think I would make the canPreview optional, for more sophisticated checks, if necessary. How about the default implementation worked like content negotiation?
{
  // named after the request header
  accept: [
    'text/turtle',
    'application/ld+json',
    'application/n-quads',
    // more
  ]
}

This could be implemented using Medium#sort + MediumType#match
const { accept } = plugin
const canPreview = MediumType.sort(accept)
    .some(type => new MediumType(type).match(responseType))

element
This can work, or alternatively, the caller could provide a container for the plugin to render inside. Would make it easier for some rendering libs (I intend lit-html)
import { html, render } from 'lit-html'

{
  async render(root: HTMLElement, context: unknown): Promise<void> {
    render(html`<my-element>`, root)
  }
}


SELECT Query still does a FULL TABLE SCAN.

I'm not quite sure on why Turso still does a full table scan on my table. Here's the timeline of events.
1.) Created Users table, with columns userId, socialId and userType. Only index here is the userId column as the primary key.
2.) Table is now live at this point with user rows being created.
3.) Made a query to fetch users based on socialId and userType.
4.) Noticed on the Turso Analytics that the query is fetching 100 rows per execution, even though it's just returning a single row.
5.) Made a compound index for socialId and userType
6.) Observed the same query, now with the index in place but the results are still the same.
7.) Made a database branch for that database and this time I deleted all the rows for the Users table. Because I thought maybe the index won't work because of the existing rows.
8.) Observed the query again for the new database with deleted rows, same results.
I'm lost at this point and I'm thinking of moving forward with another provider. I am using Turso with prisma, but for the query itself I am using a raw sql query.

Please share the schema and queries you're using @3g015st

is the issue still not assigned  ??

@3g015st - can you share more details here? I don't quite understand your setup as you initially mentioned that you Made a compound index for socialId and userType but in your Prisma schema I don't see any compound indices - only unique indices over id, socialId, email & referralCode (also, your query has some imageUrl field but there is no such field in the schema...)
You can attach output of the following command with more details about your setup:
SELECT name, tbl_name, sql FROM sqlite_master WHERE tbl_name = 'Users'; SELECT sqlite_version();

Also, it will be great if you can attach query with EXPLAIN and EXPLAIN QUERY PLAN output (first one will print sqlite3 VM operations which can be helpful to track issue).
I also tried to reproduce your issue locally (with turso and against raw libsql with the test provided below) - but for me libsql accounted only 1 read row for the query you shared:
#[test]
fn test_stat() -> Result<(), Error> {
    let db = Connection::open_in_memory()?;
    db.execute(
        r#"
CREATE TABLE "Users" (
    "id" TEXT NOT NULL PRIMARY KEY,
    "socialId" TEXT NOT NULL,
    "email" TEXT NOT NULL,
    "scheduledBoostAt" DATETIME,
    "createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
    "updatedAt" DATETIME,
    "userType" TEXT NOT NULL,
    "referralCode" TEXT NOT NULL
);
"#, ()
    )?;
    for i in 0..100 {
        let id = i.to_string();
        db.execute(r#"INSERT INTO "Users" VALUES (?, ?, ?, datetime('2020-01-01T00:00:00'), datetime('2020-01-01T00:00:00'), datetime('2020-01-01T00:00:00'), ?, ?)"#, (&id, &id, &id, &id, &id))?;
    }
    db.execute(r#" CREATE UNIQUE INDEX "Users_socialId_userType_key" ON "Users"("socialId", "userType"); "#, ())?;
    let mut statement = db.prepare(
        "SELECT id, socialId, userType FROM Users WHERE (userType = '90' AND socialId = '90' AND DATETIME(scheduledBoostAt) >= CURRENT_TIMESTAMP)"
    )?;
    let mut result = statement.query(params![])?;
    while let Ok(Some(_)) = result.next() {}
    drop(result);

    assert_eq!(statement.get_status(rusqlite::StatementStatus::RowsRead), 1);
    Ok(())
}

@sivukhin Sorry for the late reply but yeah you're right the SELECT query returns a single row, but when I visit the Turso analytics dashboard that same query returns the number of rows that the table has, instead of just "1". I haven't tried running the query locally. The contract's done on my end, so I guess we can close this out. Thank you all.


Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false

Hello, I believe this should get fixed, It's a bit annoyed to get the warning every time I click the button.
We (the users of the lib) cannot do anything about it, every npm install will clear our custom config.
"react-native": "https://github.com/expo/react-native/archive/sdk-38.0.2.tar.gz",
"react": "16.11.0",
"expo": "^38.0.0",

I get the same error but I couldn't find a answer.

Anyone? seems like this component is no longer supported (?) @mastermoo

I just send the fixes, I hope they merge it.

I'll end up closing this issue. I forked the repo and made the fixes in the repo (the one I forked), I will soon publish it to npm.

20 days after closing the issue, the error still continues

20 days after closing the issue, the error still continues

Hello, I'm uploading the updated package to npm today. I'll keep you updated. I'll be mantaining the package from now on through my forked repo.
Cheers.

@filipegl @anilakuzum please check https://www.npmjs.com/package/@logvinme/react-native-action-button


Add titleStyle option for adding CSS to title text

This is something I've found really useful, I collapse all log items and can see errors at a glance, without opening up groups. Also handy for coloring pending/fetching actions.

Please, extend colors, you can add title option.
https://github.com/fcomb/redux-logger#colors-object

@theaqua updated to use colors.title instead

Thanks, released in 2.2.1!


Use case

Hello,
I created nice looking submit buttons using Your component. It worked great!
You can check it out here

Neat, nice looking button animations! 👍 Dzieki! 😄


mini project

drift video link - https://video.drift.com/v/abTaZDGDzkdhObDO3P0nB9k0BYtz8bYocmIEo98iAuVKU/

successful user register

house added successfully

room added successfully

get details of house

house address updated successfully

device added to inventory successfully

device registered to room successfully

Also in entities there are no createdAt, deletedAt and updatedAt columns


[Bug] Using backticks for inline code breaks hashlinks/table of contents

To Reproduce
In this repo, I edited ./apps/docs/ui/index.mdx so that the first heading uses some inline code. Conditions for buggy behavior:

Wrapping the whole title in backticks (e.g. Introduction) removes the hashlink ID from the page HTML and removes the heading from table of contents.
Partially wrapping the title (e.g. Introduction) results in the hashlink ID being restored - but the table of contents entry only shows the "n"

Current vs. Expected behavior
I would expect the hashlink to maintain its ID and the table of contents entry to show the text content of the inline code and text.
Provide environment information
Don't think it will matter but following instructions. 😄

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 23.5.0: Wed May  1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000
  Available memory (MB): 32768
  Available CPU cores: 10
Binaries:
  Node: 20.12.0
  npm: 10.5.0
  Yarn: 1.22.19
  pnpm: 8.11.0
Relevant Packages:
  next: 14.2.3 // Latest available version is detected (14.2.3).
  eslint-config-next: N/A
  react: 18.3.1
  react-dom: 18.3.1
  typescript: 5.4.5
Next.js Config:
  output: N/A

Which area(s) are affected? (Select all that apply)
MDX
Additional context
No response

I see, I will fix it soon. For now, you can use Custom Heading Ids as a temporary fix. Thanks for pointing it out!

Will be fixed in v12

Fixed since v12


Feature table context menu

Added context menu for the feature table. This builds on #161
We will have to port some more Swing windows to java fx at some point. :/

Great progress, Steffen! :)

Great progress, Steffen! :)

I'm on a merging spree!

I'm on a merging spree!


restrict LoginActivity to portrait mode only #778

Description
the orientation of activity is restricted only in portrait mode not in landscape mode.
Related issues and discussion
#778
Screen-shots, if any
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Apply the AndroidStyle.xml style template to your code in Android Studio.

[ ] If you have multiple commits please combine them into one commit by squashing them.

[ ] Read and understood the contribution guidelines .

Thanks for the PR! Merging now.


Introduce a simple PI controller to avoid throttle hysteresis

As the title of the pull request, this simple PI controller controls the throttle smoothly so it doesn't jerk the passenger inside.

@joshchao39 Awesome PI controller 👍


Document on Knative.dev about installing via Gateway - https://github.com/knative/docs/issues/5040

I'm going to close this out for now - until we reach a level of maturity for net-gateway-api


Allow users to use their self-generated extspam

Nothing will change if they don't customize their token, but will allow those who wants to use the token to setup without changing the raw code

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

@huan Is there anything that I need to change with this PR or is there anything left to do before I submit it? Looks like it's been some days but this is still under review.

added environment support and brief readme instructions

Thank you very much for your contribution!
You are welcome to join Wechaty Contributor Program
1. Join Wechaty Organization

You've invited fi6 to Wechaty! They'll be receiving an email shortly. They can also visit https://github.com/wechaty to accept the invitation.

I have invited you to join our Wechaty GitHub Organization, please accept it by following the above message. (See also: wechaty/PMC#16)
2. Update Your Wechaty Contributor Profile

Please open Contributor Hall of Fame and add yourself to the end of the list, so that other contributors will know you better!
Please add yourself to our Website Contributors by creating a PR and refer to this PR link as well.

3. Join The Contributor Only WeChat Room
We also have a WeChat room for contributors only which can discuss Wechaty at a deeper level, you are welcome to join and if you are interested.
Please add @lijiarui wechat: ruirui_0914 and send her this pr link. She will invite you into Wechaty Contributor Room
Cheers!


Does this work with a large ListView inside each tab view?

Hi!
I need to have one ListView inside each tabbed view. These will be very big with images etc. Is this compatible with react-native-tab-view? If so, how to add content like a ListView?
Thanks!

It works with any kind of content. Please check the examples folder which includes an example for ListView.

I found it! Wow, you have done some great coding. Very good code. Will definitely recommend this to more people. Thanks!

@adremalin Thank you 😁


feat(starknet_state_sync): use real state sync client in sequencer consensus manager

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2662  👈 (View in Graphite)
#2537 : 1 other dependent PR (#2538 )
#2531
#2515
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Support monitoring OCR process

For a real time application I need timeout fonctionnalities because sometimes I have OCR times upper than 1.5 seconds. I have seen in Tesseract wrapper this code:
   private void Recognize()
    {
        if (!runRecognitionPhase) {
    		if (Interop.TessApi.BaseApiRecognize(Engine.Handle, new HandleRef(this, IntPtr.Zero)) != 0) {
                throw new InvalidOperationException("Recognition of image failed.");
            }
            runRecognitionPhase = true;
        }
    }

the second parameter in TessApiBaseApiRecognize is a monitor structure which has a timeout parameter, I have looked at the C++ code Tesseract and I have found this structure:
class ETEXT_DESC {             // output header
public:
inT16 count;                 // chars in this buffer(0)
inT16 progress;              // percent complete increasing (0-100)
inT8 more_to_come;           // true if not last
volatile inT8 ocr_alive;     // ocr sets to 1, HP 0
inT8 err_code;               // for errcode use
CANCEL_FUNC cancel;          // returns true to cancel
void* cancel_this;           // this or other data for cancel
struct timeval end_time;     // time to stop. expected to be set only by call
// to set_deadline_msecs()
EANYCODE_CHAR text[1];       // character data
ETEXT_DESC() : count(0), progress(0), more_to_come(0), ocr_alive(0),
err_code(0), cancel(NULL), cancel_this(NULL) {
end_time.tv_sec = 0;
end_time.tv_usec = 0;
}
which is what they call the monitor
Is it possible to have this fonctionnality in the .net wrapper ?

I've implemented the ability to specify a timeout for the OCR process (without support for monitoring). Would it be worthwhile to put this feature into a pull request?  The changes to the API were very minor (they are checked into the add-timeout branch on my page)

Yes, any pull requests are welcome ;)
Note that while changes to the API are fine they should be backwards
compatible (e.g. overload methods instead of just adding parameters etc).
On Mon, 3 Oct 2016, 23:37 jay-hill<EMAIL_ADDRESS>wrote:
I've implemented the ability to specify a timeout for the OCR process
(without support for monitoring). Would it be worthwhile to put this
feature into a pull request? The changes to the API were very minor (they
are checked into the add-timeout branch on my page)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/112#issuecomment-251234846,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyM-n_JefZYaCjMmwu70f-HYLfltAks5qwXWegaJpZM4CVZFT
.