Panic From Sort

The new sorting logic apparently has an index out of range problem.
panic: runtime error: index out of range

goroutine 5 [running]:
panic(0x463aae0, 0xc42000c110)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/nelsam/vidar/suggestions.(*Adapter).Sort(0xc42018c000, 0xc4204d7beb, 0x3)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/vidar/suggestions/suggestion_adapter.go:42 +0x2da
github.com/nelsam/vidar/editor.(*CodeEditor).updateSuggestionList(0xc420018600)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/vidar/editor/editor.go:329 +0x354
github.com/nelsam/vidar/editor.(*CodeEditor).ShowSuggestionList(0xc420018600)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/vidar/editor/editor.go:285 +0x5d
github.com/nelsam/vidar/editor.(*CodeEditor).KeyPress(0xc420018600, 0x5, 0x0, 0x4a40800)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/vidar/editor/editor.go:376 +0x31d
github.com/nelsam/gxui.(*KeyboardController).keyPress(0xc420248df0, 0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/keyboard_controller.go:42 +0x99
github.com/nelsam/gxui.(*KeyboardController).keyDown(0xc420248df0, 0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/keyboard_controller.go:28 +0x12c
github.com/nelsam/gxui.(*KeyboardController).(github.com/nelsam/gxui.keyDown)-fm(0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/keyboard_controller.go:15 +0x3e
reflect.Value.call(0x45c78a0, 0xc420248e00, 0x13, 0x46e8a23, 0x4, 0xc42097eb60, 0x1, 0x1, 0x46ad820, 0x465c6e0, ...)
	/usr/local/go/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x45c78a0, 0xc420248e00, 0x13, 0xc42097eb60, 0x1, 0x1, 0xc4204d77f0, 0x1, 0x1)
	/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/nelsam/gxui.(*EventBase).InvokeListeners(0xc4202e0320, 0xc4204d77d0, 0x1, 0x1)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/event_base.go:140 +0x2d0
github.com/nelsam/gxui.(*EventBase).Fire(0xc4202e0320, 0xc4204d77d0, 0x1, 0x1)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/event_base.go:190 +0x75
github.com/nelsam/gxui/mixins.(*Window).setViewport.func9(0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/mixins/window.go:376 +0xcf
reflect.Value.call(0x45c78a0, 0xc420249050, 0x13, 0x46e8a23, 0x4, 0xc42097eb40, 0x1, 0x1, 0xc4202dbe78, 0x465c6e0, ...)
	/usr/local/go/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x45c78a0, 0xc420249050, 0x13, 0xc42097eb40, 0x1, 0x1, 0x46efe20, 0xc, 0x17)
	/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/nelsam/gxui.(*EventBase).InvokeListeners(0xc4201cd358, 0xc4203f54a0, 0x1, 0x1)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/event_base.go:140 +0x2d0
github.com/nelsam/gxui.(*ChanneledEvent).Fire.func1()
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/channeled_event.go:36 +0x7c
github.com/nelsam/gxui/drivers/gl.(*driver).applicationLoop(0xc420236300)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/drivers/gl/driver.go:108 +0x6f
created by github.com/nelsam/gxui/drivers/gl.StartDriver
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/drivers/gl/driver.go:58 +0x32b

Solved one problem, created another:
panic: ItemAt index 0 is out of bounds [0, -1]

goroutine 20 [running]:
panic(0x462c180, 0xc4203521e0)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/nelsam/gxui.(*DefaultAdapter).ItemAt(0xc4201fa000, 0x0, 0x0, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/default_adapter.go:82 +0x270
github.com/nelsam/vidar/editor.(*CodeEditor).updateSuggestionList(0xc420018600)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/vidar/editor/editor.go:330 +0x391
github.com/nelsam/vidar/editor.(*CodeEditor).ShowSuggestionList(0xc420018600)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/vidar/editor/editor.go:285 +0x5d
github.com/nelsam/vidar/editor.(*CodeEditor).KeyPress(0xc420018600, 0x5, 0x0, 0x4a40800)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/vidar/editor/editor.go:376 +0x31d
github.com/nelsam/gxui.(*KeyboardController).keyPress(0xc42000cf30, 0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/keyboard_controller.go:42 +0x99
github.com/nelsam/gxui.(*KeyboardController).keyDown(0xc42000cf30, 0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/keyboard_controller.go:28 +0x12c
github.com/nelsam/gxui.(*KeyboardController).(github.com/nelsam/gxui.keyDown)-fm(0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/keyboard_controller.go:15 +0x3e
reflect.Value.call(0x45c78a0, 0xc42000cf40, 0x13, 0x46e8a23, 0x4, 0xc42041e500, 0x1, 0x1, 0x46ad820, 0x465c6e0, ...)
	/usr/local/go/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x45c78a0, 0xc42000cf40, 0x13, 0xc42041e500, 0x1, 0x1, 0xc42038a310, 0x1, 0x1)
	/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/nelsam/gxui.(*EventBase).InvokeListeners(0xc4202e8320, 0xc42038a2f0, 0x1, 0x1)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/event_base.go:140 +0x2d0
github.com/nelsam/gxui.(*EventBase).Fire(0xc4202e8320, 0xc42038a2f0, 0x1, 0x1)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/event_base.go:190 +0x75
github.com/nelsam/gxui/mixins.(*Window).setViewport.func9(0x5, 0x0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/mixins/window.go:376 +0xcf
reflect.Value.call(0x45c78a0, 0xc42000d190, 0x13, 0x46e8a23, 0x4, 0xc42041e4e0, 0x1, 0x1, 0xc4201e1e78, 0x465c6e0, ...)
	/usr/local/go/src/reflect/value.go:434 +0x5c8
reflect.Value.Call(0x45c78a0, 0xc42000d190, 0x13, 0xc42041e4e0, 0x1, 0x1, 0x46efe20, 0xc, 0x17)
	/usr/local/go/src/reflect/value.go:302 +0xa4
github.com/nelsam/gxui.(*EventBase).InvokeListeners(0xc4201e3358, 0xc4203b13a0, 0x1, 0x1)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/event_base.go:140 +0x2d0
github.com/nelsam/gxui.(*ChanneledEvent).Fire.func1()
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/channeled_event.go:36 +0x7c
github.com/nelsam/gxui/drivers/gl.(*driver).applicationLoop(0xc42024e0c0)
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/drivers/gl/driver.go:108 +0x6f
created by github.com/nelsam/gxui/drivers/gl.StartDriver
	/tmp/github.com/nelsam/vidar/src/github.com/nelsam/gxui/drivers/gl/driver.go:58 +0x32b


[Bug]: The hash of the script tag from the plugin hook is not the final hash of the JS asset

Version
System:
    OS: macOS 14.5
    CPU: (12) arm64 Apple M2 Pro
    Memory: 115.36 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Browsers:
    Chrome: 130.0.6723.119
    Edge: 112.0.1722.39
    Safari: 17.5
  npmPackages:
    @rsbuild/core: ^1.1.0 => 1.1.0
    @rsbuild/plugin-react: ^1.0.7 => 1.0.7

Details
My original idea was to get the path of the JS asset from the HTML plugin's hook, but I noticed that the hash of the JS asset I get in the plugin  is not the final hash of the JS asset in the dist. Could you let me know why this is happening? Is there any other way to get the correct path of the JS asset?
I've tried: alterAssetTagGroups,api.modifyHTMLTags, beforeEmit

Reproduce link
https://codesandbox.io/p/devbox/djddtm
Reproduce Steps

run   pnpm i && pnpm build
check the logs

This is a known issue with the html-webpack-plugin, see https://github.com/jantimon/html-webpack-plugin/issues/1638
A workaround is to disable the realContentHash optimization of Rspack and the hash value will remain unchanged.
export default defineConfig({
  tools: {
    rspack: {
      optimization: {
        realContentHash: false,
      }
    }
  }
});

To get the final hash of the JS assets, you can use the Stats object of Rspack:
const myPlugin: RsbuildPlugin = {
  name: 'my-plugin',
  setup(api) {
    api.onAfterBuild(({ stats }) => {
      if (stats) {
        const { assets } = stats.toJson({ assets: true });
        console.log(assets);
      }
    });
  },
};

Okay, I understand what’s going on now. Thank you!


Update flyway-core to 9.19.3

About this PR
📦 Updates org.flywaydb:flyway-core from 7.15.0 to 9.19.3 ⚠
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.flywaydb", artifactId = "flyway-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.flywaydb", artifactId = "flyway-core" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #710.


Replace solana_program::program::invoke with solana_invoke::invoke

Creating this PR to get the conversation started. Thanks @cavemanloverboy. Running some A/B tests locally now against my own escrow program that does some basic CPI calls. Will report back shortly. Check out solana-invoke to see how it works. 🙏

Yes, this should definitely be merged into solana-program. At the same time, if we can significantly reduce CU usage today without waiting for an upstream merge that may or not may not even happen, would that not be better than leaving it as is?

Historically, I've had trouble getting PRs into agave. Either ignored or takes far too long. Since the instruction stabilizer has a few tricky unsafe bits, I suspect it will receive pushback.

Thanks for creating the PR, it's an interesting one.
The README mentions:

The current CPI functions solana_program::program::invoke* perform unnecessary copies and allocations. This crate removes these inefficiencies in a manner that is 100% backwards compatible.

If this really is 100% backwards compatible, and is objectively better than solana_program's implementation, why not PR this to change it from solana-program side? Both Anchor and Native programs would get the benefits this way.

https://github.com/anza-xyz/agave/pull/1426


Need add watchQuery merge strategy for mixins

What problem does this feature solve?
Property watchQuery of page overrides watchQuery from mixins, but i want to do merging watchQuery
What does the proposed changes look like?
import union from 'lodash/union';

Vue.config.optionMergeStrategies.watchQuery = function (toVal, fromVal) {
  return union(toVal, fromVal);
};

This feature request is available on Nuxt community (#c7255)

Have you tried doing this in a plugin? :thinking:

Yes, currently i use this a strategy in a plugin.
I think this a strategy may be set as default for a property "watchQuery".

Nice idea! I'd be happy to see a PR :relaxed:

ok!


Ignore #pragma-messages warnings in CI

This pull request tries to just ignore the #pragma-message warning generated for ArborX_DistributedSearchTree.hpp in the Jenkins plugin.

This seems to fix:

Because HIP failed, I missed the fact that this PR introduced a new warning:
This file is deprecated. Use ArborX_DistributedTree.hpp instead!

This is coming from the self-contained header test, I believe. What are our options here?

Originally posted by @aprokop in https://github.com/arborx/ArborX/pull/396#issuecomment-700389262

When you first opened this as a draft (without HIP), I took a look at the dashboard and noticed that despite all builds passing and no artifacts/warnings, the CI still failed. Have you figured why that happened?

Have you figured why that happened?

Yes, there was a typo. I had excludeCategories instead of excludeCategory.

This is how we do it in deal.II.


inode usage 100%

As mentioned in the forum I’m using netdata to help monitor my system (a Hetzner dedicated) and have noticed that it’s giving me warnings about inode usage from my Plex mount… is this normal because of the way fuse/rclone works, or is something wrong and needs fixing?
Output of df -i:
$ df -i /mnt/plex
Filesystem         Inodes      IUsed IFree IUse% Mounted on
cachedecrypt:<PHONE_NUMBER><PHONE_NUMBER>     0  100% /mnt/plex

Link to forum post: https://forum.rclone.org/t/inode-usage-maxed-out/4872

What is your rclone version (eg output from rclone -V)
rclone v1.39-149-g442334ba

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Ubuntu 17.10 (4.13.0-32 generic) x86_64

Which cloud storage system are you using? (eg Google Drive)
Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)
df -i

A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
N/A

It looks like this is a bug in the fuse library rclone is using.  I've reported an issue: https://github.com/bazil/fuse/issues/194
I couldn't see an easy fix though!

This is now fixed here
https://beta.rclone.org/v1.40-113-gd36b80f5/ (uploaded in 15-30 mins)
which will be in the latest beta from now on and 1.41.

Still encountering this with 1.41 and 1.42b
root@air:/mnt/gdrive# rclone -V; df -i /mnt/gdrive
rclone v1.42-001-g71103495β
- os/arch: linux/amd64
- go version: go1.10.1
Filesystem         Inodes IUsed      IFree IUse% Mounted on
gdrive:<PHONE_NUMBER>     0<PHONE_NUMBER>    0% /mnt/gdrive
root@air:/mnt/gdrive#

I have mounted it with the new binary, but I haven't changed anything else. Is there any way I could be using the old version? I had 1.35 installed via .sh script before, and I had to manually rm /usr/sbin/rclone before the script would install the latest version.

@chauffer which provider are you using? Not all support this feature.

@ncw Google Drive, apologies for not including it, I thought it was obvious from the name 😇

@chauffer probably should have been obvious :-)  Is it a team drive?  If so then team drives don't support reading the size used and the size free alas.
What does rclone about gdrive: say?

root@air:~# rclone about gdrive
2018/06/17 18:35:36 Failed to about: About call failed: failed to read disk usage: no such file or directory

Both before & after having it mounted with this cmd
root@air:~# rclone mount --allow-non-empty --allow-other --max-read-ahead 200M gdrive:/ /mnt/gdrive

It is not a team drive, but it is a G Suite individual drive

df -i /mnt/gdrive
Filesystem         Inodes IUsed      IFree IUse% Mounted on
gdrive:<PHONE_NUMBER>     0<PHONE_NUMBER>    0% /mnt/gdrive

This output looks correct to me. It shows 0 inodes in use and 0% usage.
The original issue was the display of 100% usage.

Thanks @B4dM4n for setting me and @chauffer straight - I was looking at the 0 readings having failed to notice that this was about inodes :blush:


[MetricsAdvisor] Removed AZC0007 NoWarn option

Fixes https://github.com/Azure/azure-sdk-for-net/issues/16435.

API change check
API changes are not detected in this pull request.


x64/x86 MDOpCodes Legalizer enforcement

Ensure every x64 & x86 machine dependent opcodes have a Legalizer case.

This change is

ping


Reference search results for constants lead to 404

Most appropriate sections of the p5.js website?
Reference
Actual Behavior
When we search for one of the constants AUTO, DEGREES, HALF_PI, HSB, P2D, PI, QUARTER_PI, RADIANS, TAU, TWO_PI, VERSION, WEBGL, WEBGL2, the respective links lead to 404 pages.
Expected Behavior
The respective results for constants should link to the correct reference pages.
Links currently look like this: https://p5js.org/reference/p5/constants/DEGREES
They should look like this: https://p5js.org/reference/p5/DEGREES
Or, the /constants/* route should be implemented.
Steps to reproduce

Search for a constant e.g. DEGREES
Under "Reference" results, click on DEGREES link → 404

Would you like to work on the issue?
Yes

I am a skilled MERN stack developer and would love to contribute to this issue; could you please assign it to me?


Building the gitlab image fails

I've installed libgit2, I've setup LD_LIBRARY_PATH and running ld -v -lgit2 tells me the compiler is able to find it at /usr/local/lib/libgit2.so.
But when I run make build-gitlab or build/spread-linux-static gcc seems to fail.
I've not meddled around with Go before, so I might be missing something obvious here?
GOOS=linux go build -o build/spread-linux-static -i -v -ldflags "-X main.Version=v0.0.0 -extldflags "-static" --s -w" rsprd.com/spread/cmd/spread
rsprd.com/spread/cmd/spread
# rsprd.com/spread/cmd/spread
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: cannot find -lgit2
/tmp/go-link-587612200/000003.o: In function `mygetgrouplist':
/tmp/workdir/go/src/os/user/getgrouplist_unix.go:15: warning: Using 'getgrouplist' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-587612200/000003.o: In function `mygetgrgid_r':
/tmp/workdir/go/src/os/user/lookup_unix.go:38: warning: Using 'getgrgid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-587612200/000003.o: In function `mygetgrnam_r':
/tmp/workdir/go/src/os/user/lookup_unix.go:43: warning: Using 'getgrnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-587612200/000003.o: In function `mygetpwnam_r':
/tmp/workdir/go/src/os/user/lookup_unix.go:33: warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-587612200/000003.o: In function `mygetpwuid_r':
/tmp/workdir/go/src/os/user/lookup_unix.go:28: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/go-link-587612200/000002.o: In function `_cgo_7a2d42f1a351_C2func_getaddrinfo':
/tmp/workdir/go/src/net/cgo_unix.go:66: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status

Makefile:100: recipe for target 'build/spread-linux-static' failed
make: *** [build/spread-linux-static] Error 2

I'm running OSX and managed to get a build by adding -DBUILD_SHARED_LIBS=0 to the existing cmake flags in hack/build-libgit2.sh


Renovate creating broken PRs with missing yarn.lock

It seems the culprit MAY be the sublimator fork of sjcl we are using:
STDOUT Packing sjcl@https://**redacted**@https://**redacted**@https://github.com/sublimator/sjcl.git#commit=4457eb3a84cfde1e7ea01b241d9d47a7a80969cc: The remote archive doesn't match the expected checksum\n➤ YN0013: │ 2287 packages were already cached, 8 had to be fetched\n➤ YN0000: └ Completed in 35s 183ms\n➤ YN0000: Failed with errors in 38s 411ms\n",

Not sure what is happening with renovate and the yarn.lock update failures
As a workaround, I'm currently just using the renovate command manually whenever a failed PR pops up:
LOG_LEVEL=debug npx renovate --token $GITHUB_TOKEN coilhq/web-monetization-projects --branch-prefix=sublimate/


HTTP Post

Hi,
I'm trying to put a file from my smartphone to an HTTP Server, but when i choose it in the Body dongle and send request, i've this message :
"/document/primary:documents/Test.txt (No such file or directory"
Maybe i didn't put my file in the right folder ? Is there one ?
Can you help me please ?
Thank's.

Hi @STSupport.  Sure I can help out.  I have experienced some problems with file upload as well and was planning to fix it for a new release.
Can you give me some more details?  Is it possible for me to test against your service to reproduce the issue?  Once I have  solution I would like to send you a test build to try out and let me know if it's fixed.

Good morning sir Gramian,
Thank's for answering so fast.
A screenshot is joined. Maybe, i have to put the file that i want to send in a particular folder ? Because now it's very strange, i choose my file with the explorer of the app and just after the message indicate that there is no file at this path...
Waiting to your response.
STSupport

De : Abtin Gramian<EMAIL_ADDRESS>Envoyé : mercredi 5 juillet 2017 09:38
À : agramian/rest-api-repl-tool
Cc : STSupport; Mention
Objet : Re: [agramian/rest-api-repl-tool] HTTP Post (#6)
Hi @STSupporthttps://github.com/stsupport. Sure I can help out. I have experienced some problems with file upload as well and was planning to fix it for a new release.
Can you give me some more details? Is it possible for me to test against your service to reproduce the issue? Once I have solution I would like to send you a test build to try out and let me know if it's fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/agramian/rest-api-repl-tool/issues/6#issuecomment-313026512, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcghIijvOxrgJVxgXCASELh2j7x4wd93ks5sKz18gaJpZM4ONUwg.

@STSupport what is the google email/account you use for your Android device?  I would like to add you to a googla play beta user list so you can test a new build to see if the file handling works properly for you before I release it to everyone on the production version.

@STSupport I just released a new version of the app that should have the file upload functionality fixed.  Please test it out and let me know if it works for you as well.


[Logic and UI] Color station tracks in timetable

https://archive.org/stream/ebookSE18/4_E18_Math_djvu.txt


Redesign to comply with the new CNCF branding

This is ready for a final review and merge

@cjyabraham
I hope to check this PR needs rebase with master.
This PR includes changes to contents/hi/xxx.md to remove pre: <i class='fas fa-ruler-horizontal'></i>
https://github.com/cncf/glossary/pull/702/files#diff-f0035a3662384e762cfe06bd4661211988eae9f632b7e5ab740ef932a16df1acL7
Now, I can find similar header from recently added localized contents from other languages. (pt-br, it)
for instance, https://raw.githubusercontent.com/cncf/glossary/main/content/it/contribute/_index.md
Do we need to apply the changes into the other languages ?

Hi @seokho-son , yes. I have just applied the changes to the it and pt-br languages. It basically just removes the icons from the topnav.

LGTM


Added message count metrics to Producer

Few notes of the logic and changes applied here:

I left the counters that are present in the kinesis object alone, wanted to get these counters for stats put in first and ensure they work before removing the existing counters and references to them.  Does seem though most of the references are for throttling debug logging, so it is probably safe to change their reference.
Did not use the metrics object we made for the other services because that was more request based and did not fit here.  Did not use the rcrowley/go-metrics package because did not want to introduce a 3rd party dependency and its transitive dependencies into a library.  Additionally want to leave the choice of metrics package to the caller of the library, they can pull the Stats object from here and push to their metrics package of choice.
Moved the asynchronous anonymous go func for error handling to the processing loop which is similar style as the rest of the handlers in the processing loop.  Also moved the semaphore release to be in the processing loop and not inside the error handling call.   Wanted to have the semaphore lock and release in the same context area, the processing loop
Added couple of unexported methods to help with common functionality across methods and provide delegation from the exported methods.   Additionally allows easier metric instrumentation because the counts can be done on the exported methods which act as the public API and the unexported methods can be called multiple times internally without having the counts affected.
Added instrumentation into the various logic cases to have counters bumped

incCount = The count of messages sent to the library
processCount = The count of messages processed by library, includes retries
retryCount = The count of messages that were retried
succCount = The count of messages that were successfully sent to the streams
errCount = The count of messages that errored or unknown state when sent to the streams
dropCount = The count of messages that were rejected by the library due to channel full

Should be able to use stats as such
incCount  + retryCount = processCount + dropCount = succCount + errorCount + dropCount

This slipped past me.  This should be merged with this round of changes to kinetic.


Feature simplify

Added:
simpler vhost creation
more tests
custom error pages
prevention against BREACH attack (no gzip)
websocket autodetection and support out-of-the-box
custom vhost for /nginx_status location on port 8060 (can be customized with nginx_metrics_port variable)
enabled tests for nginx metrics exporter
tests moved to newer testinfra

@tgrzesik fixed


feat(for_id): Better support for elections that require country data

StatementPublishDate.for_id now has an optional country parameter that is expected to be in a specific set of 3-letter codes.
If the election type doesn't actually exist, raise a new type of exception called NoSuchElectionTypeError
If the election requires a country and either doesn't have one, or has an invalid one, raise an AmbiguousElectionIdError with extra information about the country

Before I make sure the docs are in line with the new functionality, I'd like to get your take on it @chris48s - this is to pull a lot of the logic that's duplicated in the womblr and WCIVF and improve the API of DC-based consumers.
In theory, this should make it much cleaner to pass a ballot id (with optional country) and get the "right" answer.


How are Y coordinates actually mean to be interpreted?

In the BlazePoseRenderer.py file, there is a curious comment block:
Beware, the y value of landmarks_world coordinates is negative for landmarks
above the mid hips (like shoulders) and negative for landmarks below (like feet).
The y value of (x,y,z) coordinates given by depth sensor is negative in the lower part
 of the image and positive in the upper part.

Is there in fact a mistake in the first sentence?
Surely it is not possible for the Y values to be negative BOTH for landmarks above AND below the mid hips?
Should the sentence not read something like (change in bold):

the y value of landmarks_world coordinates is negative for landmarks above the mid hips (like shoulders) and positive for landmarks below (like feet)

This is important, because I'm trying to translate the landmark points to absolute positions in the same way in my own project, and this "explanation" made no sense to me.

There is a comment at https://discuss.luxonis.com/d/5006-how-are-landmark-coordinates-really-meant-to-be-translated which simply states that "yes it is a typo", but still doesn't answer the question of which direction is positive and which is negative, relative to the "mid hips".


Cant See Organization Repos If Owner

I am an owner of an organization, but i cant see any of the repositories. under that organization. I can see external repos and my personal repo, but not any organization repos even when i created a public repo.

apparently its my ignorance to read just needed to grant access to the organization


Update concepts-hub-and-spoke.md

add engagement-fy23 tag, updated ms date

Learn Build status updates of commit 1f89c79:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/azure-vmware/concepts-hub-and-spoke.md
: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 learn.microsoft.com contributor guidesPost your question in the Learn support channel

@suzizuber - since you have access to the private repos, you need to make these (and all) changes there. thanks!

Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you make your changes in the private repo, review the articles on staging, and fix any validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
Read about authors working in the public repo for more information.
If you need help getting set up to work in the private repo, see Set up Git repository locally for documentation.
We'll close this PR. Thank you.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@suzizuber - since your changes are minor, we can reopen this if it's more convenient (and merge it as long as @jjaygbay1 approves)


Autotune WGPU: empty context cache

Currently, the context keeps in a cache every kernel it has used.
With autotune, this context cache (not the tuner cache!) then becomes polluted with all the kernels that have been tried but have not been chosen. We should keep only the winning kernel.
It might be simpler to empty the cache at the end of the tuning than to not add to the cache.

@louisfd @nathanielsimard Long time no see, it's been a while but I can take this one.

@louisfd Is there a way to reliably regenerate a TemplateKey  from an AutoTuneKey? The most straightforward way to do this in my mind is to take advantage of some interior mutability and pass in a reference to the Tuner's context to tune(), and clear the context cache of everything but the value of the winning kernel id.

Hi @agelas,
I think it would be non-trivial, as TemplateKey and AutotuneKey were designed as very different concepts.
TemplateKey maps for instance the string Dynamic("MatmulTiling2DContiguous { b_m: 128, b_n: 128, b_k: 32, t_m: 16, t_n: 16, workgroup_size_x: 8, workgroup_size_y: 8, _elem: PhantomData<f32> }") to the actual kernel having these parameters, whose type is Arc<ComputePipeline>, while AutotuneKey maps the string AutoTuneKey { shapes: [[2, 2], [2, 2]], ops: "matmul f32", device: "\"Apple M2 Pro\"", graphics_api: "Metal" } to a Box<dyn Any + Send + Sync> which is an abstraction to allow any function.
But this function is not necessarily made from a template, as we wanted our tuner to be very general. So I do not think there is a straightforward way to do exactly what you want.


fix: set source type to override if a download url was specified in settings

@dhellmann do you want the sdist type to override even when just the destination_filename is specified in settings (and not the url)?

@dhellmann do you want the sdist type to override even when just the destination_filename is specified in settings (and not the url)?

I didn't see this before merging.
We only need to prevent the download command from trying to download an sdist that it won't find on pypi. I don't think there's a use case for downloading from pypi and renaming the file.


Support Qovery as a deployment option

Description of the change
We want to offer a quick and free way to deploy Rudderstack in production.
Type of change

[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Docs

Checklists
Development

[x] Lint rules pass locally
[x] The code changed/added as part of this pull request has been covered with tests
[x] All tests related to the changed code pass in development

Code review

[x]  This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
[x] "Ready for review" label attached to the PR and reviewers mentioned in a comment
[x] Changes have been reviewed by at least one other engineer
[x] Issue from task tracker has a link to this pull request

Hi @ameypv-rudder,
I just added the images to help with the Deploy with Qovery tutorial.
Let me know,

@ameypv-rudder Did you have the time to have a look at the updates?
Let me know

Hi @arnaudjnn, apologies for the delayed response.
I've been in consultation with the team regarding this, and I have some thoughts I'd like to discuss with you - over email, if that's okay?
Let me know.

Hi @ameypv-rudder,
Of course! I think we could chat or have a call here: http://discord.qovery.com/
Qovery's CEO @evoxmusic can join us if you want to.
Let me know,


Move component to components pod

#patch# Moved component in demo pod to a components pod. This will make it easier for frost-guide to import.

Is this necessary?  I'd like to demo to include this specific example of the usage.  Maybe we can find another solution to the issue?

@sglanzer Ideally I don't want to manipulate the template if I don't have to (but I can if need be).
Gonna reasearch some more for using relative paths for handlebars components (From the bit I've done I don't think it's a thing.
Or the component can be loaded from the route or controller. But I believe that is a less clean option, I would rather just manipulate the template then make the demo less readable .

Can we just use a component helper?  http://emberjs.com/api/classes/Ember.Templates.helpers.html#method_component
It's more likely that we'll use that in a "real" version of the list anyway


[pwm, doc]  Documentation for PWM IP

A specification for the Pulse-Width Modulator IP which for OT is primarily for control of LED's.

@martin-lueker i left a few comments.
But mainly I think I'm not quite understanding the blink feature and its need for both a rate and a duty cycle.

Thanks for the reviews @rswarbrick and @tjaychen!

Few more suggestions for useful features from my experience: (1) inverse bit (can be done in pinmux) but as IP, might be helpful to have it in the IP level. (2) sync between PWM channels: write to a bit sync between different pre-defined PWM channels. (3) heartbeat LED

Update:
The last few commits include

A rewrite to include Nimrod's request for a heartbeat feature.
Support for variable phase and duty cycle resolution
Edits from @tjaychen and @rswarbrick. (Thanks guys!)

Upcoming edits:

Support for programmable pin inversion: (Place holders in text)
Support for multiple bus clocks (Place holder in text)
Block diagram to show interactions between the various level counters.

Update:
The last few commits include

A rewrite to include Nimrod's request for a heartbeat feature.
Support for variable phase and duty cycle resolution
Edits from @tjaychen and @rswarbrick. (Thanks guys!)

Upcoming edits:

Support for programmable pin inversion: (Place holders in text)
Support for multiple bus clocks (Place holder in text)
Block diagram to show interactions between the various level counters.

Few more suggestions for useful features from my experience: (1) inverse bit (can be done in pinmux) but as IP, might be helpful to have it in the IP level. (2) sync between PWM channels: write to a bit sync between different pre-defined PWM channels. (3) heartbeat LED

Hi Nimrod,
All three of these features should now be well-documented in the latest commits.  Please let me know if any of it is unclear how to use these features, or if they are not exactly what you intended.

Few more suggestions for useful features from my experience: (1) inverse bit (can be done in pinmux) but as IP, might be helpful to have it in the IP level. (2) sync between PWM channels: write to a bit sync between different pre-defined PWM channels. (3) heartbeat LED

Hi Nimrod,
All three of these features should now be well-documented in the latest commits.  Please let me know if any of it is unclear how to use these features, or if they are not exactly what you intended.

Update:
The last few commits include

A rewrite to include Nimrod's request for a heartbeat feature.
Support for variable phase and duty cycle resolution
Edits from @tjaychen and @rswarbrick. (Thanks guys!)

Upcoming edits:

Support for programmable pin inversion: (Place holders in text)
Support for multiple bus clocks (Place holder in text)
Block diagram to show interactions between the various level counters.

Update: I think with the latest comments this revision has all the comments made so far. Please LMKWYT.

Update:
The last few commits include

A rewrite to include Nimrod's request for a heartbeat feature.
Support for variable phase and duty cycle resolution
Edits from @tjaychen and @rswarbrick. (Thanks guys!)

Upcoming edits:

Support for programmable pin inversion: (Place holders in text)
Support for multiple bus clocks (Place holder in text)
Block diagram to show interactions between the various level counters.

Update: I think with the latest comments this revision has all the comments made so far. Please LMKWYT.

Few more suggestions for useful features from my experience: (1) inverse bit (can be done in pinmux) but as IP, might be helpful to have it in the IP level. (2) sync between PWM channels: write to a bit sync between different pre-defined PWM channels. (3) heartbeat LED

Hi Nimrod,
All three of these features should now be well-documented in the latest commits. Please let me know if any of it is unclear how to use these features, or if they are not exactly what you intended.

It looks good and exactly what I've meant.

Few more suggestions for useful features from my experience: (1) inverse bit (can be done in pinmux) but as IP, might be helpful to have it in the IP level. (2) sync between PWM channels: write to a bit sync between different pre-defined PWM channels. (3) heartbeat LED

Hi Nimrod,
All three of these features should now be well-documented in the latest commits. Please let me know if any of it is unclear how to use these features, or if they are not exactly what you intended.

It looks good and exactly what I've meant.

Thanks for the feedback and reviews @rswarbrick and @nimrodpeled!
I've made these nit changes (or at least added some comments).  I'll let this this sit for one more day.  If there is nothing else, I'll squash and merge this tomorrow.
Thanks again!

Thanks for the feedback and reviews @rswarbrick and @nimrodpeled!
I've made these nit changes (or at least added some comments).  I'll let this this sit for one more day.  If there is nothing else, I'll squash and merge this tomorrow.
Thanks again!


module Not Found Error on nltk

Type: Feature Request
pip install nltk but Requirement already satisfied like msg "
Requirement already satisfied: nltk in c:\users\vishnu n\anaconda3\lib\site-packages (3.7)
Requirement already satisfied: joblib in c:\users\vishnu n\anaconda3\lib\site-packages (from nltk) (1.1.0)
Requirement already satisfied: tqdm in c:\users\vishnu n\anaconda3\lib\site-packages (from nltk) (4.64.1)
Requirement already satisfied: regex>=2021.8.3 in c:\users\vishnu n\anaconda3\lib\site-packages (from nltk) (2022.7.9)
Requirement already satisfied: click in c:\users\vishnu n\anaconda3\lib\site-packages (from nltk) (8.0.4)
Requirement already satisfied: colorama in c:\users\vishnu n\anaconda3\lib\site-packages (from click->nltk) (0.4.5)
"
Extension version: 2023.20.0
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.22631
Modes:

You didn't specify where the ModuleNotFoundError was showing up, so I will assume it's from something like the Run button. That typically happens when you don't select the correct environment in the extension. Look in the right-side of the bottom status bar and it will tell you which environment you selected. Otherwise we don't have anything to do with module resolution and thus don't cause ModuleNotFoundError.
I would also advise you not to use pip with Anaconda; they don't always work well together. It's better to either use conda to do installs with Anaconda or use an install of Python from the Microsoft Store instead if you want to use pip.


maximum particle update rate based on monitor frequency

Hey there! What's the motivation for this change? Is it just a TODO note in the code, or did you run into any issues that this resolves?

Hey there! What's the motivation for this change? Is it just a TODO note in the code, or did you run into any issues that this resolves?

I just resolve TODO to reduce their count

Why close?

Why close?

https://github.com/godotengine/godot/pull/82137

Superseded by:

https://github.com/godotengine/godot/pull/82137

No reason to open a new PR with simple changes to the code of an existing one, just clutters up

No reason to open a new PR with simple changes to the code of an existing one, just clutters up

I know. I'm not a bad person, I'm just unlucky


Types are not recognized in methods

If I have a integerField, the excel column will be number
but if I have a method in my model or serializer that return int, the excel column will be text
for ex:
class Statuses(models.IntegerChoices):
    SUPERVISOR = 0, _("awaiting supervisor's approval")
    EXPERT = 1, _("awaiting expert's approval")
    ACTIVE = 2, _("active")
    EXPIRE = 3, _("expired")
    EXTENDED = 4, _("extended")
    REJECT = -1, _("rejected")

    user = models.ForeignKey(User, on_delete=models.CASCADE)
    service = models.ForeignKey(Service, on_delete=models.CASCADE)
    status = models.IntegerField(choices=Statuses.choices, default=1)
    start_date = models.DateField(null=True, blank=True)
    duration = models.PositiveBigIntegerField(null=False)
    buy_date_time = models.DateTimeField(auto_now_add=True)
    paid_credit = models.PositiveIntegerField(null=True)

    @property
    def duration_hours(self):
        return self.duration // 3600000

    @property
    def total_price(self):
        return self.service.price * self.duration_hours

and a serializer with all fields, duration column will be number but total_price will be text
I seek in documentation but I didn't find a solution
use format for column data style does not work

@aliqb I was having a similar issue. I think the problem might be with the type of field, if you check the _drf_to_xlsx_field function, there is a list of conditions that based on the type of field, it will assign a XLSX field. So here it checks for numeric fields. If there is no match, it will use the default field. So you probably need to make sure that your Serializer field is of numeric type.


Doesn’t support search for Unicode (eg Chinese)

My books library is bilingual, ie English and Chinese, but the search function doesn't support the Chinese search (and probably other non-alphameric languages).
I provide a Chinese epub book 未来简史 (A Brief History of Tomorrow) here in case you need it for testing.

Thanks for letting me know! I fixed this issue and pushed a new release: #12
You can update the workflow from within Alfred manually (if using the default keyword ib) using:
ib workflow:update

Thanks for fixing it! But it only works for one character.
One char: WORKS

More than two chars: NOTHING

Oof, that's a bit embarrassing. Sorry about that! I should probably have some tests for this. I'll work on a fix but it may be a couple of days so I can ensure it's thorough. Thank you for giving feedback on this workflow!

TL;DR: latest release fixes the issue: https://github.com/codycodes/alfred-books/releases/tag/v1.0.5
You can update with the following manually:
ib workflow:update

I've attempted to test what caused the workflow to fail on multiple unicode chars and found what failed, but am not sure what exactly is happening. After doing some reading up on unicode decoding/encoding, I learned more about what should be happening, but I haven't been able to test it to make sure. When I wrote this workflow originally I was following examples I found but realize that when I was calling ' '.join(book.title) python was probably silently promoting strings to ASCII even though I have now specified unicode strings as default. At any rate I simply removed those string methods and have tested all the filtering methods on a couple different books. It seems to be working well. It would be great to find some sort of testing framework to help, but I do believe I resolved the issue.
Thanks again for reporting this issue and contributing ideas! Please feel free to reopen this issue if you're still facing issues.

Thank you. It works BEAUTIFUL!


Chore: Add readme regarding what can/cannot be changed in protobufs

Description

Sean fill out
What This Enables

Impacts

Stuff added in protos.


error display fix, processedBytes less misleading

We weren't displaying errors correctly, e.g.:
Mon, 08 Aug 2022 07:51:34 CEST: %!s(<nil>)

Added a processedBytes line separately, due to potential misleading data (due to processedBytes counting failed and successful events combined):
✓ Ingested 9 events (1.2 MB) // <--total size wrong, should be couple kbs
✖ Failed to ingest 1 event: // <-- this one is 1.2 MB large.

If anyone has a better idea of how to display the processed bytes, e.g. wording, placement, all feedback is welcome.

Thanks, great PR!


⚠ Bofrost.de has degraded performance

In aeda19c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 807 ms

Resolved: Bofrost.de performance has improved in c0ee3f5 after 24 minutes.


0051 - N-Queens

The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solutions to the n-queens puzzle.
Each solution contains a distinct board configuration of the n-queens' placement, where 'Q' and '.' both indicate a queen and an empty space respectively.

Link To The LeetCode Problem
LeetCode

Pls Assign this issue to me : )

can u assign this to me pls


Move to rust-lang/rustc-timing

https://github.com/jonhoo/rust-at-sunrise/blob/b9c5a39da65d92deabc1ddc6857f3bb4d115c438/src/main.rs#L269
The timing data has moved to the rust-lang organization (the old location is no longer updated). The format of the data has not changed, though, so this is hopefully a relatively easy update; we've also erased all old data so you should be able to free up some disk space as well if you want :)

Now that I access the files directly from raw.githubusercontent.com, I luckily don't have to store them all locally any more, but I'll update the URL, thanks!


Run LIKE query with optional parameters

I have a query that has to run based on user input. It's a query that uses %LIKE% but sometimes not all the parameters for that query would be available so the query is built based on the values that are entered.
Is it possible to run a query with optional parameters while using the LIKE syntax?

 Maybe the solution is simpler than you think and you can use multiple prepared statements and select the correct one based on user input? Instead of trying to put (application-)logic in a single dynamic query.

 Maybe the solution is simpler than you think and you can use multiple prepared statements and select the correct one based on user input? Instead of trying to put (application-)logic in a single dynamic query.

@Prinzhorn Sure thing
Let's say there's a table people that contains the columns firstname and lastname. A user could search by:
Firstname only in which case the query would be:
SELECT * from people WHERE firstname LIKE %userEnteredFname%
Lastname only in which case the query would be:
SELECT * from people WHERE lastname LIKE %userEnteredLname%
Or both fields:
SELECT * from people WHERE firstname LIKE %userEnteredFname% AND lastname LIKE %userEnterLname%
The query depends on which search parameter is entered. Sure enough you can prepare statements for a small number of input fields but I have about 7 and there can be a lot of combinations there.

@Prinzhorn Sure thing
Let's say there's a table people that contains the columns firstname and lastname. A user could search by:
Firstname only in which case the query would be:
SELECT * from people WHERE firstname LIKE %userEnteredFname%
Lastname only in which case the query would be:
SELECT * from people WHERE lastname LIKE %userEnteredLname%
Or both fields:
SELECT * from people WHERE firstname LIKE %userEnteredFname% AND lastname LIKE %userEnterLname%
The query depends on which search parameter is entered. Sure enough you can prepare statements for a small number of input fields but I have about 7 and there can be a lot of combinations there.

Sounds like a general design decision and not related to better-sqlite3 in particular. Maybe you'll find some better answers on StackOverflow. In theory what's wrong with having all options in the query? LIKE %% (for an empty choice) will match everything anyway. But like I said, that's a design decisions that depends on multiple factors, e.g. how much data the table holds and what usage patterns are most common.

Sounds like a general design decision and not related to better-sqlite3 in particular. Maybe you'll find some better answers on StackOverflow. In theory what's wrong with having all options in the query? LIKE %% (for an empty choice) will match everything anyway. But like I said, that's a design decisions that depends on multiple factors, e.g. how much data the table holds and what usage patterns are most common.

@Prinzhorn I didn't know if having all the options in the query and ending up with LIKE %% for an empty choice would just result in unwanted results so I thought it best to leave it out from the query. Was that a flawed theory?

@Prinzhorn I didn't know if having all the options in the query and ending up with LIKE %% for an empty choice would just result in unwanted results so I thought it best to leave it out from the query. Was that a flawed theory?

I've opened an SO question: https://stackoverflow.com/questions/65595910/run-like-query-with-optional-parameters-sqlite3/

I've opened an SO question: https://stackoverflow.com/questions/65595910/run-like-query-with-optional-parameters-sqlite3/

This is basically like doing WHERE true AND true AND true AND some-actual-condition, it doesn't affect your results.

This is basically like doing WHERE true AND true AND true AND some-actual-condition, it doesn't affect your results.

@Prinzhorn ahh that makes sense. Thanks for your support!

@Prinzhorn ahh that makes sense. Thanks for your support!


bisq-desktop: 1.8.4 -> 1.9.1

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for bisq-desktop is: "A decentralized bitcoin exchange network"
meta.homepage for bisq-desktop is: "https://bisq.network"
meta.changelog for bisq-desktop is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.1 with grep in /nix/store/43020qik57xrwp89p6r669830qd3ig6l-bisq-desktop-1.9.1
found 1.9.1 in filename of file in /nix/store/43020qik57xrwp89p6r669830qd3ig6l-bisq-desktop-1.9.1

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

1 total rebuild path(s)

1 package rebuild(s)

0 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
bisq-desktop

Instructions to test this update (click to expand)

Build yourself:
nix-build -A bisq-desktop https://github.com/m0rtis0/nixpkgs/archive/8b5ed8b77ec8f6d5138f8d0be99bb3966eac013d.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/43020qik57xrwp89p6r669830qd3ig6l-bisq-desktop-1.9.1
ls -la /nix/store/43020qik57xrwp89p6r669830qd3ig6l-bisq-desktop-1.9.1/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @uningan @emmanuelrosa for testing.

Oh, sorry. Thanks for catching!


For all data under the /tf_example/Training folder of Motion Dataset V1.2

Can I find the Value Range of state/{current,past,future}/xx data in all tfrecord format files under the Training folder? For example, after parsing a certain tfrecord file, I can get the range of state/past/x as (335.9037, 343.2258), and the range of state/past/y as (156.4488, 162.3615)...and I want to know the (min, max) of each of them after all tfrecord files have been parsed.

We don't have any utility for this.  The position data in the motion dataset has a different arbitrary origin for each scenario. The coordinates are not a single global coordinate system. Finding the overall min/max would also be an arbitrary range.  The scenarios are from multiple cities and there is no single 2D cartesian coordinate system that can cover all scenarios.  If you still need this range, unfortunately we do not have this data. You would need to run a task over the dataset to compute it.


Remove slc_version from Ansible Context

run_install_dependencies() currently requires entry slc_version in ConfigObject.
The current ticket requests to remove the need for this entry.

Alsreday fixed


Updating readme from branch example

Updates
I updated the readme file. Please review and accept.

Thoughts
I probably shouldn't, but okay. 👍🏼


Assignment3.2- MLFLOW understanding

Assignment to understand MLFLOW :
Using MLFOW create
Data preparation, model fit scoring and keep track of various experiments and corresponding outputs.

Closing this issues since it is partially addressed by the linked PR.


fix: update file copying to work for upgrades

Description
OB-36354 Modify windows install script copying files to work the same for initial install and upgrading
Checklist

[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

old code was handling when folder exists and when it doesn't differently, this should match the behavior to just fully overwrite


Windows Authentication not working anymore

I am trying to upgrade an existing application from PHP 5.5 / SQL Server Driver 3.2 to PHP 7 / SQL Server Driver 4.0. This is on servers (both web and database) using Kerberos for authentication to handle the double hop problem.
When I do a PDO connection with a username/password, I can connect fine
$conn = new PDO(
    "sqlsrv:server=$serverName; Database = $database;ConnectionPooling=0",
    $username,
    $password
);

But when I omit the username and password to use Windows authentication I get an error
Connection failed: SQLSTATE[28000]: [Microsoft][ODBC Driver 11 for SQL Server]
[SQL Server]Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.

This is the PHP:
$conn = new PDO(
    "sqlsrv:server=$serverName; Database = $database;ConnectionPooling=0"
);

This same code works fine under PHP 5.6 with SQL Server driver 3.2 on the same server, so Kerberos is configured correctly for handling the double hop.
Is there a new, different way to handle Windows Authentication with the PHP 7 and SQL Server?

@gubler Very interesting. We will look into this and get back to you asap.

Never mind - some one applied some patches to the server - its not the SQL server driver. Whatever the updates did to the server, now this is only occurring with Windows clients (though not Mac clients).
Since it at least works properly with Mac clients, I am sure it is a configuration change that happened to the server and not a problem with the SQL Server driver.
Thank you for the quick reply, though :)


[webpack-index-html-plugin] output script src prevents single-page dev server

Description
It is currently impossible to deploy and debug single-page applications because the entrypoint script's URL is relative.
Current behaviour
In the index.html it might be <script type="module" src="./components/my-app.js"></script>.
Both in production build as well as with webpack-dev-server this will result in a relative script like <script src="./my-app.44645eba9e3994eab753.js">
This breaks single-page apps because when requesting any non-root URL like /some/virtual/path the script (as well as dynamically loaded chunks) will be fetched from /some/virtual/my-app.44645eba9e3994eab753.js which responses with a 404 status.
Expected behaviour
The generated script should be absolute. In the example above is should only mean to remove the dot => /my-app.44645eba9e3994eab753.js.
Workaround for dev server
I managed to tweak the dev server and output config to get the local server running smoothly by explicitly rewriting the entry point scripts and setting the publicPath (necessary to get correct URL to chunks):
devServer: {
  publicPath: '/',
  historyApiFallback: {
    rewrites: [{ from: /my-app.js$/, to: '/my-app.js' }],
  },
},
output: {
  publicPath: '/',
},

Apparently the only change necessary for the deployed build is to change the script paths in index.html. The chunks are otherwise already loaded correctly.

Using absolute urls has downsides as it makes the entire url system quite rigid. If you're building a SPA I suggest adding a <base href="/"> so that URLs are resolved relatively. Not just the generated scripts, but also urls in CSS, fetch requests, anchor tags etc.

Mm, I was thinking about <base> but it did not occur to me that it can be used without the domain name.

I'm quite surprised that a lot of people don't know about it. We could consider using absolute urls in the dev server, but I don't know if that will just create more problems.

What if the plugin injected a base tag as <base href="${config.output.publicPath}"> if the tag is not otherwise present in the source index?

We could do that, but then after running a build it would stop working. Throwing an error would probably be better here.

By "stop working" you mean that a deployed app may live in /app-path while the dev server is running from root like "localhost:8080/"?
If so, then I think it should be handle individually in the config. Something like
{
  publicPath: process.env.NODE_ENV === "production" ? "/app-path" : "/"
}

Something to put in the docs although it's not open-wc-specific and thus it would be best to link to a good example online.

No I mean if we inject a base path in the dev server, you gain the illusion that your app works. When it is deployed on a web server which doesnt inject a base path, it then stops working.

Well yes. The base tag would have to be injected both in dev server as well as in production build.
If there are issues I don't see then let's at least add a paragraph to the guide. Think about it and let me know how you'd like to proceed.


fix: pass verify in httpx client

Description

fix for passing verify to transport in HttpxHttpClient

Issues

Closes: #798

Checklist

[ ] CI passed

Since we all agree that we're not ready to add custom transport support #801, I think this PR is ready for review in its current form.


HTTP post with post data

Hi
In C++ I have set up uWS::App in two threads, one for WebSockets and the other for HTTP.
In the HTTP thread, I am using both .get and .post which work when no post data is passed but fail when it is.
In c++
    }).post("/*", [](auto* res, uWS::HttpRequest* req) {
        res->writeHeader("Access-Control-Allow-Origin", "*");
        res->writeHeader("Content-Type", "application/json");

        res->end("Success!");
    }

This works with javascript (serviceAPI is exported from axios.create)
serviceAPI.post(SERVICE_ROUTE_TEST_PLAN).then(response => console.log(response))
But it fails with postData
const postData = {
  command: TRIGGER_BUTTON_RUN,
  payload: {
    id: dataId,
    selected: selected
  }
}
serviceAPI.post(SERVICE_ROUTE_TEST_PLAN, { postData }).then(response => console.log(response))

Any ideas?

You can play with the Crc32 example to see how post works

You can play with the Crc32 example to see how post works

I've used the crc32 example and have the same issue. After adding the postData it does not enter the uWS::App().post handler.
See the example below.
const postData {
name: "MyName"
}
axios.post(`http://<IP_ADDRESS>:3000/users`, { postData })
  .then(res => {
    console.log(res);
    console.log(res.data);
  })

If I remove the postData parameters it will enter the handler and respond.

I just tried your example and it worked straight away:
--- /users ---
accept: application/json, text/plain, /
content-type: application/json
user-agent: axios/1.2.0
content-length: 30
accept-encoding: gzip, deflate, br
host: <IP_ADDRESS>:3000
connection: keep-alive

Did you try with postData like this?
      const postData = {
        name: "MyName"
      }
      axios.post(`http://<IP_ADDRESS>:9002/users`, { postData })
        .then(res => {
          console.log(res);
          console.log(res.data);
      })

yes. it works

I am using Windows with uwebsockets version 20.14.0 installed with vcpkg. Which version are you using?

If not try sending content-type so a simple request is triggered instead of a preflight request (i.e. application/x-www-form-urlencoded, multipart/form-data, or text/plain).
uWS::App().options("/*", [](auto* res, uWS::HttpRequest* req) {
        res->writeHeader("Access-Control-Allow-Origin", "*");
        res->writeHeader("Access-Control-Allow-Headers", "Content-Type");
        res->end();
 }).post("/*", [](auto* res, uWS::HttpRequest* req) {
        res->writeHeader("Access-Control-Allow-Origin", "*");
        res->writeHeader("Content-Type", "application/json");
        res->end("Success!");
}).listen(9002, [](auto *listen_socket) {
        if (listen_socket) {
                std::cerr << "Listening on port " << 9002 << std::endl;
        }
}).run();

And then called with:
const postData = {
  name: "MyName"
}
axios.post("http://<IP_ADDRESS>:9002/users", { postData })
        .then(res => {
          console.log(res);
          console.log(res.data);
})

@jonjow Does this work? If not try sending content-type so a simple request is triggered instead of a preflight request (i.e. application/x-www-form-urlencoded, multipart/form-data, or text/plain).
uWS::App().options("/*", [](auto* res, uWS::HttpRequest* req) {
        res->writeHeader("Access-Control-Allow-Origin", "*");
        res->writeHeader("Access-Control-Allow-Headers", "Content-Type");
        res->end();
 }).post("/*", [](auto* res, uWS::HttpRequest* req) {
        res->writeHeader("Access-Control-Allow-Origin", "*");
        res->writeHeader("Content-Type", "application/json");
        res->end("{\"status\":\"Success!\"}");
}).listen(9002, [](auto *listen_socket) {
        if (listen_socket) {
                std::cerr << "Listening on port " << 9002 << std::endl;
        }
}).run();

And then called with:
const postData = {
  name: "MyName"
}
axios.post("http://<IP_ADDRESS>:9002/users", { postData })
        .then(res => {
          console.log(res);
          console.log(res.data);
})

Very nice spot, thank you for your help and for providing a fantastic C++ WebSocket implementation.

@jonjow it's @uNetworkingAB that is providing the fantastic C++ WebSocket implementation. I was just explaining the cause of your issue :)

Error reporting needs to improve - the server sound respond with proper 500 statuses, that's an improvement to make


Fix wrong guide for egress selection.

This PR fix the wrong guide according to the commit bellow:
apiserver: support egress selection name 'controlplane' and deprecate 'master'

Hey @lshgdut , thank you for your contribution! I'd rather we have this change technically approved & signed off in one language i.e. English & then replicated via PRs in different languages.

OK! I have reverted files changed except English.

/approve

I'm sorry. I have force pushed again to correct the commit message.

Thanks @lshgdut
/lgtm


fix: CLI command text review

What does this PR do?
Suggest revisions to --help text for lightning preview app and lightning preview site to make sure content aligns with CX standards.
What issues does this PR fix or reference?
@W-15924073@

@nrkruk @jshackell-sfdc noticed the lightning.preview.component.md file, and we're wondering if we should remove it or leave it alone (since it sounds like we aren't supporting sf lightning preview component in 252). Thanks!


feat: add tdsClick event to table rows

Describe pull-request
This pull-request is regarding adding an tdsClick event to the table rows handle events on a row click.
Issue Linking:
Choose one of the following options

GitHub: Include issue link
No issue: Adding a tdsClick event to the table rows

How to test
Provide detailed steps for testing, including any necessary setup.

Go to storybook and navigate to the table component > basic row.
Check in the console that the event is being triggered upon clicking a row.

Checklist before submission

[x] All existing tests pass
[x] I have updated the documentation (if applicable)

Suggested test steps

[x] Browser testing (Chrome, Safari, Firefox)
[x] Events

Great job, it works well! 🥳 Reading the issue our user submitted they suggest to add a pointer styling to the indicator if the tdsClick event is defined. Is that something we would like to add in this PR?

I don't think that is gonna work since the tdsClick event is created inside of the component by us and dispatch whether the users adds an event listener or not. I don't know if you wanna consider having the full row as a tabable element though, mostly for accessability. As far as I can tell there is no way for a user to open a expandable row if they can't use their mouse?

Great job, it works well! 🥳 Reading the issue our user submitted they suggest to add a pointer styling to the indicator if the tdsClick event is defined. Is that something we would like to add in this PR?

I don't think that is gonna work since the tdsClick event is created inside of the component by us and dispatch whether the users adds an event listener or not.
I don't know if you wanna consider making the while row tabable though? If a user is expected to press a row to perform an action I think they should also be able to tab to it, for a11y.
Edit: Making it tabable would create the same problem as abovve though. There is not way (afaik) to know whether an element has an eventlistener attach to it or not. So if you want to make it tablable and use cursor:pointer if there is a click event added I think the only option is to create another prop. Having something like clickable that the use can add if they also attach an eventlistener.
My suspicion is that the user i coming from React or Angular where the event listener would be passed as a prop and we could then simply check if the prop !== undefined. But I don't think that's gonna work with stencil.

@mJarsater good catch! Thanks a lot for the feedback. I believe that browsers don’t expose APIs to inspect or retrieve a list of event listeners associated with a particular DOM element? So like you said, it won't work. So I guess we would need to manually ask the user to declare intent (like through a clickable prop). The prop tells the component: "Yes, I want this row to be clickable," without relying on detecting event listeners.

https://github.com/user-attachments/assets/75e42142-bf5f-4658-a3a9-e1e9d6eb0004
Is this the look we want to have for the table if the clickable is true? (I'm thinking about the outline style on click / Enter keypress)

I can not get tdsClick working either in preview link or in my local after pulling branch. Not sure what is off, please investigate.
I get this error in console, not sure if it is related to tdsClick not emitting on click:


Connection Change state Events not firing

I have created sample app
https://github.com/nssidhu/SignalRTest
What am i missing here or not configured correctly ?
None of the events are firing even though i see lots reconnects on the browser.
I am not doing any interaction with the App, it just sitting idle and those events are happening on their own.

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

ID: c9bc1072-be2c-94f6-49bf-daa9e97dff2d
Version Independent ID: 36052173-7061-6d01-8aed-915685cd7cf6
Content: ASP.NET Core SignalR .NET Client
Content Source: aspnetcore/signalr/dotnet-client.md
Product: aspnet-core
Technology: aspnetcore-signalr
GitHub Login: @bradygaster
Microsoft Alias: bradyg

@BrennanConroy ... Should this be referred to public support forums?

Change#23190

@nssidhu ... With the upcoming release of 6.0, engineers and doc authors aren't able to provide a great deal of general product support. Your best bet is to consult with community devs ... ask a few SignalR gurus to look at your app ... to see if this is due to a framework bug (then open a found bug for engineering) or a doc problem (comment back on this issue or open a new issue from the topic stating explicitly what's wrong with the doc).

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter


3.1.15 is broken with openapi_spec_validator dependence

My tests run successfully with 3.1.14.
 Apologies about that.
It should have been fixed with moto >= 3.1.16.dev4 - can you try that release and verify it works for you?

@bblommers thanks, can confirm this error is not present on 3.1.16.dev4.

also experiencing this issue. It would be great if moto's test suite is going to be extended to prevent such bugs for the future

Thansk for confirming @timhaines. I've just released 3.1.16 with the fix, so you can upgrade normally now.
I'll close this, but do let us know if you run into any other issues.

Hi @bblommers, I think that you sou should reopen the issue.
 It's always required to add the services that you use as an installation dependency, like so: pip install moto[cloudformation]
That should install all dependencies, including openapi-spec-validator

Hi @bblommers
thanks for the quick response!
I ran pip install moto==3.1.16.dev4
Previously the installation command was pip install moto==2.2 . That worked in running all of my tests successfully
I'm guessing that the changes were made after quite a few versions
thank you


(Req) Service endpoint changed & promote

Requirement:
When an existing DEV service Endpoints which has already being cloned and promoted to QA & from QA to PRD for a new service endpoints.
Now changes are being performed with below two different scenarios in Dev environment that’s needs to get propagate in QA & PRD:
(2b) Dev Service/Endpoints some field value Changes, also need to promote to already promoted QA/PRD service. (Least Priority –can be done after swagger import functionality)
Example: After “performance and integration test or during a new requirement” in DEV environment it is identified to change some methods (GET/OPTIONS/PUT), call transformation or timeout values for different endpoint
Now to sync these changes from DEV to QA or from QA to PRD we need to have a command to sync these values.

@schovi we can ignore this enhancement.


PATCH Operations

Could PATCH operations be introduced to the records package so calls to update records don't overwrite changes made elsewhere?

@gmcnicol Thanks for your contribution. Please clarify the use case and draft an email to<EMAIL_ADDRESS>We will analyze the use case and follow up on this request, over there.
Thanks!


How to store trace analysis metrics data into promethues

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Backendground:
My company use prometheus to monitor k8s node and other devices, and use prometheus alertmanager to do alert jobs, so i want to store skywalking metrics data into promethues to keep prometheus alertmanager still working for skywalking metrics.
However, it turns out to be pretty harder than imagination to do this, because skywalking metrics data may change anytime the new trace event come and on the other hand, prometheus does not support update data by timestamp not like elasticsearch or influxdb. it seems to be impossible to implement such a prometheus storage module
it is really appreciated if anyone can provide me with any idea, thx!!!

Bug

Which version of SkyWalking, OS, and JRE?

Which company or project?

What happened?
If possible, provide a way to reproduce the error. e.g. demo application, component version.

Requirement or improvement

Please describe your requirements or improvement suggestions.

I think your idea is correct. It is impossible. If they are so closed, we should not build SkyWalking after all. But clearly, APM is a much larger thing than Prometheus told people.
Read this if you want to learn more. Even about metrics, Prometheus can't support many cases when you treat it like an APM rather as a tool.
https://skywalking.apache.org/blog/2020-08-11-observability-at-scale/


Provide concrete example of the userAgent test JavaScript

Provide concrete example of the userAgent test JavaScript

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

ID: ca0e1fb1-b0ec-bb06-795a-add2b1f5c476
Version Independent ID: b22528ae-f6cb-1cc7-8342-e298b1e5ce6c
Content: Support older Microsoft webviews and Office versions - Office Add-ins
Content Source: docs/develop/support-ie-11.md
Service: microsoft-365
Sub-service: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

AJ1062910,
As you can see by the subject line, your comments have somehow been associated in GitHub with a Pull Request that is not relevant to you comments. When I click the view it on GitHub link, that PR opens in the browser, but your comments are not there.
Please try again to open the article you have a complaint about, scroll to the bottom to the Feedback section, and click the This page button. Then create an issue for the page.
Thanks,
Rick-Kirkham
From: AJ1062910 @.>
Sent: Saturday, July 29, 2023 3:45 AM
To: OfficeDev/office-js-docs-pr @.>
Cc: Author @.>; Assign @.>; State change @.>; Subscribed @.>
Subject: Re: [OfficeDev/office-js-docs-pr] Provide concrete example of the userAgent test JavaScript (Issue #4112)
it seems that angular is not working startint at version 13.0.0..... after that it doesn't work, you should update all the documentation about it. it is written nowhere

Reply to this email directly, view it on GitHubhttps://github.com/OfficeDev/office-js-docs-pr/issues/4112#issuecomment-1656702590 or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACFKYOCB4CP2TMWRYE6MW43XSTSSNBFKMF2HI4TJMJ2XIZLTS2BKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLAVFOZQWY5LFVE3TSNRRG42DGNBUURXGC3LFVFUGC427NRQWEZLMQKSXMYLMOVS2SNZZGYYTONBUGU42I3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNKGE2DSOJTGU4TGOBZURXGC3LFVFUGC427NRQWEZLMVRZXKYTKMVRXIX3UPFYGLLCJONZXKZKDN5WW2ZLOOSTHI33QNFRXHFMCUR2HS4DFVJZGK4DPONUXI33SPGSXMYLMOVS2SMJQHE3TEMZTGYZIFJDUPFYGLJLJONZXKZNFOZQWY5LFVIYTQMJWHEYTQMJQGCBKI5DZOBS2K3DBMJSWZJLWMFWHKZNJG44TMMJXGQZTINECUR2HS4DFUVWGCYTFNSSXMYLMOVS2SNZZGYYTONBUGU4YFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIYTIOJZGM2TSMZYHGTXI4TJM5TWK4VGMNZGKYLUMU.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Spaces before : and after make the variable not parsed by SC5

The following variables will not be parsed by SC5 correctly.
$white       : #FFFFFF;
$ghost       : #FAFAFA;
$snow        : #F9F9F9;
$vapor       : #F6F6F6;
$white-smoke : #F5F5F5;
$silver      : #EFEFEF;
$smoke       : #EEEEEE;

This will work -
$white: #FFFFFF;
$ghost: #FAFAFA;
$snow: #F9F9F9;
$vapor: #F6F6F6;
$white-smoke: #F5F5F5;
$silver: #EFEFEF;
$smoke: #EEEEEE;

It is expected that SC5 should not care about the beautification of the CSS. A lot of plugins will do this automatically for developers, breaking the styleguide.

This is probably a gonzales-pe issue. We'll have a look.

Gonzales-pe upgrade resolved the issue.

Seems that the Gonzales package resolved the issue. Cool.


No Address for Prometheus Server

Current Behavior

No Address for Prometheus Server listed even though 3 exist in Meshsync table.
Expected Behavior

The address should be showed here so the user can connect to this server.
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

@Jougan-0 given @amitamrutiya fix for this input field, is Meshery Server now able to connect to Prometheus in the playground environment?

I fixed the issue where pressing enter would remove the text from the field, and I added validation to ensure only a valid URL can be entered. I haven't addressed any other issues.

Whats the update on this?

The updated status on this is that the fix of @amitamrutiya allows adding a prometheus URL. We are also able to add a custom board JSON (grafana JSON) and it retrieves the panels. However it does not render the dashboard and throws a communication error.
Me and @Jougan-0 discussed this sometime back and it probably isn't able to communicate to Grafana.
A thing to note is that we are adding a JSON board that comes from Grafana into Prometheus section. Not sure if this is expected.

BTW Grafan has a similar URL connecting issue too.


[BUG] Searchable snapshots - RepositoryMissingException

Describe the bug
When I try to restore a snapshot with index.store.type: remote_snapshots I'm getting RepositoryMissingException.
When I restore without remote_snapshot setting, it's working fine.
This issue occurred on our production cluster, but I also reproduced it on "clean" opensearch from official helm chart.
I didn't test with other repo type, only azure blob.
To Reproduce
Steps to reproduce the behavior:

Setup azure blob repository
Restore snapshot with index.store.type: remote_snapshots

Expected behavior
Data available, cluster status green
Plugins
Please list all plugins currently enabled.
Screenshots

Host/Environment (please complete the following information):

OS: rockylinux:8
Version 2.11.0 and 2.11.1

Additional context
Restore request:
POST /_snapshot/azure_data_repository/remote-test/_restore
{
"indices": "*",
"ignore_unavailable": true,
"include_global_state": false,
"rename_pattern": "(.+)",
"rename_replacement": "observability-searchable-snap-test-$1",
"include_aliases": false,
"index_settings": {
"index.store.type":"remote_snapshot"
}
}
Logs:
logs-searchable-snap.log

I think the restore command you want is:
POST /_snapshot/azure_data_repository/remote-test/_restore
{
  "indices": "*",
  "ignore_unavailable": true,
  "include_global_state": false,
  "rename_pattern": "(.+)",
  "rename_replacement": "observability-searchable-snap-test-$1",
  "include_aliases": false,
  "storage_type": "remote_snapshot"
}

I can see how this is confusing and the error message you're getting does not seem right, but can you try updating the restore command and see if that works?

To expand on the confusing user experience here...the index.store.type setting is intended to be a system-managed index setting that is configured when restoring a snapshot with "storage_type": "remote_snapshot". Once a searchable snapshot index is restored that setting is not mutable, but it looks like there might be gap here if attempting to modify that setting directly in the restore API.

Hello @andrross, thank you for making it clear for me, it's working now.

@andrross anything we can improve to reduce the confusion?

I think we should add an example of restore api for searchable snapshot here

@andrross anything we can improve to reduce the confusion?

Two things:

Improve documentation (as you mentioned)
Improve error handling to fail the call if the restore API attempts to set index.store.type to remote_snapshot directly


feat: add coinomo to partners

Coinomo (previously Cappuu) is a crypto wallet for retail users that let you easily deposit USD to USDC, using DeFi to earn yields and exchange cryptos.

I've sent this tx to deposit 63 USDC :)
https://etherscan.io/tx/0xff8303f699d5f5fdba006f6e5698852436ecb8aa4ecd7c25b7d2e26bbc125753

Thanks @Ankarrr → checks out as proof of ownership of 0xd3877D9df3Cb52006b7d932e8Db4B36E22e89242 👍 Approved


Variable names and multiplication

Hi!
I have some trouble with variable name ending with number.
Suppose I have variable name 'var1' and expression with this variable like 'var123 + 100'.
In my opinion, ExpressionBuilder should return exception with error 'No variable name var123'.
But this is not happening. ExpressionBuilder evaluate this expression like 'var1 * 23 + 100'.
This incident may cause a lot of mistakes, especially when we have a lot of variables ending with number.
Is there any chance to disable multiplication with no sign '*'? Do you have any other ideas?

That's a good point.
I think it would indeed be possible, to have something like this:
Expression e = new ExpressionBuilder("x_12")
        .variables("x_1")
        .implicitMultiplication(false)
        .build()
        .setVariable("x_1", 2)
double result = e.evaluate();

by letting users turn off implicit multiplication using a builder method we should be safe to not introduce regressions in existing software

Is it possible to add this solution to source code in the nearest future?

@michbudz I added a feature branch which has the before mentioned capabilities.
You can check it out here:
https://github.com/fasseg/exp4j/tree/implicitmultiplication-optional
I will not merge this in master yet, since I'd like some feedback from @leogtzr and @dktcoding if they see any problems with this approach.

Thanks a lot!

@fasseg
Is this feature only for variables followed by numbers? I just tested this:
Expression e = new ExpressionBuilder("x_1sin(2.0)")
        .variable("x_1")
        .implicitMultiplication(false)
        .build()
        .setVariable("x_1", 2);
        result = e.evaluate(); // 1.8185948536513634

it's returning a valid numeric value even with the implicitMultiplication flag on false.

@leogtzr ah it's good to work with professionals. I indeed forgot to add it for brackets and indeed variables. I will push an update soon.

I added checks for variables/functions/paratheses.
So this should work as intended now

closing this since it seems fixed


[microNPU][ETHOSU] Channel pad offloaded to NPU

A separate channel-dimension nn.pad relay operator is rewritten as Relay concatenate operation.

cc @neildhickey, @ekalda, @ilyag-grovety, @Alex-grovety @arina-grovety

@tvm-bot rerun

@tvm-bot  rerun

Thanks @arina-grovety, @sergio-grovety and @Aleksei-grovety, this is now merged!


Using more sensible consul blocking query to detect health check changes (only passing ones)

This is a possible solution for #1107
Basically only the health check blocking query is used for consul catalog change detection. The rest is the same.

Need to run gofmt otherwise lgtm

@vholovko I'm not sure to really understand your code.
_, meta, err := health.State("passing", opts) calls this API https://www.consul.io/docs/agent/http/health.html#health_state, and will then returns the checks in the passing state. This call is not a blocking query and you don't use the result in the following part (appart from meta). To me, you just get all the passing checks (which could be empty) before listing the services, am I wrong?

@emilevauge Actually we are going the long polling (a blocking query) by specifying wait time parameter in the query options QueryOptions{WaitTime: DefaultWatchWaitTime} which is resolved to 15 seconds.
The wait time is the time when connection is open until time is out or consul return us a new index (in case the amount of passing services changes) in the meta return value.
Then we are comparing the indices between each other (the previous with the returned one) and will repeat the long polling (the last returned index will be send together with other query options) in case it's the same or we will generate the fresh traefik consul-catalog configuration if the index was changed.

@vholovko My main concern is that I don't get why you call _, meta, err := health.State("passing", opts) as you don't match the result (assigned in _) with services using ServiceID.
health.State just list all passing health checks right? You don't match passing health checks with services, right? Then I don't get it :thinking:

Hi, @emilevauge
I'm not using the actual data because I'm only interested in the meta index change (since it is capable to react on health change and this is the story all about).
I'm using health.State only as a trigger not as a data provider.
Even if I started to use the health data it lacks the information like Service.Tags which is essencial for building the traefik config.
The data itself will be fetched when calling to catalog.Services and on a later stage to health.Service.
Why to specify passing in the query? We don't want to listen changes on following health changes:
warning -> critical
critical -> warning
We are only interested in the next changes:
critical -> passing
warning -> passing
passing -> warning
passing -> critical
So only for these events we should regenerate the traefik config (it was concluded from the code where health.Service is called with passingOnly set to true)

@vholovko thanks for your explanation, I finally get it!
I think you should add this as a comment in the code, as this is not obvious to understand ;)
Could you add some unit tests in consul_catalog_test.go, rebase against v1.2 branch, and squash your commits? If you can do this today, we would love to get this in rc2 :)

Its solves a legit problem, can we haz it merged please.

Closed branch because of inaccurate squash.
Sorry for the mess, #1241 is more clean.


Demo count

As @matiwinnetou also mentioned at IRC: it looks like we're going to have a huge amount of demos, if we keep going like this.

What are we going to do about the huge amount of demos?

Categorize them? (i.e.: audio-related, camera-related, etc.)
Remove them? (i.e.: only take those most important)
Merge them? (like in games as pong)
Better document them in the "main" README.md file in the demos/ directory?
...?

We can use this issue to keep track of what we  want to do about this (upcoming) problem.

I'd be down to categorization. I don't think they should be moved into a separate repository. Maybe we should add a better index in demos/README.md

Categorize them? (i.e.: audio-related, camera-related, etc.)
Remove them? (i.e.: only take those most important)
Merge them? (like in games as pong)
Better document them in the "main" README.md file in the demos/ directory?

After having categorized the demos, removing redundant ones should be easy. I would prefer if the demos were kept minimal, to demonstrate a specific aspect of the engine. Otherwise it may be overwhelming for a newcomer. Perhaps the structure and categorization could be provided by the demos/README.md file, instead of creating a nested directory structure. This also makes sense, as some demos would demonstrate more than one aspect of the engine, thus making it difficult to categorize in a tree-like fashion.

I'd be down to categorization. I don't think they should be moved into a separate repository. Maybe we should add a better index in demos/README.md

I also think it is a good idea to keep the demos in the main repo. Otherwise they will be very likely to go out of sync (as is already the case with the TrafficManager tutorial example, which lives outside of the main repo).

These are the demos that need to be added to the README.md

incrementalcamera
input
keyboardscroller
mouse-follow
mouse
mouserotation
rotation
scale
scenes
shapes
text
tilemap


Advanced matching, naming proposals : __matcher.ts in the [page] folder parallel of [page=isPagePattern]

Describe the problem
If we have a lot of folders with dynamic params ; like [station] / [about] / [profils] , etc  sometimes it could be annoying to read :
[station=isStation], [about=isAboutMatcher] or [profils=profils], it's little strange, even if you have a good naming like archive/[year=integer]
Describe the proposed solution
Maybe an alternative solution is possible ? Like you could have a file inside your folder named : __matcher.js, and this solution could cohabit with the existing one : [page=matcher].svelte
// src/route/[page]/__matcher.js

/** @type {import('@sveltejs/kit').ParamMatcher} */
export function match(param) {
  return /^\d+$/.test(param);
}

Maybe it would be cleaner when you read your files in the explorer
Alternatives considered
No response
Importance
nice to have
Additional Information
Sry for my english
<3 all your work

At present, SvelteKit is able to determine whether a given route matches the request without importing any code associated with the route. That's particularly important in the browser, where we'd have to await import(...) the matchers for the route candidates in order to test them. In the best case that introduces latency; in the worst case it leaves you more vulnerable to network errors and the like. It means that we can't determine inside the click handler whether or not the link should be handled by the client-side router, which means we can't event.preventDefault() when we need to. Even if we could make it work, this is a lot of extra complexity, for something that ultimately discourages discoverability and reuse.
Given the examples you gave, it sounds like what you're looking for is a way to internationalise your routes. For now we don't have a great way to do that other than matchers, but it deserves a more appropriate solution — it'll be a focus area post-1.0. Until then I'm going to close this as wontfix

Thank you for this answer, even if I'm not sure that I understand all the issues in detail, however if the "match function" could exist in +page.ts like this :
// src/route/[example]/+page.ts

/** @type {import('@sveltejs/kit').ParamMatcher} */
export function match(param) {
  return /^\d+$/.test(param);
}

/** @type {import('./$types').PageLoad} */
export function load({ params }) {
...
}

Would this be a solution? Or maybe not... 🤔 But I'm fine with the matchers, it's just the way of writing [slug=isOk] that is problematic from a DX pov - when reading all the route folder with a lot of subfolders -
Either way, see you Thursday in Stockholm 🇸🇪 !


scene: fix scaling of negative coordinates

round() rounds away from zero that can cause unwanted lengthening of
dimensions when sides of box differ in their sign:
scale_length(2, -1, 1.5) == 4 (-1.5 -> -2; 1.5 -> 2)
scale_length(2,  1, 1.5) == 3

Hm, maybe we could have a round_up function to make this more explicit?

I haven't really looked into the issue at all, but would using the other rounding functions like ceil()/floor()/trunc()/rint() work?

Sorry, I have made a ~big~ huge mistake here with truncation (towards zero) and adding half (scale = 1, offset < 0 => bleh).
Thinking it over, I would go with ceil(). It has the advantage over round() that moving a line on the screen, does not change its size.

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:
https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3312


Panic: Too many open files

Backtrace (most recent call first):
  File "rust:library/core/src/option.rs", line 1268, in core::option::expect_none_failed
  File "<unknown>", line 0, in tickrs_api::client::Client::new
  File "<unknown>", line 0, in tickrs::task::AsyncTask::connect
  File "<unknown>", line 0, in tickrs::event::handle_keys_display_summary
  File "<unknown>", line 0, in tickrs::main
  File "<unknown>", line 0, in std::sys_common::backtrace::__rust_begin_short_backtrace
  File "<unknown>", line 0, in std::rt::lang_start::{{closure}}
  File "rust:library/core/src/ops/function.rs", line 259, in core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
  File "rust:library/std/src/panicking.rs", line 379, in std::panicking::try::do_call
  File "rust:library/std/src/panicking.rs", line 343, in std::panicking::try
  File "rust:library/std/src/panic.rs", line 396, in std::panic::catch_unwind
  File "rust:library/std/src/rt.rs", line 51, in std::rt::lang_start_internal
  File "<unknown>", line 0, in main
  File "<unknown>", line 0, in __libc_start_main
  File "<unknown>", line 0, in _start

The application panicked (crashed).
  called `Result::unwrap()` on an `Err` value: Io(Os { code: 24, kind: Other, message: "Too many open files" })
in /tickrs-api-0.9.0/src/client.rs, line 193
thread: main

After some digging into the code, a Result::Err was returned by isahc because of the reinitialization of HTTP clients for every task which isahc itself warns against as it's expensive and inefficient https://docs.rs/isahc/1.1.0
A fix for this would be statically creating a crate-wide instantiation of the Client that's shared across all tasks.

Yeah good call, I'll add that too the api crate. It's interesting because I had this same too many files open error early last year when I first started this project, but it was an upstream bug with the crossterm crate we use. I was originally thinking iti might be from that again.
Thanks for digging into this!

All good man! I already have a fix locally
I'll setup a PR now

Awesome! I'll check this out and the other things tomorrow. I assume this was fixed by the PR? How many tabs did you create before getting the panic?

Great.
Not a lot of tabs actually. Just kept switching time frames in the summary view of 4 tickers to see how well and fast it can keep up.


MULTIARCH-3997: Support to use service instance name in config

This PR contains the changes to allow service instance name to cloud config.

/cc @mkumatag @dharaneeshvrd @hamzy

/lgtm
[inner hamzy@li-3d08e84c-2e1c-11b2-a85c-e2db7bb078fc ~]$ oc get clusterversion
NAME      VERSION                                      AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.15.0-0.nightly-ppc64le-2023-11-01-092901   True        False         5m20s   Cluster version is 4.15.0-0.nightly-ppc64le-2023-11-01-092901


[QueryPlanV2] V2 Planner working end-to-end against a selected test suite

Acceptance criteria:
Can run test suite with some variant of a command like DAFT_PLANNER_V2=True pytest -m 'planner_v2_tdd' which runs Daft using the new Rust-based planner, and all tests green

We can close this, since all Daft tests pass under the new query planner.


CLOUD-317 use gke ver '1.14'

Test name
Status

recreate
failed

scaling
passed

self-healing
failed

init-deploy
passed

scaling-proxysql
failed

storage
failed


Allow undefined in setKeys

To allow clearing a key when passing undefined as the value, we should add undefined to the parameter type signature.

Ran into a typing error trying to make a defensive delete wrapper :)

Should we allow clean key if was not marked as optional in types?

I am closing PR since it could set undefined to the key which was not allows to be undefined


Vulnerable to man-in-the-middle attacks when not using pycurl

HTTPS requests made by this package are vulnerable to MITM attacks when the user does not have pycurl installed, because urllib2 does not verify SSL certificates.
While openid.fetchers also has a fetcher for httplib2, unless explicitly registered it will not be chosen as the default fetcher.
At the very least I feel that this should be documented somewhere, but in my opinion the package should simply add a dependency on a library such as Requests that does SSL verification, and avoid the shenanigans of trying to import various other third-party libraries with fallbacks.  If this is not feasible, then the httplib2 should at least be prioritized above urllib2, and perhaps a Requests fetcher should be added as the preferred fetcher.

This repo is being archived. Closing issue.


fix(Lark): fix sometime couldn't open documents

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[] I checked that files in the assets folder are used by the extension itself
[] I checked that assets used by the README are placed outside of the metadata folder

LGTM

@tmkx  I have reverted this.

LGTM