Errors in sample Powershell script

Could you check the sample Powershell script for errors?
https://docs.microsoft.com/en-us/azure/devtest-labs/devtest-lab-create-environment-from-arm#automate-environment-creation-with-powershell
I had to make the following changes to get it working:

Line #37: $UserId = $((Get-AzADUser -UserPrincipalName ((Get-AzContext).Account).Id).Id)
Line #40: $lab = Get-AzResource -ResourceType "Microsoft.DevTestLab/labs" -Name $LabName

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

ID: aa4fa642-a91e-3dbf-ea97-5f5d59038435
Version Independent ID: 83dc54ff-9ac9-ce0f-b38e-270fca1638a4
Content: Create multi-VM environments and PaaS resources with templates - Azure DevTest Labs
Content Source: articles/devtest-labs/devtest-lab-create-environment-from-arm.md
Service: devtest-lab
GitHub Login: @spelluru
Microsoft Alias: spelluru

@pemsft Thanks for the question! We're investigating this and will get back to you shortly.

@pemsft Thanks for catching that error in the docs! I have submitted a PR to fix the issue that's in review.

@pemsft I have submitted a PR to fix the issue, the change is merged internally and will go-live in the public docs shortly. Thanks again for the feedback.


Make Document pickle-able

~This PR is a currently just a failing test. It needs an associated fix.~
Includes fix and test. Also includes unrelated commit that makes the implementation more succinct.

I think this is in good shape. Soliciting reviewers for fresh eyes...

Looks good to me.

Thanks for the review, all.


Ability to emit parts of code without transpiling or type-checking = a comment to turn off TypeScript

It would be great to have the option to emit certain code as is, without the tsc touching it or analyzing it.
I'd imagine it could be achieved with a simple, special comment that the TypeScript transpiler would understand, e.g.:
// normal TypeScript code...

/// <no-compile>
'whatever is here will just get copied to the output .js file, without being touched';
/// </no-compile>

// more proper TypeScript code...

My use case and reasoning is the following:
I'm currently using a dual transpiling stack:
TS -> ES6 (via TS) -> ES6 (via Babel).
This works great, but Babel has some nice new ES2016 features that TypeScript probably won't have for a year or more. It would be great if we could write using those features, surround them with such no-compile comments so that only those would not get transpiled or analyzed by TS. Babel could take care of them in the next stage of transpilation pipeline.
There might be other reasonable use-cases for the ability to turn off TypeScript for a part of code.
Partially related to these, but I'd imagine this would be much simpler to implement:

https://github.com/Microsoft/TypeScript/issues/449
https://github.com/Microsoft/TypeScript/issues/4691

for these files, write them separatelly and create a .d.ts for them, and do not pass in the .js files to the TypeScript compiler.

Here is a different use-case: if the you have an extremely large and complex .d.ts file, such as one for Angular, and the file is mostly fine but has occasional small errors in them which block you from writing perfectly legitimate code. Let's assume this file is so large and so complex that finding the method that's troubling you, figuring out the syntax/structure, and properly fixing the error would be a sizeable waste of time.
You could still write declare let angular: any at the head of the file, but then that will disable type checking for all the times you reference Angular within that file, not just the few lines or particular method you care about.
Do you think that's a valid use-case?

Declaration correctness is an issue that should be solved on the producer side, in your example angular team for angular2 or definitely typed for angular1.
If the file has errors, you copy them locally, change the declarations to either stub out parts you do not care about or fixing the declarations. from the compiler perspective all errors are equal, regardless if they come from a file you wrote, or a file you acquired form definitely typed.


Add passthrough option, fixes #25, fixes gulpjs/gulp#840

Ref: gulpjs/gulp#840 #25

Coverage increased (+0.6%) to 97.46% when pulling b9629ea6e9b9b797b518ab8192f4a2ec446ea325 on UltCombo:passthrough into 318a983832408ddc5500b27cfcb8c5cb07c8af11 on wearefractal:master.

How does the ordering work? Does it wait for the parent to finish, then emit? Or is it just first come first serve

@contra the PR uses merge-stream, so it is first come first served -- this is gulp-add-src's default. This is also why I'm using .some in some tests.
gulp-add-src also provides methods for prepend/append, but I don't know if those are worth adding to vinyl-fs -- users that need ordered streaming can still use gulp-add-src I believe.
I'm also a bit concerned that there is no deduping in their (and, consequently, our) stream merging logic. This is most likely a rare enough use case that can be addressed in the future in case such use cases actually surface.

@UltCombo I think we should support some form of ordering and deduplicaton

@contra which form of ordering should we prefer (or should ordering be customizable)? Not sure about deduping, it might be over-thinking it a bit too much -- I believe it is mostly a corner case, and can be cleanly solved in user code with a simple .pipe(require('unique-stream')('path')) once we implement ordering.

The main problem I see with supporting ordering and deduping options is that it'd be too much API pollution for unnecessary/simple abstractions.
Might as well recommend people to use gulp-add-src instead of implementing passthrough: true (plus unique-stream when they want), dunno.

@contra I don't really see what is wrong with var inside block, it is perfectly valid JS and if anything, as long as the given binding is only referenced inside the given block, eases the transition to ECMAScript 2015's block bindings (s/var/let/g or s/var/const/g).
Anyway, I've moved the var declarations to outside of blocks as requested.

Coverage increased (+0.62%) to 97.47% when pulling 972c8ad3ac377ff7b4a03edeb04f52409d383dd4 on UltCombo:passthrough into 318a983832408ddc5500b27cfcb8c5cb07c8af11 on wearefractal:master.

Coverage increased (+0.62%) to 97.47% when pulling 972c8ad3ac377ff7b4a03edeb04f52409d383dd4 on UltCombo:passthrough into 318a983832408ddc5500b27cfcb8c5cb07c8af11 on wearefractal:master.

@UltCombo It makes it harder to follow things imo - having vars at the top makes it easier to know what is in scope

Alright, no prob. =]

Available on the gulp 4.0 branch now


Minecraft 1.7 support

