LoadError (cannot load such file -- yajl)

Hello, guys!
I upgraded fast_jsonapi gem to the latest version that was released recently (v1.1) and didn't update anything else. As a result I have such error:
LoadError (cannot load such file -- yajl)

As far as I understand, the error is here: https://github.com/Netflix/fast_jsonapi/blob/cf86cd871ecfe411d9c0fb22c85212b516a22138/lib/fast_jsonapi/multi_to_json.rb#L52

switching to 1.0.17 not to reproduce this error

@zabodaevmm yeah, it's a workaround - but i like only solutions 😉

If someone else run into this trouble and #130 is not still merged, then you can manually add oj gem to your project dependencies and enjoy features from fast_jsonapi-v1.1!

Looks like this needs to be a hot fix. @GarrisonD thank you for creating a pull request. I will look into and merge it as soon as i get a chance.

just released 1.1.1 with the above changes

@shishirmk it's great news! thank you a lot!

@GarrisonD sorry about that. I wrote that bug :)


add fuzz testing

For increased reliability, we should add extensive fuzz testing.

@richardstartin  Can we close this?

I'd leave it open. There are things that aren't fuzz tested yet (most obviously anything involving mutated bitmaps).

Leaving open.

These tests catch errors, and trigger assertions in the code, but don't make it easy to capture a reproducer. I suggest we serialise the bitmap triggering an error, base64 encode it and save it to a JSON file describing the error.

Sorry to necro this ancient issue, but I'm trying to extend the fuzz testing support to Roaring64Bitmap.
Sadly I'm literally failing at step 0: How do I run the existing fuzz tests?
I did some googling on how to use bloody gradle, and it suggested that something like the following should do the trick:
./gradlew -Porg.gradle.project.roaringbitmap.fuzz-tests=true test

But apparently that isn't the case :(
Anyone know what the magic invocation is @richardstartin @lemire ?

