Page content cuts off abruptly.

Hello,
This page should be looked at from a legibility perspective. Some sentences are left unfinished, which leaves the whole a bit unclear.
e.g.:
"The {subscriptionGuid} parameter is required and should contain a subscription ID that can be read using the credentials provided in the API token. The {reportName} [page content is clearly missing here]
The following headers are required:"
From what I can gather, the {reportName} path parameter is free choice and will determine the name of the report we're generating via the API call?

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

ID: c317febc-5c10-866b-3906-c63deb23015c
Version Independent ID: faba14b0-9c24-6bc7-5145-a91940300a38
Content: Review Azure service resource usage with REST API
Content Source: articles/billing/billing-review-service-usage-api.md
Service: cost-management-billing
GitHub Login: @lleonard-msft
Microsoft Alias: banders

Assigning to content owner for visibility, review and document enhancement considerations.
Assigning to @bandersmsft as unable to add @lleonard-msft under assignees.

@WilliamVannuffelen
Sorry about that cutoff sentence. It appears it was a human error when the article was edited to add that sentence.
https://github.com/MicrosoftDocs/azure-docs/commit/9019c075fbee35c7a7e4639c9f164bfec4859bdd#diff-875c41ee62fc8b9bf6c9bdfc7d7ba8cfL42
One way to figure this out is to use the resource explorer, but I'm not seeing this resource provider listed on my subscription. Is it active on yours?
https://resources.azure.com/
I'll check around to see if we can find out more about what goes into the {reportName} parameter.
Thanks, Jason

Found the swagger spec for the REST API version 2018-08-01 that would build the documentation. I don't see that we have the documentation for the preview API, but I'm not sure why that is yet.
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json#L195
The reports operation gets the report for a subscription for a given report name, so yes you'd have to know the report name to call that operation.
Example of the output from Report:
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/Report.json
To get a list, there is an operation Reports_List operation and some variations that would show the list.
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/costmanagement.json#L41
Example of output from Reports_list:
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cost-management/resource-manager/Microsoft.CostManagement/preview/2018-08-01-preview/examples/ReportList.json

Hi @WilliamVannuffelen are you still working on this project, or have you moved on to others?
I didn't find a great answer but hoping you are unblocked. Let me know if we need to keep pursuing more on this subject.
Thanks, Jason

@@WilliamVannuffelen I updated the article to address this issue with https://github.com/MicrosoftDocs/azure-docs-pr/pull/109773.
#please-close


added circle loader

#26 added the required circle loader.

@sayamalvi it has already a loder when website open.. i want a loader in the bottom when scroll down and qutoes are fetching from server then I will be loading...


Movie rating retrieval sample?

Hey, could you please provide a sample where the app searches for a movie title from a user string and then displays its rating?
I ask because I want to build a small solution that gets all movies from folder names, loads their title in a tree view and displays their ratings as child nodes in the tree, so that I can easily delete the ones with the lowest scores (its a huge collection!).
Thanks so much in advance!!!

Hi! You could write something like so:
var client = new ServiceClient();
var movies = await client.Movies.SearchAsync("lucy", null, false, 1, cancellationToken);
var movie = movies.Results.First(s => s.ReleaseDate.HasValue && s.ReleaseDate.Value.Year == 2014);
var rating = movie.VoteAverage;


Loading personal and system profiles took so very long

Steps to reproduce
After I login, I open pwsh

Expected behavior
Loading personal and system profiles took under 10000ms

Actual behavior
Loading personal and system profiles took so very long (~139104ms)

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.0
PSEdition                      Core
GitCommitId                    7.1.0
OS                             Microsoft Windows 10.0.20262
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

If you run pwsh -NoProfile what is result?

Close as stale issue. Feel free to continue discussion.

Close as stale issue. Feel free to continue discussion.

Hi guys. I know its kinda late now for this ticket, but I am facing profile loading issues.

@iSazonov Can we have this re-opened, im also experiencing this issue when using gitposh.

I met this problem. It seems due to oh-my-posh, which increases about 6 seconds.

I believe that in general, you're going to need to submit issues to the respective module repos that are causing your profile to load slowly.  I work on posh-git and we've done some work to improve module load times but there is still more work that could be done.  The acid test is to run pwsh -noprofile and see how the perf is. If that is fast, the perf issue likely something you're doing in your profile.

I'm seeing similar issues with Starship where first-time start of pwsh takes anywhere between 4 seconds and 40 seconds before I get a prompt. Subsequent starts of pwsh (separately or in Windows Terminal) are pretty much instant.

Hi guys. I know its kinda late now for this ticket, but I am facing profile loading issues when I use oh-my-posh v3.

I dont have much in my profile.
My profile loading time right now is:
When I run pwsh -NoProfile, it loads instantly.
Time distribution of my $profile.

remove Import-Module posh-git  and Import-Module oh-my-posh
only need Set-Theme Agnoster

If you trust everything in your PowerShell profile(s) try excluding it (ex: Documents\PowerShell\Microsoft.PowerShell_profile.ps1) from your antivirus (and preferably remove write permissions on it except for admin/system). It was frequently >10s for me. Since that change, it has stayed around 1s.

If you trust everything in your PowerShell profile(s) try excluding it (ex: Documents\PowerShell\Microsoft.PowerShell_profile.ps1) from your antivirus (and preferably remove write permissions on it except for admin/system). It was frequently >10s for me. Since that change, it has stayed around 1s. (I am running Bitdefender, although it might be wide-spread.)

This change reduced the loading time of my profile from over 4000ms to less than 1000ms. The antivirus software used is "G DATA ANTIVIRUS".

I also encountered this problem.
I have to wait 2-3 seconds every time I open powershell, which is too slow.

If you trust everything in your PowerShell profile(s) try excluding it (ex: Documents\PowerShell\Microsoft.PowerShell_profile.ps1) from your antivirus (and preferably remove write permissions on it except for admin/system). It was frequently >10s for me. Since that change, it has stayed around 1s. (I am running Bitdefender, although it might be wide-spread.)

Added this profile and oh-my-posh.exe in exclusions in Windows Defender. Still doesn't work for me.

Can also be slow for me. OMP is fast though (oh-my-posh debug).
Not the case for me, but one might have multiple profiles loading?
Check them via $PROFILE | Get-Member -Type NoteProperty
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.3