(Pinging @Wickth, @Timethor and @oloflarsson, hoping one or more of you will help me :smile: . Anybody else is also more than welcome to contribute, just send a pull request. If you don't know how to program in Java, you can help us by testing everything. You can also help by making improvements to the config files to let them look more like vanilla. Post your changed settings here.)
For Minecraft 1.7 a lot of work needs to be done. I have created this issue for us to discuss the technical aspects of the update progress. See also this forum thread for the less techincal aspects.
Here's a list of everything that needs to be done. Feel free to add missing points here.

[x] Get Terrain Control to compile against CraftBukkit
[x] Get Terrain Control to compile against Forge.
[x] Create config files for the new biomes.
[x] Add support for the new blocks
[x] Add support for the new block rotations (for BO2s and BO3s)
[x] Add support for the new trees
[x] Fix the structures (see the classes in the structuregens package, some methods are commented out)
[x] Fix logging: in the first CraftBukkit build there was another line above each line in the console, in newer builds TC crashes at startup.
[x] Fix logging: the settings in the PluginConfig don't work at the moment.
[x] Fix message about duplicate biome id 160.
[x] Add a more dramatic message when two biome ids conflict to prevent world corruption
[x] Update snow generation - 1.7 has biomes with snow on mountain peaks only
[x] Update our ChunkProvider for the changes in ChunkProviderGenerate.
[x] Merge master into the BiomeInheritance/VirtualBiomes branch
[x] Add default settings for the flower forest.
[x] Update default settings for the plains biome.
[x] Add default settings for the flower forest biome.
[x] Look into this SurfaceAndGroundControl bug.
[x] Add support to the grass resource to generate grass in groups.
[x] Let the Mesa generate correctly for worlds that don't have sea level at 64.
[x] Check the Mesa colors - see here.
[x] Fix dirt and gravel ore max height.
[x] Update gravel generator - see here

@Timethor is currently working in the BiomeGroups_Simple Branch on (Updated 12-8-14):

[ ] Add initial support for "Biome Groups"  (Almost Done!)

[x] User defined groups up to 127
[x] New defaults to match the old BiomeList settings
[x] BiomeGroup size and rarity
[ ] Work out the bugs introduced by the changes

@Timethor is also working in the BiomeGroups Branch on (Updated 22-5-14):

[ ] Update Terrain/Biome Generation for 1.7

[x] De-obfuscate relevant code to get an understanding of what needs to be updated (ongoing)
[x] Layers

[x] Get Layers to match 1.7
[x] Add back in configuration ability

[x] Biomes

[x] Add full support for "Biome Groups"
[x] Add the new biomes and their variants to the correct group
[x] Add the new subbiomes as isles.

[ ] Modes

[ ] Amplified

Need to view the Minecraft source code? Some helpful links:

MCP beta build
mc-dev repo
Java decompiler
Just run gradlew setupDecompWorkspace eclipse/ideaModule to get all Minecraft sources, accessible from your IDE.

Already looking very similar to vanill. I think this is the most we can get out of TC 2. @Timethor, can I upload this to Spigotmc.org, or do you want to merge your BO3 changes in first?

Hmm, the BO3 branch merged in would be nice.

Finally, this ticket can be closed.
For the amplified mode: you can make any biome amplified by applying the following formula:
amplified BiomeHeight = 1 + (BiomeHeight * 2)
amplified BiomeVolatility = 1 + (BiomeVolatility * 4)


Feature request

I was looking at this library, and would like to suggest a few changes to the API.
First, I think it makes sense to add an API to let the user to choose which queue to dispatch_async the delegate methods. Right, it dispatches to the main thread. But sometimes, the networking might happen in the background entirely.
If that makes sense, I think the connect() method can be implemented in a way that it detects which queue (thread) it is executed, and by default to use that queue to dispatch delegate execution.

I could see the need for that. I would think the main queue it is on now is a good default, but being able to configure it could be useful in certain contexts. Could be something as simple as:
var socket = WebSocket(url: NSURL(scheme: "ws", host: "localhost:8080", path: "/"))
socket.queue = myCustomQueue
//do other stuff....

Yes, having a property is helpful.

see #50


archiver.zig: expected type c_uint found usize

---> Generating wrapper metadata file...
./src/archiver.zig:90:74: error: expected type 'c_uint', found 'usize'
            try write_file_record(&foilz_writer, index, file_buffer, stat.mode);

I am trying to wrap a trivial Elixir app created with mix.new, just to test Burrito out and see the relative sizes of various bundles.  I get the above error, plus the admonition to "check the logs", but I don't know where the logs are--there are none in the application directories or in the build folder in /tmp.  I'm sorry, I don't know Zig at all; I'm happy to help chase this but I don't know where to start.
OS is Debian Unstable, up to date.  Elixir, Erlang, and Zig were installed with the asdf package manager.  asdf list returns
elixir
  1.13.4-otp-24
erlang
  24.3.4
zig
  0.9.0

Hey there, I think we are supposed to be pinned to Zig 0.9.1 vs 0.9.0. There may have been a breaking change in the Zig API that changed the type of stat.mode
See if bumping your Zig version to 0.9.1 helps!
(This is going to be fixed up in a future release where we'll just fetch the proper zig version for you automatically)

I'm sorry, I still see the same message after using asdf to switch to zig 0.9.1.  I also tried MIX_ENV=prod just in case.

I'm going to create a Debian unstable and try to reproduce, in the meantime, out of curiosity could you look at what your mix.lock has for the hash Burrito is being held at?

Data point, I can build the app on my Mac (macOS 12.4).  The linux cross-compile fails, but for a different reason:
-> Burrito will build for target:
        OS: linux
        CPU: x86_64
        Qualifiers: [libc: :glibc]
        Debug: false
--> PHASE: :fetch
---> Working directory: /var/folders/7n/9my5ty6x5hq_z13lzsx80r840000gp/T/burrito_build_1077DBAFE4713CDC
---> Resolving ERTS: {:precompiled, [version: "24.3"]}
---> Failed to fetch a precompiled Erlang (version 24.3)!
         Reason: No pre-compiled version matching this combination of platform, arch, and libc was found on our CI system.
---> Cannot resolve ERTS, please check for errors in the log above.
-> Halt requested from phase: :fetch in step Burrito.Steps.Fetch.ResolveERTS```

I changed c_uint to usize and it fixed this issue. I'm not very knowledgable on zig, but it fixed the build and the binary was able to run for me.

Thanks @Gazler! It's odd that it does build on MacOS but not on Linux... I'll try and investigate that further but your changes pass on all platforms!


hover: failed to read the 'go.mod' file: C:\Users\Administrator\Downloads\my_app\go\go.mod: C:\Users\Administrator\Downloads\my_app\go\go.mod:3: invalid go version '1.21.5': must match format 1.23

Hover doctor

$ hover doctor
hover: Hover version v0.47.2 running on windows
hover: Sharing packaging tools
hover: darwin-bundle is supported
hover: Packaging darwin-dmg is not supported on windows
hover: To still package darwin-dmg on windows you need to run hover with the `--docker` flag.
hover: Packaging darwin-pkg is not supported on windows
hover: To still package darwin-pkg on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-appimage is not supported on windows
hover: To still package linux-appimage on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-deb is not supported on windows
hover: To still package linux-deb on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-pkg is not supported on windows
hover: To still package linux-pkg on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-rpm is not supported on windows
hover: To still package linux-rpm on windows you need to run hover with the `--docker` flag.
hover: Packaging linux-snap is not supported on windows
hover: To still package linux-snap on windows you need to run hover with the `--docker` flag.
hover: To package windows-msi these tools are required: candle
hover: Install the WiX Toolset from https://wixtoolset.org/releases/
hover: To still package windows-msi without the required tools installed you need to run hover with the `--docker` flag.
hover:
hover: Sharing flutter version
Flutter 3.18.0-0.2.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision fed06b31d9 (33 hours ago) • 2023-12-13 14:53:33 -0800
Engine • revision 39c6dc9bdd
Tools • Dart 3.3.0 (build 3.3.0-174.3.beta) • DevTools 2.30.0
hover: Flutter engine commit: https://github.com/flutter/engine/commit/39c6dc9bdd3ba2bc387e6e14b72fce5f46abfcae
hover: Finding out the C compiler version
gcc (tdm64-1) 10.3.0
Copyright (c) 2020 Free Software Foundation, Inc.
本程序是自由软件；请参看源代码的版权声明。本软件没有任何担保；
包括没有适销性和某一专用目的下的适用性担保。
hover: Sharing the content of go.mod
module my_app/go

go 1.21.5

require (
        github.com/go-flutter-desktop/go-flutter v0.52.2
        github.com/pkg/errors v0.9.1
)

require (
        github.com/Xuanwo/go-locale v1.1.0 // indirect
        github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
        github.com/go-gl/glfw/v3.3/glfw v0.0.0-20220712193148-63cf1f4ef61f // indirect
        golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70 // indirect
        golang.org/x/text v0.3.7 // indirect
)
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
organization-name: com.myapp
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go\cmd\main.go  go\cmd\options.go

Error output

Using hover run to run my application, I get the following
error:
hover: Using engine from cache
hover: Cleaning the build directory
hover: listing available plugins:
hover: Bundling flutter app
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
hover: failed to read the 'go.mod' file: C:\Users\Administrator\Downloads\my_app\go\go.mod: C:\Users\Administrator\Downloads\my_app\go\go.mod:3: invalid go version '1.21.5': must match format 1.23

I run "hover run"to run my project,but I have a error.
hover: failed to read the 'go.mod' file: C:\Users\Administrator\Downloads\my_app\go\go.mod: C:\Users\Administrator\Downloads\my_app\go\go.mod:3: invalid go version '1.21.5': must match format 1.23

the same invalid go version '1.21.6': must match format 1.23


Using uv in CircleCI

There is great documentation about using uv in GitHub Actions and in GitLab CI, along with a uv GitHub Actions setup.
Is there any plan for a documentation about how to use uv in CircleCI?

There's no particular plan for it, but if someone is interested in contributing a guide I will review and edit it.

I'm trying to get uv as an "officially" supported package manager for CircleCI:
https://github.com/CircleCI-Public/python-orb/pull/124
https://github.com/CircleCI-Public/cimg-python/pull/257
But I feel it will take a while for those changes to get to the mainstream (I think CircleCI performs quarterly releases of their base images).
In the meantime, I've been able to integrate with CircleCI using something like this:
  uv_install_packages:
    parameters:
      cache_key:
        type: string
      cache_dir:
        type: string
        default: /home/circleci/.cache/uv
    steps:
      - restore_cache:
          name: Restore python cache
          keys:
            - <<parameters.cache_key>>-uv-cache-{{ checksum "uv.lock" }}
            - <<parameters.cache_key>>-uv-cache-
      - run:
          name: Install python dependencies
          command: |
            mkdir -p "<<parameters.cache_dir>>" && \
            uv sync --frozen --compile-bytecode --cache-dir <<parameters.cache_dir>>
      - run:
          name: Clean pre-built wheels
          command: uv cache prune --ci --cache-dir <<parameters.cache_dir>>
      - save_cache:
          name: Save cache
          key: <<parameters.cache_key>>-uv-cache-{{ checksum "uv.lock" }}
          paths:
            - "<<parameters.cache_dir>>"

Amazing, very helpful, thank you.
I still have issues on uv command not being recognized in next jobs, even though the uv install job persists to workspaces and the next jobs attaches it, but I guess it's about fixing my CircleCI config...


Enable Cider use outside of Flutter packages

I just started using Cider for changelog management within a mono-repo. It's working pretty well for Flutter modules.
I would also like to use Cider to manage other changelog files which would belong to other parts of the repository like the Firebase backend and CI/CD pipelines. Unfortunately Cider expects there to be a pubspec.yaml file present and fails if there isn't one in the current repo.
Would it be practical to ease the requirements for a pubspec.yaml file for certain actions like adding to the changelog and creating new semantic versions within the changelog?
Thanks

Makes sense to me. There's no reason to require pubspec for non-mutating operations on the changelog.


Primary opcode

Is there a way to access the primary code in the latest available version? I know that the field has been deprecated (though not removed) and that I can use ud_insn_mnemonic (returns an enum) but I'd like to access the primary opcode as a value. Is there a workaround for this?

See also: #103. The workaround you're looking for is to simply revert part of the commit that is linked there, i.e. restore the assignment in decode_opcode().
Regards, NiteHawk


Add bleed examples to wiki

Once all features are added, document

Added a little bit of information to https://github.com/calestar/tileset_tooling/wiki


No catching pokemons

It shows pokemons appearing but it do not catch them

what version are you using (master / dev)? are you out of pokeballs?

Dev version
Pokemon bag: 46/250
Items: 232/350
Pokeballs: 21

+1
Same config here on dev version

+1
Same here with same config on dev.
I can see the same PKMNs (same CP / IV) but do not catch them.
[10:55:43] A Wild Magnemite appeared! [CP 77] [Potential 0.42]
[10:55:43] IV [Stamina/Attack/Defense] = [3/6/10]
[10:55:46] Something rustles nearby!
[10:55:47] A Wild Voltorb appeared! [CP 269] [Potential 0.67]
[10:55:47] IV [Stamina/Attack/Defense] = [9/15/6]
[10:55:50] A Wild Voltorb appeared! [CP 269] [Potential 0.67]
[10:55:50] IV [Stamina/Attack/Defense] = [9/15/6]
[10:55:53] Scanning area for objects....
[10:55:53] Walking from (43.69641391653792, 7.270565008497819) to (43.699317, 7.27052) 0.32km
[10:55:56] Something rustles nearby!
[10:55:56] A Wild Magnemite appeared! [CP 77] [Potential 0.42]
[10:55:56] IV [Stamina/Attack/Defense] = [3/6/10]
[10:56:00] A Wild Magnemite appeared! [CP 77] [Potential 0.42]
[10:56:00] IV [Stamina/Attack/Defense] = [3/6/10]
[10:56:04] Something rustles nearby!
[10:56:04] A Wild Voltorb appeared! [CP 269] [Potential 0.67]
[10:56:04] IV [Stamina/Attack/Defense] = [9/15/6]
[10:56:08] A Wild Voltorb appeared! [CP 269] [Potential 0.67]
[10:56:08] IV [Stamina/Attack/Defense] = [9/15/6]
[10:56:10] Scanning area for objects....
[10:56:10] Walking from (43.69643176258492, 7.27056160805053) to (43.699317, 7.27052) 0.32km
[10:56:14] Something rustles nearby!
[10:56:15] A Wild Magnemite appeared! [CP 77] [Potential 0.42]
[10:56:15] IV [Stamina/Attack/Defense] = [3/6/10]
[10:56:18] A Wild Magnemite appeared! [CP 77] [Potential 0.42]
[10:56:18] IV [Stamina/Attack/Defense] = [3/6/10]
[10:56:21] Something rustles nearby!
[10:56:21] A Wild Voltorb appeared! [CP 269] [Potential 0.67]
[10:56:21] IV [Stamina/Attack/Defense] = [9/15/6]
[10:56:24] A Wild Voltorb appeared! [CP 269] [Potential 0.67]
[10:56:24] IV [Stamina/Attack/Defense] = [9/15/6]

Those should be floating point numbers, not strings. Try removing quotes:
"catch_above_cp": 10, "catch_above_iv": 0.1

This is a known issue on the dev branch: https://github.com/PokemonGoF/PokemonGo-Bot/issues/821

@ironbishop gave us the solution, removing quotes from the catch/release config it works:
"catch": { "any": {"catch_above_cp": 10, "catch_above_iv": 0.1}, "logic": "or" }, "release": { "any": {"release_under_cp": 10, "release_under_iv": 0.1}, "logic": "or" }

Thanks!


Fix the imports such that the root directory is the project root directory.

The project root directory contains the pipfile so change the imports in the files in backend folder accordingly.

The imports in both DBClass.py and cron.py are not relative to the project root. This will cause problems. Either use relative like .DbClass or absolute like backend.DbClass.


Revert "Adds new lua script with a config file."

Reverts ava-labs/avash#152

TODO circle back to this to debug why I got this error:
ERROR[05-05|16:29:20] main/process/process.go#160: error initializing node: problem initializing database: db contains invalid genesis hash. DB Genesis: 2F8RoK9HiWR7DDPDHcmctFUf6XAJFjUzmjpS7VgsgescAoAD5C Generated Genesis: yJt9rTC9U21ZPp6RdzZ8hUPyu7jXdrrXk6c59JxxZDR6vtJQp


added "useScreenType"

Thanks for contribute! Could you rename the link with the same package's name?
You only need to change useScreenType for react-hooks-screen-type

@glauberfc
I've updated.
Best,
Ömer

Thanks!


some

I'm very interested in your work, but I'm having a problem reproducing your code.
When I run 'sh 0.train_backbone.sh', it shows 'sh: 0: Can't open 0.train_backbone.sh'
While I run ' python dist_engine.py
--num-nodes 1
--rank 0
--master-url tcp://localhost:$port
--backend nccl
--multiprocessing
--file-name-cfg backbone
--cfg-filepath config/cifar_10/vanilla/deit_tiny.yaml
--log-dir run/cifar_10/vanilla/deit_tiny
--worker backbone_worker    '
there is
ModuleNotFoundError:  No module named 'cv_lib'
Have you encountered this problem, I will be very grateful if you solve this.
Thanks you!

Our code requires cv-lib-PyTorch. You should download this repo and checkout to tag schema_inference.

Besides, you should pull the latest version of our code and set environment variable CV_LIB_PATH to the directory of cv_lib, for example:
export CV_LIB_PATH=$HOME/path/to/cv-lib-PyTorch


API docs suggestion.create different than on swagger doc

API Docs say suggestion.create is a string, but swagger doc says it's an array of objects.

See https://github.com/cds-hooks/docs/issues/23 :)

Sigh.. serves me right for not looking over the other issues. :-P


Translations

Hello,
Your code is absolutely amazing. I plan on tweaking it for some specific use case scenarios in our organization. I'll upload any changes as to share with you.
However, is there an English version? I obviouslyu can translate the readme etc. But does an english version or fork exist? Can you help?
Thanks,
Eric
<EMAIL_ADDRESS>

Hello!
There is no English version of the README, as support has been discontinued due to lack of interest from the audience.
The interface itself was originally in Russian and has been translated in the latest version, there are variables at the beginning of the code that can be used to translate into another language, it was planned to add an external file to configure such a solution.
If you find such a solution useful, I might resume support.
Thanks for your interest, Eric!


FR: Add 'logtype' attribute to logs

As a user, I need logs from ktranslate to be decorated with a new field to enable New Relic to apply built-in parsing rules on my logs that enhance my ability to search and facet on the data.
logtype: 'ktranslate-health'

This would not however be set on syslog logs which are forwarded from another service?

correct; this would only apply to the container logs from ktranslate itself


flutter google map can support the GeoJson URL in mobile app

Use case
flutter google map can support the GeoJson URL in mobile app
I am using the google map on flutter but i need the GeoJson Url Pass on the google map.
other pub lib  is not work properly.
Please add on this feature on google map.
Proposal

Closing this as a duplicate of  https://github.com/flutter/flutter/issues/33514
Kindly follow up in the original issue for updates
Thank you


PG::UndefinedTable in RailsAdmin::MainController#dashboard

I'm getting this error, even after a complete uninstall and reinstall. Rails_admin was working fine, and then it just stopped. I thought it was enum related, but i've used the initializer at https://gist.github.com/dmilisic/38fcd407044ace7514df and confirmed that ActiveRecord::RailsAdminEnum is loaded.
It seems like no matter what i do, i get this error. I've rebuilt the database several times via migrations (rake db:setup) only, so it's not some zombie table or something. I'm totally stumped. I thought i had something when i found out that enums don't play nice out of the box, but i can't get anything but this error.
Here's the full details:
ERROR: relation "errors" does not exist LINE 5: WHERE a.attrelid = '"errors"'::regclass ^

Extracted source (around line #592):
590
591
592
593
594
595
        def exec_no_cache(sql, name, binds)
          log(sql, name, binds) { @connection.async_exec(sql, []) }
        end

        def exec_cache(sql, name, binds)

Is there something I am missing? I'm using pretty standard enum implementation and I renamed the rails_admin.rb to z_rails_admin.rb to make sure it loads after the enum initializer mentioned in that gist i linked to.

I guess i'm the only one getting this error...

Latest release 0.7.0 has built-in support for ActiveRecord::Enum, so try and see if it works.
If something breaks, please paste full stack trace here.

Please reopen on update.

In my gemfile.lock it says i'm using 0.7.0 so that's not the issue. Here's a gist of the full stack trace of the error: https://gist.github.com/afxjzs/828c9af28aa886f4b7d2
Any help is much appreciated. Thanks!

@mshibuya  Can this please be reopened? I've posted the requested data. Please let me know what else i could post to help sort this out.

I was getting the same error cause I have objects in my models folder that do not have associated tables.
I fixed it by adding a line to the config:
config.included_models = %w(User Post) # whatever models you want included in rails_admin

Not sure if this applies to you though but figured I'd post it anyway

@heidar THANKS!
this was the issue. There's no objects in our models folder w/o tables, but the whitelisting was what fixed it.
Thanks for your help guys!


Only one project can be in an awaiting approval state at a time

Attempting to create a new projects while there is another project in an awaiting approval state, violates the unique key constraint on project code (since both are null).

Similar to #30, unable to reproduce this error on the master branch.
The unit tests added in https://github.com/tystakartografen/cogs3/commit/d18da4afe8f2df00b20fcab61cc58f57050d12cd set both projects status to 'Awaiting Approval'.
It might be worth checking that your migrations are up to date? python manage.py migrate.
If the issue persists, attach your project creation code.

Fixed in current master


Forward Oridinal

Is it possible to also forward a function via the ordinal? At the moment, it seems like it is not possible to specify the ordinal in the function declaration.
Any plans to update this?
Thanks!

I will do some research on how to do this.

我提交了新的代码用以支持转发 ordinal，但是受限于我相关知识的缺乏所以支持的不是非常好。待我有时间我会讲一下我碰到的困难，也许你可以给我一些帮助。
建议你先克隆仓库，参考一下 examples/version 目录下的代码。注意，在支持 ordinal 转发之前，我提交了一些重构的代码，虽然以前的 forward_dll 宏仍然能用，但是要支持 ordinal 转发，需要以新的方式使用。
目前 ordinal 转发的实现方式需要两个步骤：

#[forward(target = "...", ordinal)]，在 derive(ForwardModule) 的参数中，加入 ordinal，这一步会生成链接参数文件 ordinal_link_args.txt。
在你的 cdylib 的 crate 的 build.rs 中，读取该文件，并通过 cargo:rustc-link-arg= 将其打印出，作为链接器参数，参考 examples/version/build.rs。

I've submitted new code to support forwarding ordinal, but it's not very good due to my lack of knowledge. When I have time I will talk about the difficulties I encountered, maybe you can give me some help.
I suggest you clone the repository first and refer to the code in the examples/version directory. Note that I submitted some refactored code before supporting ordinal forwarding, and while the old forward_dll macro still works, it needs to be used in a new way to support ordinal forwarding.
The current implementation of ordinal forwarding requires two steps:

#[forward(target = "..." , ordinal)], add ordinal to the derive(ForwardModule) arguments, this step generates the link arguments file ordinal_link_args.txt.
In your crate of cdylib's build.rs, read this file and print it out as linker arguments via cargo:rustc-link-arg=, refer to examples/version/build.rs.

Translated with www.DeepL.com/Translator (free version)

我尝试了如下的方案：

直接增加 /export 链接参数，在 build.rs 加入如下代码：
println!("cargo:rustc-link-arg=/export:GetFileVersionInfoA,@1");

但是这没有任何作用，GetFileVersionInfoA 的 ordinal 仍然是 2。因为 #[no_mangle] 也隐含了将符号导出的意思。

使用 .def 文件，这将导致 crate 原有的导出符号丢失，如 DllMain。

所以，最后我使用了一个较为麻烦的方法来实现这个功能：在导出的符号前增加一个前缀 _，如：_GetFileVersionInfoA，然后在链接时，传递 /export:GetFileVersionInfoA=_GetFileVersionInfoA,@1 给链接器，以此将导出的符号 GetFileVersionInfoA 指向 _GetFileVersionInfoA。
I tried the following approaches:

Adding the /export link parameter directly and inserting the following code in build.rs:
println!("cargo:rustc-link-arg=/export:GetFileVersionInfoA,@1");

However, this had no effect and the ordinal for GetFileVersionInfoA remained 2. This is because #[no_mangle] implies exporting the symbol.

Using a .def file would result in the loss of the original exported symbols of the crate, such as DllMain.

Therefore, I ended up using a more complicated approach to achieve this functionality: adding a prefix "_" to the exported symbol, such as "_GetFileVersionInfoA", and then passing "/export:GetFileVersionInfoA=_GetFileVersionInfoA,@1" to the linker during linking to redirect the exported symbol GetFileVersionInfoA to _GetFileVersionInfoA.

Crazy, that was fast. I will give it a try. Thanks a lot!

I have closed this issue, if you have any questions about this feature please feel free to reopen it or create a new issue.


Browser not opening on Linux

Under certain conditions, nothing happens when trying to open a website using opener::open, while manually using xdg-open works fine. I suspect this is due to spawning the command with a null stdout. This is the current code where the command is configured:
let mut cmd = Command::new(cmd)
        .args(extra_args)
        .arg(path)
        .stdin(stdin_type)
        .stdout(Stdio::null())
        .stderr(Stdio::piped())
        .spawn()?;

The reason null stdout was used was to prevent polluting the user's terminal with output from xdg-open.

@japrogramer continuing our discussion from https://github.com/rust-lang/rustup.rs/issues/1125, if you don't mind, I'd like you to check if my updated branch works for you by running the following commands.
First, confirm the bug triggers on the master branch:
git clone https://github.com/Seeker14491/opener.git
cd opener/opener-bin/
echo 'Hello' > index.html
cargo run -- index.html

If you get the message Opened path successfully., but nothing happens, you've triggered the bug.
Then, check if the inherit-stdio branch works correctly and opens your browser:
git checkout -f inherit-stdio
echo 'Hello' > index.html
cargo run -- index.html

The first set of commands work.
▶ cargo run -- index.html                                                                     69%
   Compiling unicode-width v0.1.6
   Compiling rustc-demangle v0.1.16
   Compiling ansi_term v0.11.0
   Compiling cfg-if v0.1.10
   Compiling strsim v0.8.0
   Compiling vec_map v0.8.1
   Compiling opener v0.4.1 (/home/archangel/Code/Rust/opener/opener)
   Compiling libc v0.2.65
   Compiling bitflags v1.2.1
   Compiling textwrap v0.11.0
   Compiling atty v0.2.13
   Compiling backtrace-sys v0.1.32
   Compiling backtrace v0.3.40
   Compiling clap v2.33.0
   Compiling failure v0.1.6
   Compiling structopt v0.3.3
   Compiling opener-bin v0.1.0 (/home/archangel/Code/Rust/opener/opener-bin)
    Finished dev [unoptimized + debuginfo] target(s) in 13.75s
     Running `/home/archangel/Code/Rust/opener/target/debug/opener-bin index.html`
Opened path successfully.

and the second in the other branch also works
▶ cargo run -- index.html                                                                   67%
   Compiling proc-macro2 v1.0.6
   Compiling unicode-xid v0.2.0
   Compiling syn v1.0.5
   Compiling libc v0.2.65
   Compiling cc v1.0.46
   Compiling bitflags v1.2.1
   Compiling unicode-width v0.1.6
   Compiling unicode-segmentation v1.3.0
   Compiling failure_derive v0.1.6
   Compiling vec_map v0.8.1
   Compiling strsim v0.8.0
   Compiling rustc-demangle v0.1.16
   Compiling ansi_term v0.11.0
   Compiling cfg-if v0.1.10
   Compiling opener v0.4.1 (/home/archangel/Code/Rust/opener/opener)
   Compiling textwrap v0.11.0
   Compiling heck v0.3.1
   Compiling backtrace-sys v0.1.32
   Compiling atty v0.2.13
   Compiling clap v2.33.0
   Compiling quote v1.0.2
   Compiling backtrace v0.3.40
   Compiling proc-macro-error v0.2.6
   Compiling synstructure v0.12.1
   Compiling structopt-derive v0.3.3
   Compiling failure v0.1.6
   Compiling structopt v0.3.3
   Compiling opener-bin v0.1.0 (/home/archangel/Code/Rust/opener/opener-bin)
    Finished dev [unoptimized + debuginfo] target(s) in 28.58s
     Running `/home/archangel/Code/Rust/opener/target/debug/opener-bin index.html`
Opened path successfully.

but still this doesnt
rustup doc --std

▶ rustup component add rust-docs
info: component 'rust-docs' for target 'x86_64-unknown-linux-gnu' is up to date

@japrogramer to be clear, the first set of commands opens your browser? If so, can you check if this command opens the docs in your browser (make sure to run on the master branch):
cargo run -- $(rustup doc --std --path)

If all these commands work fine, then maybe the problem really is in rustup.

Yes they work, But the rustup doc command doesn't
Here the index page i created works and the one pointing to std doesnt
Rust/opener/opener-bin  master ✗                                                                18d ◒  ⍉
▶ cargo run -- index.html                                                                      ∞
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `/home/archangel/Code/Rust/opener/target/debug/opener-bin index.html`
Opened path successfully.

Rust/opener/opener-bin  master ✗                                                                 18d ◒
▶ cargo run -- $(rustup doc --std --path)                                                       ∞
    Finished dev [unoptimized + debuginfo] target(s) in 0.04s
     Running `/home/archangel/Code/Rust/opener/target/debug/opener-bin /home/archangel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/doc/rust/html/std/index.html`
Opened path successfully.

Rust/opener/opener-bin  master ✗                                                                 18d ◒
▶ rustup doc --std --path                                                                       ∞
/home/archangel/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/share/doc/rust/html/std/index.html

both files have the same permissions, and the std/index.html does have content

strace -f -s100 cargo run -- index.html &> ~/errors.txt
strace -f -s100 cargo run -- $(rustup doc --std --path) &> ~/errors2.txt

Same issue here, the following works

firefox $(rustup doc --path)

but not

firefox $(rustup doc)

which opens KTorrent for me. I followed some instructions from rustup doc appears to do nothing #1125, by removing

[Default Applications]
text/html=ktorrent.desktop

from ~/.config/mimeapps.list and replacing it with text/html=firefox.desktop but it didn't fix the issue.
My config:
5.5.3-arch1-1
linux 5.5.3.arch1-1
rustup 1.21.1 (2020-01-25)
rust-docs up to date

I was never able to reproduce this issue locally, unfortunately. Anyways, I released v0.5 of this crate about two weeks ago, and it changes the strategy on Linux such that the system xdg-open is tried first if available. I'd like to know if this is still a problem with the new version. Note that a version of Rustup with the updated opener version still hasn't shipped, so to test this, a procedure like I described in https://github.com/Seeker14491/opener/issues/4#issuecomment-544786010 can be used.

as asked in here, i'll respond to this.
I use WSL, and xdg-open-wsl (which i can call with xdg-open on my system

@Erudyx Ah, WSL should work fine with the release of v0.5. Still, if you want to confirm it's fixed now you can run what I posted above:
git clone https://github.com/Seeker14491/opener.git
cd opener/opener-bin/
echo 'Hello' > index.html
cargo run -- index.html

Its working fine, but i dont i dont know why rustup doc --book does nothing... no error printed, return 0...

That's because the currently released version of rustup is using v0.4.1 of this crate. There hasn't been a rustup release since I made the PR updating to v0.5.

ooooh i get it, so this gonna be fixed when the pr is accepted, thanks for your time!


Driver load failed, prob related to Riots Vanguard?

Hello there,
i wanted to try this out with my b450 tomahawk max cause msi's dragoncentre sucks but i ran into the following issue (screenshot down there). At the same time when i tried to install it riots vanguard gave me a notification that it would have to be disabled or sth, dont remember it exactly (screenshot down there too). I didnt try yet to disable vanguard and install it and then enable vanguard again but thought this might be interestin so im putting it up here.

okay i just saw there is already a thread on this and no solution yet, sorry for opening another one

No problem.


sound resource api work

I took a look through the issues and saw #11 looked like something I could do. Please let me know if this is even close to what you were thinking, as I am not normally a c++ dev and had to figure this out by looking through the existing code and your twitch videos.

@tjhancocks I think this is ready to be merged. You'll have to forgive me, I am relatively new to how GitHub works and so I'm not sure how else to notify you that I made these changes.

Apologies for the delay on this, I've been out of action for a while.


Ice and Fire dragon mod pet bug?

Hello today i came cross an issue I am using this mod called "ice and fire dragon" and it contain these mob called pixies. Pretty much they are flying entities. Few of them i can hit damage but a good chunk of them I cannot even if i have /ignoreclaims it kept mentioning That belongs to [GDWorld] I tried so many flags like Entity-Damage on iceandfire:if_pixie true on global context and things like that even iceandfire:any - entity damage but unable to get it working. Also, I tried running these debug below but nothing is coming up that is related to my issue. I run the debug then attempt to hit the entities called pixies and paste in the debug no error/message occur indicating my issue. I also ran a quick test by giving myself the * and then /gdreload  and attempt to hit the entitie but that failed too. I also, ran a clean test and server and unable to reproduce. I had also put GD version  1.4.7 and -1.4.8-DEV1 and the bug is still there onto the main server of mine that contain the bug. I had also check in LuckPerms data to see if i can find any data that contain anything remotely indication of iceandfire dragon mod or entity-damage/any flags. that is relating to the issue. Unable to find anything or reproducible.
GIF: https://gyazo.com/6ab70ca918ee350af90103509ba610d8
LP: https://luckperms.net/verbose/Cx6kFDL3O9
GDdebug: https://griefdefender.github.io/debug/?Alx3L4jtUz

I would like to see this bug fixed as well before I buy the plugin, assuming it can be reproduced.


Move stuff to api-spec folder & Add required field for psetv2 swap

This moved tdex folder to api-spec/protobuf and openapi to api-spec/.
Also, this adds a new field map<uint32, UnblindedInput> unblinded_inputs to SwapRequest and SwapAccept messages, in order for the trader to pass unblinded input data to the provider, instead of his blinding private keys.
Please @tiero review this.

What the key of the map refers to? The input index
Wouldn't be map for script better?

EDIT: what if we have a repeated field of something like OwnedInput in LiquidJS for example? where you have your blinders, asset & value AND the index

@tiero done.

What abou SwapReuqest?

Sorry, done. @tiero


Dockerfile for generator

Build with:
docker build -t asyncapi/generator .

Would be good to auto build and release this along with the npm releases.

Grabbed the asyncapi org on Docker Hub too, happy to hand it over to if you give me your Docker Hub username.

Awesome! My Docker Hub username is fmvilas. Very kind of you. Thanks!


Reject aliases whose arguments aren't element variables

The frontend will use aliases to control the size of definitions with prioritized rules (#859). The backend will need to verify aliases with element variable arguments.
Before: #863

[ ] Reject set variables on the left-hand side of alias definitions.
[ ] Reject any occurrence of an alias where its arguments are not literally element variables.

It seems we already only allow element variables, see https://github.com/kframework/kore/blob/40f56575aaa57ee46176ed24bed354b618183aed/kore/src/Kore/ASTVerifier/PatternVerifier.hs#L248


Cannot interact with SafeServiceClient on 1.1.2 forward

Description
Hi,
I used to have a prototype project back in February 2022, that uses SafeServiceClient 1.1.1.
However, recently I tried to set up a new project with almost same logic, but I got this exception error when trying to call any method from SafeServiceClient on version 1.1.2.

When I go back to the original project that use SafeServiceClient on 1.1.1 before, it runs normally, the transaction is proposed and appear of Safe UI as expected.
Relevant Code:
`
const EthersAdapter = require("@gnosis.pm/safe-ethers-lib").default
const Safe = require("@gnosis.pm/safe-core-sdk").default
const SafeServiceClient = require("@gnosis.pm/safe-service-client").default;
const { generateWhitelistRoot } = require("./buildMerkleTree");
const { ethers, utils } = require("ethers");
const dotenv = require("dotenv");
dotenv.config();
const { INFURA_ID, INFURA_SECRET, PRIVATE_KEY, GNOSIS_SAFE_ADDR, NETWORK } =
process.env;
const bowlApi = require(../deployments/${NETWORK}/MysteryBowl.json)
const bowlProxyAddress = "0x4600E6D2f39F0A96550144846FbD570C46dF7FDe";
async function setWhitelistMerkleRoot()
{
const root = "0xe972d1aae1e11da12a2ec0c23d7f5a46f1121793e11486938e95bc45d225a548";
const transactionServiceUrl = "https://safe-transaction.rinkeby.gnosis.io/";
const safeService = new SafeServiceClient(transactionServiceUrl);
const infuraProvider = new ethers.providers.InfuraProvider("rinkeby", {
    projectId: INFURA_ID,
    projectSecret: INFURA_SECRET,
});

const wallet = new ethers.Wallet(`0x${PRIVATE_KEY}`, infuraProvider);
const owner1 = wallet.connect(infuraProvider);

let ethAdapterOwner1 = new EthersAdapter({ ethers, signer: owner1 });

console.log(GNOSIS_SAFE_ADDR)
const safeSdkInstance = await Safe.create({
    ethAdapter: ethAdapterOwner1,
    safeAddress: GNOSIS_SAFE_ADDR,
});

const bowlContract = new ethers.Contract(bowlProxyAddress, bowlApi.abi, owner1);

const tx = {
    to: bowlContract.address,
    value: "0",
    data: bowlContract.interface.encodeFunctionData("setWhitelistMerkleRoot", [root]),
};

let safeTransaction = await safeSdkInstance.createTransaction(tx);
const safeTxHash = await safeSdkInstance.getTransactionHash(safeTransaction);

let signature1 = await signTransactionBy(safeSdkInstance, safeTransaction);
console.log(safeService)

await safeService.proposeTransaction({
    safeAddress: ethers.utils.getAddress(GNOSIS_SAFE_ADDR),
    safeTransaction,
    safeTxHash,
    senderAddress: ethers.utils.getAddress(owner1.address),
});

console.log("Its done, considering to go safe address to manual sign and execute the transaction")

}
const merkleRoot = generateWhitelistRoot();
setWhitelistMerkleRoot(merkleRoot);
const signTransactionBy = async (safeSdk, safeTransaction) => {
const signature = await safeSdk.signTransaction(safeTransaction);
return signature;

};
`
Environment that has issue

Safe Core SDK version: ^2.1.0
Environment:

non-browser: Node version

<EMAIL_ADDRESS>"^2.1.0",
<EMAIL_ADDRESS>"^1.0.0",
<EMAIL_ADDRESS>"^0.1.0-alpha.9",
<EMAIL_ADDRESS>"^1.0.0",
<EMAIL_ADDRESS>"^1.1.2",
I tried to read the SafeServiceClient repository code and saw a few changes after this commit since February:
https://github.com/safe-global/safe-core-sdk/commit/629ae8ea8ee7f72c6ef7bf2cef54eff54728aecc

Environment that does not have issue

Safe Core SDK version: ^2.0.0

Environment:

non-browser: Node version
<EMAIL_ADDRESS>"^2.0.0",
<EMAIL_ADDRESS>"^1.0.0",
<EMAIL_ADDRESS>"^0.1.0-alpha.8",
<EMAIL_ADDRESS>"^1.0.0",
<EMAIL_ADDRESS>"^1.1.1",

If I try to use SafeServiceClient 1.1.2, may I know which one from the code I can change to make it works?
Thanks very much

Hello!
Please update all the @gnosis.pm packages to the latest version.

hi @germartinez
I actually did with these versions that I see the latest from the release link: https://github.com/safe-global/safe-core-sdk/releases,
but I got the same issue:
<EMAIL_ADDRESS>"^2.1.0",
<EMAIL_ADDRESS>"^1.1.0",
<EMAIL_ADDRESS>"^1.1.0",
<EMAIL_ADDRESS>"^0.1.0-alpha.9",
<EMAIL_ADDRESS>"^1.1.0",
<EMAIL_ADDRESS>"^1.1.2",
I did tried remove package-lock.json, remove node-modules folder and run "npm install" again.

nevermind, it works
The constructor of SafeServiceClient needs different parameters on version 1.1.2, than the old 1.1.1

Cool @qhuynhvhslab,
Thanks for the update


Not working on swift 4.2

Hi,
The ScrollableGraphView is not working on swift 4.2 and this is preventing me update my app to iOS 12
Thanks,
José

@philackm any updates?

I'll be forced to remove from my project, I can't wait more without any answer.
By

This is also broken for me. @philackm

I will fix this tonight.
For future reference, if someone has already fixed it and submitted a pull request (in this case it seems like a few people have), you can point directly to that commit in your cocoapod file without having to wait for me. (Be sure to switch it back when this repo has been updated however.) See: https://stackoverflow.com/questions/39261018/is-there-a-way-to-use-a-pull-request-with-cocoapods

This is now fixed. If you're using cocoapods, 4.0.6 should be available!

Thanks

I believe this is not fixed for Carthage?
	Task failed with exit code 65: 	/usr/bin/xcrun xcodebuild -project /Users/tk/Projects/Ketones/Carthage/Checkouts/ScrollableGraphView/carthage/ScrollableGraphView/ScrollableGraphView.xcodeproj -scheme ScrollableGraphView -configuration Release -derivedDataPath /Users/tk/Library/Caches/org.carthage.CarthageKit/DerivedData/10.0_10A255/ScrollableGraphView/4.0.6 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/61/z_ngk_rs3fq7zcdybcpd83rc0000gn/T/ScrollableGraphView SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/tk/Projects/Ketones/Carthage/Checkouts/ScrollableGraphView)
Log: https://gist.github.com/masterrr/92e3e70682ce940ba926e15f81b817d5


vote offchain data support

Description
Partial implementation of CIp-100 and CIP-108
Checklist

[x] Commit sequence broadly makes sense
[ ] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] Any changes are noted in the changelog
[x] Code is formatted with fourmolu on version <IP_ADDRESS> (which can be run with scripts/fourmolize.sh)
[ ] Self-reviewed the diff

Migrations

[x] The pr causes a breaking change of type a,b or c
[x] If there is a breaking change, the pr includes a database migration and/or a fix process for old values, so that upgrade is possible
[ ] Resyncing and running the migrations provided will result in the same database semantically

b type migration to add offchain vote data support

@Cmdv addressed and fixed a bug with getUrl.


[NBS Docs] Updating getting-started permissions docs to new backend!

Hey, I just made a Pull Request!
Updating the https://backstage.io/docs/permissions/getting-started/ docs to adhere to the new backend system. This relates to #24195
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

hi @Parsifal-M
How do we add TestPermissionPolicy to the new backend system ?
or basically how can we add packages/backend/src/plugins/permission.ts to the new system ?

hi @Parsifal-M
How do we add TestPermissionPolicy to the new backend system ? or basically how can we add packages/backend/src/plugins/permission.ts to the new system ?

Hey! 👋
So that will probably come up in the next section of the docs 😅, in the meantime, you have a few options:

You can inline it in the index.ts file in packages/backend/src/index.ts.
You can make a folder in your packages/backend somewhere called permissions (or what ever you like) and export it then import it into the index.ts file.
You can use yarn new and make a module, create and export the permission policy there and then import it.

Option 2 would look something like this:
// ...

import { DenyCatalogDeletePolicy } from './permissions/policy';

backend.add(
  createBackendModule({
    pluginId: 'permission',
    moduleId: 'deny-catalog-delete-policy',
    register(reg) {
      reg.registerInit({
        deps: { policy: policyExtensionPoint },
        async init({ policy }) {
          policy.setPolicy(new DenyCatalogDeletePolicy());
        },
      });
    },
  }),
);

Option 3 would look a bit like this:
   backend.add(
     import('@mycompany/my-policy'),
   );

Hope this helps? 👍

thank @Parsifal-M !
tried option 2
import {DevToolsPermissionPolicy} from "./permissions/DevToolsPolicy";

backend.add(
    createBackendModule({
        pluginId: 'permission',
        moduleId: 'dev-tools-policy',
        register(reg) {
            reg.registerInit({
                deps: { policy: policyExtensionPoint },
                async init({ policy }) {
                    policy.setPolicy(new DevToolsPermissionPolicy());
                },
            });
        },
    }),
);

But got error
ForwardedError: Module 'dev-tools-policy' for plugin 'permission' startup failed; caused by Error: Policy already set

I'm trying to show devTools to only admins, but kinda stuck with the new system setup
I can wait for the next section docs if will be ready soon :D
Also if you can provide a snippet for option 1 would be great (inline), seams easer

thank @Parsifal-M ! tried option 2
import {DevToolsPermissionPolicy} from "./permissions/DevToolsPolicy";

backend.add(
    createBackendModule({
        pluginId: 'permission',
        moduleId: 'dev-tools-policy',
        register(reg) {
            reg.registerInit({
                deps: { policy: policyExtensionPoint },
                async init({ policy }) {
                    policy.setPolicy(new DevToolsPermissionPolicy());
                },
            });
        },
    }),
);

But got error
ForwardedError: Module 'dev-tools-policy' for plugin 'permission' startup failed; caused by Error: Policy already set

I'm trying to show devTools to only admins, but kinda stuck with the new system setup I can wait for the next section docs if will be ready soon :D
Also if you can provide a snippet for option 1 would be great (inline), seams easer

Hey 👋 !
This is basically what it should look like for Option 2.
Does that help? 🙏

yes @Parsifal-M it worked, thank you !!
found this too
Also I removed backend.add(import('@backstage/plugin-permission-backend-module-allow-all-policy'));
that was causing the conflict error

Did some minor rewording as well I think this is enough basically provided you have run the create-app :+1:

Hey @vinzscam 👋
Sorry for the delay 😞 got a bit stuck in other things!
As we discussed, using an (--new) approach, but we could also flip it 😄 (--old).
LMK if anything else is needed and I can get cracking on the next!

nice it looks good!


"manifest has unsupported version: 4" errors on newer versions of opctl

🐛 Bug Report
I ran the example in the documentation
cameronlittle@Chehalis:~/Dev/ClientService (±IPROD-2139-homescreen-uxmessage) (⬢ v12.16.2) (⎈preprod.k8s.remitly.com)
▻ opctl -v
0.1.38
cameronlittle@Chehalis:~/Dev/ClientService (±IPROD-2139-homescreen-uxmessage) (⬢ v12.16.2) (⎈preprod.k8s.remitly.com)
▻ opctl ui github.com/opspec-pkgs/_.op.create#3.3.1
2020/05/04 09:22:15 manifest has unsupported version: 4 (we support 7).
Please see https://github.com/dgraph-io/badger/blob/master/README.md#i-see-manifest-has-unsupported-version-x-we-support-y-error on how to fix this.

Error encountered creating daemonized opctl node
1 ↩
cameronlittle@Chehalis:~/Dev/ClientService (±IPROD-2139-homescreen-uxmessage) (⬢ v12.16.2) (⎈preprod.k8s.remitly.com)
▻ opctl ui
2020/05/04 09:24:40 manifest has unsupported version: 4 (we support 7).
Please see https://github.com/dgraph-io/badger/blob/master/README.md#i-see-manifest-has-unsupported-version-x-we-support-y-error on how to fix this.

Error encountered creating daemonized opctl node
1 ↩

Ah, this is happening on every command I run, not just opctl ui

Also reproducible on 0.1.37. I downgraded back to 0.1.32 and opctl's working again.

thanks, pushing fix now. It's because we updated our embedded database. There was meant to be automated handling of this but clearly not working as intended.


libgdx.so  I want to know the source code of this library.

Please ensure you have given all the following requested information in your report.
Issue details
Please provide the details of your issue
I want to compile the 64-bit library myself but I don't know which one the source library is.
Please select the affected platforms

[ ] Android

https://libgdx.com/dev/natives/ hf


Error after Flask kerko sync

Hi,
I really appreciate your work, and I'm trying to apply it to a new project of online bibliography. Unfortunately, my knowledge is poor, and I just got an error message after the "Flask kerko sync" step. Here is the message I get, I guess it's not too bad and just the result of my ignorance or a networks's parameter...
Maybe someone here could understand the reason ?
As explained on the Kerkoapp presnetation on Github, I've updated the .env file with my variables, as :
« SECRET_KEY=(secret key I've chosen)
KERKO_TITLE=Bibliographie Velay et Haute-Loire
KERKO_ZOTERO_API_KEY=(here, a key which was ok when I was connecting with the Zotpress plugin for Wordpress)
KERKO_ZOTERO_LIBRARY_ID=4371063 »

Here is the error message :
(venv<EMAIL_ADDRESS>(python/3.8/development) ~/www/kerkoapp $ flask kerko sync

[2021-07-27 15:11:08,268] INFO in index: Starting index sync.

[2021-07-27 15:11:08,269] INFO in zotero: Requesting all item types...

[2021-07-27 15:11:11,326] ERROR in zotero: HTTPSConnectionPool(host='api.zotero.org', port=443): Max retries exceeded with url: /itemTypes?locale=en-US (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadee555280>: Failed to establish a new connection: [Errno 111] Connection refused'))

Traceback (most recent call last):

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/connection.py", line 169, in _new_conn

conn = connection.create_connection(

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 96, in create_connection

raise err

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/util/connection.py", line 86, in create_connection

sock.connect(sa)

ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen

httplib_response = self._make_request(

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request

self._validate_conn(conn)

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn

conn.connect()

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/connection.py", line 353, in connect

conn = self._new_conn()

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/connection.py", line 181, in _new_conn

raise NewConnectionError(

urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7fadee555280>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/gsukkts/venv/lib/python3.8/site-packages/requests/adapters.py", line 439, in send

resp = conn.urlopen(

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen

retries = retries.increment(

File "/home/gsukkts/venv/lib/python3.8/site-packages/urllib3/util/retry.py", line 573, in increment

raise MaxRetryError(_pool, url, error or ResponseError(cause))

urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.zotero.org', port=443): Max retries exceeded with url: /itemTypes?locale=en-US (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadee555280>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "/home/gsukkts/venv/lib/python3.8/site-packages/kerko/zotero.py", line 21, in retry_zotero

return wrapped(*args, **kwargs)

File "/home/gsukkts/venv/lib/python3.8/site-packages/kerko/zotero.py", line 65, in load_item_types

return zotero_credentials.item_types()

File "/home/gsukkts/venv/lib/python3.8/site-packages/pyzotero/zotero.py", line 150, in wrapped_f

retrieved = self._retrieve_data(query_string, params=params)

File "/home/gsukkts/venv/lib/python3.8/site-packages/pyzotero/zotero.py", line 432, in _retrieve_data

self.request = requests.get(

File "/home/gsukkts/venv/lib/python3.8/site-packages/requests/api.py", line 76, in get

return request('get', url, params=params, **kwargs)

File "/home/gsukkts/venv/lib/python3.8/site-packages/requests/api.py", line 61, in request

return session.request(method=method, url=url, **kwargs)

File "/home/gsukkts/venv/lib/python3.8/site-packages/requests/sessions.py", line 542, in request

resp = self.send(prep, **send_kwargs)

File "/home/gsukkts/venv/lib/python3.8/site-packages/requests/sessions.py", line 655, in send

r = adapter.send(request, **kwargs)

File "/home/gsukkts/venv/lib/python3.8/site-packages/requests/adapters.py", line 516, in send

raise ConnectionError(e, request=request)

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.zotero.org', port=443): Max retries exceeded with url: /itemTypes?locale=en-US (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fadee555280>: Failed to establish a new connection: [Errno 111] Connection refused'))

[2021-07-27 15:11:11,328] WARNING in zotero: The Zotero API call has failed in load_item_types. New attempt in 120 seconds...

Thanks a lot if you have any clue...
Best regards,
Sylvain (France)

This looks like a network connection problem. Perhaps a configuration issue with your firewall or your container?

Closing for lack of activity.


Interaction Engine holding fails under locomotion

If the LMHeadMountedRig is moving too fast, interactable objects can no longer be held. Grabbing still seems to work, but the object is immediately dropped. Slowing the motion allows holding to work again -- in the example project provided by the external developer in the post linked below, the per-frame translation was set to .2 units; changing to .02 resulted in holding working again.
See https://community.leapmotion.com/t/orion-unity-unusable-with-gameobject-movements/5896/11

Try commenting out line 233 in InteractionBehaviour.cs so:
#if UNITY_EDITOR
      if (_contactMode == ContactMode.GRASPED && UntrackedHandCount == 0 &&
          Vector3.Distance(_solvedPosition, _warper.RigidbodyPosition) > _material.ReleaseDistance * _manager.SimulationScale ||
          Quaternion.Angle(_solvedRotation, _warper.RigidbodyRotation) > _material.ReleaseAngle) {
        _manager.ReleaseObject(this);
      }
#endif

becomes
#if UNITY_EDITOR
      if (_contactMode == ContactMode.GRASPED && UntrackedHandCount == 0 &&
          //Vector3.Distance(_solvedPosition, _warper.RigidbodyPosition) > _material.ReleaseDistance * _manager.SimulationScale ||
          Quaternion.Angle(_solvedRotation, _warper.RigidbodyRotation) > _material.ReleaseAngle) {
        _manager.ReleaseObject(this);
      }
#endif

This solves the holding part, but the object still doesn't move with the hand when grasped. I.e. you can see the blue outline turn and stay green, but the object doesn't move with the hand. If you toggle movement while holding, the block is frozen relative to the parent when movement starts, but jumps back to the hand when movement stops
Also, that code is in an editor-only ifdef, so it only affects things when playing the scene in the editor.

So that fixes it completely for both me and jon.  Could you give specific steps to replicate the weird issue where it is grabbed but not following the hand?

I had made a number of changes to the hierarchy from the original project. When I went back to the original project, commenting out those lines (or running a build) work for me, too.

Fixed.


Language-specific guides request c#

There are a few other issues that have been raised relating to there not being a c# language specific guide.
Wanting to add some more weight behind this, as I'm quite surprised a language as large as c# and used in a great deal of enterprise level application doesn't have a language-specific guide.
If there is something I can do to help make this happen please let me know.
Contrastingly, Microsoft do have some good initial information that could be used to help build this article:
https://docs.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=windows

+1

Thanks for requesting; let me close this as duplicate of https://github.com/docker/docker.github.io/issues/12249 and https://github.com/docker/docker.github.io/issues/12697


Increase the limit of metafields allowed for checkout extensions

Describe the changes you are looking for
I see a growing amount of data that can be added into metafields but 5 is limiting.
Right now I'm storing all promotion settings within metafields, it looks something like:
 [{
    promotionId: 9,
    createdAt: '2022-09-25T16:29:49.997672+00:00',
    updatedAt: '2022-10-09T00:25:42.403923+00:00',
    isEnabled: true,
    name: 'Specific',
    type: 'CROSS_SELL',
    heading: 'You might also likea',
    productSelectionMode: 'MANUAL',
    products: [
      {
        id: 'gid://shopify/Product/7767834624247',
        tags: ['cap', 'egnition-sample-data', 'nike'],
        title: 'NIKE | SWOOSH PRO FLAT PEAK CAP',
        handle: 'nike-swoosh-pro-flat-peak-cap',
        variants: [
          ...
        ]
...

Most of it is merchant input, and depending on how many products/variants a merchant selects, and how many promotions are created, the limit can be reached quickly. Each metafield has a 65k char limit but that runs out quick if a merchant wants to show multiple products with multiple variants, select collections of products, or use multiple promotions for different situations.
I'm sharding the data between 3 metafields right now and it feels bad to impose such a limit on merchants–saying they can't create more promotions or select more products/variants for their cross-sells because of the current metafield limit.
It also leaves little room for future migrations, like when app-owned metafields come into play, migrating with only 5 metafields when 4 are already in use looks tricky.
Along with a higher limit it'd give more room to add more custom app settings and settings that would help with translations/internationalization, or interaction with other metafields to interact with function discounts. All of this would be great to keep the checkout extension from having to use any network calls while still maintaining full customizability.
Describe alternatives you’ve considered

Checkout extension settings. While a 20 setting limit sounds good the interface is limited. With metafields I can craft a better merchant experience using dynamic form fields, resource pickers, and a bunch of other Polaris components, while inputting data using settings, through the checkout editor, is far more limited.

Also, the settings work on a per-app-instance basis whereas metafields can work on a per-promotion (in-app object) basis, providing more flexibility.

Cutting down the number of fields stored in metafields. I've done this and will continue to compress the data as much as possible, but having more space available means being able to store more merchant customizations.

Additional context
Continuing this from an AMA within the Shopify dev discord channel: https://discord.com/channels/842813079926603828/1030167681845956769/1030177330364162099

@KTruong008 The limit was increased to 50 extensions mid May. Sorry for the delay in marking this complete.

Hello guys, I also find that in checkout extension there is a limit on number of metafields to retrieve throught toml configuration file. As I want to more metafield than 5 which has the static content , I am not able add it. If anyone has any update on this, please let us know.

@dnagoda I think instead of looking at this as increasing the limit of metafields, it would be way better if metafields weren't passed through the toml at all and instead we had more direct access to them through the APIs.

Increasing the limit would be nice but I agree having direct API access to metafields would be ideal.
Main use-case for my situation now is accessing customer metafields, also outlined in #2182 . Defining it in the toml makes for a poor experience on a public app as the merchant cannot use their own metafield namespace/keys and has to use ones that are fixed in the toml.


Applying method to all bodies to rigid body.

Hello, I'm universty student of Korea.
I would like to make 2D Object body in person.
For example, not based are in such as Bodies.rectangle or Bodies.circle or Bodies.fromVertices .
By the way, I wondering that could make it
For example, such as circle or rectangle or polygon etc... can make body, but not make more than complicated and beautiful 2D Object body also curve.
Therefore I would like to apply rigid body to all bodies I made.
There is a method ?

Take a look at the SVG example, I think that might be what you're looking for?

uhm… SVG example is    similiar I asked, but I will again ask, because problem was not solved.
First, I would like to talk SVG example.
I have hard executed SVG example including decomp,pathseg,Iconmonstr
There is very small that svg Iconmonstr is provided.
but I found svg of big size in your Git.
I have continue tried to display a small svg is to big svg.
At result, I solved it through below module. (https://www.npmjs.com/package/scale-svg-path)
Although image is display, it is slightly broken.

How you did in SVG example based in Iconmonstr?

Sadly not all of the Iconmonstr SVGs work well without some modification, so I just chose the ones that did.


Validation

Description
Fixes #29
Switches the default image usage flag bits for the swapchain images to use VK_IMAGE_USAGE_TRANSFER_DST_BIT instead of VK_IMAGE_USAGE_TRANSFER_SRC_BIT.
Fixes #30
In both the hello_triangle example and the common instance.cpp code, the VkDebugReportCallbackCreateInfoEXT structure is used to populate the pNext member of the VkInstanceCreateInfo when validation is enabled.
Fixes #33
Both the hello_triangle and common instance.cpp now attempt to use the recommended validation layer VK_LAYER_KHRONOS_validation, before falling back to VK_LAYER_LUNARG_standard_validation, which in turn will fall back to the list of explicit validation layers.  This should ensure the examples work with validation across a broad range of versions of Vulkan drivers. Relying on the list included in hello_triangle will fail on modern drivers as reported in the linked issue.  On the other hand, older Vulkan drivers may not recognize the newer VK_LAYER_KHRONOS_validation, so a set of fallbacks is preferable to the fixed approach.
Fixes #37
The /MP compile option should be added regardless of whether warnings are being treated as errors.
Fixes #38
Fixed invalid source access mask in post-image-upload barrier in the GLTF loader.
Tested on http://vulkan.gpuinfo.org/displayreport.php?id=7266
Checklist:
Do not submit your PR without all of the below being checked:

[X] My code follows the coding style
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] I have tested my sample on at least one compliant Vulkan implementation
[X] I have stated on what implementation the sample has been tested so that others can test on different implementations and platforms
[X] If my sample is vendor-specific, I have tagged it appropriately
[X] My changes do not add any new compiler warnings
[X] Vulkan validation layer output is clean on at least one compliant implementation
[X] Any dependent changes (e.g. assets) have been merged and published in downstream modules
[X] I have used existing framework/helper functions where possible
[X] I have reviewed file licenses
[X] My changes build and run on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions

@jherico I don't think we should update copyright notice in source/header files if we haven't actually changed anything in these source files in that year. IANAL but this is how understand this works.

@wasimabbas-arm then someone needs to fix the CI server to recognize that, because currently it fails every file that doesn't have 2020 in the copyright block, whether it's been touched in a given PR or not.

@wasimabbas-arm I've updated the PR to remove the global copyright update in favor of updated copyrights only where I've touched the code.  This will presumably fail CI again.

I don't know whether it's possible, but its seems like the stage 1 checks should not trigger cancellation of the stage 2 checks.  A stage 1 failure in CI should still mark the PR as failed, but it's important to know whether the build succeeds independently of the formatting / tidy / copyright checks, etc.

@jherico We have fixed this in one of our PR https://github.com/KhronosGroup/Vulkan-Samples/pull/24/commits/c284969decb3c5bfe3b8bf5cfb85d241f1469994
@ZandroFargnoli has submitted a fix it's in review right now. But having a look at this again today I think its also changing way more source/header files then it should. So that also needs redoing.

Sorry my comment was not fully correct. @ZandroFargnoli changes shouldn't affect your commit.
Everything looks good to me now.

@jherico - Do you have any updates on this? :)

I'm going to break the PR into several smaller PR's individually addressing the bugs.


Migrating off of openssl

Coverage decreased (-0.02%) to 68.269% when pulling f944d970a8a8d55358a6bf39a26da1f13df746e4 on kevgliss:crl-checking into 3db3214cbe85afffe95aa5b625758677cee82f58 on Netflix:master.


Clarification for active/active

Hello team,
On this page there is information regarding the default active/active config for the primary and secondary connection within an ER circuit.
https://learn.microsoft.com/en-us/azure/expressroute/designing-for-high-availability-with-expressroute#active-active-connections
However in the FAQ it states the secondary is used for redundancy but shouldn't be used for all traffic on an ongoing basis. https://learn.microsoft.com/en-us/azure/expressroute/expressroute-faqs#if-i-pay-for-an-expressroute-circuit-of-a-given-bandwidth-do-i-have-the-ability-to-use-more-than-my-procured-bandwidth
"The built-in redundancy of your circuit is configured using primary and secondary connections, each of the procured bandwidth, to two Microsoft Enterprise Edge routers (MSEEs). The bandwidth available through your secondary connection can be used for more traffic if necessary. Because the secondary connection is meant for redundancy, however, it isn't guaranteed and shouldn't be used for additional traffic for a sustained period of time."
Could you confirm that an active/active configuration is recommended for ongoing use?
Kind Regards
Daniella

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

ID: 2b27b9b3-fe7e-1ac3-d07a-3d55ce820e48
Version Independent ID: 9607bff7-4b14-f3ef-6a4d-cf494eb84c07
Content: Azure ExpressRoute: Designing for high availability
Content Source: articles/expressroute/designing-for-high-availability-with-expressroute.md
Service: expressroute
GitHub Login: @duongau
Microsoft Alias: duau

@DaniMathews, the FAQ states that you should not use the secondary connection for additional traffic more than the procured bandwidth.
For general use cases, you can go ahead with active-active as long as you do not hit the bandwidth cap

@DaniMathews, I shall close this thread now as there are no active discussions going on.
Please tag me should you have further queries, we shall re-open the issue and we can continue the discussion


POST request on /org/requests gives "Method Not Allowed" as response.

To get all requests to join an organization I called on this route, '/org/requests' but it is giving me "Method not allowed" as response, if this is a get request then please update it properly in the documentation, with all the details on how to send the request with org_id, email and token.

Docs have been updated with what the request needs.


Build failure: p11-kit-riscv64-unknown-linux-gnu-0.25-0 (cross compiled)

Steps To Reproduce
When trying to build an SD image for either the StarFive VisionFive 2 or Pine64 Star64 boards using the flakes at github.com/nixos/nixos-hardware/starfive/visionfive/v2 or github.com/nixos/nixos-hardware/pine64/star64 there is a problem cross compiling p11-kit due to the test not being allowed during cross compilation.
When looking in the p11-kit default.nix doCheck is only set to false for Darwin systems so I patched it with:
diff --git a/pkgs/development/libraries/p11-kit/default.nix b/pkgs/development/libraries/p11-kit/default.nix
index 7f545958e71..59c2776786d 100644
--- a/pkgs/development/libraries/p11-kit/default.nix
+++ b/pkgs/development/libraries/p11-kit/default.nix
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
     fi
   '';

-  doCheck = !stdenv.isDarwin;
+  doCheck = ( stdenv.hostPlatform == stdenv.buildPlatform ) && !stdenv.isDarwin;

   installFlags = [
     "exampledir=${placeholder "out"}/etc/pkcs11"

which I would have thought should have solved the problem, but unfortunately not.
Build log
error: builder for '/nix/store/mjpyv58ysm90i29x6146d8y3n1b9ldq0-p11-kit-riscv64-unknown-linux-gnu-0.25.0.drv' failed with exit code 1;
       last 10 log lines:
       > checking for fdwalk... no
       > checking for setenv... yes
       > checking for getpeereid... no
       > checking for getpeerucred... no
       > checking for issetugid... no
       > checking for isatty... yes
       > checking for strerror_r... yes
       > configure: error: in `/build/source':
       > configure: error: cannot run test program while cross compiling
       > See `config.log' for more details
       For full logs, run 'nix log /nix/store/mjpyv58ysm90i29x6146d8y3n1b9ldq0-p11-kit-riscv64-unknown-linux-gnu-0.25.0.drv'.
error (ignored): error: cannot unlink '/tmp/nix-build-libgcrypt-riscv64-unknown-linux-gnu-1.10.2.drv-8': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-unbound-riscv64-unknown-linux-gnu-1.17.1.drv-9': Directory not empty
error: 1 dependencies of derivation '/nix/store/3c3lbcc0psmlpkj5ivqil733g738rgkm-gnutls-riscv64-unknown-linux-gnu-3.8.0.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ymasznpj8da2mwpjfi89ji5d197n4xry-systemd-riscv64-unknown-linux-gnu-253.6.drv' failed to build
error (ignored): error: cannot unlink '/tmp/nix-build-go-1.20.6.drv-1/go/pkg/obj/go-build/bf': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-zsh-riscv64-unknown-linux-gnu-5.9.drv-8/zsh-5.9': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-libewf-riscv64-unknown-linux-gnu-20201230.drv-8/libewf-20201230': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-strace-riscv64-unknown-linux-gnu-6.4.drv-11/strace-6.4': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-glib-riscv64-unknown-linux-gnu-2.76.4.drv-2': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-pkg-config-riscv64-unknown-linux-gnu-0.29.2.drv-9': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-coreutils-full-riscv64-unknown-linux-gnu-9.3.drv-15/coreutils-9.3': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-bash-interactive-5.2-p15-riscv64-unknown-linux-gnu.drv-12/bash-5.2': Directory not empty
error: 1 dependencies of derivation '/nix/store/jsl1d51zybzgmq7s6rjpv67md1cq0nbd-nixos-system-erable-23.11.20230801.c502bec.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5ll5ddry0ay6j6wgrs7d88gkn915cpr2-uboot-pine64_star64_defconfig-riscv64-unknown-linux-gnu-3.0.4.drv' failed to build
error: 1 dependencies of derivation '/nix/store/dvvjx1jxs52z5725hbn1a5pf2q5j4qds-ext4-fs.img-riscv64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/1jhgss4k2ljp500qm6xa34p6pdf5nfmq-pine64-star64-spl-riscv64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cch9ah9fs8gkw5ai0004yadi5gqvbpji-pine64-star64-uboot-fit-image-riscv64-unknown-linux-gnu.drv' failed to build
error: 1 dependencies of derivation '/nix/store/8nskspixvq4grqf0cqih46f6ib5snpwc-nixos-sd-image-23.11.20230801.c502bec-riscv64-linux-pine64-star64.img-riscv64-unknown-linux-gnu.drv' failed to build

and the full log is in log.log
Notify maintainers
@NickCao @leifhelm @fgaz @r-ryantm
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 6.4.6, NixOS, 23.11 (Tapir), 23.11.20230729.e6ab469`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.15.1`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This should not be an issue with https://github.com/NixOS/nixpkgs/pull/244633 and https://github.com/NixOS/nixpkgs/pull/245124

Dupe of https://github.com/NixOS/nixpkgs/issues/245969


Update to React 15

Initial testing with the charts I have in use (Line and Bar) seem to work fine with the upgrade. I have not fully tested with all chartist features.

I have also confirmed with one of my projects that the pie/donut chart are functioning with react 15.

@fraserxu Could you please publish this minor update to npm when you get a chance?  Thanks!

@joshgerdes @jcblw Something like v15.0.0?

I would say just a patch like in the PR would be fine since nothing internally changed beside the peer dep. So v0.10.2

Hmm @jcblw , that makes sense. I'm suggesting v15.0.0 because that may indicate to user that this is following the version of React?
Yes, you are right, there's no changes in the code, the code could work for version other than v15.0.0.

I would still say patch version is better its an easier update path for people looking to update to react 15.
Its npm update react-chartist rather then npm install react-chartist@15. Also libs like react-redux and react-dnd only updated there patch versions. I think the 15 version thing is mostly for the react-addon- stuff that facebook maintains.

I just updated the peerDependencies to
"peerDependencies": {
  "react": "^0.14.0 || ^15.0.0-0"
}

Following https://github.com/reactjs/react-redux/commit/da106bd49269285565b759dcb6a28a3bca22eb4b
And published to v0.10.2, thanks @joshgerdes @jcblw

no thank you @fraserxu


Elementum crashing on startup Windows 10 x64

Hi,
Elementum is randomly crashing on startup, reinstallation of the addon fixes the crashes.
this is not a new issue, I've just never opened an issue about it.
I can't tell you how reproduce because it just happens randomly at startup.
Kodi 19.4 on Windows 10 x64.
Please advise.
Log file: https://gist.github.com/ShlomiD83/51a03a3288896416fca5e549282523d1

i see same error multiple times in your log file:
https://gist.github.com/ShlomiD83/51a03a3288896416fca5e549282523d1#file-kodi-log-L4538-L4540
2022-10-11 08:36:32.987 T:3460    ERROR <general>: [plugin.video.elementum] Existing process found from lockfile, killing...
2022-10-11 08:36:32.987 T:3460    FATAL <general>: [plugin.video.elementum] PermissionError(13, 'Access is denied', None, 5, None)
2022-10-11 08:36:32.987 T:3460    ERROR <general>: [plugin.video.elementum] Removing library.db.lock file at C:\Users\ShlomiD\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.elementum\library.db.lock ...
2022-10-11 08:36:32.987 T:3460    FATAL <general>: [plugin.video.elementum] FileNotFoundError(2, 'The system cannot find the file specified')

check that after exiting kodi you do not have elementum process still running.
i can only suggest to kill it. also delete that lock file if it is exist (but log files says it does not exist).
maybe some settings that you have set are preventing elementum from shutting down correctly.

i see same error multiple times in your log file: https://gist.github.com/ShlomiD83/51a03a3288896416fca5e549282523d1#file-kodi-log-L4538-L4540
2022-10-11 08:36:32.987 T:3460    ERROR <general>: [plugin.video.elementum] Existing process found from lockfile, killing...
2022-10-11 08:36:32.987 T:3460    FATAL <general>: [plugin.video.elementum] PermissionError(13, 'Access is denied', None, 5, None)
2022-10-11 08:36:32.987 T:3460    ERROR <general>: [plugin.video.elementum] Removing library.db.lock file at C:\Users\ShlomiD\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.elementum\library.db.lock ...
2022-10-11 08:36:32.987 T:3460    FATAL <general>: [plugin.video.elementum] FileNotFoundError(2, 'The system cannot find the file specified')

check that after exiting kodi you do not have elementum process still running. i can only suggest to kill it. also delete that lock file if it is exist (but log files says it does not exist). maybe some settings that you have set are preventing elementum from shutting down correctly.

Which settings can cause that?

I do not know. For me (I use file storage and I have a lot of torrents) - disabling "add extra trackers" or at least set it to "minimum list" - makes elementum to shut down faster. But I use Android.
Maybe it is not about settings but about windows build of elementum.
I can only suggest to try different settings to figure this out.

I'm using memory storage and gave Elementum 4GB to use.
I'll try to experiment with the settings, as I mentioned this doesn't happen every time so it's tough to troubleshoot.

Closing this stale issue. Feel free to re-open if there is an issue.


New link for Clearside in SF, CA

https://jobs.lever.co/clearslide

@j-delaney The old link points correctly to the careers page and so this issue can be closed.
The new link points to an exact page for Jobs Lever but that may change over time, sticking to the old link of Careers page is better.

@audip Thanks for looking into that. Closing out.


Pipeline code causing error/going to wrong page when switching environments

Rancher versions: v1.6.10
Steps to Reproduce:

Switch environments

Results:  Goes to Manage Environments page instead of Stacks page.  Error in console, Regions don't exist in 1.6.10 or 1.6.11.  Should find out when that is releases or turn off that call.
fetch.js:404 GET http://<IP_ADDRESS>:8080/v2-beta/schemas/region?sort=name 404 (Not Found)

Actually, this version of UI is not based in v1.6.10, it's based on branch v1.6-dev for merging.
But, we used rancher/server:v1.6.10 as the backend.
@vincent99 Should I userancher/server:v1.6-development for test, or any other image?

You have UI based off of "master" (1.6-dev), which has Regions support for a future release trying to hit an API that doesn't exist in 1.6.10.  So you either one of:

a newer backend that does have regions
a hack to disable trying to get them in the UI (app/authenticated/route.js preload)
or rebase the UI changes against the release UI tag for Rancher 1.6.10 or 11.

We want to release Pipeline UI in 1.6.12, so for test purpose, I should rebase it into rancher/ui tag: v1.6.12, and use the latest rancher/server:v1.6.12-rc1 as backend, right?

@vincent99 I've rebased code into tag v1.6.10, and requested a new PR.

Version - master 12-6
Verified fixed


Functional Tests for SnippetsFilter

Proposed changes
Write a clear and concise description that helps reviewers understand the purpose and impact of your changes. Use the
following format:
Problem: User wants to have functional tests for SnippetsFilter.
Solution: Adds functional tests for SnippetsFilter
Test Case Scenarios

Tests SnippetsFilter are correctly applied to HTTPRoute

Verify SnippetsFilter Status is Accepted
Verify traffic is working for the uri configured.
Verify directives are placed in the right context

Tests SnippetsFilter are correctly applied to GRPCRoute

Verify SnippetsFilter Status is Accepted
Verify traffic is working for the uri configured.
Verify directives are placed in the right context

Tests invalid SnippetsFilter attached to routes throws an error

When SnippetsFilter has directives which already exists in the nginx.conf.
When SnippetsFilter has directives in the wrong context.

Testing: Run tests manually multiple times.
Please focus on (optional): If you any specific areas where you would like reviewers to focus their attention or provide
specific feedback, add them here.
Closes #2371
Checklist
Before creating a PR, run through this checklist and mark each as complete.

[x] I have read the CONTRIBUTING doc
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked that all unit tests pass after adding my changes
[ ] I have updated necessary documentation
[x] I have rebased my branch onto main
[x] I will ensure my PR is targeting the main branch and pulling from my branch from my own fork

Release notes
If this PR introduces a change that affects users and needs to be mentioned in the release notes,
please add a brief note that summarizes the change.

pre-commit.ci autofix

pre-commit.ci autofix


Water & Ground terrain swapped

In my hometown of Canberra, there is a large lake in the centre of the city called Lake Burley Griffin (-35.2934, 149.1350). When visiting the location it appears that the water terrain and the ground terrain have been swapped within a certain portion of the lake, as can be seen in the images. At the base of the screenshot you can see that the terrain returns to normal along a distinct line. This error does not occur along a chunk border.

It's a grounding error. I'm working twords a solution for 0.1.5.


[Forwardport 2.9] Add unit tests for AD GUID unmigration

Forwardport: https://github.com/rancher/rancher/issues/42328

As this is closed (as completed) should it still be in review ?


[Event Modification] codeunit 80 "Sales-Post" OnAfterInsertShipmentLine

Hello,
Is it possible to add the following to an Event:
    OnAfterInsertShipmentLine(SalesHeader, SalesLine, SalesShptLine, PreviewMode);

to
    OnAfterInsertShipmentLine(SalesHeader, SalesLine, SalesShptLine, PreviewMode, xSalesLine);

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


fix: correct engines range to include node v10

">10"` range does not include the v10 version (currently still LTS),  it eforces v11 and up.
Switching to ">=10" to include v10, which I believe was the original intent (changelog: "require node 10 in engines field")
Fixes #450 🦕

Woops! Thanks!


More Simplified Chinese Translation

More translation, not more simplified.
Do you think it would be better if the advanced setting items are also available for localization?

Whoa, somehow I completely missed this PR. Thank you for the update! Yeah, right now advanced setting items cannot be localized, I'm currently thinking about a way to support this cleanly.


Open endpoints that drive ingest board to public

@bhonick Would like to generate reports using a BI tool which will retrieve dataset and upload status from the same endpoints that we use to drive the Data Ingest Board.  The BI tool will consume json, but cannot sent an authorization token, so we need to remove the requirement to provide a valid token for these endpoints.  These endpoints will be open to the world without any need for authorization (no token required)-- Per Phil, this is fine to open these endpoints for public access.
Change the authorization on the ingest-api endpoints used for retrieving dataset status GET /datasets/data-status and upload GET /uploads/data-status to require no token at all.

Addressed via PR https://github.com/hubmapconsortium/gateway/pull/277 and released via PR https://github.com/hubmapconsortium/gateway/pull/278

When this has been completed please notify @bhonick

@bhonick the two endpoints are open now, no token is required
GET https://ingest.api.hubmapconsortium.org/datasets/data-status
GET https://ingest.api.hubmapconsortium.org/uploads/data-status

Excellent, thank you @yuanzhou , @shirey


Fix broken links on contributor page readme

Fixed 6 links as outlined in Issue #444.

Additionally fixed a typo in the second to last paragraph (changed from "there are many more ways to contribute to p5.js through non-source code contribution than can be exhaustively listed here" to "there are many more ways to contribute to p5.js through non-source code contribution than cannot be exhaustively listed here").

@all-contributors please add @sambensim for 📖 doc

@sambensim would you mind revising this PR to focus only on the fixes to the broken links?
Feel free to open a separate issue for the copy. Though it is not a typo, the text could be made clearer (see my inline comment).

@sambensim would you mind revising this PR to focus only on the fixes to the broken links?
Feel free to open a separate issue for the copy. Though it is not a typo, the text could be made clearer (see my inline comment).

Hey! Sorry just saw this, should I use the text you suggested earlier or just focus on the link fixes?

@sambensim No worries! Thanks for your reply :) I'd suggest focusing on the links.
If you want to address the text please open a separate issue. It is correct as is but your intuition to correct it shows that the phrasing could be clearer.

Thanks @sambensim for all your work on this. The contribute pages on p5js.org website are built directly from p5.js library repo contributor_docs folder. So if we want to make changes, we will edit the docs in p5.js library repo contributor_docs folder,
All the broken links mentioned in this PR is fixed in this commit in p5.js library repo, and then this commit in p5.js website repo. In the future, if you find more broken links of contribute pages, please go ahead and open PRs within p5.js library repo.
I will close this PR for organizational purpose. Thank you!


[HarvardBusinessReviewBridge] Add bridge

Added new bridge for HBR.com the latest articles.

Please fix the lint errors, thanks

lgtm


Fixed flash message translation for closing task

Fix for issue #418, it was also happening when volunteering for a task.

Screenshots of fixed flash messages:

@diegoaad Good stuff - thanks for the fix!!


feat: bump deps

bumping dependency versions to avoid some dependabot vulnerability reports and use latest core and command libraries.
@W-8776235@

Hi @shetzel would you please explain the changes a bit more? Are the changes in command snapshot for removing some functionalities? And what about the changes in the tests?

Hi @shetzel would you please explain the changes a bit more? Are the changes in command snapshot for removing some functionalities? And what about the changes in the tests?

@rui-rayqiu - I made some clarifying comments to the PR.  Let me work on a fix for the withProject bug so those don't have to be included.

It seems that this PR was superseded by recent PRs, especially #50. When I run yarn audit, I see 0 vulnerabilities.
Closing this PR, please reopen if I made a mistake. Thanks!


Feature/Documentation Request - Output to PNG/JPEG/etc

Hi,
Can you please explain how someone could output directly to PNG, or convert the (effectively) text output to PNG.
Thanks.

Hi, thanks for the suggestion! Right now, image output isn't possible, but that could certainly be implemented.
Easiest would probably be to produce output in a format such as PAM, which could then easily be converted to e.g. PNG with tools such as Imagemagick: convert out.pam out.png. Do you think that would be good enough? Depending on libpng or similar for a simple tool like this seems a bit overkill to me.
Implementing PAM output (or similar) should be easy enough, I could do that. The resulting image files would probably be pretty big though, at least if one dumps an entire file rather than just a small range.

+1 . I could use such feature

Any update on this?