Suggestion: Allow more control and flexibility with the start() command.

I have a suggestions that could be useful in some cases for more complex control of HDLReg.
To allow manual control over running compilation and simulation. In some cases i have seen that i want to only run compilation to verify that the code is in a working standard, but i do not want to run the testbenches. Thus a suggestion is to expand start() function to be able to run things separately. E.g run_compilation, run_simulation.
With the previous addition it could be helpful for certain cases where one might want to alter the files post compilation but pre-simulation. E.g modelsim.ini

Thanks, We have several requests for this functionality, so thius will be implemented soon.

Hi @drowzie,
The 0.40 release has added CLI arguments '-ns' and '--no_sim' to run without simulation, i.e. only compilation.


electrs won't start

Hello,
I've activated electrum server in menu>services, but after installation electrs won't start, here is log, thank you for any advice
https://termbin.com/j3om
admin@raspberrypi:~ $ sudo ls -al /home/electrs/electrs/target/release/
total 68
drwxr-xr-x   7 electrs electrs  4096 Jan 13 22:03 .
drwxr-xr-x   3 electrs electrs  4096 Jan 13 22:18 ..
drwxr-xr-x  60 electrs electrs  4096 Jan 13 22:03 build
-rw-r--r--   1 electrs electrs     0 Jan 13 22:03 .cargo-lock
drwxr-xr-x   2 electrs electrs 32768 Jan 13 22:18 deps
drwxr-xr-x   2 electrs electrs  4096 Jan 13 22:03 examples
drwxr-xr-x 196 electrs electrs 12288 Jan 13 22:03 .fingerprint
drwxr-xr-x   2 electrs electrs  4096 Jan 13 22:03 incremental

update:
looks it works, it wasn't fully or properly installed first time I guess, I did uninstall and install, twice, second was succesfull and it's synchronizing now ... 🤷♂
Electrum: Building Index (please wait)

update:
looks it works, it wasn't fully or properly installed first time I guess, I did uninstall and install, twice, second was succesfull and it's synchronizing now ... 🤷♂
Electrum: Building Index (please wait)

@kriloter Pls close this.


Adding a new linter to detect and prevent usage of unwanted/deprecated methods

What does this PR do?
The linter only detect usage of 'pkg/config/model.NewConfig' for now.

To fix CI, you might want to add the list of offending files in the .golangci.yml
You can look how we did for the pkgconfigusage here https://github.com/DataDog/datadog-agent/blob/b6e262712429ffe9e1e384781c28e72b318bc363/.golangci.yml#L62-L66

Closing in favor of forbidigo which is already included in golang-ci


Translations?

If you offer translation support, I could translate from English to German.

I can translate from English to Brazilian Portuguese (pt_BR)

Just released the internationalization release. I pre-created Spanish and German translations, but they were ChatGPT so will inevitably need much rework. @LeoKlaus , please review the existing German ones. @owmsoton , happy to accept a new translation file from the base in the client/src/locales/en directory for Brazilian Portugese.


Exec tachikoma update<PHONE_NUMBER>4639

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

ok


Support generators inside policies

The last function we return can be a generator controlled by the application, or we can simply use async await to achieve the same goal.
export default function myPolicy(store) {
  return done => (async function (action, error, response) {
    const barResult = await store.dispatch(fooCreator.barRequest());

    return store.dispatch(bazCreator.read({ id: barResult.id }));
  });
}


node-pre-gyp: init at 1.0.11

Description of changes
related to #229475

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 330940 run on x86_64-linux 1

9 packages built:

base16-builder
jellyseerr
joplin
mx-puppet-discord
node-pre-gyp
theLoungePlugins.plugins.closepms
theLoungePlugins.plugins.giphy
theLoungePlugins.themes.flat-blue
theLoungePlugins.themes.flat-dark


dart2native: Clarify usage of -D/environment variables/environment declarations

dart2native --help prints:
dart2native --help
Usage: dart2native <main-dart-file> [<options>]

Generates an executable or an AOT snapshot from <main-dart-file>.

-D, --define=<key=value>       Set values of environment variables. To specify multiple variables, use multiple options or use commas to separate key-value pairs.
                               E.g.: dart2native -Da=1,b=2 main.dart

I was confused by this. I didn't think of environment declarations that will be read via [int|String...].fromEnvironment, but of actual OS environment variables, so that option did not make much sense for me.
This wording is also not very googleable, as "dart environment variables" returns no related result.
I suggest replacing "environment variables" with "environment declarations". This is consistent with the documentation of String.fromRuntime for example:

Returns the string value of the environment declaration name. Environment declarations are provided by the surrounding system compiling or running the Dart program. Declarations map a string key to a string value.

https://api.flutter.dev/flutter/dart-core/String/String.fromEnvironment.html
Related: https://github.com/dart-lang/sdk/issues/17262
Dart Version

./dart --version
Dart VM version: 2.8.3 (stable) (Tue May 26 18:39:38 2020 +0200) on "macos_x64"

Tentatively assigning @mit-mit, since you were looking at this recently IIRC

CL in https://dart-review.googlesource.com/c/sdk/+/149595/1

Thanks @knaeckeKami for bringing this to our attention, we've updated both our product help and dart.dev documentation!

Follow-up CL in https://dart-review.googlesource.com/c/sdk/+/161107


Tidy: Option "Use checks from" is reset to default

Version: 2023.3.0

In Settings, set Tidy->"Use checks from" to TidyFile
on a project, from the context menu, select "Clang Power Tools"->Tidy
opening Settings displays "Use checks from" is changed to PredefinedChecks

It looks like the execution of clang-tidy on a project reset settings to PredefinedChecks . The setting is not changed if clang-tidy is applied on a single file.

Hi @magnesj,
Thank you so much for bringing this issue to our attention
We are committed to resolving the problem and will keep you updated as we make progress
Have a nice day,
Marina

Hi @magnesj,
A fix for this issue is available in Clang Power Tools release v2023.4.0
Have a nice day,
Marina


Simplify Supabase Setup

Hey, awesome starter project! To make the configuration easier for everyone, could you do the following steps, please?

Delete the supabase folder
Run supabase init (make sure you have the latest version of the Supabase CLI installed!)
Run supabase link --project-ref ******************** with your Supabase project id ref
Run supabase db pull --linked ref

This will create a migration file with all the schema and RLS policies included, making the setup a lot easier for everyone. Once finished, make sure to commit the generated migration files and update your deploy button URL to include the supabase integration which will automatically set up the schema for folks when deploying to vercel:
Generate the deploy button
Use Vercel’s deploy button generator to create a 1-click deploy button for your template. Set the Supabase relevant parameters as follows:

Git Repository: set this to the root of your Next.js/Svelte/Vue etc app. Different branches and Monorepos are also supported. E.g. https://github.com/vercel/nextjs-subscription-payments/tree/main
Environment Variables: set any non-supabase environment variables required for your template. Remember the Supabase specific env vars will automatically be set and kept up to date by our integration.
Integrations

Integration IDs: Add oac_VqOgBHqhEoFTPzGkPd7L0iH6 to make sure the Supabase Integration will be installed.
External ID: Set this to the root of your project where the /supabase folder is located. Make sure to include /tree/branchname here even if it’s on the main branch! This is crucial for the integration to fetch the migration and seed files. E.g. https://github.com/vercel/nextjs-subscription-payments/tree/main

@thorwebdev Awesome, will do

@thorwebdev I can't seem to get the Supabase integration working, Once I click Create Project it errors and stays in an infinite loading screen.
Errors I see in the network tab:
403 Forbidden: https://api.supabase.io/platform/integrations/vercel/connections/9189f915-39f8-4123-be76-f8edbca9a3ce/sync-envs (    "message": "{"error":{"code":"forbidden","message":"Not authorized"}}"
)
403 Forbidden: https://api.supabase.io/platform/integrations/vercel/projects/8beb2178-2f25-4a0e-bf3a-e73afb9bd5a9?limit=1000 (    "message": "{"error":{"code":"forbidden","message":"Not authorized"}}"
)
406 Not Acceptable
https://api.supabase.io/platform/integrations/vercel/projects/8beb2178-2f25-4a0e-bf3a-e73afb9bd5a9?limit=1000 (    "message": "Failed to retrieve vercel organization integration with the given id"
)
Here's my vercel button code:

Actually I just noticed that it did create the tables, but the modal to finish creating the project, is stuck in an infinite loading state.

Implemented!


Slim down Frank!Console (and backend) projects

Describe the issue
Right now the project is around 60 MB, perhaps we can try and see if we can slim down the war a bit.

[ ] Investigate and potentially remove or slim down large frontend assets.
[ ] #6937

More than $\frac{1}{3}$ of the frontend script bundle is being used up by Mermaid. The Monaco editor also uses 10MB and is located in the "assets" folder.
For the Monaco editor, it would've been possible to use the Monaco Webpack plugin. In this plugin, all needed (or unneeded) features can be enabled/disabled. Angular uses Webpack, but it is not easy to add plugins to it. If you want to do this, the whole Webpack config needs to be written and managed. There might be other solutions, of which I'm not aware.
I don't think we can do a lot about Mermaid. It is a JS library that doesn't integrate in TypeScript, meaning all dependencies are included. The only thing we can do, is to stop using Mermaid.
Fortunately, Lenard en Martijn have been working on a new library that can replace Mermaid.


image-layout: Fix 'mediatype' -> 'mediaType' in ref payload

To match the descriptor property, fixing a typo from #94, although that was developed in parallel with the descriptor spec.

LGTM

lgtm


Unhelpful error message when uninstalling extension pack

testing #14291
Uninstall extension pack another pack depends on and see the following little helpful error message

Instead, it should show me what pack depend on the one to be uninstalled and offer me to also uninstall those.

Improved the message to show maximum two extensions depending on the to be uninstalled extension.
Created #14544 for viewing and uninstalling dependent extensions


Express and nginx best practices

I currently have an node express app behind an nginx load balancer.
I am curious to know what is the best practice when it comes to setting security policies such as CSP, CSRF, and HSTS? Should they be configured within my express.js application? Or is it best practice to configure them in nginx?
Does the express team recommend setting security within nginx or within the express application?

I think the express gitter might be a better place to pose this question.