https://stackoverflow.com/questions/59341482/powershell-steps-to-fix-slow-startup
update of the .NET framework
Run this as Administrator
$env:PATH = [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory() [AppDomain]::CurrentDomain.GetAssemblies() | ForEach-Object {     $path = $_.Location     if ($path) {          $name = Split-Path $path -Leaf         Write-Host -ForegroundColor Yellow "rnRunning ngen.exe on '$name'"         ngen.exe install $path /nologo     } }

https://stackoverflow.com/questions/59341482/powershell-steps-to-fix-slow-startup update of the .NET framework Run this as Administrator
$env:PATH = [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
[AppDomain]::CurrentDomain.GetAssemblies() | ForEach-Object {
    $path = $_.Location
    if ($path) {
        $name = Split-Path $path -Leaf
        Write-Host -ForegroundColor Yellow "`r`nRunning ngen.exe on '$name'"
        ngen.exe install $path /nologo
    }
}

this took 500ms off my start time. Thank you!

我安装了Anaconda，并使用conda init powershell对PowerShell进行配置，每当我启动PowerShell，启动时间都很长。请问您的这个方案可以解决我这个问题吗？
I installed Anaconda and used conda init powershell to configure PowerShell, whenever I start PowerShell, it takes a long time to start. Can your solution solve this problem for me?

https://stackoverflow.com/questions/59341482/powershell-steps-to-fix-slow-startup update of the .NET framework Run this as Administrator
$env:PATH = [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
[AppDomain]::CurrentDomain.GetAssemblies() | ForEach-Object {
    $path = $_.Location
    if ($path) {
        $name = Split-Path $path -Leaf
        Write-Host -ForegroundColor Yellow "`r`nRunning ngen.exe on '$name'"
        ngen.exe install $path /nologo
    }
}

我安装了Anaconda，并使用conda init powershell对PowerShell进行配置，每当我启动PowerShell，启动时间都很长。请问您的这个方案可以解决我这个问题吗？
I installed Anaconda and used conda init powershell to configure PowerShell, whenever I start PowerShell, it takes a long time to start. Can your solution solve this problem for me?

https://stackoverflow.com/questions/59341482/powershell-steps-to-fix-slow-startup update of the .NET framework Run this as Administrator
$env:PATH = [Runtime.InteropServices.RuntimeEnvironment]::GetRuntimeDirectory()
[AppDomain]::CurrentDomain.GetAssemblies() | ForEach-Object {
    $path = $_.Location
    if ($path) {
        $name = Split-Path $path -Leaf
        Write-Host -ForegroundColor Yellow "`r`nRunning ngen.exe on '$name'"
        ngen.exe install $path /nologo
    }
}

For me ngen.exe wasn't found, so I changed it to C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe and it ran with many warning and exceptions.

My drive is Nvme predator GM7000


konsole: fix arrow keys

Motivation for this change
(partially?) fixes #29951
Couldn't get Yakuake to work, so haven't tested that.
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

CC @michaelpj @mbertolutti @qknight

Is this the right fix? If Konsole does indeed look in XDG_DATA_DIRS then it's just a matter of making sure all the relevant stuff gets linked into the profile, since that already goes in XDG_DATA_DIRS. But that's somewhat tricky, since currently we can only decide to link in subdirs of share in a module.

I'm not 100% familiar with how KDE apps are built , I arrived at this fix
by looking at the source for QT (my original intention was to patch that,
but that didn't turn out to be needed).
If there is a KDE- or QT-specific way to handle this sort of thing, I'm all
ears. All I know is that this fix works (using it on my personal laptop:
https://github.com/Synthetica9/configuration.nix/commit/336cccf272867b17889bf2646c1b2c8cc74e4241
and I haven't encountered any problems yet)
On Mon, 3 Dec 2018, 15:41 Michael Peyton Jones<EMAIL_ADDRESS>wrote:

Is this the right fix? If Konsole does indeed look in XDG_DATA_DIRS then
it's just a matter of making sure all the relevant stuff gets linked into
the profile, since that already goes in XDG_DATA_DIRS. But that's
somewhat tricky, since currently we can only decide to link in subdirs of
share in a module.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/51412#issuecomment-443732823, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGv3pwmoF1IwnwuJkuBWQe2yRc9dy47Rks5u1TgKgaJpZM4Y9pji
.

This will work for this issue, but e.g. if you add other programs that provide data files that konsole uses then it won't pick them up.
The usual mechanism for this is XDG_DATA_DIRS. You're adding the konsole /share output, which will make it pick up the stuff packaged with konsole, but other stuff needs to go in the system XDG_DATA_DIRS for konsole to find it. But if we had that working then we wouldn't need this at all, since the konsole /share files would be picked up in exactly the same way.
So why don't we pick them up? The answer is because we don't (usually) merge in all the subdirectories of /share. So we just ignore the ones that konsole needs. Normally you can only change that with a nixos module. The Plasma module, for example, does so.
Previously I've thought that was good, but increasingly I wonder if we should just link the whole of /share by default. (see https://github.com/NixOS/nixpkgs/issues/47173)
So I guess this is an okay solution, but we should be aware that konsole may still not work "properly" when you're not running Plasma.

The alternative solution would be to add a programs.konsole module.

So I guess this is an okay solution, but we should be aware that konsole may still not work "properly" when you're not running Plasma.

I'm not running Plasma, so it's certainly not a strict requirement for this to work.

OOI, you say you couldn't make Yakuake work, but have you tried wrapping it so it has access to Konsole's data files? I think it uses a lot of the same code under the hood.

I'm not running Plasma, so it's certainly not a strict requirement for this to work.

I believe the way to fix this problem for all applications is to add this to your configuration.


Fix organization initials on profilePic

### What does this pull request aim to achieve? 💯
Please be concise and link any related issue(s):
This PR should fix the organizations Initials (still working on it)

[x] I have checked that no one else is working on similar changes.
[x] I have read the latest README and understand the development workflow.
[x] The name of this branch is: feature/<branch_name> (need to have cloned the repo not forked).
[x] This branch is rebased/merged with the latest master.
[x] There are no merge conflicts.
[x] There are no console warnings and errors.
[x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".

Hey @silenceway after talking with @omarzoghayyer, decided to close this one as it got a bit too messy and also omar asked for some help so I opened this PR #1005 that has the solution already but I am open to any suggestions. Let's keep the convo going on the other PR


Install failing on Ruby 3.3.0 and Heroku

I am using Ruby 3.3.0-rc1, it works great with v3.2.2
Error....
Fetching tiktoken_ruby 0.0.6
       Installing tiktoken_ruby 0.0.6 with native extensions
       Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

       current directory:
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/bin/ruby extconf.rb
       checking for gcc... yes
       checking for g++... yes
       checking for gcc-ar... yes
       checking for cargo... no

       current directory:
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
       make DESTDIR\= sitearchdir\=./.gem.20231212-4291-rgiys4
       sitelibdir\=./.gem.20231212-4291-rgiys4 clean

       current directory:
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
       make DESTDIR\= sitearchdir\=./.gem.20231212-4291-rgiys4
       sitelibdir\=./.gem.20231212-4291-rgiys4
       info: downloading installer
       info: profile set to 'minimal'
       info: default host triple is x86_64-unknown-linux-gnu
       info: skipping toolchain installation

       Rust is installed now. Great!

       To get started you need Cargo's bin directory
       (/tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/bin)
       in your PATH
       environment variable. This has not been done automatically.

       To configure your current shell, run:
       source
       "/tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/env"
       info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
       info: latest update on 2023-12-07, rust version 1.74.1 (a28077b28 2023-12-04)
       info: downloading component 'cargo'
       info: downloading component 'rust-std'
       info: downloading component 'rustc'
       info: installing component 'cargo'
       info: installing component 'rust-std'
       info: installing component 'rustc'

       stable-x86_64-unknown-linux-gnu installed - rustc 1.74.1 (a28077b28
       2023-12-04)

       info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
       info: checking for self-update
       info: using existing install for 'stable-x86_64-unknown-linux-gnu'
       info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

       stable-x86_64-unknown-linux-gnu unchanged - rustc 1.74.1 (a28077b28
       2023-12-04)

       info: note that the toolchain 'stable-x86_64-unknown-linux-gnu' is currently in
       use (environment override by RUSTUP_TOOLCHAIN)
       generating target/release/libtiktoken_ruby.so (release)
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/bin/cargo
       rustc  --manifest-path ./Cargo.toml --target-dir target --lib --profile release
       -- -C linker=gcc -L native=/tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib -C
       link-arg=-lm -l pthread
           Updating crates.io index
           Updating git repository `https://github.com/IAPark/tiktoken-rs.git`
           Updating git submodule `https://github.com/zurawiki/tiktoken`
        Downloading crates ...
         Downloaded bit-set v0.5.3
         Downloaded parking_lot v0.12.1
         Downloaded parking_lot_core v0.9.7
         Downloaded bindgen v0.66.1
         Downloaded proc-macro2 v1.0.66
         Downloaded lock_api v0.4.9
         Downloaded once_cell v1.17.1
         Downloaded memchr v2.5.0
         Downloaded scopeguard v1.1.0
         Downloaded magnus-macros v0.6.0
         Downloaded serde v1.0.157
         Downloaded bitflags v2.4.0
         Downloaded shell-words v1.1.0
         Downloaded shlex v1.1.0
         Downloaded peeking_take_while v0.1.2
         Downloaded regex-automata v0.1.10
         Downloaded libloading v0.7.4
         Downloaded fancy-regex v0.11.0
         Downloaded cfg-if v1.0.0
         Downloaded cexpr v0.6.0
         Downloaded libc v0.2.140
         Downloaded seq-macro v0.3.5
         Downloaded rustc-hash v1.1.0
         Downloaded rb-sys-env v0.1.2
         Downloaded rb-sys-build v0.9.81
         Downloaded rb-sys v0.9.81
         Downloaded lazycell v1.3.0
         Downloaded clang-sys v1.6.0
         Downloaded smallvec v1.10.0
         Downloaded regex-syntax v0.6.28
         Downloaded magnus v0.6.1
         Downloaded regex v1.7.1
         Downloaded syn v2.0.31
         Downloaded nom v7.1.3
         Downloaded unicode-ident v1.0.8
         Downloaded minimal-lexical v0.2.1
         Downloaded glob v0.3.1
         Downloaded bstr v1.4.0
         Downloaded lazy_static v1.4.0
         Downloaded autocfg v1.1.0
         Downloaded base64 v0.21.0
         Downloaded quote v1.0.33
         Downloaded bit-vec v0.6.3
         Downloaded anyhow v1.0.70
         Downloaded aho-corasick v0.7.20
          Compiling memchr v2.5.0
          Compiling proc-macro2 v1.0.66
          Compiling unicode-ident v1.0.8
          Compiling glob v0.3.1
          Compiling clang-sys v1.6.0
          Compiling libc v0.2.140
          Compiling quote v1.0.33
          Compiling cfg-if v1.0.0
          Compiling minimal-lexical v0.2.1
          Compiling syn v2.0.31
          Compiling nom v7.1.3
          Compiling libloading v0.7.4
          Compiling aho-corasick v0.7.20
          Compiling regex-syntax v0.6.28
          Compiling bindgen v0.66.1
          Compiling regex v1.7.1
          Compiling cexpr v0.6.0
          Compiling lazy_static v1.4.0
          Compiling bitflags v2.4.0
          Compiling lazycell v1.3.0
          Compiling peeking_take_while v0.1.2
          Compiling shlex v1.1.0
          Compiling rustc-hash v1.1.0
          Compiling shell-words v1.1.0
          Compiling autocfg v1.1.0
          Compiling lock_api v0.4.9
          Compiling parking_lot_core v0.9.7
          Compiling rb-sys-build v0.9.81
          Compiling rb-sys v0.9.81
          Compiling smallvec v1.10.0
          Compiling scopeguard v1.1.0
          Compiling rb-sys-env v0.1.2
          Compiling anyhow v1.0.70
       error: failed to run custom build command for `rb-sys v0.9.81`

       Caused by:
       process didn't exit successfully:
       `/tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/target/release/build/rb-sys-f895743fce8c911c/build-script-main`
       (exit status: 101)
         --- stdout
         cargo:rerun-if-env-changed=RUBY
         cargo:rerun-if-env-changed=RBCONFIG_CROSS_COMPILING
         cargo:rerun-if-env-changed=RBCONFIG_RUBY_PROGRAM_VERSION
         cargo:rerun-if-env-changed=RBCONFIG_platform
         cargo:rerun-if-env-changed=RUBY_ROOT
         cargo:rerun-if-env-changed=RUBY_VERSION
         cargo:rerun-if-env-changed=RUBY
         cargo:rerun-if-changed=build/main.rs
         cargo:rerun-if-changed=build/stable_api_config.rs
         cargo:rerun-if-changed=build/version.rs
         cargo:rerun-if-changed=build/features.rs
         cargo:rerun-if-env-changed=RUBY_STATIC
         cargo:rerun-if-env-changed=RBCONFIG_ENABLE_SHARED
         cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir
         cargo:rerun-if-env-changed=RBCONFIG_rubyarchhdrdir
         cargo:rerun-if-env-changed=RBCONFIG_CPPFLAGS
         cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir
         cargo:rerun-if-env-changed=TARGET
         cargo:rerun-if-env-changed=TARGET
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS

         --- stderr
       INFO: using bindgen with clang args:
       ["-I/tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/include/ruby-3.3.0+0",
       "-I/tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/include/ruby-3.3.0+0/x86_64-linux",
       "-fms-extensions", "-O3", "-fno-fast-math", "-g", "-Wall", "-Wextra",
       "-Wdeprecated-declarations", "-Wdiv-by-zero", "-Wduplicated-cond",
       "-Wimplicit-function-declaration", "-Wimplicit-int", "-Wpointer-arith",
       "-Wwrite-strings", "-Wold-style-definition", "-Wimplicit-fallthrough=0",
       "-Wmissing-noreturn", "-Wno-cast-function-type",
       "-Wno-constant-logical-operand", "-Wno-long-long",
       "-Wno-missing-field-initializers", "-Wno-overlength-strings",
       "-Wno-packed-bitfield-compat", "-Wno-parentheses-equality", "-Wno-self-assign",
       "-Wno-tautological-compare", "-Wno-unused-parameter", "-Wno-unused-value",
       "-Wsuggest-attribute=format", "-Wsuggest-attribute=noreturn",
       "-Wunused-variable", "-Wmisleading-indentation", "-Wundef"]
       thread 'main' panicked at
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.66.1/lib.rs:604:31:
       Unable to find libclang: "couldn't find any valid shared libraries matching:
       ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the
       `LIBCLANG_PATH` environment variable to a path where one of these files can be
       found (invalid: [])"
         note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
       warning: build failed, waiting for other jobs to finish...
       make: *** [Makefile:566: target/release/libtiktoken_ruby.so] Error 101

       make failed, exit code 2

       Gem files will remain installed in
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6 for
       inspection.
       Results logged to
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/extensions/x86_64-linux/3.3.0+0/tiktoken_ruby-0.0.6/gem_make.out

       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:118:in
       `run'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:51:in
       `block in make'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:43:in
       `each'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:43:in
       `make'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/ext_conf_builder.rb:42:in
       `build'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:186:in
       `build_extension'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:220:in
       `block in build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:217:in
       `each'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:217:in
       `build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/installer.rb:861:in
       `build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/rubygems_gem_installer.rb:76:in
       `build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/rubygems_gem_installer.rb:28:in
       `install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/source/rubygems.rb:205:in
       `install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/gem_installer.rb:54:in
       `install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/gem_installer.rb:16:in
       `install_from_spec'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/parallel_installer.rb:129:in
       `do_install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/parallel_installer.rb:120:in
       `block in worker_pool'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:62:in
       `apply_func'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:57:in
       `block in process_queue'
         <internal:kernel>:187:in `loop'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:54:in
       `process_queue'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:90:in
       `block (2 levels) in create_threads'

       An error occurred while installing tiktoken_ruby (0.0.6), and Bundler cannot
       continue.

       In Gemfile:
         tiktoken_ruby
       Bundler Output: Fetching gem metadata from https://rubygems.org/........
       Fetching gem metadata from https://gems.contribsys.com/..
       Fetching rb_sys 0.9.83
       Installing rb_sys 0.9.83
       Fetching tiktoken_ruby 0.0.6
       Installing tiktoken_ruby 0.0.6 with native extensions
       Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

       current directory:
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/bin/ruby extconf.rb
       checking for gcc... yes
       checking for g++... yes
       checking for gcc-ar... yes
       checking for cargo... no

       current directory:
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
       make DESTDIR\= sitearchdir\=./.gem.20231212-4291-rgiys4
       sitelibdir\=./.gem.20231212-4291-rgiys4 clean

       current directory:
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
       make DESTDIR\= sitearchdir\=./.gem.20231212-4291-rgiys4
       sitelibdir\=./.gem.20231212-4291-rgiys4
       info: downloading installer
       info: profile set to 'minimal'
       info: default host triple is x86_64-unknown-linux-gnu
       info: skipping toolchain installation

       Rust is installed now. Great!

       To get started you need Cargo's bin directory
       (/tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/bin)
       in your PATH
       environment variable. This has not been done automatically.

       To configure your current shell, run:
       source
       "/tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/env"
       info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
       info: latest update on 2023-12-07, rust version 1.74.1 (a28077b28 2023-12-04)
       info: downloading component 'cargo'
       info: downloading component 'rust-std'
       info: downloading component 'rustc'
       info: installing component 'cargo'
       info: installing component 'rust-std'
       info: installing component 'rustc'

       stable-x86_64-unknown-linux-gnu installed - rustc 1.74.1 (a28077b28
       2023-12-04)

       info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
       info: checking for self-update
       info: using existing install for 'stable-x86_64-unknown-linux-gnu'
       info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

       stable-x86_64-unknown-linux-gnu unchanged - rustc 1.74.1 (a28077b28
       2023-12-04)

       info: note that the toolchain 'stable-x86_64-unknown-linux-gnu' is currently in
       use (environment override by RUSTUP_TOOLCHAIN)
       generating target/release/libtiktoken_ruby.so (release)
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/bin/cargo
       rustc  --manifest-path ./Cargo.toml --target-dir target --lib --profile release
       -- -C linker=gcc -L native=/tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib -C
       link-arg=-lm -l pthread
           Updating crates.io index
           Updating git repository `https://github.com/IAPark/tiktoken-rs.git`
           Updating git submodule `https://github.com/zurawiki/tiktoken`
        Downloading crates ...
         Downloaded bit-set v0.5.3
         Downloaded parking_lot v0.12.1
         Downloaded parking_lot_core v0.9.7
         Downloaded bindgen v0.66.1
         Downloaded proc-macro2 v1.0.66
         Downloaded lock_api v0.4.9
         Downloaded once_cell v1.17.1
         Downloaded memchr v2.5.0
         Downloaded scopeguard v1.1.0
         Downloaded magnus-macros v0.6.0
         Downloaded serde v1.0.157
         Downloaded bitflags v2.4.0
         Downloaded shell-words v1.1.0
         Downloaded shlex v1.1.0
         Downloaded peeking_take_while v0.1.2
         Downloaded regex-automata v0.1.10
         Downloaded libloading v0.7.4
         Downloaded fancy-regex v0.11.0
         Downloaded cfg-if v1.0.0
         Downloaded cexpr v0.6.0
         Downloaded libc v0.2.140
         Downloaded seq-macro v0.3.5
         Downloaded rustc-hash v1.1.0
         Downloaded rb-sys-env v0.1.2
         Downloaded rb-sys-build v0.9.81
         Downloaded rb-sys v0.9.81
         Downloaded lazycell v1.3.0
         Downloaded clang-sys v1.6.0
         Downloaded smallvec v1.10.0
         Downloaded regex-syntax v0.6.28
         Downloaded magnus v0.6.1
         Downloaded regex v1.7.1
         Downloaded syn v2.0.31
         Downloaded nom v7.1.3
         Downloaded unicode-ident v1.0.8
         Downloaded minimal-lexical v0.2.1
         Downloaded glob v0.3.1
         Downloaded bstr v1.4.0
         Downloaded lazy_static v1.4.0
         Downloaded autocfg v1.1.0
         Downloaded base64 v0.21.0
         Downloaded quote v1.0.33
         Downloaded bit-vec v0.6.3
         Downloaded anyhow v1.0.70
         Downloaded aho-corasick v0.7.20
          Compiling memchr v2.5.0
          Compiling proc-macro2 v1.0.66
          Compiling unicode-ident v1.0.8
          Compiling glob v0.3.1
          Compiling clang-sys v1.6.0
          Compiling libc v0.2.140
          Compiling quote v1.0.33
          Compiling cfg-if v1.0.0
          Compiling minimal-lexical v0.2.1
          Compiling syn v2.0.31
          Compiling nom v7.1.3
          Compiling libloading v0.7.4
          Compiling aho-corasick v0.7.20
          Compiling regex-syntax v0.6.28
          Compiling bindgen v0.66.1
          Compiling regex v1.7.1
          Compiling cexpr v0.6.0
          Compiling lazy_static v1.4.0
          Compiling bitflags v2.4.0
          Compiling lazycell v1.3.0
          Compiling peeking_take_while v0.1.2
          Compiling shlex v1.1.0
          Compiling rustc-hash v1.1.0
          Compiling shell-words v1.1.0
          Compiling autocfg v1.1.0
          Compiling lock_api v0.4.9
          Compiling parking_lot_core v0.9.7
          Compiling rb-sys-build v0.9.81
          Compiling rb-sys v0.9.81
          Compiling smallvec v1.10.0
          Compiling scopeguard v1.1.0
          Compiling rb-sys-env v0.1.2
          Compiling anyhow v1.0.70
       error: failed to run custom build command for `rb-sys v0.9.81`

       Caused by:
       process didn't exit successfully:
       `/tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/target/release/build/rb-sys-f895743fce8c911c/build-script-main`
       (exit status: 101)
         --- stdout
         cargo:rerun-if-env-changed=RUBY
         cargo:rerun-if-env-changed=RBCONFIG_CROSS_COMPILING
         cargo:rerun-if-env-changed=RBCONFIG_RUBY_PROGRAM_VERSION
         cargo:rerun-if-env-changed=RBCONFIG_platform
         cargo:rerun-if-env-changed=RUBY_ROOT
         cargo:rerun-if-env-changed=RUBY_VERSION
         cargo:rerun-if-env-changed=RUBY
         cargo:rerun-if-changed=build/main.rs
         cargo:rerun-if-changed=build/stable_api_config.rs
         cargo:rerun-if-changed=build/version.rs
         cargo:rerun-if-changed=build/features.rs
         cargo:rerun-if-env-changed=RUBY_STATIC
         cargo:rerun-if-env-changed=RBCONFIG_ENABLE_SHARED
         cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir
         cargo:rerun-if-env-changed=RBCONFIG_rubyarchhdrdir
         cargo:rerun-if-env-changed=RBCONFIG_CPPFLAGS
         cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir
         cargo:rerun-if-env-changed=TARGET
         cargo:rerun-if-env-changed=TARGET
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64-unknown-linux-gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_x86_64_unknown_linux_gnu
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
         cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS

         --- stderr
       INFO: using bindgen with clang args:
       ["-I/tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/include/ruby-3.3.0+0",
       "-I/tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/include/ruby-3.3.0+0/x86_64-linux",
       "-fms-extensions", "-O3", "-fno-fast-math", "-g", "-Wall", "-Wextra",
       "-Wdeprecated-declarations", "-Wdiv-by-zero", "-Wduplicated-cond",
       "-Wimplicit-function-declaration", "-Wimplicit-int", "-Wpointer-arith",
       "-Wwrite-strings", "-Wold-style-definition", "-Wimplicit-fallthrough=0",
       "-Wmissing-noreturn", "-Wno-cast-function-type",
       "-Wno-constant-logical-operand", "-Wno-long-long",
       "-Wno-missing-field-initializers", "-Wno-overlength-strings",
       "-Wno-packed-bitfield-compat", "-Wno-parentheses-equality", "-Wno-self-assign",
       "-Wno-tautological-compare", "-Wno-unused-parameter", "-Wno-unused-value",
       "-Wsuggest-attribute=format", "-Wsuggest-attribute=noreturn",
       "-Wunused-variable", "-Wmisleading-indentation", "-Wundef"]
       thread 'main' panicked at
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.66.1/lib.rs:604:31:
       Unable to find libclang: "couldn't find any valid shared libraries matching:
       ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the
       `LIBCLANG_PATH` environment variable to a path where one of these files can be
       found (invalid: [])"
         note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
       warning: build failed, waiting for other jobs to finish...
       make: *** [Makefile:566: target/release/libtiktoken_ruby.so] Error 101

       make failed, exit code 2

       Gem files will remain installed in
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/gems/tiktoken_ruby-0.0.6 for
       inspection.
       Results logged to
       /tmp/build_6a57c05e/vendor/bundle/ruby/3.3.0+0/extensions/x86_64-linux/3.3.0+0/tiktoken_ruby-0.0.6/gem_make.out

       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:118:in
       `run'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:51:in
       `block in make'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:43:in
       `each'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:43:in
       `make'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/ext_conf_builder.rb:42:in
       `build'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:186:in
       `build_extension'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:220:in
       `block in build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:217:in
       `each'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/ext/builder.rb:217:in
       `build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/rubygems/installer.rb:861:in
       `build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/rubygems_gem_installer.rb:76:in
       `build_extensions'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/rubygems_gem_installer.rb:28:in
       `install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/source/rubygems.rb:205:in
       `install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/gem_installer.rb:54:in
       `install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/gem_installer.rb:16:in
       `install_from_spec'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/parallel_installer.rb:129:in
       `do_install'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/installer/parallel_installer.rb:120:in
       `block in worker_pool'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:62:in
       `apply_func'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:57:in
       `block in process_queue'
         <internal:kernel>:187:in `loop'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:54:in
       `process_queue'
       /tmp/build_6a57c05e/vendor/ruby-3.3.0.rc1/lib/ruby/3.3.0+0/bundler/worker.rb:90:in
       `block (2 levels) in create_threads'

       An error occurred while installing tiktoken_ruby (0.0.6), and Bundler cannot
       continue.

       In Gemfile:
         tiktoken_ruby

 !
 !     Failed to install gems via Bundler.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

+1 on Render. Seems like libslang is missing to be declared as a dependency.

I ran into this on another gem migrating to 3.3.0.  The rb-sys-build crate needs to be at least 0.9.86 (https://github.com/oxidize-rb/rb-sys/pull/290).  I put together a fork ( https://github.com/tritonrc/tiktoken_ruby) where I ran cargo update and that did the trick.
One thing to note: I needed to add libclang-dev to our build images as lack of libclang was causing an issue.

I guess that means https://github.com/IAPark/tiktoken_ruby/pull/21 fixes this?

Having the same issue with installing Ruby 3.3.0 on bullseye - build is fine until I try to add the gem:
root@055c189799d9:/home/api# bundle install tiktoken_ruby
ERROR: "bundle install" was called with arguments ["tiktoken_ruby"]
Usage: "bundle install [OPTIONS]"
root@055c189799d9:/home/api# gem install tiktoken_ruby
Fetching rb_sys-0.9.86.gem
Fetching tiktoken_ruby-0.0.6.gem
Successfully installed rb_sys-0.9.86
Building native extensions. This could take a while...
ERROR:  Error installing tiktoken_ruby:
        ERROR: Failed to build gem native extension.

    current directory: /usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
/usr/local/bin/ruby extconf.rb
checking for gcc... yes
checking for g++... yes
checking for gcc-ar... yes
checking for cargo... no

current directory: /usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
make DESTDIR\= sitearchdir\=./.gem.20240118-10-3jdy4v sitelibdir\=./.gem.20240118-10-3jdy4v clean

current directory: /usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby
make DESTDIR\= sitearchdir\=./.gem.20240118-10-3jdy4v sitelibdir\=./.gem.20240118-10-3jdy4v
info: downloading installer
info: profile set to 'minimal'
info: default host triple is aarch64-unknown-linux-gnu
info: skipping toolchain installation

Rust is installed now. Great!

To get started you need Cargo's bin directory
(/usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/bin)
in your PATH
environment variable. This has not been done automatically.

To configure your current shell, run:
source
"/usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/env"
info: syncing channel updates for 'stable-aarch64-unknown-linux-gnu'
info: latest update on 2023-12-28, rust version 1.75.0 (82e1608df 2023-12-21)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'

  stable-aarch64-unknown-linux-gnu installed - rustc 1.75.0 (82e1608df 2023-12-21)

info: default toolchain set to 'stable-aarch64-unknown-linux-gnu'
info: checking for self-update
info: using existing install for 'stable-aarch64-unknown-linux-gnu'
info: default toolchain set to 'stable-aarch64-unknown-linux-gnu'

  stable-aarch64-unknown-linux-gnu unchanged - rustc 1.75.0 (82e1608df 2023-12-21)

info: note that the toolchain 'stable-aarch64-unknown-linux-gnu' is currently in use (environment override by RUSTUP_TOOLCHAIN)
generating target/release/libtiktoken_ruby.so (release)
/usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/bin/cargo rustc  --manifest-path ./Cargo.toml --target-dir target --lib --profile release -- -C linker=gcc -L native=/usr/local/lib -C link-arg=-lm -l pthread
    Updating crates.io index
    Updating git repository `https://github.com/IAPark/tiktoken-rs.git`
    Updating git submodule `https://github.com/zurawiki/tiktoken`
 Downloading crates ...
  Downloaded shlex v1.1.0
  Downloaded cfg-if v1.0.0
  Downloaded aho-corasick v0.7.20
  Downloaded bit-set v0.5.3
  Downloaded peeking_take_while v0.1.2
  Downloaded scopeguard v1.1.0
  Downloaded rb-sys-env v0.1.2
  Downloaded lazycell v1.3.0
  Downloaded rb-sys v0.9.81
  Downloaded rustc-hash v1.1.0
  Downloaded rb-sys-build v0.9.81
  Downloaded parking_lot_core v0.9.7
  Downloaded lock_api v0.4.9
  Downloaded clang-sys v1.6.0
  Downloaded parking_lot v0.12.1
  Downloaded libloading v0.7.4
  Downloaded memchr v2.5.0
  Downloaded fancy-regex v0.11.0
  Downloaded minimal-lexical v0.2.1
  Downloaded regex-automata v0.1.10
  Downloaded magnus v0.6.1
  Downloaded syn v2.0.31
  Downloaded bstr v1.4.0
  Downloaded bindgen v0.66.1
  Downloaded regex-syntax v0.6.28
  Downloaded libc v0.2.140
  Downloaded regex v1.7.1
  Downloaded nom v7.1.3
  Downloaded base64 v0.21.0
  Downloaded serde v1.0.157
  Downloaded unicode-ident v1.0.8
  Downloaded once_cell v1.17.1
  Downloaded smallvec v1.10.0
  Downloaded anyhow v1.0.70
  Downloaded cexpr v0.6.0
  Downloaded shell-words v1.1.0
  Downloaded seq-macro v0.3.5
  Downloaded quote v1.0.33
  Downloaded bitflags v2.4.0
  Downloaded glob v0.3.1
  Downloaded lazy_static v1.4.0
  Downloaded bit-vec v0.6.3
  Downloaded autocfg v1.1.0
  Downloaded magnus-macros v0.6.0
  Downloaded proc-macro2 v1.0.66
   Compiling memchr v2.5.0
   Compiling proc-macro2 v1.0.66
   Compiling glob v0.3.1
   Compiling unicode-ident v1.0.8
   Compiling libc v0.2.140
   Compiling cfg-if v1.0.0
   Compiling minimal-lexical v0.2.1
   Compiling regex-syntax v0.6.28
   Compiling libloading v0.7.4
   Compiling bindgen v0.66.1
   Compiling shlex v1.1.0
   Compiling rustc-hash v1.1.0
   Compiling peeking_take_while v0.1.2
   Compiling lazy_static v1.4.0
   Compiling bitflags v2.4.0
   Compiling lazycell v1.3.0
   Compiling shell-words v1.1.0
   Compiling clang-sys v1.6.0
   Compiling autocfg v1.1.0
   Compiling aho-corasick v0.7.20
   Compiling nom v7.1.3
   Compiling quote v1.0.33
   Compiling lock_api v0.4.9
   Compiling syn v2.0.31
   Compiling parking_lot_core v0.9.7
   Compiling anyhow v1.0.70
   Compiling scopeguard v1.1.0
   Compiling rb-sys-env v0.1.2
   Compiling bit-vec v0.6.3
   Compiling smallvec v1.10.0
   Compiling regex v1.7.1
   Compiling bit-set v0.5.3
   Compiling cexpr v0.6.0
   Compiling magnus v0.6.1
   Compiling once_cell v1.17.1
   Compiling regex-automata v0.1.10
   Compiling parking_lot v0.12.1
   Compiling bstr v1.4.0
   Compiling base64 v0.21.0
   Compiling fancy-regex v0.11.0
   Compiling seq-macro v0.3.5
   Compiling tiktoken-rs v0.3.2 (https://github.com/IAPark/tiktoken-rs.git#5231fbf4)
   Compiling magnus-macros v0.6.0
   Compiling rb-sys-build v0.9.81
   Compiling rb-sys v0.9.81
error: failed to run custom build command for `rb-sys v0.9.81`

Caused by:
  process didn't exit successfully: `/usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/target/release/build/rb-sys-6ba708d6c34f9ae4/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=RUBY
  cargo:rerun-if-env-changed=RBCONFIG_CROSS_COMPILING
  cargo:rerun-if-env-changed=RBCONFIG_RUBY_PROGRAM_VERSION
  cargo:rerun-if-env-changed=RBCONFIG_platform
  cargo:rerun-if-env-changed=RUBY_ROOT
  cargo:rerun-if-env-changed=RUBY_VERSION
  cargo:rerun-if-env-changed=RUBY
  cargo:rerun-if-changed=build/stable_api_config.rs
  cargo:rerun-if-changed=build/main.rs
  cargo:rerun-if-changed=build/features.rs
  cargo:rerun-if-changed=build/version.rs
  cargo:rerun-if-env-changed=RUBY_STATIC
  cargo:rerun-if-env-changed=RBCONFIG_ENABLE_SHARED
  cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir
  cargo:rerun-if-env-changed=RBCONFIG_rubyarchhdrdir
  cargo:rerun-if-env-changed=RBCONFIG_CPPFLAGS
  cargo:rerun-if-env-changed=RBCONFIG_rubyhdrdir
  cargo:rerun-if-env-changed=TARGET
  cargo:rerun-if-env-changed=TARGET
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64-unknown-linux-gnu
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS_aarch64_unknown_linux_gnu
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS
  cargo:rerun-if-env-changed=BINDGEN_EXTRA_CLANG_ARGS

  --- stderr
  INFO: using bindgen with clang args: ["-I/usr/local/include/ruby-3.3.0", "-I/usr/local/include/ruby-3.3.0/aarch64-linux", "-fms-extensions", "-O3", "-fno-fast-math", "-ggdb3", "-Wall", "-Wextra", "-Wdeprecated-declarations", "-Wdiv-by-zero", "-Wduplicated-cond", "-Wimplicit-function-declaration", "-Wimplicit-int", "-Wpointer-arith", "-Wwrite-strings", "-Wold-style-definition", "-Wimplicit-fallthrough=0", "-Wmissing-noreturn", "-Wno-cast-function-type", "-Wno-constant-logical-operand", "-Wno-long-long", "-Wno-missing-field-initializers", "-Wno-overlength-strings", "-Wno-packed-bitfield-compat", "-Wno-parentheses-equality", "-Wno-self-assign", "-Wno-tautological-compare", "-Wno-unused-parameter", "-Wno-unused-value", "-Wsuggest-attribute=format", "-Wsuggest-attribute=noreturn", "-Wunused-variable", "-Wmisleading-indentation", "-Wundef"]
  thread 'main' panicked at /usr/local/bundle/gems/tiktoken_ruby-0.0.6/ext/tiktoken_ruby/.rb-sys/stable/cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.66.1/lib.rs:604:31:
  Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
make: *** [Makefile:566: target/release/libtiktoken_ruby.so] Error 101

make failed, exit code 2

Gem files will remain installed in /usr/local/bundle/gems/tiktoken_ruby-0.0.6 for inspection.
Results logged to /usr/local/bundle/extensions/aarch64-linux/3.3.0/tiktoken_ruby-0.0.6/gem_make.out

A new release of RubyGems is available: 3.5.3 → 3.5.5!
Run `gem update --system 3.5.5` to update your installation.

From what I've noticed, the gem is not trying to build on Ruby 3.2 which tells me there's already a valid binary version in the RubyGems for that. Would be great if we could have a prebuilt one for 3.3 in there as well as this is also a blocker for us

Looking at the code, it looks like pushing a new version will trigger the cross-compile-action, which will compile the gem for these platforms and these Ruby-versions, as can be seen in this build for the current version.
Ruby 3.3 was not released when the current version of this gem was released, hence there is no precompiled version for Ruby 3.3.
Tldr; Releasing a new version should solve this issue.

Unfortunately version 0.0.7 of the gem does not include binaries in rubygems as the build process has failed - https://github.com/IAPark/tiktoken_ruby/actions/runs/7868320647
FYI @IAPark

I took a shot at fixing that the other day in my fork.
Error response from daemon: manifest for rbsys/x86_64-linux-musl:0.9.87 not found: manifest unknown: manifest unknown

I couldn't pull the rbsys container locally or the latest
docker pull rbsys/x86_64-linux-musl:0.9.87
manifest for rbsys/x86_64-linux-musl:0.9.87 not found: manifest unknown: manifest unknown

docker pull rbsys/x86_64-linux:latest
latest: Pulling from rbsys/x86_64-linux
no matching manifest for linux/arm64/v8 in the manifest list entries

But the tags seem to be available on dockerhub. Ah, this issue seems to be a resolution? https://github.com/oxidize-rb/rb-sys/issues/324

Latest release (0.0.7) now has the compiled binaries and worked on my heroku deploy. Please re-open if not resolved for you.

@ScotterC I'm seeing the following installing the Gem inside a Debian Bulleye Docker container, running on an Arm Mac.
Installing tiktoken_ruby 0.0.7 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /usr/local/bundle/gems/tiktoken_ruby-0.0.7/ext/tiktoken_ruby
/usr/local/bin/ruby extconf.rb
checking for gcc... yes
checking for g++... yes
checking for gcc-ar... yes
checking for cargo... no

current directory: /usr/local/bundle/gems/tiktoken_ruby-0.0.7/ext/tiktoken_ruby
make DESTDIR\= sitearchdir\=./.gem.20240215-1-simyyu sitelibdir\=./.gem.20240215-1-simyyu clean

current directory: /usr/local/bundle/gems/tiktoken_ruby-0.0.7/ext/tiktoken_ruby
make DESTDIR\= sitearchdir\=./.gem.20240215-1-simyyu sitelibdir\=./.gem.20240215-1-simyyu
info: downloading installer
Cannot execute /tmp/tmp.skww56pn8N/rustup-init (likely because of mounting /tmp as noexec).
Please copy the file to a location where you can execute binaries and run ./rustup-init.
make: *** [Makefile:550: /usr/local/bundle/gems/tiktoken_ruby-0.0.7/ext/tiktoken_ruby/.rb-sys/stable/cargo/bin/cargo] Error 1

make failed, exit code 2

Gem files will remain installed in /usr/local/bundle/gems/tiktoken_ruby-0.0.7 for inspection.
Results logged to /usr/local/bundle/extensions/aarch64-linux/3.2.0/tiktoken_ruby-0.0.7/gem_make.out

  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:125:in `run'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in make'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `each'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:43:in `make'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:42:in `build'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:193:in `build_extension'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:227:in `block in build_extensions'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `each'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/ext/builder.rb:224:in `build_extensions'
  /usr/local/lib/ruby/site_ruby/3.2.0/rubygems/installer.rb:852:in `build_extensions'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/rubygems_gem_installer.rb:76:in `build_extensions'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/rubygems_gem_installer.rb:28:in `install'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/source/rubygems.rb:203:in `install'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/installer/gem_installer.rb:54:in `install'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/installer/parallel_installer.rb:130:in `do_install'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/installer/parallel_installer.rb:121:in `block in worker_pool'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/worker.rb:62:in `apply_func'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/worker.rb:57:in `block in process_queue'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/worker.rb:54:in `loop'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/worker.rb:54:in `process_queue'
  /usr/local/bundle/gems/bundler-2.4.22/lib/bundler/worker.rb:90:in `block (2 levels) in create_threads'

An error occurred while installing tiktoken_ruby (0.0.7), and Bundler cannot continue.

Are there any new steps that need to be taken before this uses the compiled binaries?

On my end I confirm that 0.0.7 deployed on Heroku without clang, decreasing our slug size by ~110MB.

On my end I confirm that 0.0.7 deployed on Heroku without clang, decreasing our slug size by ~110MB. Thank you!!

@bmulholland , I'm struggling to deploy 0.0.7 on Heroku without clang. Both on Ruby 3.3 and 3.2.2. Not sure there are any particular steps I've missed?

It was always installing fine on 3.2.2 so you’ve got a different issue than this one. Check your build logs and work through it from there.


Correctly handle multiple tags for same terraform module version

Dependabot is raising unnecessary PRs for private github terraform modules which are tagged using multiple tags to pin at major/minor or patch versions (e.g. v2, v2.2, v2.2.0). A module dependency on v2 is causing a PR to be raised to change the dependency to v2.2, despite both tags pointing at the same version.
Package ecosystem
terraform
dependabot.yml content

version: 2
updates:
  - package-ecosystem: "terraform" # See documentation for possible values
    directory: "/" # Location of package manifests
    schedule:
      interval: "daily"

Updated dependency

Dependency was for an internal terraform module stored in a private github repo. The module is tagged with 3 tags for pinning at different levels - e.g. v2, v2.2, v2.2.0
The project being scanned had a dependency on v2 of the module.
What you expected to see, versus what you actually saw
Saw a PR raised to update the version from v2 to v2.2. Given the v2, v2.2, v2.2.0 tags all point to the same version. I would expect no PR to be raised
🕹 Bonus points: Smallest manifest that reproduces the issue
example.tf
module "example_module" {   source       = "git@github.com:my-org/my-module/?ref=v2" }

We do consider this a bug, we should retain the specificity of the tag.
We fixed something similar for GitHub actions a few months ago:

https://github.com/dependabot/dependabot-core/pull/5891
https://github.com/dependabot/dependabot-core/pull/6102

I don't know when we'll get to this, but the great thing is this library is open source so if it's affecting you feel free to use the above examples to create a similar PR for Terraform.

Yeah, those PRs implemented that actual git checking logic to be able to do this, so adding the same fix to terraform should be pretty easy now. From a first look, I think it may be enough to change
https://github.com/dependabot/dependabot-core/blob/4663b2c1d8d60bf9e23e95efa6002ae0c7f791f6/terraform/lib/dependabot/terraform/update_checker.rb#L124
to
latest_tag = git_commit_checker.local_tag_for_latest_version_that_matches_existing_precision

You're welcome to experiment with this solution. Ideally you'd have a public repo available with this kind of versioning so that you can capture some responses and use them for the specs.


Cleanup mapped tasks

Description
What is the current behavior?
Currently, aql.cleanup() does not cleanup/remove all temp tables.
We know this for sure for Snowflake:
The following CI logs were giving us the hint that the tables are not being deleted after running the tests.
E       sqlalchemy.exc.ProgrammingError: (snowflake.connector.errors.ProgrammingError) 090153 (22000): 01a7981b-0605-9c81-0000-68211381e012: The result set size exceeded the max number of rows(10000) supported for SHOW statements. Use LIMIT option to limit result set to a smaller number.
E       [SQL: SHOW /* sqlalchemy:get_table_names */ TABLES IN astroflow_ci]
E       (Background on this error at: https://sqlalche.me/e/14/f405)

The schema where we write the tables to exceeded 10000 tables.
related: #963
What is the new behavior?
Cleanup mapped tasks

run cleanup tests on all databases

Does this introduce a breaking change?
No, but we will remove temp tables when the issue is fixed.
Checklist

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

FYI There are some weird issues going on with the test_cleanup_non_temp_table test. Running them one by one works as expected but running all together fails for some. I will continue to investigate..

Fixed the issues related to cleanup. All current failing issues are unrelated. They are also failing in main.


npm run seed hit an issue with "seeds.js" title

npm run seed showed path as server/seeds/seed.js --so I renamed seeds.js to seed.js
(looking into react now that that's outta the way)

Realized I was pushing this to main instead of dev, reopened to be judged by the council.


fraction sdp not available

example<EMAIL_ADDRESS>

I don't have a plan to support fraction sdps, I know that it is not optimal in some cases but I prefer to keep it simple.


LFS-630: Add an extension point allowing the insertion of visual element at the top of each page

This PR implements LFS-630 and allows for a visual element to be added at the top of each page. There are several use cases for this feature including LFS-622 which adds a demo mode warning banner to the top of each page.
To test:

Build the LFS-630_test branch.
Start LFS normally with java -jar distribution/target/lfs-0.1-SNAPSHOT.jar.
Everything should work as usual.
Restart LFS in the demo run mode. rm -rf sling/ , java -jar distribution/target/lfs-0.1-SNAPSHOT.jar -Dsling.run.modes=demo
An orange demo warning should be displayed at the top of each page.
Restart LFS in the hello run mode. rm -rf sling/ , java -jar distribution/target/lfs-0.1-SNAPSHOT.jar -Dsling.run.modes=hello
A green hello world banner should be displayed at the top of each page.

On the Patient and Tumor charts the "+" button is displayed on top of the search

retested - looking good

Marta's findings confirmed. Scrolling down on the chart and getting the links in the area shown below, will make them unclickable.

retested; all good

retested LFS-630_test

retested LFS-630_test branch and made sure LFS-630 builds


Provide a direct download link for ST-Link USB driver

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

@liydu I prefer not to accept this. The reason being, this is 3rd-party software. If that direct link were compromised, the redirect would potentially point customers to malware.  By having the customer install the software from the 3rd-party site, that 3rd-party bares the responsibility for the integrity on the distribution

#please-close


question about pgpool.conf , why parameters changed?

Hi
I realized that pgpool configuration override
the default values changed to these values
load_balance_mode = on to load_balance_mode = off
and
black_function_list = 'nextval,setval' to black_function_list = 'currval,lastval,nextval,setval'
i got a question about why did you override these values ??
are default values make problem and where?
Thanks in advance

@amir-hg I've used different pgpool provider which defaults to load_balance_mode = on which caused weird intermittent issues when calling device creation API, sometimes resulting in device without any associated credentials. Setting load_balance_mode = off fixed the issue.

@amir-hg I've used different pgpool provider which defaults to load_balance_mode = on which caused weird intermittent issues when calling device creation API, sometimes resulting in device without any associated credentials. Setting load_balance_mode = off fixed the issue.


latest build of qt wallet crashes on start

On startup see screenshot.

The issue was that I had installed a 32 bit version then tried 64 and lmdb crashed.

It is expected. Imdb is not covered yet, imdb issue is open

Duplicate https://github.com/mwcproject/mwc-qt-wallet/issues/58


Find python and use it to execute the dfu script

This is pretty much the only thing preventing doing an arm build on windows. The PythonInterp module is deprecated, but the replacement isn't available until CMake 3.12.

Ooh, interesting! I shall get the ARM GCC toolchain installed to Windows and see what happens. I've got some not-32blit-things to attend to first however, but thanks for this!

The only other thing you should need to do is download make/ninja. (Since apparently the one bundled with VS is only detected if using a VS generator...)

I tried a build with GnuWin32 make.exe (not including the changes in this PR) and it wasn't a happy bunny. As near as I can tell the compile was failing to find input paths, presumably because it was generating Unix Makefiles and attempting to run in cmd.exe. Will merge this and try ninja instead.


LR schedule

We only have fixed LR, not great
Stable diffusion use cosine schedule https://github.com/CompVis/stable-diffusion/blob/ce05de28194041e030ccfc70c635fe3707cdfc30/ldm/lr_scheduler.py#L4
Openclip too https://github.com/mlfoundations/open_clip/blob/c933765dc557d88e15be968e78d7580d95f86af8/src/training/scheduler.py
Varying LR has large impact on training
What did OpenAI dalle2 use ?

@rom1504 i think the use of cosine schedule is more rooted in tradition than evidence based, but if you can show me a paper that shows it makes a big difference, would definitely update my beliefs
i've added it here


adds base code, cobra, kustomize deployment manifest

This PR adds the basic code for a COSI driver and is based on existing code from the cosi-driver-minio. This includes:

deployment manifests using kustomize
Cobra to handle CLI setup, parsing and validation (similar to the other COSI projects)
The base code (main.go, cmd.go), and the identity and provisioner servers.

This PR will act as the foundation for other PRs.

It just adds the Makefile and logic around Cobra that was discussed in the comments around that PR. Additionally, I replicated the same structure for Kustomize as the other COSI repos.

Left few comments but PR looks good to me!

/lgtm


model. files

What is the process of generating model1,2,3~n files, I have been running for 24 hours, only generated three model files, and I have not started training

What does your meaning for three model files, model_0001.model? ...0003.model?
check your gpu usage condition during training

三个模型文件 model_0001.model 的含义是什么？...0003.型号？
Yes, model 0001.model，Is the process of generating training？It is very slow to generate them, about 10 hours to generate one, and the utilization rate of GPU is 0, what is the reason？
训练时检查你的GPU使用情况

1是第一个epoch后的model文件，2是第二个 以此类推
检查你的gpu使用率
详情可以看这个视频
https://www.bilibili.com/video/BV1dF411g7t1/?share_source=copy_web&vd_source=51a0a7cde6b6ec9e7d1c2cacdb0aaa9d

Thank you very much,your code and video have been very helpful to me
Soleil
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "TaoRuijie/ECAPA-TDNN"                                                                                @.>;
发送时间: 2023年10月16日(星期一) 下午2:38
@.>;
<EMAIL_ADDRESS>主题: Re: [TaoRuijie/ECAPA-TDNN] model. files (Issue #66)
1是第一个epoch后的model文件，2是第二个 以此类推
检查你的gpu使用率
详情可以看这个视频
https://www.bilibili.com/video/BV1dF411g7t1/?share_source=copy_web&vd_source=51a0a7cde6b6ec9e7d1c2cacdb0aaa9d
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hello, Mr. Black, I am a new researcher in the field of speaker recognition, and I have two questions to ask you:

I noticed that some papers use 40 dimensions of Fbank feature, and some use 80 dimensions

2. Speed Perturb for data augmentation
Do these two items have a big impact on EER?
I would appreciate it if you could give me your answer !

Message ID: @.***>

I noticed that some papers use 40 dimensions of Fbank feature, and some use 80 dimensions
This effect a bit, not so huge.
2. Speed Perturb for data augmentation
In VoxCeleb2, effect is limited, in CnCeleb, it can improve a lot.


Add Iranian language support #39

Hi,
Adding Iranian (fa) language support https://github.com/golang-module/carbon/issues/39

Codecov Report
Patch and project coverage have no change.

Comparison is base (8fea370) 99.89% compared to head (f694af2) 99.89%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #175   +/-   ##
=======================================
  Coverage   99.89%   99.89%
=======================================
  Files          18       18
  Lines        2908     2908
=======================================
  Hits         2905     2905
  Misses          2        2
  Partials        1        1

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

Thanks for your contribution


ES6 syntax hi-light for const destructuring assignment not showing

ES6 syntax hi-light for const destructuring assignment not showing . Example:
const = {
valueA,
valueB
} = object;
The keyword const is not hi-lighted.

This should be fixed in the next version of Atom (see atom/language-javascript#174 for more details).


3m50: test temporary and permanent hold behavior

test the behavior of temporary and permanent hold settings on 3m50 thermostat

3m thermostat is obsolete due to server EOL, closing ticket without fix.


zstream-trigger add tests - 7

[Auto generated]
Number: [#7]

ci-jobs-trigger(RWaMT)[PR 7]: Closing issue for PR: zstream-trigger add tests.
PR was closed.


[NETBEANS-2022]:Updation for external nb-javac jar in libs.javacapi a…

…nd libs.javaimpl modules with nb-javac jar for jdk-12
Changes:

Added support for downloading new ext nb-javac jars for jdk-12 (nb-javac-12-api.jar and nb-javac-12-impl.jar)
changed the corresponding license files
To-Do :
Below Test-Cases failure issues were also fixed which will be caused due to nb-javac upgrade
a. https://issues.apache.org/jira/browse/NETBEANS-2019
b. https://issues.apache.org/jira/browse/NETBEANS-2020
c. https://issues.apache.org/jira/browse/NETBEANS-2021

Please see also:
https://github.com/arusinha/incubator-netbeans/pull/2

Approved


Support iOS 11 wifi connection capability

The API information is available here:
https://developer.apple.com/documentation/networkextension/nehotspotconfiguration
Thanks!

@joelquatro Have you been able to do this yourself? I'm currently trying (check my fork) but I've never worked in objective-c so this is 'fun'.

@joelquatro https://github.com/arsenal942/iOSWifiConnect

@arsenal942  seems that it's not working in ios 11 as well, I got the internal server error when I used nehotspotconfiguaration. Not sure why it is not working....

@BauerCarlo It definitely works as I use it in my application, hence why I made the plugin.
You need to have Hotspot configuration properties enabled in the config file along with networking. Make sure you're using Cordova 7+ as well.


feat: resilient registry, s3 irsa, registry1 yaml config

Description

Added yaml configs to allow for a registry1 init package
Provided fields for affinity and toleration of the registry pod
Added s3 irsa configurability for the docker registry
Bumped docker registry container version to 3.0.0-alpha.1

Checklist before merging

[ ] Test, docs, adr added or updated as needed
[ ] Contributor Guide Steps followed

https://repo1.dso.mil/dsop/opensource/docker/registry-v2/-/issues/112

thinking about how to automate the release of this registry1 flavored zarf-init package

We have a zarf-config-registry1.toml under hack/ dir which will be utilized for building the -registry1.alpha flavored zarf init package
renovate is watching IB to see if version needs to be updated

Naturally this will lag behind zarf tags

renovate picks up changes && creates PR w/ changes to this file (container versions)
changes get merged into main on that file
pipeline triggers to publish a new release for the init:$zarf_ver-registry1.alpha zarf init package

@Noxsios Do we want to put in testing for this package before cutting the release or just ignore it for now? I think most of your guys tests have the docker registry image version hardcoded, we'd just need that to be able to be an input when running the go tests or get it from environment variables or something.

I think most of your guys tests have the docker registry image version hardcoded, we'd just need that to be able to be an input when running the go tests or get it from environment variables or something.

That function is setting up a docker registry to have a separate registry from the cluster so we can test OCI pulling and pushing of Zarf packages to external registries. The cluster will stand up whichever registry is specified by init package, so we don't have to worry about that.
One way to test the custom init package, would be to add logic to the init test to parametrize the init package that's deployed. In this scenario you'd add an option to make command so you can run something like make test-e2e-with-cluster init-package=registry_1_package, and it'd run the end to end test suite with your init package. If we go with this approach you could run the entire e2e suite on the registry1 init package before you publish. We could run it on main as well but I'd be concerned with increasing the registry1 footprint in our tests as it tends to introduce flakes.


Update Satellite to GET Image List from Ground Control

Overview:
This PR handles the fetching of the image list from the ground control and retrieves the images from the OCI registry.
This PR requires #30 to be merged.

Summary by CodeRabbit
Summary by CodeRabbit

New Features

Introduced a new environment variable TOKEN for improved security.
Added the ground_control setting in the configuration for satellite image management.

Bug Fixes

Enhanced error handling in the Run method to capture errors from image deletion.

Refactor

Improved naming conventions and organization in various components for better clarity and maintainability.

Documentation

Updated code comments to reflect changes and future implementations.

Tests

Streamlined image management in tests by focusing on a specific version of the busybox image.

@Vad1mo ready to merge


Unable to find the GenMM tag

I have setup the environment, installed and enabled the add-on within blender.

I imported a .bvh file and clicked on the Armature. At this point I am unable to find the GenMM tag. I'm new to Blender and have looked at the intuitive places, but could not find it. A screenshot as to where I can find and use the tag would be very helpful.

Hi, the GenMM tag shows in the main view of Blender. You can do as following:


Investigate the consensus stall when there are more bidders and the selection timeout is strict

Closing since the investigation produced already related issues #584 #587


[WIP] New API

@ymatsuda @nehanarkhede @jkreps

@ymatsuda @nehanarkhede @jkreps
Made some changes according to the comments:

Rename o.a.k.stream to o.a.k.streaming, which includes processor / kstream / state / examples.
Rename P* class names to TopologyBuilder, KStreamBuilder, ProcessorTopology and ProcessorMetadata.
Removed ProcessorProperties to have all configs in ProcessorConfig.
Hide Chooser / StampedRecord / TimestampTracker from user facing APIs, we can decide whether to maintain the Chooser / TimestampTracker interfaces moving forward.

@ymatsuda @nehanarkhede @jkreps
Add SinkNode to unify context.send() with processor.forward(). Now if we want to send a key-value to a kafka topic, it will be forwarded into a sink node.
Some open questions:

Do we want to hard-code the Chooser / TimestampTracker for now, or still leave it as instantiatable interface?

I thought about how to avoid passing the Class object in KStream.process() but do not have a good solution, anyone have any ideas?

I tried to rename the classes under the old API, one example looks like:

public class WordCount {

    public class WordCountJob extends KStreamJob {

        @Override
        public void process() {
            KStream<String, String> input = from(new StringDeserializer(), new StringDeserializer(), "topic1");

            KStream<String, Integer> counts = input.flatMap((key, value) ->
            for (String word : value.split(" "))
                    new KeyValue(word, 1);
                );

            KStream<String, Integer> groupedCounts = counts.aggregate(1);

            groupedCounts.sendTo("topic2");
        }
    }

    public static void main(String[] args) throws Exception {
        KafkaStreaming stream = new KafkaStreaming(new WordCountJob(), new StreamingConfig(new Properties()));
        stream.run();
    }
}

Its difference is arguably nuance with Flink, which requires calling env.execute("Socket Stream WordCount") in the end, and Spark Streaming, which requires calling StreamingContext.start() in the end as well. But it may make REPL hard because of the wrapper class. Thoughts?

About compiling SQL / etc to Processor, I think it should be doable via pre-defined Processor module as we did in KStream for now. So I personally think it should be OK unless someone find any corner cases?

BTW the other API examples can be found here (all on WordCount):
Spark Streaming
https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/streaming/NetworkWordCount.scala
Flink:
https://ci.apache.org/projects/flink/flink-docs-release-0.9/apis/streaming_guide.html#example-program
Google DataFlow:
https://github.com/GoogleCloudPlatform/DataflowJavaSDK-examples/blob/master/src/main/java/com/google/cloud/dataflow/examples/MinimalWordCount.java

@ymatsuda
The latest patch is in-progress to the stateless plan API. Some details:

Class names are following the packaging proposal wiki.

StreamThread contains a map of StreamTasks.

StreamTask has an associated PartitionGroup.

PartitionGroup handles timestamp tracking and queue buffered size.

StreamTask also keeps a ProcessorContextImpl.

A single ProcessorTopology will be shared among all the StreamThreads.

When processing a record, it will be passed from StreamTask's queue into the same ProcessorTopology, but along with different ProcessorContextImpl depending on the task.

Minor:

Trying to remove Ingestor and directly use Consumer with the pause / resume call.
Remove Chooser / TimestampTracker interfaces.

Most of these classes are in-complete yet, if you are OK I can merge them into branch-streaming for now for you to take over.

OK. Let's merge this and make this the base for the onward development.


[Issue]: hipconfig -C produces new line

Problem Description
$ echo "'$(/opt/rocm-5.5.1/bin/hipconfig.pl -C)'"
' -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/opt/rocm-5.5.1/include -I/opt/rocm-5.5.1/llvm/bin/../lib/clang/16.0.0 '
$ echo "'$(/opt/rocm-5.7.1/bin/hipconfig.pl -C)'"
' -D__HIP_PLATFORM_HCC__= -D__HIP_PLATFORM_AMD__= -I/lus/home/softs/rocm/5.7.1/include -I/lus/home/softs/rocm/5.7.1/llvm/lib/clang/17.0.0
 '

Notice the new line on the second command ? This is because at some ponit between 5.5.1 and 5.7.1, hipconfig changed its way of finding include path.

clang returns a new line:
$ /opt/rocm/6.0.0//llvm/bin/clang++ --print-resource-dir
/lus/home/softs/rocm/6.0.0/lib/llvm/lib/clang/17.0.0

I believe a strip of white space chars should be done both before and after what clangs return.
Operating System
RHEL
GPU
AMD Instinct MI300X, AMD Instinct MI300A, AMD Instinct MI250X
ROCm Version
ROCm 6.2.0, ROCm 6.1.0, ROCm 6.0.0, ROCm 5.7.1, ROCm 5.7.0, ROCm 5.6.0

Hi @etiennemlb, are you seeing this on ROCm 6.2? This is a known issue which has a fix targeted at ROCm 6.2, but I'm not sure if it's landed yet. If this is still an issue on ROCm 6.2 I can check in with the internal team on the status of the fix.

Ok, my mistake, its not present in the 6.2 of the AAC.
I hope not too many software have sneakily broken due to this.


flutter  build ios-framework --cocoapods --output=/path Error

When I execute the following command：
flutter  build ios-framework --cocoapods --output=/Users/admin/Desktop/ff/ccpf
Console error report：
Building without sound null safety
For more information see https://dart.dev/null-safety/unsound-null-safety

Building frameworks for com.example.fm in debug mode...
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure
you trust this source!
 ├─Creating Flutter.podspec...                                       4ms
 ├─Building App.xcframework...                                   2,510ms
 └─Moving to ../ccpf/Debug                                          12ms
Building frameworks for com.example.fm in profile mode...
 ├─Creating Flutter.podspec...                                       0ms
 ├─Building App.xcframework...                                     10.8s
 └─Moving to ../ccpf/Profile                                        13ms
Building frameworks for com.example.fm in release mode...
 ├─Creating Flutter.podspec...                                       0ms
 ├─Building App.xcframework...                                     10.7s

Failed to send crash report due to a network error: SocketException: OS Error:
Operation timed out, errno = 60, address = clients2.google.com, port = 65441
Oops; flutter has exited unexpectedly: "Invalid argument(s): Cannot find
executable for
/Library/Developer/flutter/bin/cache/artifacts/engine/ios-release/gen_snapshot_a
rm64.".
A crash report has been written to /Users/admin/Desktop/ff/fm/flutter_05.log.

Hi @ywda

A crash report has been written to /Users/admin/Desktop/ff/fm/flutter_05.log.

Can you please locate the flutter_05.log  file and provide its contents
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


[1pt] Create basic structure for Missions - Setup

Create a route and a view component. Use <NavLink /> for the page navigation links and style active class to indicate which section/page the user is currently on (underline active navigation link).
Create a directory for all Redux state slice files.

Pull Request ready for review https://github.com/mikemtzp/space-travelers-hub/pull/29


Pin GitHub Actions workflows

Pin the GitHub Actions workflows to a fixed version. This is part of the requirements of OpenSSF Scorecards. See issue #192.

I'm wondering if we should update to a later version for some of the actions - e.g. checkout is now past version 4.
@jspeed-meyers - what do you think?

@goneall: Sounds good to me.  My thinking: If this PR gets merged, then PR #207, once merged, should handle this proposed update smoothly. Therefore, merging these two PRs is equivalent to your proposal in the long run and has the benefit of making continued updates easier for the maintainers of this project.

Thank you, @goneall. Also, I should have explained my thinking in the first place. Thank you for being thoughtful and asking questions!


Only deploy init container if cluster is enabled

Fixed: https://github.com/stardog-union/helm-charts/pull/9


Feature/382 refactor theme panel component

Description
Main changes:

Allow passing optional open and onOpenChange props to the ThemePanel component using the useControllableState hook
Simplify setup by merging ThemePanel and ThemePanelImpl components. Remove redundant interfaces
Move common logic related to hotkeys into a custom useHotKey hook (no external dependencies)
Allow overriding default open/appearance hotkeys using optional openHotkey and toogleAppearanceHotkey props
Allow passing null or false to disable a hotkey
Hide the top-right open hotkey button when openHotkey is null

Things to improve in the future:

Allow passing combination of keys like Control + F or Shift + H
useHotKey implementation is very barebones. Consider using a library like react-hotkeys-hook

Testing steps
Use cases:

Controlled behaviour:

const [open, setOpen] = useState(false);

return <ThemePanel open={open} onOpenChange={setOpen} />

Custom hotkeys:

return <ThemePanel openHotkey="P" toogleAppearanceHotkey="/" />

Disabling hotkeys:

return <ThemePanel openHotkey={null} toogleAppearanceHotkey={false} />

Relates issues / PRs
Refs #382

Hi! Just wanted to weigh in here since we've had a little maintainer shuffle since this PR was opened.
Any chance we could break this into two separate, stacked PRs? I'd like to consider each new feature independently since there's a little unresolved feedback. Specifically it'd be nice to see it broken into three:

Making ThemePanel use controllable state
New useHotKey hook
Allow for customizing/disabling hotkeys (and hiding the hotkey button accordingly)

I know it's been a while, so totally understand if you've moved on. Happy to take this as a feature request and re-implement if we decide to move forward.


ci(github): commit parity check based on similarity

Commit to be reviewed
ci(github): commit parity check based on similarity
Primary Changes
---------------
1. Added a commit-pr similarity ratio to lessen the check strictness
2. Added an env var to the workflow to easily control the similarity
   ratio

Changes required to incorporate 1)
---------------------------------
3. Added string-similarity-js package in package.json

Fixes #3470
Pull Request Requirements

[ ] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[ ] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[ ] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

[ ] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[ ] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

Could you please elaborate a bit on why do we need this?

Could you please elaborate a bit on why do we need this?

Sure @RafaelAPB .
Right now our commit PR parity check is basically a check to see if the PR message we write matches exactly to that of the commit message.
This PR loosens that check by checking for string similarity instead of checking for string equality.
Here's the conversation with Peter around the same: https://github.com/hyperledger/cacti/issues/3470#issuecomment-2287141374

@jagpreetsinghsasan thank you for your explanation. I like this contribution, thanks!


changing the state matrix spectral radius doesn't affect the ESN behaviour

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 20.04
TensorFlow version and how it was installed (source or binary): 2.7.0, binary
TensorFlow-Addons version and how it was installed (source or binary): 0.15.0, binary
Python version: 3.9.15
Is GPU used? (yes/no): no

Describe the bug
When changing the spectral radius of the ESN state matrix, a following dense layer learns always the same weights, while such weights should change to reflect the changed ESN state matrix.
Code to reproduce the issue
#Import the relevant modules
import numpy as np
import matplotlib.pyplot as plt
from keras.models import Sequential
from keras.layers import Dense
from tensorflow_addons.layers import ESN
from tensorflow_addons.rnn import ESNCell
from keras.layers import RNN
from sklearn.preprocessing import MinMaxScaler
from tensorflow import random as rnd
#Fix the seed
rnd.set_seed(0)
#The dataset can be downloaded from https://mantas.info/wp/wp-content/uploads/simple_esn/MackeyGlass_t17.txt
data = np.loadtxt('MackeyGlass_t17.txt')
#Normalize
scaler = MinMaxScaler(feature_range=(0, 1))
scaled = scaler.fit_transform(data.reshape(-1, 1))
#Split Dataset in Train and Test
train, test = scaled[0:-100], scaled[-100:]
#Split into input and output
train_X, train_y = train[:, :-1], train[:, -1:]
test_X, test_y = test[:, :-1], test[:, -1:]
#Reshaping
train_X = train_X.reshape((train_X.shape[0], 1, train_X.shape[1]))
test_X = test_X.reshape((test_X.shape[0], 1, test_X.shape[1]))
#Batch and epochs
batch_size = 20
epochs = 15
#changing spectral_radius doesn't affect the weights of the dense layer
spectral_radius = 0.9 #Try 0.1 or any other value
#---------------------------------------------------------------------------
#Design and run the model
model = Sequential()
#model.add(ESN(units = 12, spectral_radius = spectral_radius, leaky=0.75, connectivity = 0.9)) # this line works exactly like the next one
model.add(RNN(ESNCell(12, spectral_radius = spectral_radius, leaky=0.75, connectivity = 0.9)))
model.add(Dense(train_y.shape[1]))
model.compile(loss='huber', optimizer='adam')
model.fit(train_X, train_y, epochs=epochs, batch_size=batch_size, validation_data=(test_X, test_y), verbose=0, shuffle=False)
#Print the weights of the dense layer
print(model.layers[1].get_config(), model.layers[1].get_weights())
Other info / logs
Checking the call() method of class ESNCell (file: tensorflow_addons/rnn/esn_cell.py) it appears that the argument state is always passed as a tuple full of zeros. This way even though the state matrix is correctly generated (self.recurrent_kernel)  its contribution gets always erased.
The dense layer weights I get (either with spectral_radius = 0.9 or 0.1) are:
[array([[-0.4414041 ],
[-0.24732435],
[ 0.48309386],
[-0.11242288],
[-0.35881412],
[-0.37281674],
[ 0.13455302],
[ 0.44686365],
[ 0.13275969],
[-0.01452708],
[-0.52097714],
[-0.12454855]], dtype=float32), array([0.55140686]

This is due to this piece of code that prescribes only one time step for the input:
#Split into input and output
train_X, train_y = train[:, :-1], train[:, -1:]
test_X, test_y = test[:, :-1], test[:, -1:]

#Reshaping
train_X = train_X.reshape((train_X.shape[0], 1, train_X.shape[1]))
test_X = test_X.reshape((test_X.shape[0], 1, test_X.shape[1]))

so it should be replaced by:
def get_XY(dat, time_steps):
    # Indices of target array
    Y_ind = np.arange(time_steps, len(dat), time_steps)
    Y = dat[Y_ind]
    # Prepare X
    rows_x = len(Y)
    X = dat[range(time_steps*rows_x)]
    X = np.reshape(X, (rows_x, time_steps, 1))
    return X, Y

time_steps = 12
train_X, train_y = get_XY(train, time_steps)
test_X, test_y = get_XY(train, time_steps)


[PORT] Update Microsoft.ContinueLoop.schema

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3740

Typo :sadtrombone:
Changed projects

Microsoft.Bot.Builder.Dialogs.Adaptive

[R9,adaptive,schema]

There is no schema definition in the JS side, won't fix


Standardize table text

Standardize table names and descriptions, item images, and item trait formatting.

This is adding the renamed tables as new tables, not renaming the old ones.

I'm pretty sure I know what I did wrong and it should be fixed now.

I know what I did wrong and I made a mess trying to fix it.


The population of people, people living in cities, and people not living in cities in each region.

	SELECT SUM(populationInCities_Country) as populationInCities, SUM(populationNotCities_Country) as populationNotCities, Name
	FROM (
		SELECT country.Population - SUM(city.population) as populationNotCities_Country, city.CountryCode, SUM(city.Population) as populationInCities_Country, country.region as Name
		FROM city
		JOIN country ON city.CountryCode=country.Code
		GROUP BY city.CountryCode
	) as country_table
	GROUP BY Name


[SMALLFIX] Modify the hdfs ufsConstants output path

What changes are proposed in this pull request?
Modify the hdfs ufsConstants output path
Why are the changes needed?
Make it consistent with https://github.com/Alluxio/alluxio/blob/master/core/common/pom.xml#L206
Does this PR introduce any user facing changes?
No user facing changes.

alluxio-bot, merge this please


Update user_data_deletion_requests.md

🚀 Deployed on https://62fc03e48063810c2e5fd4a3--cozy-fox-0defec.netlify.app


FP

https://medium.freecodecamp.org/discover-functional-programming-in-javascript-with-this-thorough-introduction-a2ad9af2d645
https://github.com/MostlyAdequate/mostly-adequate-guide
https://github.com/raganwald/javascript-allonge

https://jrsinclair.com/articles/2019/five-ways-to-average-with-js-reduce/


Crashing very often

This is the error message that I receive:
TypeError: Cannot convert undefined or null to object
I think the crashes happen shortly after I watch for hits. In a typical three hour session, it will crash like ten times, making it nearly unusable as it lessens my chances of catching those valuable hits that I'm watching for. The crashes started happening two days ago. Thanks for your time.

Hey @DR225 thanks for reporting this. I've looked into this extensively and it looks like it only happens when using the latest Chrome and the latest version of Tampermonkey. It may be that an update to Tampermonkey or Chrome that's caused this to start happening, although I'm still investigating possible workarounds (I'm open to any suggestions if anyone knows more).
In the meantime, it looks like the bug doesn't happen in Firefox + Tampermonkey, so if you're running into this issue, you can look into using that, as inconvenient as it may be. You can transfer all your data over between browsers using the "Save Backup" feature in the settings tab.


Add USB support for STM32G0B(C)1 series

Add USB support for STM32G0B(C)1 series.
SVD file with USB added for STM32G0B1 series can be downloaded here.
Signed-off-by: Yong Cong Sin<EMAIL_ADDRESS>

Tested the cdc_acm and shell/shell_module sample with my stm32g0b1re custom board.

Ping @erwango @ABOSTM @FRASTM @str4t0m

I noticed that it would take a second try  for the shell_module sample to work after unplugging the USB:
--- Sample works
--- Unplug USB
--- Plug in
--- Sample doesn't work
--- Unplug USB
--- Plug in
--- Sample works
--- Unplug USB
--- Plug in
--- Sample doesn't work
--- Unplug USB
--- Plug in
... repeat

Thanks for this work!
This looks good aside from one comment on pure driver implementation.
I'd have 2 more requests before pushing this work:

add USB node on stm32g0b0.dtsi
add support on one in tree board (nucleo_g0b1re), this would allow driver compilation and test in CI. Is that possible for you ?

I'll do that sometime later.

Thanks for this work!
This looks good aside from one comment on pure driver implementation.
I'd have 2 more requests before pushing this work:

add USB node on stm32g0b0.dtsi
add support on one in tree board (nucleo_g0b1re), this would allow driver compilation and test in CI. Is that possible for you ?

[X] add USB node on stm32g0b0.dtsi
[X] add support on one in tree board (nucleo_g0b1re), this would allow driver compilation and test in CI. Is that possible for you


How to decrypt encrypted traffic

昨天，我查看了一下udp数据包，总结了一些规律，但是我不知道如何解密DATA。
我在试图找一些关于加密过程的资料，但是并没有找到，不知道您是否可以提供一些帮助。
C <-> S
00 00 00 00 00 00 00 00 AA 00 00 01 BB BB A5 C1
CC CC CC CC DD DD DD DD EE EE EE EE DATA
AA -> 51/52:C/S
BB -> OP?
CC -> SC
DD -> RC
EE -> LEN
Yesterday, I checked the udp packet and summarized some rules, but I don't know how to decrypt DATA.
I was trying to find some information about the encryption process, but I couldn't find it. I wonder if you could provide some help.

See https://sdl.moe/post/magic-sniffer/

昨天，我查看了一下udp数据包，总结了一些规律，但是我不知道如何解密DATA。 我在试图找一些关于加密过程的资料，但是并没有找到，不知道您是否可以提供一些帮助。 C <-> S 00 00 00 00 00 00 00 00 AA 00 00 01 BB BB A5 C1 CC CC CC CC DD DD DD DD EE EE EE EE DATA AA -> 51/52:C/S BB -> OP? CC -> SC DD -> RC EE -> LEN
Yesterday, I checked the udp packet and summarized some rules, but I don't know how to decrypt DATA.
I was trying to find some information about the encryption process, but I couldn't find it. I wonder if you could provide some help.

你需要参考这里的代码 主要关于xor解密相关的


Oracle Database Continuous Query Notification

Hi, guys!
There is a way that allow me to use de CQN (Continuous Query Notification)?
I'm following this tutorial but I have an error telling that 'subscribe is not a function'
I'm using AdonisJS Framework. My code follows:
Database.connection('oracle')
    .subscribe('mysub', {
        sql: "SELECT sysdate FROM dual",
        callback: function (message) {
            console.log('message subscribe: ', message);
        }
    })
    .then(function (ret) {
        console('retorno then: ', ret)
    })
    .catch(function (ret) {
        console.error('retorno catch: ', ret)
    })

No. you need to use oracle db driver directly I suppose if it is even possible with that.


device tagging

https://github.com/packethost/docs/blob/moupdates110419/products/servers/key-features/device-tagging.md

done.