It looks like they have rotted because they don't get run very much (way too costly to run in CI), it's been a couple of years since I've run them, in 5 minutes of trying I couldn't get them to run :(
It's definitely worthwhile resurrecting (or reworking) them because they found a lot of issues in the 32 bit implementations and I suspect lots of issues will turn up for Roaring64Bitmap.

It looks like they have rotted because they don't get run very much (way too costly to run in CI), it's been a couple of years since I've run them, in 5 minutes of trying I couldn't get them to run :(

Alright, thanks for checking and confirming I'm neither insane nor dumb :D

It's definitely worthwhile resurrecting (or reworking) them because they found a lot of issues in the 32 bit implementations and I suspect lots of issues will turn up for Roaring64Bitmap.

I concur. Roaring64Bitmap has been having so many issues recently which people randomly found, that I really feel we need this to have any confidence in the implementation at this point.

Roaring64Bitmap has been having so many issues recently which people randomly found, that I really feel we need this to have any confidence in the implementation at this point.

I started looking at this myself just to demonstrate there's a problem and that we should probably include a warning that Roaring64Bitmap is currently beta quality, but I ran into memory consumption issues quickly and I consider memory parsimony a prerequisite for reliable fuzz/property testing. Some of the problems can be resolved easily, but one of the biggest problems, that the containers aren't embedded in the leaf nodes of the ART, and instead have a 64 bit "pointer" into a paginated array of containers can't be changed without breaking serialisation compatibility, so I gave up at that point.

I started looking at this myself just to demonstrate there's a problem and that we should probably include a warning that Roaring64Bitmap is currently beta quality, but I ran into memory consumption issues quickly and I consider memory parsimony a prerequisite for reliable fuzz/property testing. Some of the problems can be resolved easily, but one of the biggest problems, that the containers aren't embedded in the leaf nodes of the ART, and instead have a 64 bit "pointer" into a paginated array of containers can't be changed without breaking serialisation compatibility, so I gave up at that point.

Do you have a pointer to a branch I could use as a starting point? No need to redo all the work you already put in.

I got sidetracked by the OOMEs pretty quickly and don't have anything worth sharing. (I do have a branch where I removed the NodeType enum which reduces the size of some ART nodes (alignment prevents this from being universally effective) which I can push if there is interest.)


adds S4HANA Cloud SDK tag to tag list, remove prerequisite tutorials …

…and next steps

 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.D065600 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Route requests to different cassette files depending on host

I have various hosts that I need to hit for a unit test. I'd like to be able to route the responses from each host to its own specific cassette file. The documentation does not appear to show an example of how to do this. Is there a recommended way of doing this?

Check out the path_transformer and func_path_generator configuration vars.
They are not well documented but I believe they will do what you want.
https://vcrpy.readthedocs.io/en/latest/advanced.html?highlight=path_transformer#automatic-cassette-naming


Spot redundant return

forM_ ...
return ()

void $ forM_ ...

Both should be warned on (and if either uses forM it should also be warned on).

Done, for all types of unit returning function.


weed mount error transport endpoint is not connected

Discussed in https://github.com/seaweedfs/seaweedfs/discussions/5546

Originally posted by CKHH April 29, 2024
Hi,
We are using weed mount to 6 filer servers. Sometimes we get error: Transport endpoint is not connected and had to restart the weed mount. What could cause the error? Thanks.
From the logs:
Apr 25 08:41:05 sftp02u weed[1318154]: panic: runtime error: invalid memory address or nil pointer dereference
Apr 25 08:41:05 sftp02u weed[1318154]: [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x1b12338]
Apr 25 08:41:05 sftp02u weed[1318154]: goroutine 2095550 [running]:
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/filer.FromPbEntry({0xc0029dfab0, 0x41}, 0x0)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/filer/entry.go:132 +0x38
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.(*FileHandle).downloadRemoteEntry.func1({0x38b0390, 0xc00df28ce0})
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/filehandle_read.go:93 +0x1c5
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.(*WFS).WithFilerClient.func1.1(0xc00959d800)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/wfs_filer_client.go:27 +0x6f
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/pb.WithGrpcClient(0xb1?, 0x7fff?, 0xc001d73910, {0xc0074709a8, 0x13}, 0x20?, {0xc0026cb900?, 0x3?, 0x2?})
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/pb/grpc_client_server.go:129 +0x4ed
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.(*WFS).WithFilerClient.func1()
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/wfs_filer_client.go:25 +0x165
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/util.Retry({0x30e16d2, 0xa}, 0xc001d73a20)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/util/retry.go:16 +0xb1
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.(*WFS).WithFilerClient(0xc0029dfab0?, 0x60?, 0x7fc51b8ed5b8?)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/wfs_filer_client.go:18 +0x66
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.(*FileHandle).downloadRemoteEntry(0xc005cfa140, 0x0)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/filehandle_read.go:78 +0xaf
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.(*FileHandle).readFromChunks(0xc005cfa140, {0xc0095b5000, 0x1000, 0x1000}, 0x0)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/filehandle_read.go:38 +0x1e5
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.readDataByFileHandle({0xc0095b5000, 0x1000, 0x1000}, 0xc005cfa140, 0x0)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/weedfs_file_read.go:80 +0x105
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/seaweedfs/seaweedfs/weed/mount.(*WFS).Read(0x47bd85?, 0xc0003d4900?, 0xc0003d4a98, {0xc0095b5000, 0x1000, 0x1000})
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/src/github.com/seaweedfs/seaweedfs/weed/mount/weedfs_file_read.go:48 +0x125
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/hanwen/go-fuse/v2/fuse.doRead(0xc0009c6580, 0xc0003d4900)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.3.0/fuse/opcode.go:392 +0x83
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/hanwen/go-fuse/v2/fuse.(*Server).handleRequest(0xc0009c6580, 0xc0003d4900)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.3.0/fuse/server.go:518 +0x1f3
Apr 25 08:41:05 sftp02u weed[1318154]: github.com/hanwen/go-fuse/v2/fuse.(*Server).loop(0xc0009c6580, 0x0?)
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.3.0/fuse/server.go:491 +0x108
Apr 25 08:41:05 sftp02u weed[1318154]: created by github.com/hanwen/go-fuse/v2/fuse.(*Server).readRequest
Apr 25 08:41:05 sftp02u weed[1318154]:         /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.3.0/fuse/server.go:358 +0x545
Apr 25 08:41:06 sftp02u systemd[1]: seaweedfs-fi-report-mount.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Apr 25 08:41:06 sftp02u systemd[1]: seaweedfs-fi-report-mount.service: Failed with result 'exit-code'.

Same issue
Oct 15 11:04:37 srv-prod-n2 weed: E1015 11:04:37.961714 page_chunk_swapfile.go:55 create swap file: open /tmp/0d33f874/swap/2721469488: no such file or directory
Oct 15 11:04:37 srv-prod-n2 weed: panic: runtime error: invalid memory address or nil pointer dereference
Oct 15 11:04:37 srv-prod-n2 weed: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1cf57e2]
Oct 15 11:04:37 srv-prod-n2 weed: goroutine 14941 [running]:
Oct 15 11:04:37 srv-prod-n2 weed: github.com/seaweedfs/seaweedfs/weed/mount/page_writer.(*SwapFileChunk).WriteDataAt(0x0, {0xc00c869200, 0x9000, 0xe9080}, 0x4000000, 0x17fe91acb7d82
d29)
Oct 15 11:04:37 srv-prod-n2 weed: /github/workspace/weed/mount/page_writer/page_chunk_swapfile.go:100 +0x62
Oct 15 11:04:37 srv-prod-n2 weed: github.com/seaweedfs/seaweedfs/weed/mount/page_writer.(*UploadPipeline).SaveDataAt(0xc001b98310, {0xc00c869200, 0x9000, 0xe9080}, 0x4000000, 0x1, 0
x17fe91acb7d82d29)
Oct 15 11:04:37 srv-prod-n2 weed: /github/workspace/weed/mount/page_writer/upload_pipeline.go:115 +0x1f4
Oct 15 11:04:37 srv-prod-n2 weed: github.com/seaweedfs/seaweedfs/weed/mount.(*ChunkedDirtyPages).AddPage(0xc0061d1200, 0x4000000, {0xc00c869200, 0x9000, 0xe9080}, 0x1, 0x17fe91acb7d
82d29)
Oct 15 11:04:37 srv-prod-n2 weed: /github/workspace/weed/mount/dirty_pages_chunked.go:45 +0x153
Oct 15 11:04:37 srv-prod-n2 weed: github.com/seaweedfs/seaweedfs/weed/mount.(*PageWriter).addToOneChunk(...)
Oct 15 11:04:37 srv-prod-n2 weed: /github/workspace/weed/mount/page_writer.go:46
Oct 15 11:04:37 srv-prod-n2 weed: github.com/seaweedfs/seaweedfs/weed/mount.(*PageWriter).AddPage(0xc00260aa00, 0x3fe9000, {0xc00c852200, 0x20000, 0x100080}, 0x1, 0x17fe91acb7d82d29
)
Oct 15 11:04:37 srv-prod-n2 weed: /github/workspace/weed/mount/page_writer.go:39 +0x21d
Oct 15 11:04:37 srv-prod-n2 weed: github.com/seaweedfs/seaweedfs/weed/mount.(*WFS).Write(0x473c26?, 0xc002c4dc00?, 0xc00c8521b0, {0xc00c852200, 0x20000, 0x100080})
Oct 15 11:04:37 srv-prod-n2 weed: /github/workspace/weed/mount/weedfs_file_write.go:65 +0x25e
Oct 15 11:04:37 srv-prod-n2 weed: github.com/hanwen/go-fuse/v2/fuse.doWrite(0x1a00000038?, 0xc002011688)
Oct 15 11:04:37 srv-prod-n2 weed: /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.5.1/fuse/opcode.go:224 +0x3b
Oct 15 11:04:37 srv-prod-n2 weed: github.com/hanwen/go-fuse/v2/fuse.(*Server).handleRequest(0xc0005e0680, 0xc002011688)
Oct 15 11:04:37 srv-prod-n2 weed: /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.5.1/fuse/server.go:527 +0x2f3
Oct 15 11:04:37 srv-prod-n2 weed: github.com/hanwen/go-fuse/v2/fuse.(*Server).loop(0xc0005e0680, 0x1)
Oct 15 11:04:37 srv-prod-n2 weed: /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.5.1/fuse/server.go:500 +0x118
Oct 15 11:04:37 srv-prod-n2 weed: created by github.com/hanwen/go-fuse/v2/fuse.(*Server).readRequest in goroutine 180
Oct 15 11:04:37 srv-prod-n2 weed: /go/pkg/mod/github.com/hanwen/go-fuse/v2@v2.5.1/fuse/server.go:367 +0x54c
Oct 15 11:04:38 srv-prod-n2 systemd: sfs-mount-robot.service: main process exited, code=exited, status=2/INVALIDARGUMENT
Oct 15 11:04:38 srv-prod-n2 nlp_gw_int/edfc3eee6679: ERROR gw.gateway 15.10 11:04:38.045 [None] Unexpected error <class 'OSError'>. Exception arguments [Errno 107] Transport endpoin
t is not connected

Please follow issue template.

open new issue #6143


Integration of Stuttering Speech Repair System into Batchalign2

Hello,
I am a member of the team that previously discussed our project with you. We have developed a stuttering speech repair system and are now eager to learn how we can integrate this system into your project. We are fully prepared to work closely with you to ensure a smooth integration.
We look forward to the opportunity to contribute to your project.

Closing per discussion by email.


⚡  [error] - ERROR Error: Uncaught (in promise): Error: CreateConnection: Connection trajectories already exists

This error is related to the migration to capacitor 4 and appeared after opening the example trajectory

This was done in 3ad8223e59f395507f2f7bc0dc4bbd1b421aa6e2


Download attempt on Chrome returns ERR_SSL_PROTOCOL_ERROR

I'v having problem in downloading the latest version of vscode (1.13) from the download page.
https://vscode-update.azurewebsites.net/latest/win32-archive/stable
Chrome complains about ERR_SSL_PROTOCOL_ERROR.
Same error shows up when I tried to download the previous version (1.12.2).
Back when 1.12.2 was released, I did not have this problem.

VSCode Version: 1.13
OS Version: Windows 7 Pro (64 bit)

Steps to Reproduce:

Download Windows .zip (standalone version) from vscode site
Chrome shows error
This site can’t provide a secure connection
vscode-update.azurewebsites.net sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR

VSCode github release page only have the source code download link.
Maybe we can have one for standalone version there as well?

Hi @phoa - we have seen this happen occasionally in different parts of the world and I believe its a CDN issue. Where are you at?

Hi @waderyan - i'm located in Singapore, but my computer is behind corporate proxy.
From whatismyipaddress.com lookup, it shows ip location in China. Did you see this happen for user downloading from China?
Unfortunately I did not do ip location lookup when I was able to download 1.12.2 or any of the previous versions back when they were released. Couldn't tell whether there was proxy location change on my end.

We did a fair amount of work to improve downloads for China locations. Are you still unable to download? Try this direct link.

I'm still unable to download. The official download page and all of the direct links still shows the same ERR_SSL_PROTOCOL_ERROR page.
One thing I notice, Google Chrome shows the "Info or Not Secure" symbol on the left side of the URL bar.
Some SSL issue with the CDN maybe?
What about hosting the portable version on the github release page (like Atom's release page) ?

@phoa What do you get with these links?

https://az764295.vo.msecnd.net/stable/376c52b955428d205459bea6619fc161fc8faacf/VSCode-win32-ia32-1.13.0.zip
https://vscode.cdn.azure.cn/stable/376c52b955428d205459bea6619fc161fc8faacf/VSCode-win32-ia32-1.13.0.zip

@joaomoreno - I'm able to dl from those links. Thank you!
Is there a vscode website that has those links listed as part of the download links?

I'm able to download the latest 1.13.1 version from the vscode download page.
Chrome not showing ERR_SSL_PROTOCOL_ERROR anymore.
I'll close this issue.
Thanks for the fix!


Run examples on change

This PR adds a new workflow, Run, that detects changed examples and runs them. This gets us another step closer to full continuous integration of example changes -- it will reduce the number of issues that show up via monitoring (🎉), but we're still missing isolated builds.
To keep testing fast and isolated, all changed examples are executed in parallel job runs (via a jobs matrix output by the changed-files action).
I also centralized the environment setup for the different CI workflows into a single action file, as in the main repo.
FYI, I would not have been able to get this working without the act tool, which runs GitHub Actions locally. Really speeds up debugging!
Type of Change

[x] Other (changes to the codebase, but not to examples)

Had to revert the updates to typechecking.
mypy<0.981 cannot typecheck any code with positional-only parameters, including modal, due to a bug. In the old way of setting up the type-checking environment, modal was not installed, and so it was not checked.
I tried to update mypy, but versions with the fix are much, much slower. As configured, typechecking was taking about two minutes per example, instead of under a minute total.
So I went back to the old way.
Note that we also can't effectively typecheck any code running inside Modal functions, because the dependencies aren't available to mypy.
So we are back to neither type-checking the core code of example apps nor the code from our library.

merging but still welcome C+C/review to improve!


update vlc,ffmpeg PREFERRED_PROVIDER

- What I did
Switch to defaulting to OE core ffmpeg &
meta-openembedded vlc.
- Reason
Upgrades to newer rpi-distro VLC version
in an OE environment have proven to be
tedious due to all the PI foundation patches.
Some patches aren't fully pushed into github
and require updates to build.
Maintaining patches have also proven to be unstable.
Default to stable builds of both so that peoples
builds aren't broken.
If rpi-distro version of ffmpeg & vlc wanted
users may switch by setting PREFFERED_PROVIDER.
- How I did it
@kraj @agherzan .
What do you guys think?

@kraj Any status

@kraj what do you mean by docs? Git log or readthedocs? If the latter, I think the commit already adds information about that.

@kraj what do you mean by docs? Git log or readthedocs? If the latter, I think the commit already adds information about that.

the same .md file in the PR, which mentions about preferred providers.

@kraj Could you have an in-line text proposal? Just to make sure we are aligned on what you propose here.

@kraj Could you have an in-line text proposal? Just to make sure we are aligned on what you propose here.

Yeah will send separately merge this one


Compatibility with Ready Set Rolls Modules. v10

Ready Set Roll is the v10 version of better rolls 5e, it seems that skills are not rolling blind automatically if ready set roll is use on skills.
https://github.com/MangoFVTT/fvtt-ready-set-roll-5e

can confirm this is also the case with Ready Set Roll

Blind Rolls should be functional with v10 now. I left a feature request over on the RSR repository for Mango to take a look at (https://github.com/MangoFVTT/fvtt-ready-set-roll-5e/issues/133); if/when he can get to that, things should work as expected.

Should all be working now with v1.4.0 of RSR and v0.9.0 of Auto Blind Rolls. Tested on Foundry build 291 and dnd5e v2.1.2.

Awesome, thank you!
On Tue, Jan 24, 2023 at 8:09 PM crash1115 @.***> wrote:

Closed #36 https://github.com/crash1115/blind-roll-skills/issues/36 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/crash1115/blind-roll-skills/issues/36#event-8351008958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABVZALPOIFI6CJTGEF3AM3WUCRNZANCNFSM6AAAAAARZYE34Q
.
You are receiving this because you commented.Message ID:
@.***>


Fixup deploy step of website CI

Validated here: https://github.com/mwestphal/f3d/actions/runs/3546771884/jobs/5956159746


Handle different formats so moment doesn't bark at us

This is something that I've been seeing in our browser console every now and then, and finally got around to tracking down.
We have dates that sometimes come in as MM/DD/YYYY, which causes this momentjs deprecation warning.

Will get this into an internal branch so the build checks will pass.


Files from desktop dissapeared?

Is there any way i can recover my files from desktop which are gone after restart?

Unfortunately I have no idea what are you talking about. The only tweaks which are changing anything on the desktop are ShowThisPCOnDesktop and ShowUserFolderOnDesktop which are adding items, not removing.


Does not work on Windows 10

Did everything as described in the documentation:

Python 3.6.9 installed
MSYS2 installed
GTK3+ installed
Path to Mingw added to PATH (btw, documentation does have it wrong - the correct path is C:\msys64\mingw64\bin, not C:\msys2\mingw64\bin
Downloaded and unpacked binary file ccli.exe (btw, the link "releases" in the documentation is broken - the correct one is https://github.com/cloudblue/connect-cli/releases)
Note: the PIP install didn't work - I don't have this "$" prompt mentioned in the doc. Tried 'pip install' in cmd.exe - command not found. Tried in MSYS2 prompt - command not found.
Edited the PATH var
Now, running ccli.exe, I get the following:

C:\Windows\system32>ccli

Traceback (most recent call last):
  File "cli\ccli.py", line 31, in <module>
  File "cli\ccli.py", line 15, in main
  File "cli\core\plugins.py", line 14, in load_plugins
  File "pkg_resources\__init__.py", line 2450, in load
  File "pkg_resources\__init__.py", line 2456, in resolve
ModuleNotFoundError: No module named 'connect.cli.plugins.play'
[33500] Failed to execute script ccli

Hi @evilguest,
can you expose please what version of the CLI tool you have? Can you check if you are running latest version 23.0?
thanks

The most recent one - downloaded 20 minutes ago.
P.S. I've found the way to run pip install connect-cli - there is a step "add pip path to the PATH var" missing in instructions.
However, this didn't change a thing - ccli.exe still outputs the same. Maybe, few more folders should be added to my PATH

hi Anton,
using pip is not for windows......just for *ix systems and seems to me that can be root cause of the issue.
please do following:
a) uninstall using pip: pip uninstall connect-cli
b) Download the single executable for windows: https://github.com/cloudblue/connect-cli/releases/download/23.0/connect-cli_23.0_windows_amd64.zip
c) Unpack the .zip and run it
please let me know about results


Build error since version 0.8

I just upgraded from 0.7.2 to 0.8.0 and npm install aborted with the following error:
../src/common.cc: In function ‘VipsImage* sharp::InitImage(sharp::ImageType, void*, size_t, VipsAccess)’:
../src/common.cc:77:74: error: ‘vips_tiffload_buffer’ was not declared in this scope
       vips_tiffload_buffer(buffer, length, &image, "access", access, NULL);

0.7.2 installs without a problem.
uname -a
Linux localhost 3.17.3-1-ARCH #1 SMP PREEMPT Fri Nov 14 23:13:48 CET 2014 x86_64 GNU/Linux
node -v
v0.10.33
node-gyp -v
v1.0.2

Hi @lovell, thanks for your patience!
I was indeed able to install sharp 0.9.1 after installing vips 7.40.11 from AUR.

Great, glad to hear you got it working.


[GSSoC'23] Code Generator Animation

Describe the project you want to add with tech stack
Code Generator Animation
Tech stack - HTML, CSS and JS
Expected behavior

Animated effect of moving numbers
Green light and hovering effect on moving number will enhance the effect.
Looks like a hacking animation.

Screenshots (optional)

Additional context (optional )

@MohitGupta121 @pranjay-poddar @Saurabh-kumar09 sir, please assign it to me to contribute under GSSoC'23 program


Seurat conversion is missing the uns metadata

See Define the requirements for AnnData uns when converting to RDS for details

PR in forked repo:

https://github.com/metakuni/sceasy/pull/1

PR in cellgeni/sceasy repo:

https://github.com/cellgeni/sceasy/pull/42

I’ve merged the changes to add the uns -> misc slot migration in my forked sceasy repo:

https://github.com/metakuni/sceasy

and created a PR on the original cellgeni/sceasy repo:

https://github.com/cellgeni/sceasy/pull/42

Not sure how long it will take to get reviewed and merged, so in the meantime, I’ll create a PR to point Portal at my fork of sceasy .
When/if cellgeni merges my PR, I can circle back and repoint Portal.

The PR on cellgeni has been merged!


Wrong region on the documentation to deploy the HelloWord

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce
Deploy the HelloWord linux sample here https://github.com/Azure-Samples/service-fabric-mesh/tree/master/templates/helloworld
Any log messages given by the failure
ERROR: The provided location 'eastus' is not available for resource type 'Microsoft.ServiceFabricMesh/gateways'. List of available regions for the resource type is 'eastasia'.
Expected/desired behavior
The resource being deployed
OS and Version?
Windows 10, Powershell
Versions
10
Mention any other details that might be useful
You need to update the documentation to use eastasia as a region

Thanks! We'll be in touch soon.

I think when you last tried, rollout must be going on and it should be working now. Please reopen the issue in case you still face it.


Integrate cargo-careful

cargo-careful enables debug assertions and some UB checks in libstd, I think it would be useful if we can fuzz under that configuration
https://github.com/RalfJung/cargo-careful
(@RalfJung Might be of interest to you)

I see now there's an open PR to enable -Zbuild-std https://github.com/rust-fuzz/cargo-fuzz/pull/292

Does this have any advantages over adding -Zbuild-std support given that we already have sanitizer support?

@fitzgen -Zbuild-std together with -Cdebug-assertions=on -Zextra-const-ub-checks -Zstrict-init-checks --cfg "careful" will basically give cargo-careful, the upside of these over just build-std+sanitizer is:

Add more UB checks in const evaluation (these never reach LLVM).
Add assertions that could catch invariants failing even if they haven't manifested into UB just yet (I think), and catch rust-specific UB that aren't necessarily LLVM UB.

Yeah I guess I would rather use these -Z rustc flags ourselves than add another layer around cargo.


Why Actions and explain sub action paths.

If I were to write it I'd begin with a preamble which would frame the action system. i.e. why does it exist? What problems is it trying to solve? Why does it need to be so abstract and weird? Why can't I just access controller hardware directly etc...? The questions that developers may have going into this weird and unconventional system if they have NEVER seen it before. I think its crucial for developer understanding to get them into the right head space and framing for this and for that we need to give context.
There is also no mention of subaction paths, which is a huge point of confusion from developers. I believe that should also be given some context (motivation and history), and potentially an example as to why it would be used.
I'd prefer that the examples of actions given were not just controller button actions, but rather game / app actions like "teleport" "interact" "shoot" "jump" etc...

See my writeups on #30 that probably should have gone here instead.

Thanks @rpavlik , it's starting to come into focus for me. I'll update the text provisionally in advance of the meeting on 1st August.

some more details from the godot project:
https://docs.godotengine.org/en/stable/tutorials/xr/xr_action_map.html

tentative closing


Users not getting merge when signing in first with Google and then with Apple

Bug report
Describe the bug

Sign in with Google first and then with Apple: It fails to merge users
Sign in with Apple first and then with Google: Everything is ok

To Reproduce
I use native sign in with Apple:
const result = await supabase.auth.signInWithIdToken({
  provider: 'apple',
  token <THE_ONE_I_GOT_NATIVELY>,
});

That works ok. For Google I use supabase.auth.signInWithOAuth. It also works ok.
Both using same email. If I sign in first with Apple and then with Google, everything is ok (users are merged because same email).
But If I sign in using Google first (user gets created) and then I try to sign in with Apple (same email), I get the following error:
duplicate key value violates unique constraint "users_email_partial_key"

Expected behavior
I think sign in method should not matter, if email is the same, users should get merged.
Screenshots
If applicable, add screenshots to help explain your problem.
System information

OS: macOS
React Native: 0.70.7
Version of supabase-js: 2.10.0
Version of Node.js: 16.18.1

Additional context
Add any other context about the problem here.

hey @ferrannp, can you email us at our support channel and we'll investigate the issue with your project

Hello @kangmingtay, I already open a ticket to the support channel. @hf came back with a response that this issue is a known problem and it has been reported a few times. To be honest this seems pretty critical to me. Basically:

If you sign it with Apple first, no problem to then sign in with Google or Apple again (on Android or iPhone)
If you sign it with Google, then I cannot sign in with Apple (forever stuck to Google). This is really bad for users that might change their devices

hey @ferrannp, i've replied to your support ticket with a detailed explanation but for transparency, i'll also include my response here so the community can reference it:

This happens because only OAuth logins are automatically linked to existing accounts. The behaviour is similar for other auth flows as well. For example, if you use signInWithOAuth for google and then try to signUp with email and password or magiclink, it will return an error that a user is already registered.
Perhaps we can make the error here more explicit instead of returning an error like "Database error saving user". We won't be allowing automatic linking for the flow you mentioned:

signInWithOAuth for google
signInWithIdToken for apple

If you signInWithIdToken first and signInWithOAuth, the 2 accounts will be automatically linked if they have the same email because signInWithOAuth uses the automatic linking logic here. The automatic linking logic was already implemented for some time and it makes it hard to remove it (for backward compatibility reasons). This is also a huge blocker for another issue which is to remove the requirement for emails on OAuth logins.

We also do not have docs around signInWithIdToken because it's experimental at this point and we will most likely change the API around it. I understand that this is a pretty common use case where you'd want a user to have access to both the web and mobile app but automatically linking accounts here is not the solution we are planning for. We plan to expose an API which allows developers the freedom to link accounts easily rather than deciding to automatically link them on the user's behalf.

Hello again 👋 . Posting my answer here for the community too:

Thanks for your explanation. Actually my use case is between iOS users and Android users.
Apple forces native sign in so my idea was to offer Apple and Google on iPhone and Google on Android. As far as I > understand, the only way to comply with Apple is using signInWithIdToken, correct?
What recommendation would you give to me then? Should I ditch Google authentication and only go with Apple + username and password?

this is happening when users are created via inviteByEmail, then try to oauth into google

hey @bigp34ch, can you please email us at support so we can look into the issue for your project?

@kangmingtay is there any plans that no matter how the user signs in, if they have the same email, we can choose the accounts to be merged? Like some setting in the Supabase dashboard?

hey @bigp34ch, can you please email us at support so we can look into the issue for your project?

hey, @kangmingtay. we did.

Same problem here. User created with email+password, and can't log in with gmail. After reaching out to support we only received this:
Hey there,

Thank you for reaching out to Supabase Support.

We appreciate your inquiry. While we would love to be able to assist with all aspects of your project, our support is primarily focused on addressing instance-related issues, such as server connectivity/bugs or configuration problems.

If need help with your code or a function you have written, we recommend contacting community support on GitHub Discussions or on Discord. The community is made up of experienced developers who may be able to provide guidance and support with code-related issues.

To get the most helpful response from the community, providing clear and detailed information about your problem and any error messages you may be encountering is important. Be sure to also include any relevant code snippets in your message.

If you have further questions, please don't hesitate to contact us again.

Thanks,
Kevin Brolly
Supabase Support Engineer

Hey @ksaitor, sorry about that.
In general though we're now trying to address this in https://github.com/supabase/gotrue/pull/1108.
I'll transfer this issue to the backend repo.


Active travis when forking and committing potential patch

Related to #30

let's close this one to concentrate the discussion in #30


Issues about the test video list and the evaluation result

Hello.
First of all, thanks for your good reproducing of STPN.
I have two issues.
One is about the test video list, and the other is about the evaluation result.

In the THUMOS'14 test split, there are 213 videos. After removing two videos(270, 1496), there will be 211 videos. However there are 210 videos in your test split file. I found that the difference is existence of number "1292".  Is there any reason for not including that video?
p.s. When I included that video, the performance decreased.

I think I perfectly followed your instruction. But there is slight difference between my evaluation result and yours. My result is like below:
|    0.1    |    0.2    |    0.3    |    0.4    |    0.5    |    0.6    |    0.7    |    0.8    |    0.9    |    mAP    |
| 0.5220 | 0.4356 | 0.3331 |  0.2449 | 0.1675 | 0.0987 | 00474 | 0.0126 | 0.0009  |  0.2070   |
I used your code and ckpt files.
Is there any factor of making differences? (randomness, different hyper-parameter, etc.)

Thanks for your good work, again.

I am trying to replicate the results in this repos but my results lag as follows
| 0.1   | 0.2    | 0.3    | 0.4   | 0.5   | 0.6    | 0.7    | 0.8   | 0.9  | mAP                          |
0.499| 0.416| 0.324|0.239|0.166| 0.100|0.043|0.012|0.001|0.2004153548431421
I use

ffmpeg to subsample 10fps
dense_flow (cv::cuda::OpticalFlowDual_TVL1::create()) with param bound=20

did you use these tools or something else?

I don't think subsampling 1 frame every 3 frames is accurate because some videos have less than 30 fps (e.g., 24 fps).
I preserve the aspect ratio when scaling the frames

Any idea what could be wrong?


TypeError: Cannot read property "prototype" from undefined

seeing this error thrown in my app around these lines
// IE9-11 has no method "contains" in SVG element and in Node.prototype. Bug #10259.
var jqLiteContains = window.Node.prototype.contains || /** @this */ function(arg) {
  // eslint-disable-next-line no-bitwise
  return !!(this.compareDocumentPosition(arg) & 16);
};

happens with this user agent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727)

Hi @binarykitchen, thanks for your feedback!
I'm a bit confused, this seems to be an angular.js issue, contains method is not provided by jqlite.
Could you provide a playground to test this behavior?

i am afraid, i cannot reduce this to a small test case. things in the angular code seem to be too bloated.
but i think we should add a check whether window.Node is defined. if not, then use that function.

Hi again @binarykitchen , I've added $.contains method to jqLite, maybe this can be helpful for you.
According to angular issue #10259, this behavior can be escaped with following snippet:
if (typeof SVGElement.prototype.contains == 'undefined') {
  SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
}

In general, I prefer to avoid add hacks and polyfills to jqLite in order to avoid mistake libraries that detects browser support (like modernizr)

@jgermade do i need to replace the buggy code
var jqLiteContains = window.Node.prototype.contains || /** @this */ function(arg) {
// eslint-disable-next-line no-bitwise
return !!(this.compareDocumentPosition(arg) & 16);
};
with if (typeof SVGElement.prototype.contains == 'undefined') {
SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
}
or do it need to place it somewhere


Occasional exception: ValueError: Invalid file descriptor: -1

Exception ignored in: <bound method BaseEventLoop.__del__ of <_UnixSelectorEventLoop running=False closed=False debug=False>>
Traceback (most recent call last):
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/asyncio/base_events.py", line 512, in __del__
    self.close()
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/asyncio/unix_events.py", line 63, in close
    super().close()
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/asyncio/selector_events.py", line 110, in close
    self._close_self_pipe()
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/asyncio/selector_events.py", line 120, in _close_self_pipe
    self._remove_reader(self._ssock.fileno())
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/asyncio/selector_events.py", line 279, in _remove_reader
    key = self._selector.get_key(fd)
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/selectors.py", line 189, in get_key
    return mapping[fileobj]
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/selectors.py", line 70, in __getitem__
    fd = self._selector._fileobj_lookup(fileobj)
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/selectors.py", line 224, in _fileobj_lookup
    return _fileobj_to_fd(fileobj)
  File "/Users/davidosomething/.local/pyenv/versions/3.6.2/lib/python3.6/selectors.py", line 41, in _fileobj_to_fd
    raise ValueError("Invalid file descriptor: {}".format(fd))
ValueError: Invalid file descriptor: -1

Repro steps?

I can't reproduce it, but it would be interesting to know if it still happens with the latest neovim-remote v1.8.4.
That version double-checks if a given Unix domain is valid by trying to connect to it first and using a temporary socket should that fail.

Since there's nothing I can do about this without further information, I'm closing this.
Please reopen if you still think it's an issue in neovim-remote.

I get similar exception sometimes in the following case:
def sample_task(self, name: str, payload: dict):
    loop = asyncio.new_event_loop()
    coro = asyncio.sleep(1.0, loop=loop)
    result = loop.run_until_complete(coro)
    # loop.close()  # uncomment this line to avoid edge case with __del__
    return result

Looks like a kind of edge case with BaseEventLoop.__del__.
Note the line loop.close() before returning result. In my case solution was to close loop explicitly!

@mhinz I didn't use neovim actually, I just googled similar bug and thought it would be helpful :)


PermissionUtils没有适配安卓11

Describe the bug
获取存储权限需要适配安卓11
A clear and concise description of what the bug is.

The version of AndroidUtilCode:
The device:
The version of device:

The code of bug

put your code here

The stack of crash

put the stack of crash here

Screenshots
If applicable, add screenshots to help explain your problem.
Please delete the current line and the following.
Thank you for supporting AndroidUtilCode.

同求修复

我也遇到了，感觉是bug


feat(axon-tools): add precompile payload codec

What this PR does / why we need it?
This PR add verify_cmbt_proof precompile payload struct to axon-tools.
What is the impact of this PR?
No Breaking Change
PR relation:

Ref #1578

CI Settings

CI Usage
Tip: Check the CI you want to run below, and then comment /run-ci.
CI Switch

[ ] Web3 Compatible Tests
[ ] OCT 1-5 And 12-15
[ ] OCT 6-10
[ ] OCT 11
[ ] OCT 16-19
[ ] v3 Core Tests

CI Description

CI Name
Description

Web3 Compatible Test
Test the Web3 compatibility of Axon

v3 Core Test
Run the compatibility tests provided by Uniswap V3

OCT 1-5 | 6-10 | 11 | 12-15 | 16-19
Run the compatibility tests provided by OpenZeppelin

what about moving verification process into axon-tools and reference it to axon's precompile module, so relayer can execute this verification before sending proofs to solidity


Refactor 1

Codecov Report
Patch coverage: 81.81% and project coverage change: +1.20 :tada:

Comparison is base (76d804c) 89.51% compared to head (30f3d85) 90.71%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff               @@
##             entrega2      #44      +/-   ##
==============================================
+ Coverage       89.51%   90.71%   +1.20%
- Complexity        145      149       +4
==============================================
  Files              35       35
  Lines             372      377       +5
  Branches           20       21       +1
==============================================
+ Hits              333      342       +9
+ Misses             28       23       -5
- Partials           11       12       +1

Impacted Files
Coverage Δ

src/main/java/edu/fiuba/algo3/modelo/Hormiga.java
100.00% <ø> (ø)

src/main/java/edu/fiuba/algo3/modelo/Mapa.java
100.00% <ø> (+11.11%)
:arrow_up:

.../java/edu/fiuba/algo3/modelo/ProcesoDeDefensa.java
100.00% <ø> (ø)

src/main/java/edu/fiuba/algo3/modelo/Turno.java
77.27% <33.33%> (+8.85%)
:arrow_up:

src/main/java/edu/fiuba/algo3/modelo/Enemigo.java
78.57% <100.00%> (+1.64%)
:arrow_up:

src/main/java/edu/fiuba/algo3/modelo/Pasarela.java
96.87% <100.00%> (+0.57%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Fluentd Exclude Path- Question

Do we still need to exclude logs using "fluentd_exclude_path" in values.yaml if we annotate the namespace  that we don't to forward logs to splunk with "splunk,com/exclude: true"

i recommend using fluentd_exclude_path because it will be much more efficient. while the annotation will work well, but it will consume processing resource.

We are currently setting the annotations to splunk.com/exclude=true on namespaces that we don't want logs to be forwarded to splunk. exclude_path is configured when we initially deploy SCK to exclude certain logs and as we deploy new applications exclude_path will not work anymore since the new pod is not included there, in that scenario the annotation works, but I do see that the container logs are being tailed with the annotation,not sure if it has filter to exclude them after tailing them

yea, the annotation exclusion will tail the file then filter them out. that is why using exclude_path is more efficient, but that requires restart of pods.

What happens to the logs that are written in between the restart of pods. Do they get lost or get forwarded to splunk as soon as the logging pod is up?

can you please test the scenario you are describing? all logs get written to disk on node then read there...

@matthewmodestino I have tested by adding the values under exclude_path before deploying splunk connect and after deploying when a new namespace is created and annotating with splunk.com/exclude=true , the logs of the containers from the namespace are being tailed but excluded before forwarding to splunk which is expected I believe.

How to exclude all ns from sending logs to splunk? In our multi-tenant k8s clusters where we host multiple orgs, we don't want neither annotate NS nor configure exclude_path (it's not manageable).
So we want to send logs only from NS annotated with  splunk.com/index, for example.

I believe our OTel collector work had implement this logic, you could look at that, or you can use the include path instead of exclude to make sure the collector only ever looks for the namespace you care about, rather than picking up all and excluding
Update your fluentd path:
https://github.com/splunk/splunk-connect-for-kubernetes/blob/a9881ac89bfe1caa240a573be963572a20dedb55/helm-chart/splunk-connect-for-kubernetes/values.yaml#L87
OTel "include" annotation support:
https://github.com/signalfx/splunk-otel-collector-chart/blob/58ff57cf7c97e3f2ae217e15ba7a577430fc6ccc/helm-charts/splunk-otel-collector/values.yaml#L464


Set promise continuation callback so that promise task can be enqueued correctly.

@atulkatti,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@Microsoft/chakra-developers
This has already been reviewed internally.


Publish JavaThemis for Android to Maven Central

As you might know, JFrog is sunsetting Bintray and JCenter. Unfortunately, this is exactly where JavaThemis has been hosted so far. In order to ensure continuous availability, JavaThemis migrates to the Maven Central repository.
Maven Central repository is maintained by the Apache Software Foundation. It is much less likely to experience a critical existence failure in the future. Maven Central repository is well established and trusted in the developer community.
Wait, does this mean my builds are going to be broken?
No.
Gradle has built-in support for the Central repository. Many Android apps are probably already using it. The only change that app developers need to do is slightly tweak the build.gradle file:
repositories {
    // NEW repository:
    mavenCentral()

    // Old and deprecated:
    // jcenter()
}

// NOTE: this section is exactly the same as it was for JCenter
dependencies {
    // Add JavaThemis as runtime dependency of your application.
    // Always pin the latest version, you can find it here:
    // https://search.maven.org/artifact/com.cossacklabs.com/themis
    implementation 'com.cossacklabs.com:themis:0.13.1'
}

Latest stable release of Themis 0.13.1 is already published in the Maven Central repository (as well as available via Bintray and JCentral, until they are discontinued). New releases will be published only in the Maven Central repository.
Checklist

[X] Change is covered by automated tests (not really, but I'd like to add this later)
[X] The coding guidelines are followed
[X] Public API has proper documentation
[X] Example projects and code samples are up-to-date (will do later)
[X] Changelog is updated

How to publish JavaThemis for Android to the Maven Central repo

Prepare the environment.

ANDROID_HOME — path to Android SDK
Typically it's installed here:
export ANDROID_HOME=$HOME/Android/sdk

or here:
export ANDROID_HOME=$HOME/Library/Android/sdk

Install GPG2
Gradle defaults to using GPG2 API. Most systems already have it available as gpg.
Check the version you have with gpg --version

Acquire GPG signing keys
Import the keys with gpg --allow-secret-key-import --import key.gpg, or however you like.
Make sure you see them in gpg --list-secret-keys and they have S (signing) permission.

Configure GPG for Gradle

Create the following file to keep secrets:
mkdir -p  $HOME/.gradle
touch     $HOME/.gradle/gradle.properties
chmod 600 $HOME/.gradle/gradle.properties

Add the following lines there:
signing.gnupg.executable=gpg
signing.gnupg.keyName=[ID of the signing key]
signing.gnupg.passphrase=[passphrase to unlock signing key]

Key ID is the long hex string you see in gpg --list-keys output.

Important: Since the passphrase to the signing key is written to the gradle.properties file, it is advisable to either setup publishing automation, or erase the file immediately after upload.

OSSRH_USERNAME and OSSRH_PASSWORD — Sonatype credentials
Instead of using your credentials, visit this URL:
https://oss.sonatype.org/#profile;User Token
and obtain an access token.
If you a prompted to login, you might need to refresh the page and manually select “User Token” in the dropdown:

(UI is a bit janky there. Web apps ¯\_(ツ)_/¯)
Then press “Access User Token” to get the following window:

Set the credentials in environment:
export OSSRH_USERNAME=XXXXXXXXX
export OSSRH_PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Build Android binaries.
./gradlew :android:assembleRelease

This takes a while, go do something else in the meantime.

Publish to local repository (optional step for manual verification).
./gradlew :android:publishToMavenLocal

This will package, sign, and install Themis package into your local Maven repository, available to local builds.
It's typically located in $HOME/.m2/repository
You can try building example code or something to verify that the package works as intended.

Publish to staging Sonatype repository.
./gradlew :android:publish

This uploads the package to staging repository for verification. It's not yet published to the central repo.

Initiate artifact verification by Sonatype.
Visit this URL:
https://oss.sonatype.org/#stagingRepositories
You should see your upload there:

Select it and press “Close”. This closes the “upload window” to the repository, finalizing it.
After the repository is closed, Sonatype will run a bunch of checks to verify that binaries are signed, pom.xml is correct, Javadocs and source code are present, etc. This usually completes within seconds.
You can track the progress on the same page. Just smash the “Refresh” button.

Check the binaries from staging repository.
If you select the staging repository, you will see its URL:

If you want to check the binaries, add this as your Maven repo list:
repositories {
    maven {
        url "https://oss.sonatype.org/content/repositories/comcossacklabscom-1002"
    }
}

Then do your builds, checks, whatnot with the new version.

Publish to production repositories.
Press the “Release” button to publish:

(or “Drop” to abort).
This publishes artifacts to the public Sonatype repository:
https://oss.sonatype.org/content/repositories/releases/

Wait for sync to the Central repo.
Within around 10 minutes the new release should be synced with the Maven Central repo. Normally much faster.

🎉 Congratulations! You Have Won! 🎉
a chance to replace yourself with a bash script that does all of this

Do you know if Maven accepts uploading library with the same version, or strictly requires to increment the version?

That depends on the repository. Maven's assumptions are that artifacts never change so you're not supposed to update them. (E.g., Maven can cache the artifact locally and never check the repo again for updates of a particular version.)
OSSRH repos disable redeployment for release repositories, but it's allowed for staging repositories.
So once a version is released to the central repository, you can't change it. However, you can reupload and update artifacts in a staging repository before they are released. For example, if you're testing a release from a staging repo and find an issue, you can still apply a fix, then redeploy to the staging repository, and test again. But once it's out to the release repo – well, admit the bug and make a new release.
I'm not sure what the story is on yanking releases – making them inaccessible – but I'd suppose that if it can be done, it should be done by contacting humans for support. The repo management software seems to be able to do that, but I'm not sure if it's allowed by the policies. There aren't many docs on that.


134 create html and style   section 1   blog page

I have created the top section of the blog-page. Initially when I tried to push the content, I had a merge conflict, but managed to solve this. The conflict happened because I pushed to main, and not my branch.

Checked in another PR, everything fine


ClientContext should return ZooCache

I don't know if ZooCache is the right abstraction for this. It would be nice if we had some abstraction for "small consistent persisted cluster-wide state storage" that didn't necessarily expose ZK or our caching layer on top of ZK.

I see this issue as an iterative improvement.  If we start returning ZooCache from ClientContext, it will be easier eventually swap it out with something better.

For the methods hanging off server context, they could return objects for reading and writing certain types of data.  Below are some possible candidates for abstractions that could hang off server context.

Persistent tablet data (sometimes stored in ZK, usually in metadata table).
Delete makers and blips
Walogs
FATE data
Security data

No activity in over 4 years so closing, can be re-opened if still relevant.


You can directly feed in pre-calculated chemical potentials to doped but how?

In the tutorials phase of doped (Defect Calculation Parsing), it is stated that "you can directly feed in pre-calculated chemical potentials to doped,.." but we are unable to see the illustration.  Suppose we want to directly feed in pre-calculated chemical potentials for 3 competing phases, say, A, B, and C, during "Defect Calculation Parsing", can you please let us have the syntax?
Thanks for the very good software tool
R

Hi R,
Manually inputting chemical potentials is shown here and here in the tutorials. The format is also described in the docstrings and API docs (e.g. here).
I'll make a clearer note of this in the tutorials. Hope that helps!

Hi R, Manually inputting chemical potentials is shown here and here in the tutorials. The format is also described in the docstrings and API docs (e.g. here).
I'll make a clearer note of this in the tutorials. Hope that helps!

Thanks Dr Kavanase
Can you please help me with the formation energy graph and data shown in the following screenshots?

I can relate the 2 data points on the graph with the formation energies of Cr with charge states 0 and +1.
Does this mean the plot ignores formation energies of Cr with other charge states?
How the x-axis is obtained on the plot?
Actually, all OUTCAR's have "Fermi energy" and "E-fermi" data which are different from different OUTCAR's.
Moreover, In a given OUTCAR with Cr impurity, the "Fermi energy" and "E-fermi" themselves are different.
The formation energy data screenshot says: "Fermi level was not set, so using mid-gap Fermi level (E_g/2=2.03 eV relative to the VBM"
How to set Fermi level to formation energy parsing?
Which Fermi level should be used, that of pure bulk or that of systems with impurity?
How to read the formation energy plot?
On the left and right sides of the 2 data points, the formation energies decrease with changes in Fermi energy?
(but no such decrease formation energies printed in the screenshot)
How to label the data points on the plot with charge states or charge transition states?
Thanks
R


android:gravity="start" not working on TextViews on RTL locales

It seems the lib is making TextViews to ignore (or have inverted) the setting android:gravity="end/start" when RTL is used (by choosing hebrew as the device language for example).
If you set the device in Hebrew and have a TextView:
<TextView
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="start"
    android:text="hello world" />

Current result: the text appears aligned to the left (which is wrong) because the devices is currently RTL.
Expected result: the text should appear aligned to the right.

Does this still happen if you disable Calligraphy?

@richardjbs This will still show the text on the left because you have hard-coded a western character set. If you use a reference to @string/hello_world and replace that in strings.xml for both values-en and values-iw (for hebrew) it should work as expected.
I'm working on a project which supports Arabic and English and have seen this many times. I don't believe Calligraphy is related to this issue.

Oh that's great to know, I didn't know that! Hope that solves it!
On Mon, Mar 20, 2017, 13:57 Andrew Kelly<EMAIL_ADDRESS>wrote:

@richardjbs https://github.com/richardjbs This will still show the text
on the left because you have hard-coded a western character set. If you use
a reference to @string/hello_world and replace that in strings.xml for both
values-en and values-iw (for hebrew) it should work as expected.
I'm working on a project which supports Arabic and English and have seen
this many times. I don't believe Calligraphy is related to this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chrisjenx/Calligraphy/issues/316#issuecomment-287679015,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHRsa7xgmXKwivapaa3Mak5SCx0xWpVks5rngc3gaJpZM4JdI8P
.

I have met the same issue, through I did not use this library...
I googled why I met this issue, and luckily I found a solution.
Add
                android:textDirection="locale"
                android:textAlignment="viewStart"

rather than android:gravity="start"
And it does work.

                android:textDirection="locale"
                android:textAlignment="viewStart"

Great working as expected, thanks for the help.

That doesn't work for me. I've supportsRtl disabled it in the manifest. Is there any way to do this?

I have met the same issue, through I did not use this library...
I googled why I met this issue, and luckily I found a solution.
Add
                android:textDirection="locale"
                android:textAlignment="viewStart"

rather than android:gravity="start"
And it does work.

Thanks

Awesome, that works!!


Fix Style/AlignHash

:+1:

@homu r+

:pushpin: Commit db3d4bb has been approved by segiddins

:hourglass: Testing commit db3d4bb with merge 301bec2...

:sunny: Test successful - status


How to get access to monaco editor in extension code.

I am working on an extension for PR review for a new language. For that we need to do syntax highlighting and also show diff in PR review.
I have a look at code editor contribution example but still not able to find how to access Monaco editor in extension code.
Also is it possible via sdk to create new PR view view for new language?

Ever figure this out? Looks like it's supposed to be possible but the code editor extension types simply doesn't load.


'_File' is not a subtype of type 'String' in type cast

An error occurred while posting an image to the API

if you look at the definition of post (in var response = await http.post).
/// [body] sets the body of the request. It can be a [String], a [List] or
/// a [Map<String, String>]. If it's a String, it's encoded using [encoding] and
/// used as the body of the request. The content-type of the request will
/// default to "text/plain".
so it must be send as [String] , [List] or [Map<String, String>]
but
var response = await http.post(uri, body: {
'image': File.fromRawPath(file),
});
you send it as file format

to send image you have two option (maybe more, but i'm idiot)
1. using MultipartRequest
var request = http.MultipartRequest('POST', uri)
..files.add(http.MultipartFile(
'image', // File field name
Stream.fromIterable(file.map(
(int byte) => [byte])), // Convert Uint8List to Stream<List>
file.length, // Length of the Uint8List
));
2. convert Uint8List to base64
var response = await http.post(uri, body: {
'image': base64Encode(file), // convert Uint8List to base64
});
in this case, sever have to decode the base64 (I think?)


fix: Run prebuild in the project

Running pnpm dlx expo prebuild in the project moves all of the settings from app.json into ios/ and android/ folders. In this case it's icons, splashes, biometrics settings/permission and stuff. it's mostly needed for android builds

Are the ic_launcher icons what we actually want? Those look like placeholders and in my last Android PR I merged in the cursive "L" icon for the launcher icon.


Consumer client.rack

@h1alexbel thank you for reporting this. I'll assign someone to take care of it soon.

@h1alexbel this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-05-23T07:22:18.838906.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.

@h1alexbel thank you for resolving this ticket. I've just added it to your active invoice. You can always check all your invoices and more on the Contributor Dashboard.


Add iPhone8, iPhone8Plus, iPhoneX

Add iPhone8, iPhone8Plus, iPhoneX
Change order of iPhoneSE

Let's wait few days until official release of Xcode 9 / iOS 11

Xcode 9 / iOS 11 is out now, and this LGTM

I know. Will test and merge in this weekends

@mlight3 If you get the chance please also update the tests with these new devices.
@igorkislyuk thanks.

@mlight3 Pull request is good, otherwise few changes are required:

add tests
bump version to 1.0
update changelog.md

@igorkislyuk Great! and Thanks! 👍


Fix JSON serialization bug in transmission plugin

Motivation for changes:
Fix a bug in transmission plugin that causes a fatal exception when using content_filename that a binary string cannot be serialized to JSON.
Detailed changes:
Remove a call to .encode('utf-8') on the filename to keep the filename as a proper 'str' object.
Addressed issues:
No separate issue reported.
Config usage if relevant (new plugin or updated schema):
templates:
  webdl:
    configure_series:
      settings:
        quality: 720p !h265
        set:
          path: /media/data/TV Shows/{{series_name}}
          main_file_only: yes
          content_filename: "{{ series_name|replace(' ','.') }} - {% if series_id_type == 'ep' %}{{ series_season }}x{{ series_episode|pad(2) }}{% else %}{{series_id}}{% endif %} - {{ quality|upper }}{% if proper %} - PROPER{% endif %}"
          magnetization_timeout: 300
        upgrade: yes
        tracking: no
      from:
        filesystem:
          - /media/data/TV Shows/
    transmission:
      host: localhost
      port: 9091

tasks:
  kickass:
    priority: 10
    inputs:
      - rss: https://kat.cr/tv/?rss=1&page=1
    template: webdl

Log and/or tests output (preferably both):
2016-06-23 23:17 DEBUG    manager                       Figuring out config load paths
2016-06-23 23:17 DEBUG    manager                       Found config: /home/xbmc/.flexget/config.yml
2016-06-23 23:17 DEBUG    manager                       Config file /home/xbmc/.flexget/config.yml selected
2016-06-23 23:17 INFO     download      kickass         Downloading: Aquarius 2x04 (720p-HDTV-x264-PROPER-FLEET)[VTV]
2016-06-23 23:17 INFO     transmission  kickass         "Aquarius 2x04 (720p-HDTV-x264-PROPER-FLEET)[VTV]" torrent added to transmission
2016-06-23 23:17 CRITICAL task          kickass         BUG: Unhandled error in plugin transmission: b'Aquarius - 2x4 - 720P HDTV H264 [PROPER].mkv' is not JSON serializable
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/flexget/task.py", line 443, in __run_plugin
    return method(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/flexget/event.py", line 23, in __call__
    return self.func(*args, **kwargs)

This change removes code that converted a str to a list<byte> when using content_filename.
The .encode('utf-8') call was returning a byte array that caused a JSON serialization error.  By removing this call, a regular UTF-8 str object is returned, which can be properly serialized.

I'm pretty sure removing .encode('utf-8') will break either py2 or py3 when handling special characters; i can't remember which one it messes up.
I think it needs to be a change similar to commit 79759fc .

Any progress on this?


sqlc hallucinates ambiguous column references when no ambiguity exists

Version
1.19.1
What happened?
Discovered while working on https://github.com/sqlc-dev/sqlc/pull/2537, sqlc returns an ambiguous column reference error for some queries which run fine with psql. See examples below.
To fix we'll need to update findColumnForRef() in output_columns.go I believe.
Relevant log output
query.sql:9:1: column reference "name" is ambiguous: if you want to skip this validation, set 'strict_order_by' to false

Database schema
CREATE TABLE authors (
  id   BIGSERIAL PRIMARY KEY,
  name text      NOT NULL,
  bio  text
);

SQL queries
SELECT a.name
FROM authors a JOIN authors b ON a.id = b.id
ORDER BY name;

SELECT a.name AS name
FROM authors a JOIN authors b ON a.id = b.id
ORDER BY name;

Configuration
{
  "version": "1",
  "packages": [
    {
      "path": "db",
      "engine": "postgresql",
      "schema": "query.sql",
      "queries": "query.sql"
    }
  ]
}

Playground URL
https://play.sqlc.dev/p/8e9c3fa8f50201433c489b118a731130a7011574ec53d27bbe460eb1978f2f13
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

The urgency on resolving this isn't super high. The obvious workaround is to just fully qualify the column names in your order by clauses. In both queries above, using ORDER BY a.name resolves the sqlc confusion about ambiguity.

Fixed as of v1.22.0 https://play.sqlc.dev/p/7daff5ad5a1573f1f3c1d8604e804d83af316633f7ab1edcded7c57c9bd3240b

Still broken if you use the postgresql or mysql engines: https://play.sqlc.dev/p/3d1c2485fb8a777557b4de50bb3f7d60e17ec1a8fdcbdb42d674a5b5eae967ad

This is fixed in v1.23.0 by enabling the database-backed query analyzer. We added a test case for this issue so it won’t break in the future.
You can play around with the working example on the playground


update to llvm 18

fixes #34

Updated this to use https://apt.llvm.org/ instead of brew for ci

Thank you for the changes!


Support SkipRepeats

Hi,
I wanted to know if this library support or maybe can support SkipRepeats.
What is SkipRepeats + Example:
SkipRepeats allows ReSwift framework to skip and not trigger the newState delegate method in case the sub-state was not changed. It's really simple but very helpful feature that can boost apps performance.
Let's assume that I have the following AppState in my app:
struct AppState : StateType, HasNavigationState {
    var itemState: ItemState,
    var currentUserState: CurrentUserState
}

In order to use skip repeats you need to divide your AppState to sub-states and subscribe to the sub state (or part of it) in the view controller. Each sub-state must conform to Equatable, this way the framework can detect if the sub-state has been changed or not (after dispatching an action) and only if it was changed then the newState method will be called.
So current user state looks like the following:
struct CurrentUserState : StateType {
    var name: String?
    var currentUserId: String?
   ....
}

extension CurrentUserState : Equatable {
    static func ==(lhs: CurrentUserState, rhs: CurrentUserState) -> Bool {
        return lhs.currentUserId == rhs.currentUserId &&
            lhs.name == rhs.name
    }
}

Now, because ReSwift implemented selectors you can subscribe only to part of your state inside your view controller:
        store.subscribe(self) {subscription in
            subscription.select {state in
                state.currentUserState }.skipRepeats()
        }

As you can see from the code above, If I put skipRepeats() the view controller newState (the subscriber) will be called only if the currentUserState changed.
SkipRepeats is a small but very powerful feature that can lead to big improvements in the performance of an app and especially for a big apps.
I wanted to know if it is possible to support skipRepeats in this library as well or maybe it is already supported and I am missing something?
Thanks in advance!

Hi Ran,
As far as I can tell, skipRepeats is already used because ReSwift does that automatically when your state is Equatable, which is required by ReRxSwift.
If I understand you correctly, your request is in fact about being able to subscribe to substate instead of the entire state, is that correct?

Hi @svdo actually I also noticed that so yes. If this library will support selectors (subscribe to part of the state like: sub state or even property of the state) it will be amazing!
Thanks,
Ran.

I like the idea, but I don't have time to work on it atm I'm afraid...


change image id value to byte array

Signed-off-by: Jonathan Holloway<EMAIL_ADDRESS>Description
Changed image ID type to byte array in json.Unmarshal
Fixes # (issue) THEEDGE-1714
Type of change
What is it?

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation update
[ ] Tests update
[ ] Refactor

Checklist:

[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] I run go fmt ./... to check that my code is properly formatted
[x] I run go vet ./... to check that my code is free of common Go style mistakes

Codecov Report

Merging #855 (5d400e2) into main (6073feb) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main     #855   +/-   ##
=======================================
  Coverage   30.69%   30.69%
=======================================
  Files          44       44
  Lines        4975     4974    -1
=======================================
  Hits         1527     1527
+ Misses       3244     3243    -1
  Partials      204      204

Impacted Files
Coverage Δ

pkg/services/consumers.go
25.35% <0.00%> (+0.17%)
:arrow_up:

Continue to review full report at Codecov.

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


fix(subscribeToResult): throw error in subscriber with inner observable

Description:
#2626 fixed error to be thrown when observable have sources, but it doesn't cover cases of inner observable with subscribeToResult as it doesn't have sources. This PR explicitly sets subscriber's syncErrorThrowable for inner observables, let exception in subscribers correctly thrown with inner observables as well.
Related issue (if exists):

closes #2618

I believe this is patch as it fixes regressions.

Coverage increased (+0.0003%) to 97.736% when pulling d7bffa90febc08071876c6b8fe893517d84a74b1 on kwonoj:fix-shallow-error into 74ff4630770e330567cd8bd81ea2e22eb1876df2 on ReactiveX:master.

Do you have cycles to add a test case? Dunno if this is truly minimum but it reproduces it:
const input$ = new Rx.Subject();

input$
  .mergeMap(() => Rx.Observable.of(1, 2))
  .subscribe(d => {
    throw new Error('some error');
  });

input$.next();

@jayphelps I've used given snippet to verify behavior. Have to think a bit for test cases.

@jayphelps test case updated.

Coverage increased (+0.0003%) to 97.736% when pulling 731be99be52692c359def7293cacaede7af9d3ac on kwonoj:fix-shallow-error into 74ff4630770e330567cd8bd81ea2e22eb1876df2 on ReactiveX:master.

Coverage increased (+0.0003%) to 97.736% when pulling c935bf5987f0c1d726362964ff75701dcd7eba79 on kwonoj:fix-shallow-error into 74ff4630770e330567cd8bd81ea2e22eb1876df2 on ReactiveX:master.

Coverage increased (+0.0003%) to 97.736% when pulling c935bf5987f0c1d726362964ff75701dcd7eba79 on kwonoj:fix-shallow-error into 74ff4630770e330567cd8bd81ea2e22eb1876df2 on ReactiveX:master.


[BEAM-5702] Special case zero and one element Creates.

This reverts commit 5d5d0f32b944a27cf616cd6e6e7bb16d85a9063c.
Please add a meaningful description for your change here

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


Remove warning regarding Android parallel being experimental, add robust version check

[x] This is a small change
[x] This change has been discussed in issue #2297 and the solution has been agreed upon with maintainers.

Description:
Resolves #2297

Will check today.

@noomorph thanks a lot for the review! I will address all proposed suggestions.
As per scope - this validation is only relevant to emulators, and hence not available for other component to use, such as real devices (i.e. through the android driver).


Add class/classList properties

Hey, great library! I love the simplicity.
One thing I'm missing, though, is the option to add custom classes to the root <svg> element. Something like
<Fa icon={faTrash} class="hover-red" />

can be quite useful.
Either way, thanks :)

Thanks @mrshmllow , version 0.2.0 published.


Default compiled firmware filename should indicate the platform

Depending on device's platformID filename of created file should reflect it similarly as Particle Dev does it.

@suda i'm guess thing will have to make use of https://github.com/spark/particle-cli/issues/15 fix first to know which device the user wants to compile against?
I can get a PR for issue 15 since it's probably not too much work :)

@emilyrose, can be closed with https://github.com/spark/particle-cli/commit/659fc2ca9594f17add5b83f93be6105b80a12186


Fix reliability of TestRoutes and TestVolumes

In TestRoutes, let's make sure we get an active instance and use
that. If the instance is not active, then it will not have an ip address
and hence fail.
In TestVolumes, we should actually wait for a total of 30 seconds. We
are bailing out in one second right now. Make sure we sleep for the
initial delay before we start as well.

/assign @NickrenREN

/assign @FengyunPan2


feat: components playground

We need to create a component playground.
This will be really useful in the long term, and will also bring the theme development and improvement experience, as much as the authoring experience to a new level.
This should be included into admin and should include following features:

Two panels UI
a Docus template at right, with the component included
an UI splitted in 2 tabs at left

A tab showing the component props and slots, and the ability to fill these datas
A tab showing a snippet using our syntax, filled with the data from the UI

What happened to this feature? Did it not make the cut/out-of-scope for Docus? I see you guys produced a really nice ComponentCard for your docs site on @nuxthq/ui. This kind of component actually feels like it has a place within the Docus world. Render a component and let you play with the props for it.
Personally I've never been a fan of things like Storybook/Histoire because they feel a little too inflexible and don't nicely slot into existing documentation sites favouring a fullscreen app approach instead.
Having something like that ComponentCard  component in Docus could provide a nice balance of prop playground without being too opinionated on how these types of things should be presented within docs.


There is no escape. Even when reading code.

sus...

among us

among

among us

not planned????


Challenge detail

As this new Challenge Details page takes over the route previously used to present an "expanded" view of a challenge result on the Find Challenges page when a user clicked the challenge header, that expanded view is unreachable with this PR. A new "quick view" option that pops up a modal of challenge info when browsing challenge results will be coming in a subsequent PR. For now, the user is taken to this new Challenge Details page if they click on the header of a challenge result on the Find Challenges page with an option to return to search results.


ReferenceError: self is not defined

"@knocklabs/react-notification-feed": "^0.8.1"
Putting in the react snippet KnockFeedProvider from doc generate the following errors.

NextJS issue on my end.

I'm running into this problem too (Remix). Did you find a fix for this @edmondklai?

@enaluz The issue here is that the Feed expects to be client-side rendered and not server-side rendered, which is why you're seeing the self is undefined issue. So here you'll need to find a way to force this to render on the client only. Not sure on the remix specific solution here, but typically it looks something like setting some state that only gets triggered on component mount and then using that to render.

Yea, it was a server side vs client side rendering issue. For NextJS I am doing something like this
import dynamic from "next/dynamic";

const KnockFeedProvider = dynamic(
  () => import("../../components/notifications/KnockFeedProvider"),
  {
    ssr: false,
  }
);

 <KnockFeedProvider userId={userId} />


Update Hyperspectral Transformer netcdf code for new processing

The TERRA REF Extractor is being updated to require less memory and corrected lat-lon calculation. The AgPipeline Transformer needs to be updated

Closing as obsolete


Using gmsh files in MuJoCo - XML Error: Error: Node tags must be sequential

Hi,
I'm a student and I'm trying to use MuJoCo for robotic arm simulation.
I'm looking for some help with adding msh (gmsh) files to MuJoCo.
There is an error: "XML Error: Error: Node tags must be sequential" when using the file in MuJoCo.
I've loaded an stl file into gmsh and exported to gmsh format but the order is not sequential.
I just wondered if there was a way to reorder the nodes so that they are sequential and accepted by MuJoCo.
Any help is greatly appreciated, thanks in advance.

Can you share the stl and msh file please?

Thanks for your reply, no problem, please see below.
sample.zip

Here is a video instruction of how to create a volume:
https://youtu.be/C5BWRWCr7Ck
If you look at the video you see that there is a surface and volume entity. Mujoco will not be able to read this file.
You need to use GMSHConverter to clean the file (Official release coming soon).
https://github.com/mohammad200h/GMSHConverter/tree/tree
Here is the end result
sample_41_ascii_out_vol.msh.zip

Use that and let me know how it goes.

@mohammad200h Many thanks for that, I used the converter on a few other meshes too and that ordered the nodes properly in the *_vol.msh file.
Only thing I thought worth mentioning is that the -i and -o flags don't seem to accept relative paths as it tries to write to the root. So I used full paths for both -i and -o and that was fine.
python converter.py -i reduced.msh -o reduced2.msh
input_path::  reduced.msh
Info    : Reading 'reduced.msh'...
Info    : 1 entity
Info    : 1889 nodes
Info    : 3757 elements
Info    : Done reading 'reduced.msh'
Traceback (most recent call last):
  File "converter.py", line 266, in <module>
    main()
  File "converter.py", line 257, in main
    VolumeExtractor(args.input, args.output)
  File "converter.py", line 132, in __init__
    super().__init__(input_file_path, output_file_path)
  File "converter.py", line 17, in __init__
    self.process()
  File "converter.py", line 20, in process
    self.write41_mesh_format_41()
  File "converter.py", line 84, in write41_mesh_format_41
    with self.output_file_path.open('w') as f:
  File "/usr/lib/python3.8/pathlib.py", line 1222, in open
    return io.open(self, mode, buffering, encoding, errors, newline,
  File "/usr/lib/python3.8/pathlib.py", line 1078, in _opener
    return self._accessor.open(self, flags, mode)
PermissionError: [Errno 13] Permission denied: '/reduced2_vol.msh'

Thanks again for your help.

@sowmr5 It should probably to replace:

gmsh.write(obj.name + ".msh") with gmsh.write(str(pathlib.Path(self.path) / (obj.name + ".msh")))
gmsh.write(obj.name + ".msh") with gmsh.write(str(pathlib.Path(self.path) / (obj.name + ".msh")))


HTML to PDF file size 8 times larger than whktmlpdf

Hello,
I am trying to replace wkhtmltopdf with gotenberg.
Attached you can find the same HTML converted to PDF with Gotenberg (2Mb using the public demo) and wkhtmltopdf (250Kb).
current_pipeline_report_2024-11-19 gotenberg.pdf
current_pipeline_report_2024-11-19 wickedpdf.pdf
I analyzed the gotenberg PDF with Adobe Reader Pro, the Audit functionality, and this is the breakdown of where the space is spent:

70% of the space is spent on something called Structure Info.
Any idea why this happens, or how to reduce the file size? I was suspecting fonts, but it doesn't seem that fonts are the problem. I can't see any setting to play with either to reduce the filesize (on a local gotenberg)

Hello @fragkakis,
That’s just how Chromium generates the PDF 😕 not sure I can do much here.

Same issue here... We switched from dompdf 2.0.8 + CPDF and increased our filesize by 8x-10x...


Search extension gives "We didn't find any matches" message, when I close selected item.

I am creating a teams search extension using .net and there I am showing a list of items, when I click on an item it's redirecting to a customized card(adaptive card).
but when I close the selected card it's showing "We didn't find any matches" message without going back to the search list.
I am mentioning the codes below.
Code for returning the list of items
`protected override async Task OnTeamsMessagingExtensionQueryAsync(ITurnContext turnContext, MessagingExtensionQuery query, CancellationToken cancellationToken)
{
        var text = query?.Parameters?[0]?.Value as string ?? string.Empty;
        var attachments = new List<MessagingExtensionAttachment>();
        var userConfigSettings = await _userConfigProperty.GetAsync(turnContext, () => string.Empty);
        var userConfigSettingsConstituents = await _userConfigPropertyConstituents.GetAsync(turnContext, () => string.Empty);
        var state = query.State; // Check the state value
        List<ConstituentSummary> constituentSummariesPreviewList = null;

        if (state != null)
        {
            userConfigSettings = state.ToString();
            await _userConfigProperty.SetAsync(turnContext, userConfigSettings, cancellationToken);
        }
        if (!string.IsNullOrWhiteSpace(userConfigSettings))
        {
            if (query.QueryOptions.Skip == 0)
            {
                InterfaceAppHelper interfaceAppHelper = new InterfaceAppHelper();
                constituentSummaries = await Task.Run(() => interfaceAppHelper.GetConstituentSummary(userConfigSettings, text));
                userConfigSettingsConstituents = JsonConvert.SerializeObject(constituentSummaries);
                await _userConfigPropertyConstituents.SetAsync(turnContext, userConfigSettingsConstituents, cancellationToken);
            }
            else
            {
                constituentSummaries = JsonConvert.DeserializeObject<List<ConstituentSummary>>(userConfigSettingsConstituents);
            }
           if(constituentSummaries!=null && constituentSummaries.Count>(query.QueryOptions.Count+query.QueryOptions.Skip))
            {
               constituentSummariesPreviewList = GetConstituentsPreviewList(constituentSummaries, query.QueryOptions.Skip, query.QueryOptions.Count);
            }
            else
            {
                var count = constituentSummaries?.Count - query.QueryOptions.Skip;
                constituentSummariesPreviewList = GetConstituentsPreviewList(constituentSummaries, query.QueryOptions.Skip, count);
            }
            attachments = constituentSummariesPreviewList.Select(constitunetSummary =>
             {
                 var previewCard = new ThumbnailCard
                 {
                     Title = constitunetSummary.Name,
                     Text = constitunetSummary.LookupID,
                     Images = new List<CardImage>
                        {
                         new CardImage
                         {
                             Url=constitunetSummary.Url,
                         }
                         },

                     Tap =new CardAction
                    {
                        Type="invoke",
                        Value= constitunetSummary,
                        //Text= text,
                     }
                 };
                 var attachment = new MessagingExtensionAttachment
                 {
                     ContentType = HeroCard.ContentType,
                     Content = new HeroCard
                     {
                         Title = constitunetSummary.Name,
                         Text = constitunetSummary.LookupID,
                     },
                     Preview =previewCard.ToAttachment()
                 };
                 return attachment;
             }).ToList();
            return new MessagingExtensionResponse
            {
                ComposeExtension = new MessagingExtensionResult
                {
                    Type = "result",
                    AttachmentLayout = "list",
                    Attachments = attachments
                }
            };
        }
        else
        {
            // The list of MessagingExtensionAttachments must we wrapped in a MessagingExtensionResult wrapped in a MessagingExtensionResponse.
            return new MessagingExtensionResponse
            {
                ComposeExtension = new MessagingExtensionResult
                {
                    Type = "auth",
                    SuggestedActions = new MessagingExtensionSuggestedAction
                    {
                        Actions = new List<CardAction>
                    {
                        new CardAction
                        {
                        Type = ActionTypes.OpenUrl,
                        Value = $"https://ba31fd2e23c3.ngrok.io/auth.html",
                        Title = "Please Login to the system",
                        },
                    }
                    }
                }
            };
        }
    }`

code for show selected item -
`protected override Task OnTeamsMessagingExtensionSelectItemAsync(ITurnContext turnContext, JObject query, CancellationToken cancellationToken)
{
// The Preview card's Tap should have a Value property assigned, this will be returned to the bot in this event.
ConstituentSummary constituentSummary = JsonConvert.DeserializeObject(query.ToString());
var userConfigSettings = _userConfigProperty.GetAsync(turnContext, () => string.Empty).Result;
InterfaceAppHelper interfaceAppHelper = new InterfaceAppHelper();
constituentSummary = interfaceAppHelper.GetConstituentSummaryFromConstituentId(userConfigSettings, constituentSummary.Id);
string constituencyName = string.Empty;
if (constituentSummary.Constituencies != null && constituentSummary.Constituencies.Count > 0)
{
constituencyName = constituentSummary.Constituencies[0].Description;
}
var adaptiveCard = CreateAdaptiveCard(constituentSummary);
var thumbnailCard = new ThumbnailCard
{
Title = constituentSummary.Name,
Text = constituentSummary.LookupID,
Images = new List
{
new CardImage
{
Url=constituentSummary.Url,
}
},
Tap = new CardAction
{
Type = ActionTypes.MessageBack,
Value = constituentSummary,
}
};
var attachment = new MessagingExtensionAttachment
{
ContentType = AdaptiveCard.ContentType,
Content = adaptiveCard,
Preview = thumbnailCard.ToAttachment()
};
    return Task.FromResult(new MessagingExtensionResponse
    {
        ComposeExtension = new MessagingExtensionResult
        {
            Type = "result",
            AttachmentLayout = "list",
            Attachments = new List<MessagingExtensionAttachment> { attachment }
        }
    });
}`

Note that I am using same preview card in both methods.
this is an image of search list that I get

this is the card that I get when selecting an item

and this is what I get when I click the cross in red box(in the above image)

Hi @shash91, In search bar, there should be some text, then only it will display the some results.
If the data is dynamic, then it will display a huge results along with scroll. If you click on close button then it will show "we didn't find any matches" and it is by design. If it is a static data , even if we click on close button results  will also be displayed.

@Jagadeesh-MSFT same behavior is seen even if I have text in the search bar. like this

can I know how can I manage that?

@shash91, I'm unable to repro your issue from our end , could you please try this sample by giving static data. Even if you are facing same issue, then could you please share your manifest.

@Jagadeesh-MSFT  I have tried the sample with static data and it's also giving the same issue that I am mentioning I'll share my manifest here
{   "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",   "manifestVersion": "1.5",   "version": "1.0",   "id": "",   "packageName": "com.microsoft.teams.samples.searchExtension",   "developer": {     "name": "Microsoft Corp",     "websiteUrl": "https://example.azurewebsites.net",     "privacyUrl": "https://example.azurewebsites.net/privacy",     "termsOfUseUrl": "https://example.azurewebsites.net/termsofuse"   },   "name": {     "short": "search-extension-settings",     "full": "Microsoft Teams V4 Search Messaging Extension Bot and settings"   },   "description": {     "short": "Microsoft Teams V4 Search Messaging Extension Bot and settings",     "full": "Sample Search Messaging Extension Bot using V4 Bot Builder SDK and V4 Microsoft Teams Extension SDK"   },   "icons": {     "outline": "icon-outline.png",     "color": "icon-color.png"   },   "accentColor": "#abcdef",   "composeExtensions": [     {       "botId": "",       "canUpdateConfiguration": true,       "commands": [         {           "id": "searchQuery",           "context": [ "compose", "commandBox" ],           "description": "Test command to run query",           "title": "Search",           "type": "query",           "parameters": [             {               "name": "searchQuery",               "title": "Search Query",               "description": "Your search query",               "inputType": "text"             }           ]         }       ]     }   ] }

Hi @shash91, Can we discuss this over a call? Could you please write to us at<EMAIL_ADDRESS>

sure @Jagadeesh-MSFT  I like to discuss this over a call. I'll write on<EMAIL_ADDRESS>

Hi @shash91,  As we discussed over the call as it is a bug, we have raised a bug and concern team is working on it.


upgrade typescript, fs-extra

upgrade typescript to >= 2.42.
This will require removing custom fs-extra.d.ts.
consider using klaw for the walk functionality and

@amir-arad what was after

and
?

consider using klaw for the walk functionality

https://github.com/wix/kissfs/blob/7af294f54be8b8dff45d91cc637ba193dd1d197d/src/local-fs-crud-only.ts#L11

oh.
then just to get rid of local fs-extra.d.ts as it is using an import hack that's no longer supported in TS.

closed via #83


Add the yaml file for PowerShell Updatable Help (CabGen) CI

We recently added cabgen-bootstrap.yml (a pipeline source file) to PowerShell Reference template so that repos on Docs Portal can include it after initialization. This repo is initialized before, so we manually add it now, in case you want to onboard PowerShell Updatable Help (CabGen) CI in the future.
This PR is to main branch, but it should be merged to live branch before setting up the CI.
For details, see this work item at Azure DevOps: https://dev.azure.com/ceapex/Engineering/_workitems/edit/608278

Docs Build status updates of commit d15301b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

cabgen-bootstrap.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@JohanFreelancer9

@dariomws @tseward @get-itips

@traya1 Kindly help. Thanks

@traya1 Gentle reminder.

Docs Build status updates of commit 1b66970:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

cabgen-bootstrap.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add support for migration of istio ingress namespaces.

How to categorize this PR?

/area networking
/area high-availability
/area ops-productivity
/kind enhancement
What this PR does / why we need it:
Add support for migration of istio ingress namespaces.
The single-zone istio ingress gateway namespaces include the zone name as part of their namespace name. Unfortunately, with some infrastructures there might be inconsistencies with regards to the zone naming leading to inconsistent istio namespace names. This is why it might be beneficial to copy an existing istio namespace to a target namespace with a proper name. This allows a slow migration process in the shoot maintenance windows and is decoupled from the seed reconciliation. As a follow-up step, seed operators may want to adapt the zones in the seed specification when all shoot clusters have migration. This will remove the no longer needed istio ingress gateway namespace, i.e. it will automatically clean up.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
Release note:

Operators can create duplicate istio ingress gateways for migration if the zone names should be changed in the seed specification

/cc @dguendisch @rfranzke @kon-angelo

/lgtm


Stand up swarm0004

[x] managers 01-03
[x] workers 04-06
[x] Digital Ocean DNS zone with CAA records
[x] Namecheap NS records
[x] Load balancer on NS1
[x] Docker login and pull images
[x] GCP custom monitoring
[x] /root/.env file
[x] Shepherd
[x] doctl auth init
[x] Seccheck
[x] Cron jobs for cert renewal

@athandle @kumarnarendra701 another one ready for shakedown over the weekend

@cpswan - Verified all settings and creation of secondary.
Moved "seccheck" binaries and crontab from root to seccheck user.

@kumarnarendra701 we decided to run seccheck as root (as for a non root user it needs to be part of the docker group, which is effectively root anyway), and also it keeps all the cron jobs in one place. But you weren't to know that.


fix(revert):  feat: Add backoff to webhooks, and call multiple webhooks async

Reverts Flagsmith/flagsmith#2559
Revert this pull request because max_time of 2 seconds is quite low. This should be done by creating another task to retry the webhook

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (fd0bdfc) 95.52% compared to head (30aac4a) 95.53%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2773   +/-   ##
=======================================
  Coverage   95.52%   95.53%
=======================================
  Files         993      993
  Lines       28078    28058   -20
=======================================
- Hits        26822    26805   -17
+ Misses       1256     1253    -3

Files Changed
Coverage Δ

api/task_processor/decorators.py
93.84% <ø> (-0.10%)
:arrow_down:

api/audit/signals.py
82.60% <100.00%> (ø)

api/edge_api/identities/tasks.py
97.72% <100.00%> (ø)

api/features/tasks.py
96.29% <100.00%> (+0.14%)
:arrow_up:

api/features/tests/test_tasks.py
100.00% <100.00%> (ø)

api/tests/unit/audit/test_unit_audit_models.py
98.78% <100.00%> (-0.03%)
:arrow_down:

.../identities/test_unit_edge_api_identities_tasks.py
100.00% <100.00%> (ø)

api/webhooks/tests/test_webhooks.py
100.00% <100.00%> (ø)

api/webhooks/webhooks.py
95.12% <100.00%> (+2.05%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update video-indexer-output-json-v2.md

Replace WikiId, WikiUrl with ReferenceId, ReferenceUrl respetively

@eyami : Thanks for your contribution! The author, @juliako, has been notified to review your proposed change.

#sign-off


Add support for container queries

This PR adds support for container queries, parsing and hoisting them in the same manner that media queries are. I'm not sure of the best way to do this in a manner that yields acceptable performance/conforms to the existing patterns in stylis, but I've taken a stab. The challenge is that currently, we only need to look ahead one character after an @ to determine what to do, but with @container this is not sufficient as there is also @counter-style. I've thus taken what feels like a hacky approach to look ahead until the n, which I think is safe and seems to satisfy the test suite. All feedback gratefully received though!

Pull Request Test Coverage Report for Build 912177ef823418eb939dbb5e6627a2e2716a8404-PR-304

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 98.695%

Totals

Change from base Build 3b83b1bfc4e674af1517d3d7de482e5cc3ea397b:
-0.1%

Covered Lines:
273

Relevant Lines:
275

💛  - Coveralls