Security is as good as the weakest link: start with nginx, secure your Express app too - https://expressjs.com/en/advanced/best-practice-security.html.
For general queries, such as this one, join us at https://gitter.im/expressjs/express.


Update README results

Codecov Report

Merging #66 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #66   +/-   ##
======================================
  Coverage    99.1%   99.1%
======================================
  Files           7       7
  Lines         112     112
======================================
  Hits          111     111
  Misses          1       1

Continue to review full report at Codecov.

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


Add docs for optimizer join hints

Fixes #2012.
Summary of changes:

Added a section to the CBO page, 'Join hints', which describes:

Join hint syntax

Supported join algorithms, and how they work

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/622ef2b3ba83281722f49e3abc18f04c10eba6ae/

Direct link to new section is here.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e8e5136291bd813957a26aa75acf85e9d5738a49/

Direct link to latest doc is here

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/760c63e7dd0e48f1159f8a5516bd85680c1f2036/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9316036bd14ab68e4c90ff3381417ca25bc76b57/

Update: added some links to the Join hint docs from the Join expressions page as well.

Could you put the link at the end of the "Performance best practices" section rather than at the top?

A heads up that we decided to add hints for CROSS JOIN as well, e.g. CROSS MERGE JOIN (https://github.com/cockroachdb/cockroach/issues/35695).

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/74a5012db58278992f356bc121adfd0f3634ff53/

A heads up that we decided to add hints for CROSS JOIN as well

Thanks @RaduBerinde I opened #4502  to add that ASAP once that work goes in.

@rmloveland, I'm going to merge this so we can point to it from release notes. You can handle the remaining nits in a follow-up PR.


"panic: runtime error: invalid memory address or nil pointer dereference" when running "jfrog rt bp"

Describe the bug
When running jfrog rt bp in my Github workflow, I get the following error:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x9c7623]

goroutine 1 [running]:
github.com/jfrog/jfrog-client-go/artifactory/buildinfo.mergeDependencies(0xc000580800, 0xc0005808e0)
	/root/go/pkg/mod/github.com/jfrog/jfrog-client-go@v1.5.2/artifactory/buildinfo/buildinfo.go:96 +0x1e3
github.com/jfrog/jfrog-client-go/artifactory/buildinfo.mergeModules(0xc000162c50, 0xc000580880)
	/root/go/pkg/mod/github.com/jfrog/jfrog-client-go@v1.5.2/artifactory/buildinfo/buildinfo.go:74 +0x65
github.com/jfrog/jfrog-client-go/artifactory/buildinfo.(*BuildInfo).Append(0xc000306000, 0x7f5c9236a600)
	/root/go/pkg/mod/github.com/jfrog/jfrog-client-go@v1.5.2/artifactory/buildinfo/buildinfo.go:59 +0xdc
github.com/jfrog/jfrog-cli-core/v2/artifactory/commands/buildinfo.(*BuildPublishCommand).Run(0xc000185a10)
	/root/go/pkg/mod/github.com/jfrog/jfrog-cli-core/v2@v2.4.2/artifactory/commands/buildinfo/publish.go:90 +0xe7
github.com/jfrog/jfrog-cli-core/v2/common/commands.Exec({0xf14510, 0xc000185a10})
	/root/go/pkg/mod/github.com/jfrog/jfrog-cli-core/v2@v2.4.2/common/commands/command.go:26 +0xad
github.com/jfrog/jfrog-cli/artifactory.buildPublishCmd(0xc0000eaf20)
	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/artifactory/cli.go:2048 +0x14e
github.com/jfrog/jfrog-cli/artifactory.GetCommands.func9(0x1)
	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/artifactory/cli.go:232 +0x19
github.com/codegangsta/cli.HandleAction({0xc888c0, 0xe01cf8}, 0xd)
	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/app.go:490 +0x5a
github.com/codegangsta/cli.Command.Run({{0xdb8ec8, 0xd}, {0x0, 0x0}, {0xc0001b6a00, 0x1, 0x1}, {0x0, 0x0}, {0xde13ad, ...}, ...}, ...)
	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/command.go:210 +0x8f8
github.com/codegangsta/cli.(*App).RunAsSubcommand(0xc00019e680, 0xc0000eac60)
	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/app.go:379 +0x985
github.com/codegangsta/cli.Command.startApp({{0xdb1806, 0x2}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...}, ...)
	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/command.go:298 +0x6bb
github.com/codegangsta/cli.Command.Run({{0xdb1806, 0x2}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...}, ...)
	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/command.go:98 +0x418
github.com/codegangsta/cli.(*App).Run(0xc00019e4e0, {0xc000030090, 0x3, 0x3})
	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/app.go:255 +0x6ac
main.execMain()
	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/main.go:105 +0x285
main.main()
	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/main.go:84 +0x25

To Reproduce
So far the problem only occurs in one of our projects. In all other projects publishing build information works most of the time and if it fails, a restart of the build works. I am willing to create a minimal project that reproduces the error, but I think I need some help from a developer for that.
Expected behavior
Publishing build information should not throw an error.
Screenshots
If applicable, add screenshots to help explain your problem.
Versions

JFrog CLI version: 2.5.1
JFrog CLI operating system: Ubuntu 20.04 LTS in Docker container
Artifactory Version: 7.18.3

Additional context
In the Github workflow, the JFrog CLI is used in the following steps:

Set up mvn with jfrog rt mvnc
Run jfrog rt mvn install to build the project
Run jfrog rt mvn docker:build to build the docker image
Run jfrog rt dp to push the Docker image
Run jfrog rt bag, jfrog rt bce and finally jfrog rt bp

Thanks for reporting this issue @trettstadtnlb.
Will you be able to check if replacing only the jfrog rt mvn docker:build command with mvn docker:build makes the issie disappear?
Please let us know. In case it does - this provides us with a hint to root cause of the issue.

Thank you for the quick reply, @eyalbe4. Replacing jfrog rt mvn docker:build with mvn docker:build worked and we will use that as a workaround for now. But I'm still willing to do more testing, if needed.

Gerat @trettstadtnlb!
So we now know what causes the issue.
We definitely want to get this issue fixed. We'll update this issue once this is resolved.

Hello, I have a similar issue with the jfrog CLI with some projects
Tested with 2.5.1 / 2.6.2 / 2.8.0 on our CI platform (in a maven:3.5.3-jdk-8 docker image)
Basically the workflow is as follow:

server setup with jfrog rt config add
maven setup with jfrog rt mvn-config
jfrog rt mvn clean compile -U -Dartifactory.publish.artifacts=false
`jfrog rt mvn test -Dartifactory.publish.artifacts=false
jfrog rt mvn sonar:sonar -DskipTests -Dartifactory.publish.artifacts=false
jfrog rt mvn install -DskipTests
jfrog rt bag
jfrog rt bce
jfrog rt bp
...

Disabling steps 3, 4, 5  allows to publish build info without exception, but some of the steps which pull additionnal dependencies do not seem work without jfrog command prefix so we're stuck
Here's the stack for jfrog 2.8.0 , error is in the same spot (comparing sha1 of build-info deps w/ partials deps)
16:26:37  panic: runtime error: invalid memory address or nil pointer dereference
16:26:37  [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9c8f6a]
16:26:37
16:26:37  goroutine 1 [running]:
16:26:37  github.com/jfrog/build-info-go/entities.mergeDependencies(0xc000601400, 0xc000601560)
16:26:37  	/root/go/pkg/mod/github.com/jfrog/build-info-go@v0.1.4/entities/buildinfo.go:161 +0x1ea
16:26:37  github.com/jfrog/build-info-go/entities.mergeModules(0xc00020cbe0, 0xc000601500)
16:26:37  	/root/go/pkg/mod/github.com/jfrog/build-info-go@v0.1.4/entities/buildinfo.go:139 +0x65
16:26:37  github.com/jfrog/build-info-go/entities.(*BuildInfo).Append(0xc000678000, 0x2f)
16:26:37  	/root/go/pkg/mod/github.com/jfrog/build-info-go@v0.1.4/entities/buildinfo.go:77 +0xdc
16:26:37  github.com/jfrog/build-info-go/build.(*Build).ToBuildInfo(0xc0000b0000)
16:26:37  	/root/go/pkg/mod/github.com/jfrog/build-info-go@v0.1.4/build/build.go:127 +0x154
16:26:37  github.com/jfrog/jfrog-cli-core/v2/artifactory/commands/buildinfo.(*BuildPublishCommand).Run(0xc0004c22a0)
16:26:37  	/root/go/pkg/mod/github.com/jfrog/jfrog-cli-core/v2@v2.7.0/artifactory/commands/buildinfo/publish.go:103 +0x20a
16:26:37  github.com/jfrog/jfrog-cli-core/v2/common/commands.Exec({0xf343b8, 0xc0004c22a0})
16:26:37  	/root/go/pkg/mod/github.com/jfrog/jfrog-cli-core/v2@v2.7.0/common/commands/command.go:26 +0xad
16:26:37  github.com/jfrog/jfrog-cli/artifactory.buildPublishCmd(0xc0000d31e0)
16:26:37  	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/artifactory/cli.go:1632 +0x125
16:26:37  github.com/jfrog/jfrog-cli/artifactory.GetCommands.func9(0x1)
16:26:37  	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/artifactory/cli.go:225 +0x19
16:26:37  github.com/codegangsta/cli.HandleAction({0xca0980, 0xe1f3a8}, 0xd)
16:26:37  	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/app.go:490 +0x5a
16:26:37  github.com/codegangsta/cli.Command.Run({{0xdd5989, 0xd}, {0x0, 0x0}, {0xc000242790, 0x1, 0x1}, {0x0, 0x0}, {0xdfe907, ...}, ...}, ...)
16:26:37  	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/command.go:210 +0x8f8
16:26:37  github.com/codegangsta/cli.(*App).RunAsSubcommand(0xc00022a680, 0xc0000d2f20)
16:26:37  	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/app.go:379 +0x985
16:26:37  github.com/codegangsta/cli.Command.startApp({{0xdce14a, 0x2}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...}, ...)
16:26:37  	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/command.go:298 +0x6bb
16:26:37  github.com/codegangsta/cli.Command.Run({{0xdce14a, 0x2}, {0x0, 0x0}, {0x0, 0x0, 0x0}, {0x0, 0x0}, {0x0, ...}, ...}, ...)
16:26:37  	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/command.go:98 +0x418
16:26:37  github.com/codegangsta/cli.(*App).Run(0xc00022a4e0, {0xc000030180, 0x3, 0x3})
16:26:37  	/root/go/pkg/mod/github.com/codegangsta/cli@v1.20.0/app.go:255 +0x6ac
16:26:37  main.execMain()
16:26:37  	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/main.go:87 +0x2e5
16:26:37  main.main()
16:26:37  	/var/jenkins_home/workspace/eco-system/release/jfrog-cli-release/temp/jfrog-cli/main.go:65 +0x25

We found a workaround for the time being which consists of configuring the JFROG_CLI_BUILD_xxx variables only for the mvn install command and not for the entire pipeline.
It seems the root cause of the problem is that in a multimodule maven projet not all the artifacts get a sha1 in the jfrog build partials info depending on the maven command executed.

Hi @sstephant & @trettstadtnlb. JFrog-CLI V2.12.0 includes a fix for this issue. Feel free to upgrade and let us know how it goes.


feature to add?

any chance a search of tags is in the plans for the future?
find myself using this site quite a bit - being able to search for specifics would help some.
Tia,

Hi,
Same here.
Once you've got several dozens of plunks, it would be great to have a hierarchy of tags to browse.


SPIR-V Profile Vulkan Compatibility

Closing this as it got clobbered pretty hard by the rewrite. @krolli, I can take in an Hg version of the SPIR-V updates if you still have it!

I actually did the implementation on git vulkan branch at first, but I have it in the hg repo now as well: https://osdn.net/users/krolli/pf/mojoshader/scm/commits/f61ae6e9effee2258ae98e1eb612b8f1fe4279f6
I reduced it to just changes in spirv profile, to avoid duplicating vulkan work that @thatcosmonaut has done.


Implement a plugin system, so that users can easily customize their Sumatra installations

Imported from Bitbucket issue 134,  created by apdavison on 02-22-2013 at 14:25, last modified: 05-15-2013 at 09:51

Implemented in PR #246


Update Master => ModuleNotFoundError: No module named 'yaml'

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

Describe the bug*
I'm trying to update from the master branch
and it ends with an error, I'm not sure it has not completed as I'm able to deploy the 3 containers and the plateform has launched.
Steps to Reproduce

cd Inventree folder
run : docker system prune (to wipe all docker items)
run : git reset --hard (to be sure I'm lot leaving som mods)
run : docker compose run inventree-dev-server invoke update

complete log :
update_master.log
note :
When I run : docker-compose run inventree-dev-server invoke superuser , it works as expected
and when I deploy : docker-compose up -d it seems working too (as far as I can tell as I wiped all my datas!)
Expected behavior
update without error
Deployment Method

[X] Docker
[ ] Bare metal

Version Information
git branch -a                                                                                0.8.0                                                                                * master                                                                                remotes/origin/0.6.x                                                                                remotes/origin/0.7.x                                                                                remotes/origin/0.8.x                                                                                remotes/origin/HEAD -> origin/master                                                                                remotes/origin/l10                                                                                remotes/origin/l10_crowdin                                                                                remotes/origin/master                                                                                remotes/origin/stable
from the plateform : InvenTree Version | 0.9.0 dev
VM : Debian GNU/Linux 10 (buster) / Linux 4.19.0-21-amd64 https://github.com/inventree/InvenTree/pull/1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
Docker version 20.10.17, build 100c701
docker-compose version 1.29.2, build 5becea4c
git version 2.20.1
Relevant log output
=> lands with :

Traceback (most recent call last):
  File "/usr/bin/invoke", line 8, in <module>
    sys.exit(program.run())
  File "/usr/lib/python3.9/site-packages/invoke/program.py", line 384, in run
    self.execute()
  File "/usr/lib/python3.9/site-packages/invoke/program.py", line 566, in execute
    executor.execute(*self.tasks)
  File "/usr/lib/python3.9/site-packages/invoke/executor.py", line 129, in execute
    result = call.task(*args, **call.kwargs)
  File "/usr/lib/python3.9/site-packages/invoke/tasks.py", line 127, in __call__
    result = self.body(*args, **kwargs)
  File "/home/inventree/tasks.py", line 94, in plugins
    from InvenTree.InvenTree.config import get_plugin_file
  File "/home/inventree/InvenTree/InvenTree/config.py", line 10, in <module>
    import yaml
ModuleNotFoundError: No module named 'yaml'

(see complete log above)
when I deploy the containers, the log of inventree-dev-server shows an alert after the system check :
You have 8 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): part, stock.                                                                    Run 'python manage.py migrate' to apply them.

note : I've upgraded my docker-compose to version 2.10.x, but I've got the same issue

note : I've upgraded my docker-compose to version 2.10.x, but I've got the same issue
edit : sorry I miss clicked on the close button....

@Bbillyben can you confirm what git commit hash you are running from?
From your log file, pyyaml is being installed. So this is strange. It may be because invoke is running from /usr/bin/python3.9/site-packages/invoke (as per the log) and does not have access to pyyaml which is installed within the virtual environment...
@matmair any thoughts here?

Hi @SchrodingersGat
the hash is : 23edd794312b5eea2e00878d2216150048747a4e

Did you completely rebuild your inventree-dev-server image? Depending on how old your previous image was, the base image might not have the required python packages.
e.g.
docker-compose build --no-cache

That was the issue.
I've rebuild and invoke the update, and seems everything has ran smooth ! (except a time out on my first try to rebuild)
And I was even able to import datas from another instance!

Glad you got it working. I'll add a note about this to the documentation.

I assumed that wipping all docker items will force image updating..

I think perhaps that cleans the container instances but not the images on which they are based? There are a lot of different things that can go "wrong" in an interesting way with docker :P


Monitor SFTP folder in realtime

Thank you for creating this amazing module. We use it every day in production with a wrapper script and different input files.
For uploading data in realtime, we simply use the class System.IO.FileSystemWatcher. When a file is created, this class sees it and triggers the SFTP script to upload the file.
For downloading in realtime, that's a bit of a different story. Do we need to create a loop to trigger the function Get-SFTPChildItem every 5 seconds? Or is there a better way to do this?
This also brings me to questions like: How long does a session stay open?

I believe that would be the only option, do not know of an API where it could be triggered from the other side. It depends on how the server is configured in terms of timeout


Vagrant file fix for ubuntu/trusty64

The reason I've opened this merge request is failed installation using Vagrant
With the original Vagrant file installation fails on "install" provision stage. Here is an output log:
==> default: Running provisioner: file...
==> default: Running provisioner: install (shell)...
    default: Running: inline script
==> default: ==============================================
==> default: Installing app dependencies
==> default: Fetching gem metadata from https://rubygems.org/
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: .
==> default: Fetching version metadata from https://rubygems.org/
==> default: .
==> default: .
==> default: Fetching dependency metadata from https://rubygems.org/
==> default: .
==> default: activesupport-5.0.1 requires ruby version >= 2.2.2, which is incompatible with
==> default: the current version, ruby 2.0.0p384
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

From the log above we can determine, that one of the "activesupport" gem requires
ruby version >= 2.2.2. That's why I've replaced "ruby2.0" and "ruby2.0-dev" packages
with "ruby2.2" and "ruby2.2-dev" in "bootstrap" provision scenario.
The second improvement affects running of web-server with "middleman" gem.
Looks like in new version, which is installed with bundle install command, different options syntax is used. So instead of
"--force-polling --latency=1" options I've added "--watcher-force-polling --watcher-latency=1" options (from middleman gem docs).
Looking forward to your review. Thanks!

This looks great, thanks!! Any chance you could resubmit this to the dev branch?

@lord Looks like Vagrant file in dev quite differs from one in master.
In dev branch Vagrant uses different OS image "debian/jessie64" and Ruby is compiled from source (version 2.4).
Should I assume that issue leading to my pull request is resolved in dev branch and close current pull request? Or should I reopen it for dev?

Hmm, that's right — I think the problem is technically fixed in dev, but it also involves compiling a fresh version of Ruby from scratch, instead of installing a pre-built binary. Does your solution use a pre-built binary? That might be preferable.

@lord Yes, it uses a pre-built version of Ruby from ppa:brightbox/ruby-ng, version 2.2.7

Prime! If you submit this updated Vagrantfile to the dev branch, I'd gladly accept!

@lord Done!

Thanks so much!


Russian (UTF-8) locale issue

My problem is that vim-plug isn't handling some locale issues - shows me unreadable output after installing/updating/cleaning a plugin, and I can't even configure it to solve them (for example - if that's a problem of git - how can I change git configuration with envs, if vim-plug just simply doesn't provide that kind of API).
Maybe it's Neovim's problem, but I don't quiet know, so I'm posting it here.
Screenshot of problem is here:

I think this is caused especially by "git", but, as I said, how can I configure it?
Btw, locale configs you can see by yourself at the right side of the screenshot.
P.S. If that's not vim-plug problem, let me know, I will go into NeoVim repo.
Any suggestions to how solve the problem will be really welcomed.

Version and info about my NeoVim:

Type:

[x] Bug
[x] Enhancement
[ ] Feature Request
[x] Question

OS:

[ ] All/Other
[ ] Linux
[ ] OS X
[x] Windows

Vim:

[ ] Terminal Vim
[ ] GVim
[x] Neovim (qt)

It seems It's problem of Neovim, should I go into Neovim as I said?

Where is russian locale set in the init.vim?
Sure, go to Neovim if you can create a minimal init.vim and environment prequisites to reproduce the issue. It's hard to debug the issue without more info on the environment.

let $LC_ALL="en_US.UTF-8"
language en_US.UTF-8
set enc=UTF-8
set shellcmdflag=/c\ chcp\ 437\ &\ cmd\ /s\ /c

call plug#begin("$LOCALAPPDATA/nvim-data/autoload/plugged")

source $LOCALAPPDATA/nvim/pluginlist.vim

call plug#end()

set clipboard=unnamed
set mouse=a
colorscheme gruvbox

my neovim conf

What's in pluginlist.vim?

What's in pluginlist.vim?

Plug... Plug... Plug. Nothing interesting

Why did you chcp 437?
https://github.com/junegunn/vim-plug/wiki/faq#cmdexe-console-and-garbled-unicode-characters


Calendar Component/DatePicker

Enhance the existing Calendar component, you can checkout from feature/calendar branch and move ahead to improve its ui

closing this issue,since some imporvement has been done and enough for next alpha release


Change default of info was not standardised throughout

Some bug fixes required after the default value was changed.
Another bug found in date format regular expression - was not accepting
2022-12-20 or 2022-12-10.
Let's

standardise default value of info
squish bug in edit command test cases
squish bug of date format regular expression

Should fix #66.

Codecov Report

Merging #67 (93a01b4) into master (12dec46) will decrease coverage by 0.67%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##             master      #67      +/-   ##
============================================
- Coverage     69.92%   69.24%   -0.68%
- Complexity      418      421       +3
============================================
  Files            75       75
  Lines          1383     1395      +12
  Branches        143      145       +2
============================================
- Hits            967      966       -1
- Misses          374      381       +7
- Partials         42       48       +6

Impacted Files
Coverage Δ

src/main/java/seedu/address/model/person/Info.java
70.00% <ø> (ø)

...n/java/seedu/address/model/person/PrevDateMet.java
72.72% <ø> (ø)

...c/main/java/seedu/address/model/person/Person.java
76.81% <25.00%> (-18.72%)
:arrow_down:

...java/seedu/address/logic/commands/EditCommand.java
97.56% <100.00%> (+0.33%)
:arrow_up:

.../java/seedu/address/model/util/SampleDataUtil.java
20.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Error with SSL Option

Hello,
i tried to start poxa with a SSL Port, but i get the following error:
Transport option {:enabled, true} unknown or invalid.
This is my config:
use Mix.Config

config :poxa,
  port: 8080,
  app_key: "123456789",
  app_secret: "987654321",
  app_id: "1",

  ssl: [enabled: true,
        port: 8443,
        cacertfile: "priv/ssl/server-ca.crt",
        certfile: "priv/ssl/server.crt",
        keyfile: "priv/ssl/server.key"]

Also non-ssl connections working perfectly.

Thanks for the bug report. I will investigate later today.

Cool I've found the issue! Thanks for the report. I will release a version soon with this change.


Add some tests to test PageStorageV3 IO limiter

Signed-off-by: jiaqizho<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref #3594
Problem Summary:
What is changed and how it works?

add some tests to test IO limiter in PageStorage V3

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/merge


update Docs req.

What does this PR do?
better updating required sphinx due to tags falier
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

we can use the stable once we have 0.6.1 released. but the 0.6 docs are horrible, so let's keep it with the latest which is a dramatic improvement


pub serve should show build errors in the browser

If you try to load an asset from pub serve that fails to build because of an error you see a fairly unhelpful 404 message. It would be much better if pub could remember which errors occurred for which assets and show them in its response.
When used form the Editor, the build error message can be lost in the quite verbose tools output, leading one to try to figure out why the Editor is getting a 404 for a file that's clearly present - you're editing it after all. This is a pretty bad overall user experience.

This issue has been moved to dart-lang/pub#1015.


Fixed #33328 - Transformed formset:added/removed as native JS events.

buildbot, test on selenium.

buildbot, test on selenium.

Thanks Carlton, I'll try to address those until the end of the week.

buildbot, test on selenium.

buildbot, test on selenium.


I couldn't find the latest version on gems .  Only find the version 1.64

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used
INSERT OUTPUT HERE

Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
# INSERT CONTENT HERE

Environment
fastlane version (fastlane -v):
Do you use bundler, rbenv or rvm?

@FlyingNoob Thanks for reaching out. What happens if you run 'gem update fastlane'?
Thanks!

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (493/400 (123%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:51441 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1bEKuW-002lzF-Hj
for<EMAIL_ADDRESS>Sat, 18 Jun 2016 20:24:04 +0200
Date: Sat, 18 Jun 2016 11:23:19 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1466274199;
bh=x8zImciotdJMbZb8ViFKxBirdF33oihnW+w/wvMt4hQ=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=LXzoujXG8U3ETgIXcUFRmlyXQKOEXqMlD8yRkSSVlkYJybMW4VxCs9PXpMBaU8juK
CQ2rg9al4oAZ6fLJxGGZt85R9KmDYUBpTNRwBWrtQ2bvNQAJHEB4yZ1g/RuulVZ3Gl
5xms4m8Zpt1pIRlMGso8sDoWLxemd/eZAZFri8uc=
From: fastlane bot<EMAIL_ADDRESS>Reply-To: fastlane/fastlane<EMAIL_ADDRESS>To: fastlane/fastlane<EMAIL_ADDRESS>Cc:
Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [fastlane/fastlane] I couldn't find the latest version on gems .
Only find the version 1.64 (#3991)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5765919736bff_58523fe93e43729c319610";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: fastlane-bot
X-GitHub-Recipient: yanndupuy
List-ID: fastlane/fastlane <fastlane.fastlane.github.com>
List-Archive: https://github.com/fastlane/fastlane
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3A0pcVgbEZknxdvqYSddcPrR0m0oks5qNDeXgaJpZM4H8WK6
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-4.1
X-Spam-Score: -40
X-Spam-Bar: ----
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Closed #3991. --- You are receiving this because you are subscribed
to this thread. Reply to this email directly or view it on GitHub: https://github.com/fastlane/fastlane/issues/3991#event-696785346
[...]
Content analysis details:   (-4.1 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 SPF_PASS               SPF: sender matches SPF record
0.0 HTML_MESSAGE           BODY: HTML included in message
1.0 HTML_IMAGE_ONLY_16     BODY: HTML: images with 1200-1600 bytes of words
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
X-Spam-Flag: NO
----==_mimepart_5765919736bff_58523fe93e43729c319610
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #3991.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/fastlane/fastlane/issues/3991#event-696785346
----==_mimepart_5765919736bff_58523fe93e43729c319610
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #3991.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5765919736bff_58523fe93e43729c319610--


[Bug]: Incorrectly interpreting a Python error as a success message

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Describe the bug and reproduction steps
https://github.com/user-attachments/assets/2df6b5ae-6dbc-403c-a167-cd40c87c78f3
OpenHands Installation
Docker command in README
OpenHands Version
0.15.2, from main
Operating System
WSL on Windows
Logs, Errors, Screenshots, and Additional Context
The error message is
Parameter `old_str` is required for command: str_replace.

Does it continue from there? This error only means that the LLM asked for a replace without giving the text to replace. Then the LLM will receive this error message, next step, and hopefully correct itself next time.
What LLM are you using?

https://github.com/user-attachments/assets/6dd3d26f-737b-4213-8023-94bef66d6563

Sorry, this looks like normal, intended behavior. The model will make mistakes. When it makes a mistake, like trying to execute a command without a required parameter (this 'old_str'), then the next step it will receive that information (the error message), and expected to figure out how to fix the problem.
That's what it says it will do "let's try again, by specifying the correct old_str parameter". This kind of error is caused by the model, and the model will be helped - and expected - to solve it in the next steps.

I see, then why is the icon next to the command result a :✅ instead of ❌?

OpenHands started fixing the issue! You can monitor the progress here.

A potential fix has been generated and a draft PR #5644 has been created. Please review the changes.

Same issue here:
Using Qwen Coder 14B using LM studio as backend

I have this issue as well regarding edit loops, it is either that they forgot some of the parameters, or worse the strings do not match the file, which makes substitutions harder. https://github.com/All-Hands-AI/OpenHands/issues/5310
And prompting them to just delete and rewrite the file is just as difficult. Imagine if they can substitute by line numbers or function/class/method. But then the issue is to make sure the substitution can handle varying line counts between the old and new, or that intended function changes can be handled well. Also refactoring would be a pain if there are name changes.
@CitroenGames have you tried the other models like Phi-3/Phi-4 and DeepSeek Coder?

I don't think we need the ability to instruct the agent to edit lines manually; we might as well click the "Open VS Code" and edit the file manually
The goal is rather to have a proper fix for the agent to parse the result from the Python code correctly

@avi12 it's like telling the agent to learn how to parse the file correctly, no matter Python or other languages. Yet this is very tricky when models like Qwen uses ... to skip code like a human writing tutorials. It's partially a prompting issue and partially a tool use issue.

I get what you're saying but in my POV I just want the agent to figure out stuff on its own, using the LLM, whether it's keeping a record of the file structure, reading many files to get a better context, etc
If I have to manually instruct the model what to do then it kinda loses the point IMHO

@avi12 yeah you are right, would be much better if it has self-instruction built in so it can correct itself and "learn". Hate how low compatibility is for some models that are good on theory and algo but bad in writing and comprehension.

I mean I can't really complain, it's a FOSS project
Cheaper than paying $500 for Devin

Getting stuck in a loop is a problem for many LLMs. In fact, to my knowledge only Anthropic appears to have solved it somehow, specially for Opus but Sonnet too, and I think even Haiku. Just about every other LLM gets weighted down by its own history at some point and gets stuck in a loop every once in a while. The next tokens end up the same every time: only a particular answer, the model responds with it over and over.
This happens with coding agents, but it also happens with multi-user dialogue, discord experiments, attempts at analysis of text etc. I've seen it everywhere there's a larger or more complex history than just a simple back and forth basically.
What openhands currently does about it, is to stop it (instead of going on and on until the maximum steps allowed!).
And we try to hand over to the user the ability to try to prompt it again, in the hope that it will be able to continue. Many LLMs might not able to anyway, or not without some lot of prompting.
Sorry for elaborating, this isn't really on topic here, we should probably make a new issue if you wish to discuss improvements on how we can handle the situation when the LLM gets stuck in a loop. It's really getting lost if it's in unrelated issues.
Back to the topic here, we can fix this icon. I haven't verified the openhands-agent's fix yet, will get to do that. Please note that it's just about web frontend display, it makes no difference to the agent.

@enyst have you seen DRY sampler as a replacement for repetition penalty yet? Not in OpenRouter yet but got a lot of good press, made by @p-e-w https://github.com/oobabooga/text-generation-webui/pull/5677
Besides that I would highly recommend checking out Dynamic Temperature and min_p by @kalomaze (see here https://github.com/All-Hands-AI/OpenHands/issues/5310#issuecomment-2547057356 ), but the issue is that sampler hacks requires upstream support, which is a tall order for proprietary models.
A more proper approach, other than just reliance on Open Weights hacking, is to create mechanism that forces the LLM to "get creative" and break out of established loops. Temperature in OpenHands are defaulted to 0 and I tried other params, need to run a larger set of test to see if alternative param pairs matter. Raising temperature based on attempt counter would be helpful.
But other than doing it on parameter side, we also should just get the LLM to observe previous attempts and make it do some introspection on how to avoid redoing bad solutions, and to learn from them a little. Exposing errors from tool usage, and throw in some prompt engineering regarding debug procedures, would help with this.


Check Intl config for inputPath

Checks for inputPath option in config/ember-intl.js.
I've also pulled in the change from https://github.com/simplabs/ember-intl-analyzer/pull/94 as I couldn't run the code without it.

out of curiosity, why are you using a different path?

We use bit to share and edit files between projects, store them (including our translations) under a subdirectory. This lets our front-end team make changes to our translation files during development, and keep those changes in sync for our back-end team without having to manage multiple npm repositories/releases.


Implement default-printer-id/default printer in ippserver

Implement the default printer functionality as defined in the current IPP System Service draft.

This was done a little while ago...


Document anatomy of a test framework plugin

Stuff that needs to be resolved:

https://github.com/TestArmada/magellan/issues/99

Done. Further improvements can be ticketed out as smaller issues


http-client-java, eng, bump npm packages

preparing a patch release, before https://github.com/microsoft/typespec/pull/4738/
both core and resource-manager got a patch bump

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Fix cmake

The CMake build errored, and upon fixing that, running it from Visual Studio didn't use the right working directory. This pull request fixes both of those things.

This breaks on Linux, the Debian glfw3 package has the binary as just libglfw.
Also I'm now breaking on Planet.h:28
	static const unsigned int chunkSize = 32;

which gives me some cryptic linker error.

Both of those should be fixed, I was able to compile it on Debian WSL.

LGTM


fix: should find service account token secret

This simplifies the search for a service account token secret.
Fixes https://github.com/maxgio92/proxy-kubeconfig-generator/issues/3
CC: @maxgio92

Thank you @erikgb!
LGTM


SmsListener.addListener  is not working on real device of android 12 but it's working on emulator.

Same code is working on emulator but it's not working on real device.
All the permissions are provided:
await PermissionsAndroid.request("android.permission.RECEIVE_SMS");
await PermissionsAndroid.request("android.permission.READ_SMS");
await PermissionsAndroid.request("android.permission.SEND_SMS");
await PermissionsAndroid.request("android.permission.READ_CALL_LOG");
await PermissionsAndroid.request("android.permission.READ_PHONE_STATE");
useEffect(() => {
console.log("Start SMS Listener")
let subscription = SmsListener.addListener((message) => {
console.log("Message", message);
setMessage(message);
});
return () => {
console.log("Stop SMS Listener")
subscription.remove();
};
}, []);
Please help me out.
Thanks.

Any news about his issue? Having same problem here... 🙁


Feature Suggestion: Patterns: Divider output triggers on first clock.

As discussed on the VCVRack forum.
Add an option -- context menu, or even better, per-divisor toggle -- to have the Nth divisor put out a trigger on the first clock pulse after reset.
In other words: consider the /4 output.

Yes please! An option for all divisions to fire on the 1 after a reset would be extremely helpful (and musical)
This would be true for 1Pattern as well.


[Open Folders] Folders show as some kind of template code instead of by name

Extension
https://www.raycast.com/timothy_boye/open-folders
Raycast Version
1.75.2
macOS Version
14.5
Description
My folders show up like this. I can only see the actual folder name in the status bar at bottom right. However, the folder icons are correct.

Steps To Reproduce
I just installed the extension and added folders to the speed dial.
Current Behaviour
Folder names appear to be template code instead of a rendered template.
Expected Behaviour
Actual folder names.

@jace @timothyBoye I created I PR https://github.com/raycast/extensions/pull/13196
But I'm not sure if everything is going well, because I can see

Maybe someone could help with that?

@jace @timothyBoye ok, I was able to fix the issue on the PR #13196 - waiting for approval

@raycastbot close this issue
Thanks for the fix, sorry I was not available to fix this.


chore: give user list of regions if they fail to specify one

🧭 What and Why
🎟 JIRA Ticket: N/A
Changes included:

Additional error logging when region not passed, list available regions

🧪 Test
N/A

I have provided the fixes to the other clients too in https://github.com/algolia/api-clients-automation/pull/916, wdyt of the syntax?


Fix(Style): Support rtl in statcard

Issue :- https://github.com/international-labour-organization/designsystem/issues/613
Problem

Currently the stat card cutout does not shift to the right when rtl is set.

Solution

Considered the right-to-left class to have the cornercut mixin with the appropriate side.

Development

Modified css by using the cornercut mixin inside the right-to-left class

@justintemps I used the [dir='rtl'] attribute selector as @bashlk suggested I might need your help on testing this out.

Hey @Shashika6 and @bashlk, let's merge this while we're working on #524

@justintemps I think we can merge this. Since we are going one component at a time with getting rid of .right-to-left, I think it would best to merge it as we go, rather than leaving all of these PRs open.

@bashlk and @Shashika6, it looks to me like the cornercut is still on the right of the card instead of the left?


Nil multi bulk

Hey Knut, this patch handles nil multi-bulk replies, such as you
might receive from an 'EXEC' cancelled due to a WATCH.

Cool, thanks!


[WebGL] MichelinePrim serialization is not working properly on WebGL

Definition
MichelinePrim might be causing issues with WebGL due to its use of certain .NET features that might not be fully supported in Unity's WebGL runtime, such as the complex binary serialization logic.
Screenshots

While trying to find the cause of #88, I noticed that WebGL build was not sending the view_items_on_market request.

To debug this, I added some Debug Logs in PostJson method.

When using MichelinPrim as an input, an exception being thrown at this line, blocks the request from being sent.

When using "{\"prim\": \"Unit\"}" as an input instead of MichelinePrim, it gets serialized successfully and the request being sent. But the response from the server gives an error.

What are your thoughts on this?
May be related to #63 as well.


Feat/bld 56636 journey action maps

Few tests are failing because update Go SDK is mandatory for this PR. Go SDK has omitempty tags on Optional fields too in platformclientv2 struct. This prevents to delete/remove properties using the Genesys public-api-v2 behind because we are not able to send in null as field value. Currently impacted structs: Patchactionmap, Patchaction and Patchactionmapschedulegroups.

This PR finally received the required SDK updates/fixes, now all tests for new code is green.

Please execute final review and merge the PR if you find it OK. Thanks!

Awesome.  Will do.  Thanks for the patience Istvan.

Hey @istvan-bihari-genesys ! If you don't mind, could you edit your PR to merge into this branch - BLD-56636 ? It's just an exact copy of main. This way we can see how the pipeline tests go before the final merge. Thanks!

I updated the base branch from main toBLD-56636, I hope you mind this. I have no other permission on https://github.com/MyPureCloud/terraform-provider-genesyscloud.


Consider posting back plain form data instead of the AST

Right now we don't include any extra information in the AST sent back from the form on the page that isn't already in the form's own definition on the server-side.
Could we consider just posting plain HTML form elements instead?
Things we'd need to handle:

A convention for holding the array of objects within the many elements
A way to coerce types back on the server

We could, though I think it’d be conceptually neater to have it as an aside to the main set of inputs. It could be another form renderer that just takes the AST and outputs correctly named hidden inputs with their values.

Dear @makenosound,

We could, though I think it’d be conceptually neater to have it as an aside to the main set of inputs.

Yep, this is fair enough.

It could be another form renderer that just takes the AST and outputs correctly named hidden inputs with their values.

Is your thinking here that this would be a separate component within the current form renderer that you're building now, basically something to handle adding data to the eventual form post based on the AST (as opposed to handling the display of UI based on the AST)?
If so, I think that would be great. We'll just have to have a discussion about what conventions to pick to shim e.g. arrays of objects into the form data.
Let me know what you think :)

Is your thinking here that this would be a separate component within the current form renderer

Yeah, something like that. There are a couple of different ways to approach it I think, we could either:

Have a totally separate form renderer that is only responsible for rendering hidden inputs. You’d have it subscribe to changes in the visible form AST and then clobber its state each time.

Downside here is that you’re duplicating the state, and you need to have the visible inputs sit outside <form> probably.

Have some way of passing in a little extra rendered context to the react-standard renderer so the main visible form can have those hidden inputs sit side-by-side with the visible ones. Downside is just that it’s messier.

Seems like (1) is definitely cleaner. I wonder if we could do it on the form's submit event (i.e. just in time), so it's a one-off operation and doesn't need to subscribe to changes?
I do wonder whether we really need this, but it's true that there's absolutely nothing in the returned AST right now that we don't already know from the form's server-side definition, so it really is about just wanting the keys/values. And having them returned as a conventional HTML form post would give us more flexibility to use them on the server (and an established convention for doing this would help with non JS-heavy renderers later).
That said, I think this is not critical for our MVP, since we already have things working with the AST submission.

I wonder if we could do it on the form's submit event (i.e. just in time), so it's a one-off operation and doesn't need to subscribe to changes?

Yeah, good idea, that’s totally possible.

From @solnic's feedback, sounds like we should try and make this happen reasonably soon. Once our apps’ operation objects are using formalist form objects directly, their input data is then required to match the form object's input data, and if that is a crazy-large AST-as-json, it becomes pretty awkward to work with those objects in isolation, like in tests. And ease of testing is a bit part of why we have them as standalone operations.

@timriley Yeah, I don’t think this would be particularly hard — happy to take a look at today.

Cool, thanks @makenosound.

@makenosound has done this an it is excellent!


enrich the documentation

[Enter feedback here]
Hi, could You please enrich the documentation for the "Salesforce as as sink" part - include the example or just provide info how to reference the related object, as the solution i was looking for several days and found in one of the forums here:
https://stackoverflow.com/questions/53623673/azure-datafactory-upload-to-salesforce-and-reference-field-on-another-object

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

ID: df56c0c4-ac20-76e5-3f99-7e5ed9c2d726
Version Independent ID: 8b224227-1cf7-6fa7-4bee-24d243509e45
Content: Copy data from and to Salesforce - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/connector-salesforce.md
Service: data-factory
Sub-service: data-movement
GitHub Login: @jianleishen
Microsoft Alias: jianleishen

@zbisfr
Thanks for your feedback! We will investigate and update as appropriate.

@zbisfr
We are going to close this thread, if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


no module named parse

Traceback (most recent call last):
  File "/home/krishna/VirtualPy/bin/http", line 11, in <module>
    sys.exit(main())
  File "/home/krishna/VirtualPy/lib/python2.7/site-packages/httpie/core.py", line 77, in main
    plugin_manager.load_installed_plugins()
  File "/home/krishna/VirtualPy/lib/python2.7/site-packages/httpie/plugins/manager.py", line 30, in load_installed_plugins
    plugin = entry_point.load()
  File "/home/krishna/VirtualPy/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in load
    return self.resolve()
  File "/home/krishna/VirtualPy/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2241, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/home/krishna/VirtualPy/lib/python2.7/site-packages/httpie_token_auth.py", line 6, in <module>
    from urllib.parse import urlsplit
ImportError: No module named parse

When using auth-type the above error was displayed, I had installed it using pip

The problem that you are using HTTPie with this plugin with default python 2. I suppose, that this is Ubuntu, where default python is 2.7 now.
You can patch this plugin. Locate httpie_token_auth.py file (/home/krishna/VirtualPy/lib/python2.7/site-packages/httpie_token_auth.py). And change in line 7:
from urllib.parse import urlsplit
to
try:
    from urllib.parse import urlsplit
except ImportError:
    from urlparse import urlsplit

This change should make this plugin works with python 2.

thank you

The problem here is not with this plugin, but with version in PIP (https://pypi.python.org/pypi/httpie-token-auth). It's not this one, but version from here https://github.com/chillaranand/httpie-token-auth When you install this plugin with pip install httpie-token-auth, you install completely different package.


Attachment's file extension overwritten by resource's invalid extension

Simple Java Mail tries to use the extension found in the resource name over the provided name. This is to find possible missing or invalid extensions provided manually by looking at the resource itself.
However, this contains a bug where the given extension is overwritten even if the resource's extension is not really an extension at all, in some URL for example:
URL url = new URL("https://booking.skypicker.com/api/v0.1/get_file/1234?file_id=1234&simple_token=abcd1234");
		URLDataSource resource = new URLDataSource(url);
		Email email = EmailBuilder.startingBlank()
				(..)
				.withAttachment("invoice.pdf", resource)
				.buildEmail();

Because of this bug, the invoice.pdf filename is replaced with invoice.pdf.1/get_file/1234?file_id=1234&simple_token=abcd1234.
The current solution is not as smart as realizing .1+rest is not an extension, but it should be smart enough to understand the given filename already has an extension.

Released in 6.0.0-rc1.


AH should be able to delete a management consideration

Expected option/behavior for existing management considerations:

[ ] option visible to delete an consideration (image #15)
[ ] selecting the option opens confirmation screen
[ ] if confirmation given then consideration is deleted
[ ] if confirmation cancelled then return to RUP screen

@calebissharp @mccullochk Thinking the same considerations here as for #297 and assuming you guys are discussing whether this is a this sprint or wait until versioning stuff thing.


[chef-server-ctl] Fix rabbitmq fail on first reconfigure

Description
As described in issue #1690, the first run of chef-server-ctl reconfigure fails with a timeout at the very end of run, when executing delayed restarts:
STDOUT: timeout: run: /opt/opscode/service/rabbitmq: (pid 7674) 68s

Successive runs of reconfigure work fine.
This appears to be a problem buried deep inside the rabbitmq restart logic; we weren't able to make much progress with the root cause.
As an experiment were replacing the restart action on the rabbitmq service with stop, then start actions.
If this doesn't work, a few other options suggest themselves.
We can add a execute block with default action nothing that aggressively shuts down rabbitmq (normal shutdown followed by pkill if that doesn't work), then waits, then starts up rabbitmq again. Instead of sending a restart action (or the stop/start here) we send the execute action to this block.
The sv_timeout parameter might also be used to lengthen the timeout before we fail. However that seems less than ideal if we're really stuck; we could just hang longer before failing.
See also:
https://wiki.openstack.org/wiki/OpsGuide-Maintenance-RabbitMQ#RabbitMQ_service_hangs
Issues Resolved
#1690
Check List

[ ] New functionality includes tests
[ ] All tests pass
[ ] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

This seems to fix the issue when run locally, but needs wider testing

https://buildkite.com/chef/chef-chef-server-master-omnibus-adhoc/builds/255#7385705e-e2b5-4912-a326-0e7b2d5c0e3d


[SMALLFIX]Static imports for standard test utilities

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/16803/
Test FAILed.

Merged build finished. Test FAILed.


Markdown Node only updated on Full Deploy

Description
If a markdown node is deployed, then edited, but not a Full deploy, the node isn't reloaded.  Node isn't flagged for an edit.
Switching to Full Deploy works, but not for Modified Nodes or Modified Flows.
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate

We experienced something similar, however not just with the markdown node (button node, notification node had same problem). Starting a fresh NodeRED instance and porting\rebuilding the flow solved this for us.


feat: ignore toolchains inside lake-packages

Toolchains inside lake-packages are newer used. Therefore the tool should ignore these folders.

Thanks! I've merged this by hand.


What if you want to change the CSS of another element when hovering on an element?

Describe the feature request
example

hover element
 // < -hover

target element
 // <- change color

This is not currently possible. The feature is being considered right now. You can use Javascript to work around the problem.
This limitation is explicitly documented, so closing this issue.


Hive connector does not preserve tailing space in column name

CREATE TABLE t("a " varchar);

SELECT "a " FROM t

-- column not found

trimResults in HiveUtil is the cause as far as I tested.
https://github.com/prestosql/presto/blob/dc59397753dc569b49ee8940824929502b189821/presto-hive/src/main/java/io/prestosql/plugin/hive/util/HiveUtil.java#L193

Is this something that Hive supports?  If does it support leading spaces also?
Since Hive is using a comma separated list for column names, and I believe it has no support for escaping, my guess is they never intended to support leading/trailing spaces.

Is this something that Hive supports? If does it support leading spaces also?

Yes, I think so if "support" means "valid" regardless of their intent.
The following are column names @findepi added tests recently.
https://github.com/prestosql/presto/blob/7fa92370bed82e05914f746325be41cce5decfd0/presto-testing/src/main/java/io/prestosql/testing/AbstractTestDistributedQueries.java#L1294-L1317

As noted in https://github.com/prestosql/presto/pull/3510#issuecomment-618926807
Hive seems not to support this fully.
We should reject leading/trailing space and commas (https://github.com/prestosql/presto/issues/3537) as impossible names.

https://github.com/prestosql/presto/pull/4666


Correctly patch HTTPConnection.request for Python 3.6

Fixing issue https://github.com/pricingassistant/mrq/issues/183

thanks!


Wrong error message when setData is called to a node that doesn't exist

I got a wrong error message - duplicateID error when setData was called.
Here's my source code:
Treeful.addNode('cart');
Treeful.setData('text', 'hi');

and here's my console log:

The source code was part of a constructor function in a react component:
import React, { Component } from 'react';
import Treeful from 'treeful';

class App extends Component {
    constructor(props) {
        super(props);
        Treeful.addNode('cart');
        Treeful.setData('text', 'hi');
    }

And I was able to see that constructor function was getting called twice in this case. This is not a bug from Treeful, since it does try to throw a correct error message, React Component is instantiating beforehand and thus ends up calling addNode twice.
And as a best practice, a user should never call setData function right after addNode. Instead if you already know what the data is going to be, simply use addNode('nodeName', data) in the first place.

In fact, this error was occuring only when the above code was inside constructor function of a React Component:
import React, { Component } from 'react';
import Treeful from 'treeful;

class App extends Component {
    constructor(props) {
        super(props);
        Treeful.addNode('cart');
        Treeful.setData('text', 'hi');
    }

I have observed that the error was caused due to constructor function getting called twice. This is not a bug from Treeful, since React Component re-instantiates itself before Treeful throwing a proper error message. Thus, Treeful ends up calling same addNode function twice, throwing duplicateID error.
And as a best practice, user should never call setData right after addNode. If user already knows initial data of a node, addNode('nodeName', data) should be used instead.


Issue/5386 embedded entity composer (#5387)

Pull request opened by the merge tool on behalf of #5387

Merged in 0c0005a1e45131b54f90971fb38d26c9b71f679b


number_between for integers returns doubles from time to time

Describe the bug
This is a regression issue. It's not reproduced on 2.4.11, but reproduced from time to time on 2.4.2. Most likely it is caused by this commit: https://github.com/datafaker-net/datafaker/commit/f073184da3b743e4cc0faa05d540196baa99ac89.
To Reproduce
import net.datafaker.Faker;

public class Main
{
    public static void main(String[] args)
    {
        Faker faker = new Faker();
        String result = faker.expression("#{number.number_between '1000','1000'}");
        System.out.printf(result);
    }
}

Expected behavior
The result should be '1000', but it is '1000.0' from time to time.
Versions:

OS: any
JDK: no correlation detected
Faker Version: 2.4.2

Additional context
The methods order is preserved when they are returned from class: https://github.com/datafaker-net/datafaker/blob/abdecbc048b2c26c766d91edbf32ff954073f2d4/src/main/java/net/datafaker/service/FakeValuesService.java#L964
But then they are stored in HashMap with unpredictable order: https://github.com/datafaker-net/datafaker/blob/abdecbc048b2c26c766d91edbf32ff954073f2d4/src/main/java/net/datafaker/service/FakeValuesService.java#L966
I see 2 possible solutions:

rely on method order in the class and use ordered collections to keep sequence - fragile
improve the algorithm to distinguish double-s vs long-s vs int-s, and search for the method in priority starting from best matching type: e.g. 10 -> int,<PHONE_NUMBER>0 -> long, 10.0 -> double

Doubles are numbers right?

https://github.com/datafaker-net/datafaker/pull/1392

Ok, so no issue?

I mean I guess we (or someone) could introduce integerBetween, longBetween, doubleBetween if that helps.

May I ask why it's needed?
We already have such methods:
int a = faker.number().numberBetween(int, int);
double b = faker.number().numberBetween(double, double);
long c = faker.number().numberBetween(long, long);

I guess it isn't, I hadn't looked 🙄

I mean I guess we (or someone) could introduce integerBetween, longBetween, doubleBetween if that helps.

May I ask why it's needed? We already have such methods:
int a = faker.number().numberBetween(int, int);
double b = faker.number().numberBetween(double, double);
long c = faker.number().numberBetween(long, long);

When string representation of expression is evaluated, the incorrect method from this list is invoked from time to time, e.g.:
faker.expression("#{number.number_between '1','10'}");

may result in 2.9189383404296914.
This is a regression in 2.4.2.

i guess the reason is changed behavior
logically it might be still correct since a number is between boundaries
however it might be a breaking change.
The root cause seems to be that
expressions like
faker.expression("#{number.number_between '1','10'}");

under the hood use reflections. So from this #{number.number_between '1','10'} it finds a class and a method based on name and a number of args.
The problem is that if before the mentioned change there were 2 methods matching this like
int a = faker.number().numberBetween(int, int);
long c = faker.number().numberBetween(long, long);

now there is a new one since it doesn't check for types.
IMHO it seems to be a breaking change.

Hi all, I did this on purpose since decimals are numbers too, and the contract for the original method was never integers only. If you want that, make a new method which returns whole numbers only.
I don't see this as a breaking change, though I can see that this might give some unexpected results, but the behavior of the method was never well defined.
I don't want to introduce a method which has a deviating name for doubles, but I see no reason why number_between (1,4) could not return 2.5

improve the algorithm to distinguish double-s vs long-s vs int-s, and search for the method in priority starting from best matching type: e.g. 10 -> int,<PHONE_NUMBER>0 -> long, 10.0 -> double

@bodiam what about this proposal?

I don't see this as a breaking change,

here it is a definition of breaking change from wiktionary https://en.wiktionary.org/wiki/breaking_change

A change in one part of a software system that potentially causes other components to fail; occurs most often in shared libraries of code used by multiple applications.

and it matches this case
regarding

improve the algorithm to distinguish double-s vs long-s vs int-s, and search for the method in priority starting from best matching type: e.g. 10 -> int,<PHONE_NUMBER>0 -> long, 10.0 -> double

I have a slightly different suggestion.
Need to go into code to be more precised however IIRC the args should be parsed first before passing to the method. It means that if we parse them then we know there type. If we know there type we could use this knowledge to filter the required method

improve the algorithm to distinguish double-s vs long-s vs int-s, and search for the method in priority starting from best matching type: e.g. 10 -> int,<PHONE_NUMBER>0 -> long, 10.0 -> double

@bodiam what about this proposal?

Sorry, I don't understand what you mean.

I don't see this as a breaking change,

here it is a definition of breaking change from wiktionary https://en.wiktionary.org/wiki/breaking_change

A change in one part of a software system that potentially causes other components to fail; occurs most often in shared libraries of code used by multiple applications.

and it matches this case.

It's the most ambiguous definition I've seen. If we add a method to Datafaker, and my system is depending on the number of methods in Datafaker, so it "potentially" causes other components to fail, it would make adding a method a breaking change.
The method here was always supposed to return numbers. It's still returning numbers. So, no breaking change. Maybe the original method was returning only numbers between -100 and +100, and I changed it to -1000 to +1000. It might break a system here or there, but that's not really the fault of Datafaker: it's a bad idea to depend on the implementation of the method instead of the contract, and no contracts have changed.

Moreover we have this case covered in tests, however seems while review it was missed that the tests were changed as well. So the behavior of expression was well defined in tests in this line f073184#diff-d867ad35f7992df4ac0dfe8d5e0195ec106d0cf5dd951c36a56fc3022faddc8eR165.

I don't see what is missed here. I explicitly added this. I'm really surprised we're having a discussion on what a number is really. I was hoping we could all agree that 1.5 is a number, just as 2 or 3 is, so really not sure why we're having this discussion.

faker.expression("#{number.number_between '1','10'}");

Introduce faker.expression("#{number.whole_number_between '1','10'}"); instead?

what about faker.expression("#{number.number_between '1','10', '2'}"); <- where '2' is the
precision - the number of digits after the floating point?
in the same way for java:
int i = faker.number().numberBetween(int, int);
double d1 = faker.number().numberBetween(double, double);
double d2 = faker.number().numberBetween(double, double, int);
long l = faker.number().numberBetween(long, long);

how do you make it returning only 2 digits for double ?

If you're going to do something like that I think you may as well use the regexify functionality.

how do you make it returning only 2 digits for double ?

For now faker.expression("#{number.number_between '1','10'}"); may generate the number like 2.9189383404296914, while with precision '2' it could be 2.91

@valfirst
If you're going to do something like that I think you may as well use the regexify functionality.

could you please share example, how regexify can be used to generate a number from 1 to 100?

For now faker.expression("#{number.number_between '1','10'}"); may generate the number like 2.9189383404296914, while with precision '2' it could be 2.91

faker.expression just invokes the method it found in expression and returns the toString result. It doesn't have any knowledge about it's return type of the method it invokes since for different use cases it could be different.

could you please share example, how regexify can be used to generate a number from 1 to 100?

Sorry I should have said numerify not regexify, but anyway:
    @RepeatedTest(100)
    void temp() {
        System.out.println(faker.numerify("#".repeat(faker.number().numberBetween(1, 3))));
    }

If you want to ensure no leading zero, or simply zero:
    @RepeatedTest(100)
    void temp() {
        int digits = faker.number().numberBetween(1,34);
        String pattern = digits == 1 ? "Ø" : "Ø" + "#".repeat(digits - 1);
        System.out.println(faker.numerify(pattern));
    }

@valfirst
I think this should made every participant of this issue discussion more or less happy
https://github.com/datafaker-net/datafaker/pull/1465

@valfirst I think this should made every participant of this issue discussion more or less happy #1465
can you please test your case with this update?

I've tested the changes locally, everything works fine now. I greatly appreciate your help and dedication.

I'm not convinced about this. I haven't changed my fact that 1.5 is a number between 1 and 2. This PR is not changing that.
I forgot why I added it for the expression test, it actually may have been a side effect  of adding the double method, so I doubt it's going to affect me (or anyone) in reality.
So I'll go with the majority vote :)

I haven't changed my fact that 1.5 is a number between 1 and 2.

nobody was trying to make you changing this
however apart from regular math there is also type system (not only java specific)
if you try to execute the code
for (int i = 0; i < $PUT_YOUR_NUMBER_HERE$; i++) {
    System.out.println(faker.number().numberBetween(1, 2));
}

you will never get 1.5 or any other number with fractional part
this happens because of Narrowing Primitive Conversion mentioned in chapter 5 of JLS
If you want to have anything with fractional part you need to say explicitly that your args are double like
for (int i = 0; i < $PUT_YOUR_NUMBER_HERE$; i++) {
    System.out.println(faker.number().numberBetween(1.0, 2));
}

similar approach is applied in this PR


add FNM_DOTMATCH to Dir.glob call, fix issue #19

Just changes
Dir.glob("**/*")

to
Dir.glob("**/*",File::FNM_DOTMATCH)

which causes the script to iterate over all hidden files and thus fixes the .travis problem.

Nevermind, this was fixed since I last pulled from master! Sorry!


Validate VDOM Using JSON Schema

The JSON schema from the docs should be used to validate VDOM returned by layouts. We can add it to the tests and create a mock the wraps the layout's render function so that it validates every output.

We're using JSON patch now so no need to check diffing schema. Could still use this to check the VDOM spec though.


Removing last browbeat reference

Need to s/browbeat/stockpile.
Also provided hosts file example
fixes #7

LGTM perfect


[Feature] Move block hash types to alloy-eips

Component
consensus, eips, genesis, rpc
Describe the feature you would like
https://github.com/alloy-rs/alloy/blob/4d77029ba61284a6b4185f46581b4d9bce34f5fd/crates/rpc-types/src/eth/block.rs#L483-L483
and
https://github.com/alloy-rs/alloy/blob/4d77029ba61284a6b4185f46581b4d9bce34f5fd/crates/rpc-types/src/eth/block.rs#L429-L429
are commonly used types. Currently they reside in rpc-types, importing the entire rpc-types crate just for these types is very inconvenient.
we already moved the EIP-1898 related types to alloy-eips,
It would make more sense to move those types there as well and then re-export from rpc-types just as BlockId
https://github.com/alloy-rs/alloy/blob/4d77029ba61284a6b4185f46581b4d9bce34f5fd/crates/rpc-types/src/eth/block.rs#L6-L8
Additional context
No response

can I take this one?

sure, just assigned to you :)

@lakshya-sky bonus points for impl DIsplay for blockNumHash as well


[gui error report] Error: ipfs daemon failed to start and produced no output (see error.log

👉 Please describe what you were doing when this error happened.
Specifications

OS: win32
IPFS Desktop Version: 0.20.5
Electron Version: 18.0.3
Chrome Version: 100.0.4896.75

Error
Error: ipfs daemon failed to start and produced no output (see error.log for details)
    at errorTemplate (C:\Users\aandr\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:78:49)
    at loadWindow (C:\Users\aandr\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:115:26)
    at module.exports (C:\Users\aandr\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\migration-prompt.js:120:3)
    at startIpfsWithLogs (C:\Users\aandr\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:165:9)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (C:\Users\aandr\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\daemon.js:190:17)
    at async startIpfs (C:\Users\aandr\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:46:17)
    at async restartIpfs (C:\Users\aandr\AppData\Local\Programs\IPFS Desktop\resources\app.asar\src\daemon\index.js:100:5)
    at async Object.restartIpfs (C:\Users\aandr\AppData%5

Hello @HODLHearts! Please check the instructions on what to do in case this error happens: https://github.com/ipfs/ipfs-desktop#i-got-a-repolock-error-how-do-i-resolve-this. It should be fixed afterwards!

I had to reinstall IPFS after a BIOS update. All good!
On Thu, May 19, 2022 at 7:07 AM Henrique Dias @.***>
wrote:

Hi @HODLHearts https://github.com/HODLHearts! It looks like the IPFS
daemon failed to start. As the error says, the daemon didn't produce any
output, so it'd be great to see if there's any information in the logs. The
logs location is described here:
https://github.com/ipfs/ipfs-desktop#where-are-my-ipfs-configuration-and-log-files
Please share the logs if possible so we can see what is actually happening.
—
Reply to this email directly, view it on GitHub
https://github.com/ipfs/ipfs-desktop/issues/2134#issuecomment-1131739750,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXVBVLN62KNTUMA6YKDOYLTVKZDJ3ANCNFSM5VS762TQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Server Side Blazor support fallback to other protocols

It would be very nice to have Server Side Blazor implement fallback to other SignalR protocols (SSE, lp...) when a websockets connection cannot be established.
This is actually almost always the case when deploying in Enterprise environment, websockets connection are very seldom established because of the proxies and firewalls implemented.

Does this mean that if your IIS Server or browser doesn't support WebSockets then Razor Components won't work??
I just downloaded the latest Preview 3, and made a Razor Components solution... after publishing it to my local IIS the interactivity in the Counter page doesn't work at all.  It seems it only works with websocket enabled.
If this is the case then it's very bad news for me,  since I wanted to deploy a small razor components app to my company's server which is a 2008 R2 which as far as I know,  it won't support never WebSockets =( =( =( =(
Also I remember (almost sure) that it worked fine in previous versions using longpolling, did this break in the latest preview 3?
Thank you

@anurse isn't SignalR connection automatically handle this?

They might be hitting other problems https://github.com/aspnet/AspNetCore/issues/8384

@anurse doesn't SignalR connection automatically handle this?

Yes, SignalR should be doing this automatically. If we fail to connect to the WebSocket endpoint from the client it should automatically fall back through the other transports. I don't know how/if Razor Components has configured SignalR to know for sure if something is interfering with that. It's also possible it is falling back and some other issue is occurring (as @BrennanConroy) referenced.
Getting more logs from the client might help show us what is happening (i.e. if SignalR is trying to fallback or if something is going wrong in that logic). We just posted a new article on Logging and diagnostics in SignalR with information on how to collect more detailed logs that may help identify issues (again, this applies to SignalR, not sure how these config options can be flowed through to Razor Components since they create the HubConnectionBuilder.
@mkArtakMSFT it might help to have a doc describing how to collect this kind of diagnostic information in Razor Components (possibly referencing the SignalR one I linked and just expanding on the Razor Components stuff) since these issues can be quite common and generally require a little more logging/diagnostic information to diagnose.

Actually my issue is quite old (Jan 22) and it might be that other previews worked with fallback, didnt have time to check. This morning i took some time to check. IIS with websockets working as expected. if i uninstall websocket protocol from IIS the UI is not even shown in the browser .
Looking at the network tab you can see it does negotiate protocols
{connectionId: "GRne4_Dm5hYP4eMBpo0j7w",…}
availableTransports: [{transport: "ServerSentEvents", transferFormats: ["Text"]},…]
connectionId: "GRne4_Dm5hYP4eMBpo0j7w"
But it doesnt work.
Last autumn I was eager to see how it worked and i had to install Telerik Fiddler to understand what a "websockets tunnel" is. So if it uses websockets tunnel it'd work only with websockets i thought. Having some experience in deploying signalr apps in enterprise scenarios i know websockets can be impossibile to obtain (not that they dont install it on IIS, problems are from proxies, firewalls and so on, i am no networking expert but network folks arent good listeners, lets put it like that :) )

Thanks @anurse. We plan to address exposing SignalR hub configuration as part of https://github.com/aspnet/AspNetCore/issues/8277
Seems like without a way to configure those options we won't be able to move forward here. So marking this investigation as blocked until we figure out how we expose the configuration options for the Hub.
@rynowak if you have any suggestion here which can unblock this investigation earlier, please share.

One note is that the issue you linked is for configuring hub options on the server. In this case you'd need to provide a way to configure the JavaScript client connection options to produce more logging.

I see. @pranavkm, @javiercn do we have a way for configuring SinglarR Javascript client?

Not as yet. Although we could cover it as part of - https://github.com/aspnet/AspNetCore/issues/6887

This should be fixed now by https://github.com/aspnet/AspNetCore/issues/8679.


HttpConversionUtils avoid intermediate collection allocation

Modifications:
HttpConversionUtil#toLowercaseMap requires an intermediate List to be allocated. This can be avoided with the recently added value iterator methods.
Modifications:

Use HttpHeaders#valueCharSequenceIterator instead of getAll

Result:
Less intermediate object allocation and copying.

@mosesn - PTAL

4.1 (a3e41ba6eb)


llama2 70B OOM on tinybox without casting weight from bf16 to float16

tinybox HSA supports bf16 buffer, so we can use the bfloat16 weight and don't need
https://github.com/tinygrad/tinygrad/blob/639bd5dbfcef4e329b6fbba2de571c8cf70ee95b/examples/llama.py#L179-L180
commenting that out,
python3 examples/llama.py --gen 2 --size 7B --shard 6 --prompt "Hello." --count 10 --temperature 0  --timing runs without issue.
but running 70B with
python3 examples/llama.py --gen 2 --size 70B --shard 6 --prompt "Hello." --count 10 --temperature 0  --timing
failed with
RuntimeError: HSA Error 4104: HSA_STATUS_ERROR_OUT_OF_RESOURCES: The runtime failed to allocate the necessary resources. This error may also occur when the core runtime library needs to spawn threads or create internal OS-specific events.

oh i think it's the random. For bf16 rand we first generate float32 rand then cast to bfloat16 on device. Will fix after threefry


Update cabal-install

Tool information

Tool name: cabal-install
Add or update?  Update
Desired version: <IP_ADDRESS>
Approximate size:

Area for Triage:

Haskell
Question, Bug, or Feature?:
Bug
Virtual environments affected

[x] Ubuntu 16.04
[x] Ubuntu 18.04
[x] Ubuntu 20.04
[ ] macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Can this tool be installed during the build?

Tool installation time in runtime

Are you willing to submit a PR?

Probably
Details:
The problem is that the latest version (<IP_ADDRESS>) of cabal-install in hvr's ppa is a prerelease (RC4) but haskell-setup defaults latest to <IP_ADDRESS>.  So with either cabal-version: 3.2 or without one gets the warning:
  Warning: cabal <IP_ADDRESS> was not found in the cache. It will be downloaded.
  If this is unexpected, please check if version <IP_ADDRESS> is pre-installed.
  The list of pre-installed versions is available here: https://help.github.com/en/actions/reference/software-installed-on-github-hosted-runners
  The above list follows a common haskell convention that the two latest major releases of cabal are commonly supported.
  If the list is outdated, please file an issue here: https://github.com/actions/virtual-environments
  by using the appropriate tool request template: https://github.com/actions/virtual-environments/issues/new/choose
  Attempting to install cabal-install 3.2 using apt-get

Admittedly cabal-install-3.4 should be released RSN but the RC's have already been out for months: maybe they are waiting for ghc 9.0 to be released, I dunno?
My suggestion is to override cabal-install to install <IP_ADDRESS> in the image and wait for 3.4 to be released but changing it back.
I mean here: https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/haskell.sh#L29
It is lucky that the ppa does not have a ghc-9.0 pre-release build yet. ;-)
Actually even ghc-8.10.3 is rather on the new side: Stackage LTS is still on 8.8.4.
I could open a haskell/actions ticket too to confirm about cabal-install.

To add to this: I don't feel the solution taken in https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/haskell.sh is good - it is not really safe to assume that the latest version of ghc or cabal-install is always stable.
So in my opinion it would be better to hard-code it for now, at least until a better solution can be found.
Basically the latest versions defined by haskell/actions should be used.

To add to this: I don't feel the solution taken in https://github.com/actions/virtual-environments/blob/main/images/linux/scripts/installers/haskell.sh is good - it is not really safe to assume that the latest version of ghc or cabal-install is always stable.
So in my opinion it would be better to hard-code it for now, at least until a better solution can be found.
Basically the latest versions defined by haskell/actions should be used.

We have updated Cabal installation on Ubuntu and now it installs via GHCup. Images with changes will be rolled out around next week.

@juhp we have deployed Ubuntu images with Cabal <IP_ADDRESS>, thanks for your proposal!
I'm going to close the issue, please feel free to contact us if you have any concerns.

Thank you looking forward to test this.
In the meantime ghc-9.0.1 was released and I believe I saw it is already getting pulled in too :-(


fix: specify UTF-8 explicitly when loading json

What changed

Fixed #23
Specify UTF-8 explicitly when loading json

Evidence
I have confirmed that it does not reproduce in the reproduction environment as follows.
C:\Users\fukusuke>python
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun  7 2023, 05:45:37) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pytaxonomies import Taxonomies
>>> taxonomies = Taxonomies()
>>> print(list(taxonomies.get('enisa').keys()))
['physical-attack', 'unintentional-damage', 'disaster', 'failures-malfunction', 'outages', 'eavesdropping-interception-hijacking', 'legal', 'nefarious-activity-abuse']
>>>

I would appreciate it if you could review.
Regards,

Thank you!

Thank you for merging :)


Create an editorconfig file

Is your feature request related to a problem? Please describe.
Considering we are open source, it seems to me like a good idea to include an .editorconfig file so it's easier for us and other contributors to adhere to coding style. I'm opening this issue to start the discussion regarding what conventions we want in our project. Here is one we could start the discussions around. What do we like, what do we want to change?
What area is it related to
Source
Describe the solution you'd like
Include an EditorConfig in the solution
Describe alternatives you've considered
Resharper config. EditorConfig doesn't depend on Resharper, and there is a VSCode extension available
Additional context
Add any other context or screenshots about the feature request here.

Few things to note: Existing files are not reformatted, so all changes the editorconfig would apply in new files are not shown in the draft PR. I think I'll run one of the tools mentioned here to really show the changes.

https://github.com/dotnet/roslyn/blob/master/.editorconfig
Here is the editorconfig used by roslyn.

Sadly the new cool tool dotnet format won't apply all the rules, only whitespace formatting for the time being. I think it's a good idea to use suggestion rather than warning/error in the beginning unless someone wants to apply the rules manually across all our files. So for instance, we might decide to use coalesce expression var v = x ?? y everywhere, then we should initially use dotnet_style_coalesce_expression = true:suggestion so that we can gradually apply the rules as we come across discrepancies.

https://github.com/Zonnex/EditorConfig
I uploaded my preferences based on my VS2019 settings.