Update these regexp tests when unicode flag support is added.

This list may include tests for changes that haven't landed yet, but I want a reference issue so I can go back and fix them up later as they will land prior to the unicode flag support.

corelib_2/regexp/lookbehind_test.dart
corelib_2/regexp/named-captures_test.dart

Done in 5ebb640.

Reopening due to revert in 9238e253055b0028, checking into issue that caused revert now.

Relanded in 4028fec3b56703752


Arbitrum E2E test

We need to finish the abitrum.sh script and make sure to have E2E test under CI.

is this a duplicate or included in #627? If yes, please close @istankovic

Yeah, good catch Fred. Closing.


Update index.tsx

I have made some changes to how a certain part of a web page looks and behaves. Specifically, I make sure that a section called "Feature" has the right style applied to it. I also make sure that any text shown in that section is centered on the page. To do this, I first wrapped the text inside the "Feature" section in a paragraph (like how you'd write a paragraph in a document). Then, I applied some special styles to this section to make sure the text is centered and looks the way we want it to. So now, when you look at that part of the web page, you'll see the text nicely centered and formatted, just like you intended.

I guess this change is for:

vs.

I think I like the first version better and I didn't really understood how it is "just like I intended."


[BEAM-3785][SQL] Add support for arrays

Add support for arrays, implement ARRAY creation and operations

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

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand:

[x] What the pull request does
[x] Why it does it
[x] How it does it
[ ] Why this approach

[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Run mvn clean verify to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @kennknowles @apilloud

retest this please

retest this please

 good to have this support in place. I expect that we will want to look at the performance of basically running a syntax-tree interpreter on every expression. Not new in this PR, but seeing the functionality added made me think of it. That's a slow approach in a tight loop.

Reviewed 3 of 11 files at r1, 17 of 17 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Random Maze Game using DFS Algorithm

Author: Hanz Po
About
Sprig is perfect for maze games and I wanted to learn more about graph theory, so I decided to combine them into this project. This project incorporates the iterative implementation of a randomized depth-first search (DFS) generation algorithm, as described in this Wikipedia article: https://en.wikipedia.org/wiki/Maze_generation_algorithm
I'm unfamiliar with JavaScript so I first implemented the algorithm in C++ then moved it to JavaScript afterwards. C++ implementation: https://github.com/HanzPo/dfs-maze-cpp
The objective of the game is to get the player (red square) to the target (green square).
Controls:
WASD to move
J to generate a maze
Other settings:
You can change the dimensions of the maze by chainging the dimensions of the placeholder level in the levels array, but the
dimensions must be odd numbers.
Code

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Image

[x] The image is in the /games/img directory.
[x] The name of the image matches the name of your file.

Nice! Thanks for PR:) Where did you hear about Sprig?

Hi! Someone told me about Hack Club so I went on the website and saw the Sprig page

Right:) Out of curiosity, did you use any game for inspiration?

Yeah there's another game with randomly generated maze levels using a similar algorithm but I wrote my game from scratch


Demo: Implement Excel export for Data Grid

Requirement
Export/Download data of Data Grid. This also serves as best practice for the Admin Generator.
Solution
Add "More"-Menu with "Excel-Export"-Button (as defined by Comet UX design guide), using useDataGridExcelExport to generate and download an Excel file.
Open issues

[ ] generateExcelFile (used within useDataGridExcelExport) does only support text-columns but it should support int, decimal, date, currency. this way implementing valueGetter would be the perfect solution to handle exporting columns with custom renderCell.
[ ] use component introduced with #2115

also have a look at #2115, once that is merged you should also use it here

use component introduced with #2115

@Ben-Ho do you want to wait for this, or change it in a follow-up PR? If so, please add a TODO in the code.

it depends. how long do you think will it take #2115 to get merged? My main target is to add this feature to admin-generator, but admin-generator can probably also be updated in a follow-up PR... probably a follow-up PR could be the better solution...

@Ben-Ho #2115 has been merged, so you can use it here.

@nsams @johnnyomair I'm now using the new CrudMoreActionsMenu

The implementation should be the same as in #2573

already implemented in admin-generator, so handmade is not needed anymore.


Bump containers/storage and containers/image

Re-vendor containers/storage to current master (0d32dfce498e06c132c60dac945081bf44c22464), and containers/image to current master (c8bcd6aa11c62637c5a7da1420f43dd6a15f0e8d).

LGTM
Is this worthy of another skopeo package?

I'm not sure we're waiting on anything in here specifically.  My main goal here was to pick up the new ImagesByDigest() method in the storage library's Store object.

@runcom @mtrmac PTAL


Feature/readme

Added README documentation for the shib-rack gem.

Could you check all your code snippets with RuboCop please, to make sure they're valid?
Will help readability.

Isn't it a better idea to use  given/given! aliases instead of let/let! in Capybara features? :)

This is just a question!
Is that really necessary to evaluate attributes immediately in here.
I used to use immediate version (given!) a lot and at some point realized a lazy given is more efficient :)


Swipeable-Tabs: Exclude element from target

Hi @Lucifier129 ,
this is kinda related to https://github.com/Lucifier129/pull-element/issues/5
I would like to be able to exclude a specific element inside a target. The reason is the following: In the content of one tab, i wanted to add a list of elements that can be scrolled horizontally.
I only see the possibility to use both technologies (the swipeable tabs and the horizontal-scroll) by excluding the div, which should be scrolled horizontally, from the target (probably by passing a className or something like that).
Would love to have this feature shipped with your already great library!
Is it planned to add this feature?

Hi
The options.trigger is the thing to include, now it supports multiple elements as the trigger
usage and demo
Touch the trigger to pull.

I hope this can help to solve your problem

Hi @Lucifier129 ,
Sorry for this late response.
Unfortunately, your solution was not applicable in my case. But i found a solution, which might be interesting for others.
You can exclude any element, that is nested (doesn't matter how deep) in the targeted element, by adding a touchMove-EventListener and call stopPropagation on it:

 e.stopPropagation()}>Exclude from Swiping

Hope this can help anybody facing a similar problem.
Anyway, @Lucifier129 best thanks for your help, i love your library and it works perfectly now!


Fix aws deploy bug

Fixes #1179

Bug was introduce in 41d38573.

Can't meme on mobile but LGTM

Can't meme on mobile

A problem deeper than any this PR could ever hope to solve


Unexpectedly Triggering rust-analyzer

When I open a C project using meson build system, and this extension activates my rust-analyzer extension by activationEvent: 'onTaskType:cargo', cause rust-analyzer to complain missing cargo.toml error.

Could you add your tasks.json file to the ticket?

Could you add your tasks.json file to the ticket?

I do not add any tasks.json to my project or the environment.
Steps to reproduce: Make a new dir, put meson.build into it, also configure a C project with some random C source codes. At this point, rust-analyzer will not be activated because no Rust project detected. When manually or automatically (re)configure the project by the extension, it calls meson setup as well as the extension event rust-analyzer: 'onTaskType:cargo' that activates rust-analyzer.

If you don't have a tasks.json, I don't how this activation event could occur

Here is some log from VS Code after I manually configure my meson project via the extension:
2024-06-26 14:53:34.754 [info] ExtensionService#_doActivateExtension vscode.grunt, startup: false, activationEvent: 'onTaskType:grunt'
2024-06-26 14:53:34.761 [info] ExtensionService#_doActivateExtension vscode.gulp, startup: false, activationEvent: 'onTaskType:gulp'
2024-06-26 14:53:34.765 [info] ExtensionService#_doActivateExtension vscode.jake, startup: false, activationEvent: 'onTaskType:jake'
2024-06-26 14:53:34.768 [info] ExtensionService#_doActivateExtension vscode.typescript-language-features, startup: false, activationEvent: 'onTaskType:typescript'
2024-06-26 14:53:34.823 [info] ExtensionService#_doActivateExtension DavidAnson.vscode-markdownlint, startup: false, activationEvent: 'onTaskType:markdownlint'
2024-06-26 14:53:34.872 [info] ExtensionService#_doActivateExtension rust-lang.rust-analyzer, startup: false, activationEvent: 'onTaskType:cargo'
2024-06-26 14:54:27.869 [info] ExtensionService#_doActivateExtension vscode.configuration-editing, startup: false, activationEvent: 'onLanguage:jsonc'
2024-06-26 14:54:27.888 [info] ExtensionService#_doActivateExtension vscode.json-language-features, startup: false, activationEvent: 'onLanguage:jsonc'

It seems that the extension tried everything and there was only rust-analyzer that I installed onto my VS Code, which was activated.

This sounds very similar: https://github.com/microsoft/vscode/issues/192043.

That makes sense. However, working with CMake plugin on my machine does not have this annoying issue. How strange!

Yeah. Let's keep this open, but I'm pretty sure it isn't a problem with the extension because the only interaction we have with rust-analyzer is setting the path to the rust-projects.json file or whatever it is called.


question about DownloadFileWithProgress

In the DownloadFileAsync function, with FtpProgress, i found that progress==100 be triggered twice. I wonder if both triggers indicate that the file download is complete? Is that normal or it has sth to do with my ftp server?

Its normal.

Its normal.


Failure on scoped package

This might just be because the package.json is a level deeper than expected.
webpack: wait until bundle finished:
10 02 2017 14:45:50.822:ERROR [karma]: { Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>    at Error (native)
    at Object.fs.openSync (fs.js:634:18)
    at Object.fs.readFileSync (fs.js:502:33)
    at /Users/*/*/node_modules/webpack-node-modules-list/index.js:38:41
    at Array.forEach (native)
    at compilation.chunks.forEach.chunk (/Users/*/*/node_modules/webpack-node-modules-list/index.js:30:10)
    at Array.forEach (native)
    at Compiler.compiler.plugin (/Users/*/*/node_modules/webpack-node-modules-list/index.js:21:24)
    at Compiler.applyPluginsAsync (/Users/*/*/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.emitAssets (/Users/*/*/node_modules/webpack/lib/Compiler.js:226:7)
    at Watching.<anonymous> (/Users/*/*/node_modules/webpack/lib/Compiler.js:54:18)
    at /Users/*/*/node_modules/webpack/lib/Compiler.js:403:12
    at Compiler.next (/Users/*/*/node_modules/tapable/lib/Tapable.js:67:11)
    at Compiler.<anonymous> (/Users/*/*/node_modules/webpack/lib/CachePlugin.js:40:4)
    at Compiler.applyPluginsAsync (/Users/*/*/node_modules/tapable/lib/Tapable.js:71:13)
    at Compiler.<anonymous> (/Users/*/*/node_modules/webpack/lib/Compiler.js:400:9)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path<EMAIL_ADDRESS>}

I'll look into fixing this if I get a chance.

Thanks for reporting. Let me know if you need some help.

Hi, I am hitting this too:
Unhandled rejection Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>Because this directory doesn't have a package.json, any thoughts? Really need this module you have.

fix: https://github.com/ubilabs/webpack-node-modules-list/pull/15


Added Csv.test file

Has header array
Has 2 data arrays
Uses stringifyCsv function from Csv.ts
Checks data type, and 'column' positions

This PR has been replaced by https://github.com/heusalagroup/fi.hg.core/pull/20


build: bump Stylus to v0.7.0-beta.0 and alloy to v0.8.13

Resolves #424
PR Checklist

[ ] Tests
[ ] Documentation
[ ] Changelog

Blocked by https://github.com/OpenZeppelin/koba/pull/14

Superseded by https://github.com/OpenZeppelin/rust-contracts-stylus/pull/433


RATIS-807. ratis-tools subproject is not included in the release jar.

https://issues.apache.org/jira/browse/RATIS-807
How is this tested:
Test with the release script dev-support/make-rc.sh prepare_src and prepare_bin
prepare_bin will fail without the change.

Thanks @arp7 for the review. I will merge it shortly.


Official recipe for websocket integration

Hello, I'm trying to figure out a very nice way of integrating websockets with trpc nuxt, and just looking through the docs of trpc, though it seems like it isn't as straightforward as I thought, and I'm not sure how to use it alongside with things like httpBatchLink and wsLink, the environment variables I need (seems like I need to split up with the WS base url, then the WS port so then I can pass it in http server) etc. Quite a little confused as to the proper way to set this up for production purposes and using it from client side so it would be quite helpful if we could get some help on that, much appreciated c:

I'd love to know if you found an elegant solution to this? :)

@Extarys I've found an elegant enough way, although I haven't properly tested it out yet, so just a warning if you plan on using it for production https://github.com/Esposter/Esposter/blob/main/server/middleware/websocketServer.ts

https://github.com/wobsoriano/trpc-nuxt/discussions/95

Amazing stuff! Just a few things I found while reading through the example and documentation, I think the ws should be added as a plugin to nitro, so it has to be placed in ~/server/plugins/ws.ts as specified by https://nuxt.com/docs/guide/directory-structure/server#server-plugins
It would also be great if this was put into a section in the docs for how to setup if it hasn't already, thanks so much!


Command line tool net5.0 out of support

The command line tool and .net tool for net5.0 will be removed in future releases.
How it could affect me?

no attachment ThirdPartyLibraries.*-net5.0.zip on release pages for future releases
dotnet tool install --global ThirdPartyLibraries.GlobalTool on the environment with only installed .NET 5 SDK will not be supported

If any objections, please comment here.

removed in version 3.4.0


Bug report

There are only few light novels in browse section
Browse section isn't showing all novels present in site
When searched novel show up but don't show up in browse section
All the sources does this

Edit the title and mention what bug it is there in brief

@SanOtaku09 The browse screen scrapes novels from the latest or top novels page of the source . For example https://boxnovel.com/novel/?m_orderby=rating or https://www.readlightnovel.org/top-novel.
It can only display the novels which are on that page.


Definition of "Component"?

A concept of "component" is used throughout Hygieia, especially in the context of deployments. For example, environment_component collection associates environment data to "components". Component.java has this:

/**

A self-contained, independently deployable piece of the larger application. Each component of an application
has a different source repo, build job, deploy job, etc.
*
*/

So here is my question: which of the two scenario's best illustrates a component?
Suppose I have an application with two parts that come from two wars: myapp-api.war and myapp-ui.war. These are deployed together. For the sake of argument suppose they are built separately and come from separate repositories.

Components live at the artifact level. They are what comes out of builds. Both myapp-api.war and myapp-ui.war are components. They happen to be deployed together.
Components live at the deployment level. They consist of a collection of artifacts. In this example my component is a deployment package that consists of myapp-api.war and myapp-ui.war. They are always deployed together.

I've been assuming that number 2 is the definition that is being used - namely tracking deployment packages as opposed to individual artifacts. However, it doesn't appear that Hygieia is setup to handle this situation the way I devised it. In particular, the product dashboard can only watch 1 artifact from 1 build that comes from 1 repository. The scenario I setup has 1 component : 2 builds : 2 repositories.

A component is a generic place holder in Hygieia. It may or may not be tied to a single or multiple artifact. It is there just to allow future growth.


Apply the fast filter optimization to filter aggregation

[Triage - attendees 1 2 3 4 5]
Thanks @bowenlan-amzn, but there seems to be a lack of detail here. Please reopen if you can add more context :)


Return message ID in case of timeout

Hello there.
This small change returns the ID of the sent message in case of timeouts. I found that even if a timeout happens messages are still sent (maybe not always, but in my experience most of the time they are sent).
Returning the ID allows the code to look for ack events in the future. For example, if there was a timeout and we receive an ack for the same ID, it means it was actually sent.
I don't know there would be any issues with this change, but I've been using it for a couple of weeks and it seems to work fine.
Thanks!

Hi @luizpvas
Your PR makes sense.
I guess your phone got disconnected of WhatsApp but go-whatsapp kept communicating with websocket.
In this case, messages are queued onto WhatsApp services and dispatched to phone when it reaches WhatsApp again.
I use a different approach that prevents of this situation:

create ID before trying to send to WhatsApp;
force disconnection of websocket when phone is unreachable (stream asleep).

WhatsApp ignores messages with same ID sent to same conversation, keeping the oldest.

stream asleep

how identify stream asleep?

stream asleep

how identify stream asleep?

You may receive the command via HandleJsonMessage.
Put your phone into airplane mode and just wait some secs.

I am not sure if this is the correct approach since timeout does not mean 100% the message arrived.
Base on my test, 80% of the time out message does not reach the end device.
I will close this for now but feel free to update the PL if you feel that we have to reconsider it.
Regards.
Happy Christmas


method for obtaining the roles/user from aws-auth configmap is added

This is related to the issue no. #670 on the kubescape repo. I have added a method for obtaining the roles/user from aws-auth configmap

@dwertent Hi David, I've made the requested changes , can you give it a look and tell me if further changes are required ?

@dwertent pls check now, Implemented the checks for mapUsers and mapRoles


mlnet

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/train
Operating System: macos,
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Hello @Duv4lC4ruso - Can you please provide more information?


Facing issue with custom file upload feature in MS Copilot Studio

Describe the bug
Trying to build functionality to allow users to upload files using copilot studio chatbot. Currently, facing issues while trying to launch webpart on localhost. Exact error shared below : -
AssertionError [ERR_ASSERTION]: Handler [handler-0 on GET /api/azurestorage/uploadsastoken] is missing a third argument (the "next" callback) but is not an async function. Middleware handlers can be either async/await or callback-based.Callback-based (non-async) handlers should accept three arguments: (req, res, next). Async handler functions should accept maximum of 2 arguments: (req, res).
We are referencing the below Github Component to build this functionality : -
https://github.com/microsoft/CopilotStudioSamples/tree/master/BuildYourOwnCanvasSamples/2.location-and-file-uploading
Can you please assist with next steps.
Happy to get on a call and discuss.
Expected behavior
The file upload button should appear on copilot studio chatbot that helps in uploading file directly to azure blob storage.
Screenshots

I have the same issue
AssertionError [ERR_ASSERTION]: Handler [handler-0 on GET /api/azurestorage/uploadsastoken] is missing a third argument (the "next" callback) but is not an async function. Middleware handlers can be either async/await or callback-based.Callback-based (non-async) handlers should accept three arguments: (req, res, next). Async handler functions should accept maximum of 2 arguments: (req, res).

if you are getting this error:
AssertionError [ERR_ASSERTION]: Handler [handler-0 on GET /api/azurestorage/uploadsastoken] is missing a third argument (the "next" callback) but is not an async function. Middleware handlers can be either async/await or callback-based.Callback-based (non-async) handlers should accept three arguments: (req, res, next). Async handler functions should accept maximum of 2 arguments: (req, res).
try to decrease the npm version
install nvm
run
nvm install v14.21.3
then run
npm start
to download nvm
https://www.freecodecamp.org/news/nvm-for-windows-how-to-download-and-install-node-version-manager-in-windows-10/
https://github.com/coreybutler/nvm-windows/releases
worked for me


ARM Support

Is your feature request related to a problem? Please describe.
Container Image for ARM missing, thus, problem with installing on ARM-based infrastructure and issues with helm uninstall because 'delete-pods' are not available as ARM images either.
Describe the solution you'd like
Please build container Images in ARM too.
Describe alternatives you've considered
Build ARM images by myself or not use Otomi.
Additional context

Hi @jlnhnng thanks for letting us know.
Do you have any recommendations for us for building the ARM images ?

Hi @j-zimnowoda, you can build Multi-platform images with your Build and publish Docker GitHub Action. Here is a good explanation on how to do that from Docker https://docs.docker.com/build/ci/github-actions/multi-platform/
Cheers

Cool, thanks for hint. We will try it out.


logiops: make 0.2.3 default

The newest version of logiops has quite a few bugs, the issues would be quite hard to fix, and the package seems to have been unmaintained for the last 8 months. See:
https://github.com/PixlOne/logiops/issues/409
https://github.com/NixOS/nixpkgs/pull/289701#issuecomment-1979679688
Description of changes
This change regresses #289701, and makes v0.2.3 the default version provided by pkgs.logiops.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Cool. will review later


chore: fixed error messages of trust policy

A quick PR to fix error messages of trust policy.

Codecov Report

Merging #326 (ab6cc3f) into main (d65bba3) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head ab6cc3f differs from pull request most recent head 1986706. Consider uploading reports for the commit 1986706 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #326   +/-   ##
=======================================
  Coverage   74.80%   74.80%
=======================================
  Files          23       23
  Lines        2203     2203
=======================================
  Hits         1648     1648
  Misses        437      437
  Partials      118      118

Impacted Files
Coverage Δ

verifier/trustpolicy/trustpolicy.go
91.48% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Filter queries within systems

What problem does this solve or what need does it fill?
You may need to access a query in both unfiltered and filtered forms within the same query.
What solution would you like?
Add a filter::<F>() method to Query, allowing you to take new subsets of a query.
If you want to get really clever, ideally you'd be able to have safe access to multiple mutually exclusive parts of the query at once.
What alternative(s) have you considered?
Filter over the entities one at a time using Option components and .is_changed methods. This is much slower, and less clear.
Additional context
This is somewhat more complex than it might first appear. Summarizing the discussion with @cart on this:

Archetypes are currently locked during parallel system execution, so we can freely add new With, Without or Changed filters.
We can't access new Changed filters using a naive implementation of this, as other systems running in parallel could flip those flags.

We could add another trait to differentiate this and then disallow Changed filtering. Alternatively, we could force any user to explicitly request read-access to the relevant information by adding an Info<T> query parameter, which would communicate intent to the schedule correctly.

Is this doable now with QueryLens?

Yep, calling this completed.

This looks more like the join functionality which isn't merged yet


Add/Update mappings for 8BitDo Ultimate 2.4G Controller on Linux (xpadneo) (X-Input and D-Input modes)

Tested with GLFW, the D-Input mappings already existed but lacked paddle support.
In X-Input mode the controller has a different GUID, so I've added it. Unfortunately the paddles don't appear to function in X-Input mode.

Thank you !


Not able to install example repo for lit-localize

Which package(s) are affected?
Localize (@lit/localize)
Description
I'm not able to install the dependencies in the examples here.
Reproduction
For instance, when I follow the steps on https://github.com/lit/lit/tree/main/packages/localize/examples/runtime-js,
the following error occurs:
$ npm i
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving<EMAIL_ADDRESS>npm WARN Found<EMAIL_ADDRESS>npm WARN node_modules/rollup
npm WARN   dev<EMAIL_ADDRESS>from the root project
npm WARN   14 more (@rollup/plugin-commonjs, @rollup/plugin-inject, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils
npm WARN<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN   node_modules/rollup-plugin-sourcemaps
npm WARN
npm WARN Conflicting peer dependency<EMAIL_ADDRESS>npm WARN node_modules/rollup
npm WARN   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN   node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils
npm WARN<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN     node_modules/rollup-plugin-sourcemaps

> prepare
> husky install

sh: line 1: husky: command not found
npm ERR! code 127
npm ERR! path /home/abcde/javascript/lit-lang/test2/lit
npm ERR! command failed
npm ERR! command sh -c husky install

npm ERR! A complete log of this run can be found in: /home/abcde/.npm/_logs/2024-03-10T07_40_03_376Z-debug-0.log

Workaround
I have not found a workaround
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
Failing in<EMAIL_ADDRESS>& 3.1.2
Browser/OS/Node environment
Arch linux
node --version
v21.7.0
npm --version
10.5.0

I had to use admin rights to make it work:

Click here for details
```
$ sudo npm i husky -g
added 1 package in 340ms
1 package is looking for funding
run npm fund for details
[gspusi@schleppi2 transform-js]$ npm i
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving<EMAIL_ADDRESS>npm WARN Found<EMAIL_ADDRESS>npm WARN node_modules/rollup
npm WARN   dev<EMAIL_ADDRESS>from the root project
npm WARN   14 more (@rollup/plugin-commonjs, @rollup/plugin-inject, ...)
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils
npm WARN<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN   node_modules/rollup-plugin-sourcemaps
npm WARN
npm WARN Conflicting peer dependency<EMAIL_ADDRESS>npm WARN node_modules/rollup
npm WARN   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN   node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils
npm WARN<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm WARN     node_modules/rollup-plugin-sourcemaps

prepare
husky install

install command is deprecated
up to date, audited 1102 packages in 3s
126 packages are looking for funding
run npm fund for details
24 vulnerabilities (10 moderate, 10 high, 4 critical)
To address issues that do not require attention, run:
npm audit fix
Some issues need review, and may require choosing
a different dependency.
Run npm audit for details.

```
But now the next step fails:
$ npm run build

><EMAIL_ADDRESS>build
> wireit

sh: line 1: wireit: command not found
npm ERR! Lifecycle script `build` failed with error:
npm ERR! Error: command failed
npm ERR!   in workspace<EMAIL_ADDRESS>npm ERR!   at location: /home/abcde/javascript/lit-lang/test2/lit/packages/localize/examples/transform-js

The readme for those examples needs updating. I think it was like that before we switched to npm workspaces.
A better set of instructions now would be:
git clone https://github.com/lit/lit.git
cd lit
npm ci
cd packages/localize/examples/runtime-js
npm run build
npm run serve

The dependencies for the example are installed all together from the root of the monorepo with npm workspaces.

This works. Thank you!
But I finally decided to use lit-translate which I find easier for my use case, where I just want to have translations for a bunch of phrases.


Replace/Overlay that affects only selected plots.

Al Nichols would like Replace/Overlay to only affect select plots instead of all.
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2504
Status: Developer Review
Project: VisIt
Tracker: Feature
Priority: Normal
Subject: Replace/Overlay that affects only selected plots.
Assigned to: -
Category: -
Target version: -
Author: Kathleen Biagas
Start: 01/08/2016
Due date:
% Done: 0%
Estimated time:
Created: 01/08/2016 05:35 pm
Updated: 01/19/2016 06:50 pm
Likelihood:
Severity:
Found in version: 2.12.3
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
Al Nichols would like Replace/Overlay to only affect select plots instead of all.
Comments:

3.1.1, Replace and Overlay only affect selected plots.


Add hadoop-azure to make wasb access work

Also adds azure-storage as a dependency.

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


Add Basic GitHub Actions Workflow

This adds basic GitHub Actions workflow with SonarCloud for build verification.
Fixes #11

We will merge this and fix the code smells reported by Sonar in a later PR. 😄


Broken font file "roboto-latin-ext-400-normal.woff2"

Describe the bug
It seems that the file "roboto-latin-ext-400-normal.woff2" is broken or incomplete.
Comparing "roboto-latin-ext-400-normal.woff2" with "roboto-latin-400-normal.woff2" in FontForge showing missing characters for the extended version.
To Reproduce
Use the roboto-latin-ext-400-normal.woff2 file.
Expected behavior
Showing all characters.
Screenshots
roboto-latin-400-normal.woff2

roboto-latin-ext-400-normal.woff2

That is intended behaviour. You need to import both latin and latin-ext to get both. These are files that match the unicode-range specified in the normal CSS files since we wouldn't want duplicate glyphs after all.


Custom key bindings/commands

Hey there,
nice project! I really enjoy using it.
Is there a way to change key bindings?
In particular I'd be interested in a different C-p/n command.
In my zsh shell I've mapped C-p to backwards history search. So pressing C-p after typing a would result in the last command starting with a instead of the previous command.
Is there something similar?
(I probably should train myself to use C-r anyways, but still 😉)
Cheers
Jan

gitsh uses GNU Readline as its line editor, which can be configured with a $HOME/.inputrc file.
In your case, I think you might be looking for something like:
"\C-p": history-search-backward
"\C-n": history-search-forward

Note that settings in your .inputrc file will apply to all programs that use GNU Readline, which seems to be the majority of interactive shells (notable exceptions are zsh, which has its own line editor called ZLE; and any program compiled against libedit, which is theoretically compatible with Readline but only provides a subset of the features and is especially common on macOS).
If you want to make this configuration apply only in gitsh, you can wrap it in a conditional:
$if gitsh
    "\C-p": history-search-backward
    "\C-n": history-search-forward
$endif

See the readline(3) and gitsh(1) manual pages for more information.

Given that this is already supported, I'm going to close the issue, but feel free to re-open if you think there's some missing functionality here.

Thanks for the help.
I've never really used bash and went straight to zsh (for my interactive shell) so I wasn't aware of inputrc.
Now I even got my vi keybindings 👌


feat(Executor): Add Details Field in Jenkins Executor

:tada: This PR is included in version 4.5.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


"Revamping the Navbar: Contributing to an Open-Source Project for a Sleek and Modern Design"

****Before Changes

**After Chnages

Hi @mansiruhil13
I recently updated the navbar and font-family for your project to make it more attractive and user-friendly. I've attached screenshots of the changes, and I'd love to contribute this enhancement to improve the overall design.
Could you kindly assign me to this task? It would be a great opportunity for me to contribute while enhancing my skills.
Looking forward to your response!
Best regards,
@khurshed07
https://github.com/khurshed07

can you change the design?

its' the landing page, and home features.. are on the header section

use logo like ambulance, not bobble ai. bobble ai is just random name of repos. you can check prev issues for logo. there is change in logo

Okay

Hi @mansiruhil13
please correct GSSOC'24 extd label so that its count as a point in gssoc'24 extd
Thank you


chore(main): release 0.2.1

:robot: I have created a release beep boop
0.2.1 (2024-11-13)
Miscellaneous

duplicate test in android and jvm (a31b16d)
main: release 0.2.1-SNAPSHOT (2fd8301)
modify resource exhausted message using metadata and add message wrapper to errors (8670448)
update examples to 0.2.0 (01dcc01)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/momentohq/client-sdk-kotlin/releases/tag/v0.2.1 :sunflower:


error C2061: syntax error: identifier 'QUEUE_USER_APC_FLAGS'

The latest version doesn't work when you do:
#include <phnt_windows.h>
#include <phnt.h>

Because of:
NTSYSCALLAPI
NTSTATUS
NTAPI
ZwQueueApcThreadEx2(
    _In_ HANDLE ThreadHandle,
    _In_opt_ HANDLE ReserveHandle, // NtAllocateReserveObject
    _In_ QUEUE_USER_APC_FLAGS ApcFlags, // <== errors here
    _In_ PPS_APC_ROUTINE ApcRoutine,
    _In_opt_ PVOID ApcArgument1,
    _In_opt_ PVOID ApcArgument2,
    _In_opt_ PVOID ApcArgument3
    );

This API should probably be guarded by a Windows 11 check?

@diversenok

I see. Looks like you're using an older SDK (10.0.19041 or below) that doesn't include QUEUE_USER_APC_FLAGS. I'll update the fallback definition in phnt shortly. Until then, you can use a workaround:
#define PHNT_VERSION PHNT_WIN11
#include <phnt_windows.h>
#include <phnt.h>

Seems to be fixed by 0fc01f192ab850f2fb97747b155f40a51c6c7253, thanks!


TypeError after updating to 1.5.8

After i've updated to 1.5.8 from 1.5.7, I started getting this error in my browser "TypeError: jQuery.easing[this.easing] is not a function"

NVM i noticed you've changed the easing my bad :)


Fix NPE caused by org.openrewrite.staticanalysis.CombineSemanticallyEqualCatchBlocks

What's changed?
getMethodType() is nullable and must be checked at every invocation.
What's your motivation?
java.lang.NullPointerException: Cannot invoke
"org.openrewrite.java.tree.JavaType$Method.hasFlags(org.openrewrite.java.tree.Flag[])" because the return value of
"org.openrewrite.java.tree.J$MethodInvocation.getMethodType()" is null at org.openrewrite.java.search.SemanticallyEqual$SemanticallyEqualVisitor.visitMethodInvocation (SemanticallyEqual.java:874)

Thanks for the quick suggested fix @Bananeweizen ! Would you mind sharing how you first came across this issue?
Just so I know why we might not have encountered this before. Are you working on your own recipe development perhaps?

Are you working on your own recipe development perhaps?

As mentioned in the title, that's one of the default recipes. I would surely like to provide a reproducer, but I haven't yet found a way to easily identify the problematic part of the source file. Are there some switches to be enabled or good objects to look at in a debugger to more easily find the line and position of the currently investigated part of the abstract syntax tree?


Docker Install Errors Out With "Invalid Cache Path" When Running "php artisan install --only-user" Inside Container

I'm following the guide here for a Docker install --> https://benotes.org/docs/installation/docker
Note, I'm running on Debian Bullseye.  When I reach the step to run "php artisan install --only-user" inside of the container, I get the following output:
   InvalidArgumentException

  Please provide a valid cache path.

  at vendor/laravel/framework/src/Illuminate/View/Compilers/Compiler.php:36
     32▕      */
     33▕     public function __construct(Filesystem $files, $cachePath)
     34▕     {
     35▕         if (! $cachePath) {
  ➜  36▕             throw new InvalidArgumentException('Please provide a valid cache path.');
     37▕         }
     38▕
     39▕         $this->files = $files;
     40▕         $this->cachePath = $cachePath;

      +20 vendor frames
  21  [internal]:0
      Illuminate\Foundation\Application::Illuminate\Foundation\{closure}(Object(Facade\Ignition\IgnitionServiceProvider))

      +5 vendor frames
  27  artisan:37
      Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

i hava this issue too

Are you using a volume or a bind mount for the storage directory (or in other words, did you alter the command) ?

Are you using a volume or a bind mount for the storage directory (or in other words, did you alter the command) ?

I'm using volume mounting, but I did alter the command to replace $PWD with the absolute path to the mount point.

That's rather strange.
Can you check if the directory storage/framework/cache/data inside the container exists ?
Could be a permission issue, but they usually don't appear using volumes.

That's rather strange.
Can you check if the directory storage/framework/cache/data inside the container exists ?
Could be a permission issue, but they usually don't appear using named volumes.

That directory indeed does not exist.  The storage directory only contains database.sqlite  and a logs directory.

Seems the container can't copy the data into the volume, yet somehow manage to copy some data.
You can try to stop the container and delete the volume with docker volume rm benotes_storage and see if it works this time.

This fixed the problem for me. There was nothing in the /storage directory other than the logs:
    volumes:
      - .env:/var/www/.env
      - ./data/storage/app/public/thumbnails:/var/www/storage/app/public/thumbnails
      - ./data/storage/backup:/var/www/storage/backup
      - ./data/storage/logs:/var/www/storage/logs
      # or instead one named volume to rule them all:
      #- ./benotes_storage:/var/www/storage
      # this is optional (either way):
      #- ./data/nginx/logs/:/var/lib/nginx/logs/


Import objects from serialized format

Several modern CLI tools provide the option to export objects/ results in a serialized format for down stream processing.
PSRule should be able to processing these objects on the fly for common format such as YAML and JSON.
For example:
# Validate service objects
Invoke-PSRule -InputObject (kubectl get services -o yaml | Out-String) -Format Yaml;

Added support for:

[x] YAML
[ ] JSON

Specifically for kubectl -o yaml objects are returned nested under the items property.


Support for coroutines

We should make the DSL generic enough to be able to support both RxJava and coroutines flow.

Do you have a specific approach for this?

I am actually working on something similar extending the reach not just for Rx or Coroutines Flow but also Reactive or any streaming library the user want to use.
I am currently just experimenting with a small example if this is possible but the idea is to abstract away from Streams and let the user proved their own type and stream execution. The benefit would be that orbit middleware could be using different streams in the same project. That would benefit of migrating Middleware one by one and orbit wouldn't package a streaming solution into the library.

@kioba indeed that would be the gold standard approach we want to take, but we haven't done any discovery on this yet so it remains to be seen how complex / viable such a solution would be.

Closing in favour of #67


conflux.enable promise won't get reject upon auth window close

The promise will be rejected if user click the cancel button.
Should have the same behavior when user close the auth window.


Release 0.7.6

Changes:

Fixes issues with wrapped generic base class inheritance

@prbot approve

@prbot approve

can confirm that 5 + 1 = 6; lgtm

Thanks for the thorough review! 🙏
On Fri, Sep 6, 2024 at 3:38 PM Michael Waskom @.***>
wrote:

can confirm that 5 + 1 = 6; lgtm
—
Reply to this email directly, view it on GitHub
https://github.com/modal-labs/synchronicity/pull/162#issuecomment-2334079590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASII2VHKGY355IYEKITQ5TZVGV3VAVCNFSM6AAAAABNYJ4ADCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZUGA3TSNJZGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

have to admit i leaned on the assistance of AI a little bit


update azure event hubs properties configuration

update azure event hubs properties configuration

@liujing026  Thank you for your contribution. Would you take a moment to sign the Contributor License Agreement (CLA)? After the CLA is signed, someone can review your pull request. Thanks!
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@liujing026 internal contributors should create pull requests against the internal azure-dev-docs-pr repo. You will need to join the MicrosoftDocs org at https://repos.opensource.microsoft.com/orgs to do so. Could you please close this PR and reopen it in the private repo? That way, we'll get extra build support, including preview builds, and we can keep internal feedback internal. Thanks!

@liujing026  here's some info:
Read about authors working in the public repo for more information.
If you need help getting set up to work in the private repo, see Get started contributing to the Microsoft Learn platform.


Pasting into code blocks add escapes

Pasting text into code blocks seems to escape underscores; I’d expect the text to be untouched.

Duplicate or subset of #393 "improve copy & paste (no empty lines, no escaping if inside code block)".


Add missing dependencies pkg-config, python3-pip into ubuntu-20.04.md

Add missing dependencies pkg-config, python3-pip into ubuntu-20.04.md
Sort dependencies alphabetically to easy reading and modifying

Already merged in https://github.com/userver-framework/userver/commit/f3879aed930e09fe8ffc078cf13b225a6a90fa89


Can i build app host with local container?

Release with the local modules
Hi. I have a question. I have an app Host and 5 modules. But I just want remote 4 modules. With the remaining module, I want to build it inside the apk/ipa. Is it possible?
For example
App Host

Module
Remote
Local

A
-
X

B
X
-

C
X
-

D
X
-

E
X
-

Hey @huytd2510,
composition like this is possible, it requires a little bit of configuration but is doable and works, have a look at our TesterApp package, here in the Re.Pack repository, where we have both local and remote chunks at the same time.

Hey @huytd2510
It requires appropriately configuring RepackPlugin in the webpack config. Let's use the TesterApp from Repack repo as an example: https://github.com/callstack/repack/blob/719c2ef3e1af0c82de8042de2c5c21ab88a287ea/packages/TesterApp/webpack.config.mjs#L290-L300

This particular configuration will make every file with local in the name an async chunk (which will still be embedded into the app bundle but, using lazy loading, will only be evaluated when it's needed – effectively making it local)
For all other files that are lazily imported but don't have the .local part in the filename – they will be treated as remote chunks.

I highly recommend going through the whole Code Splitting section in the docs, they are very helpful in understanding these concepts: https://re-pack.netlify.app/docs/code-splitting/concept

@RafikiTiki @jbroma, thank you so much. I will give feedback soon.

Hi @RafikiTiki, @jbroma Sorry about the late reply. I have read code splitting. But I have one more question
With the upon example.
Suppose all modules have other repo and diffidence locations in my devices. How can the app host link the local chunk/container?
Let me explain in more detail.

Module
Remote
Local
Location repo module

A
-
X
/download/A

B
X
-
/workspace/B

C
X
-
workspace/C

D
X
-
/desktop/D

E
X
-
/destop/E

Location of app host: /workspace/host.
Note: Modules A, B, C, D, and E => can run alone without a host.
Another example is the app https://github.com/callstack/super-app-showcase/tree/55d722262f200562410cff2acbff33b8d48f8eed
I want to auth modules to be included inside the apk/IPA. Do you know how I can do this? Is it possible?
Thanks guys.


Unit test for param files

I wrote unit tests required from this ticket:  #202

This looks like a good start :tada:
From here, you probably want a setup function that runs before each unit test, that clears the param directory. Something along the lines of:
    @Before
    fun setup() {
        // clear the param files
        SaplingParamTool.clear(cacheDir)
    }

Now, each unit test is starting with an empty cache and is independent of other tests. Next, you would want to setup each test scenario:
    @Test
    fun testFilesExist(){
        // Given
        SaplingParamTool.fetchParams(cacheDir)

        // When
        val result = SaplingParamTool.validate(cacheDir)

        // Then
        Assert.assertFalse(result)
    }

If the fetchParams function works, then the previous test will succeed. So we can consider it tested. Meaning, we can build on it, as if it works, for the rest of the tests, without having to mock too much:
    @Test
    fun testOnlyOutputOFileExists(){
        // Given
        SaplingParamTool.fetchParams(cacheDir)
        File("$cacheDir/${ZcashSdk.SPEND_PARAM_FILE_NAME}").delete()

        // When
        val result = SaplingParamTool.validate(cacheDir)

        // Then
        Assert.assertFalse("Validation should fail when the spend params are missing", result)
    }

This looks like a good start :tada:
From here, you probably want a setup function that runs before each unit test, that clears the param directory. Something along the lines of:
    @Before
    fun setup() {
        // clear the param files
        SaplingParamTool.clear(cacheDir)
    }

Now, each unit test is starting with an empty cache and is independent of other tests. Next, you would want to setup each test scenario:
    @Test
    fun testFilesExist(){
        // Given
        SaplingParamTool.fetchParams(cacheDir)

        // When
        val result = SaplingParamTool.validate(cacheDir)

        // Then
        Assert.assertFalse(result)
    }

If the fetchParams function works, then the previous test will succeed. So we can consider it tested. Meaning, we can build on it, as if it works, for the rest of the tests, without having to mock too much:
    @Test
    fun testOnlyOutputOFileExists(){
        // Given
        SaplingParamTool.fetchParams(cacheDir)
        File("$cacheDir/${ZcashSdk.SPEND_PARAM_FILE_NAME}").delete()

        // When
        val result = SaplingParamTool.validate(cacheDir)

        // Then
        Assert.assertFalse("Validation should fail when the spend params are missing", result)
    }

@gmale I applied your changes above.

@gmale I applied your changes above.

Discussed over telegram the suspend function issues and all tests pass. Merging.
Nice work.
From here, the next steps are on my end.

Discussed over telegram the suspend function issues and all tests pass. Merging.
Nice work.
From here, the next steps are on my end.


Java Inner Class

Shall i add some example and explanation for java inner class ? Please, let me ur feedback

yeah sure do that


UCP 3.0 documents how to use HRM

Problem description
https://docs.docker.com/datacenter/ucp/3.0/guides/user/services/use-domain-names-to-access-services/
^ documents HRM, which is not available in UCP 3.0.  UCP 3.0 shipped with interlock which uses different network names and service labels and web ui and bits.
Suggested solution
Backport interlock docs to UCP 3.0, removing notes on any features not available in UCP 3.0 Interlock.  I'm not aware of any, but it's worth noting that it's a backport.

/cc @gonzo919, who noted this was confusing in looking for how to use Interlock on UCP 3.0.

As suspected on #8192, something is amiss here:
docker.github.io]$ git grep -ic kubernetes datacenter/ucp/3.0/
datacenter/ucp/3.0/guides/admin/install/install-on-azure.md:15
datacenter/ucp/3.0/reference/api/main.js:1
datacenter/ucp/3.0/reference/cli/install.md:3
datacenter/ucp/3.0/reference/cli/upgrade.md:3
docker.github.io]$

@trapier we are looking into this.

@bermudezmt to:

Remove HRM from 3.0
Backport interlocks docs to 3.0


deprecation error in esutil?

I found some deprecated command in esutil.htm when trying to remove duplicates
In [3]: allStar= apread.allStar(rmcommissioning=True,rmdups=True)
---------------------------------------------------------------------------e ...
RuntimeError                              Traceback (most recent call last)
 in ()
----> 1 allStar= apread.allStar(rmcommissioning=True,rmdups=True)
/Users/adam/projects/FAST/apogee/apogee/tools/read.py in allStar(rmcommissioning, main, exclude_star_bad, exclude_star_warn, ak, akvers, rmnovisits, adddist, distredux, rmdups, raw)
135             sys.stdout.write('\r'+"Removing duplicates (might take a while) and caching the duplicate-free file ...\r")
136             sys.stdout.flush()
--> 137             data= remove_duplicates(data)
138             #Cache this file for subsequent use of rmdups
139             fitsio.write(dupsFilename,data,clobber=True)
/Users/adam/projects/FAST/apogee/apogee/tools/read.py in remove_duplicates(data)
757     #Match the data against itself
758     h=esutil.htm.HTM()
--> 759     htmrev2,minid,maxid = h.match_prepare(data['RA'],data['DEC'])
760     m1,m2,d12 = h.match(data['RA'],data['DEC'],
761                         data['RA'],data['DEC'],
/usr/local/lib/python3.4/site-packages/esutil/htm/htm.py in match_prepare(self, ra, dec, verbose)
254         """
255
--> 256         raise RuntimeError('deprecated: use a htm.Matcher instead')
257
258         if verbose:
RuntimeError: deprecated: use a htm.Matcher instead

I think I fixed this, but esutil is giving me a segmentation fault when I try to run it, so I can't test whether it works. Let me know if this fixed it for you. Otherwise just run with rmdups=False and use the EXTRATARG bitmask to remove duplicates (http://www.sdss.org/dr13/algorithms/bitmasks/#APOGEE_EXTRATARG).

I think this is fixed, since I've been able to run the new code and didn't notice a problem.


Add player_free_spawners

This is potentially dangerous on a normal world due to hidden spawners underground, and makes dungeons really, really dangerous pre-loaded monsterboxes. This is especially problematic in abandoned mineshafts, which are always open and can allow the spiders to roam free.
I'll accept this patch, but I'm moving it to Situational. There's an idea on my backlog that makes the countdown timer tick even when no players are nearby, meaning that as soon as a player comes in range it will immediately spawn. I feel this is a better tradeoff.

This is potentially dangerous on a normal world due to hidden spawners underground, and makes dungeons really, really dangerous pre-loaded monsterboxes. This is especially problematic in abandoned mineshafts, which are always open and can allow the spiders to roam free.
I'll accept this patch, but I'm moving it to Situational. There's an idea on my backlog that makes the countdown timer tick even when no players are nearby, meaning that as soon as a player comes in range it will immediately spawn. I feel this is a better tradeoff.

really dangerous pre-loaded mosterboxes

that's the idea :)
I've played with this for about a few months and it's fun

really dangerous pre-loaded mosterboxes

that's the idea :)
I've played with this for about a few months and it's fun

For clarity, my initial usage of "dangerous" in my comment refers to lag concerns. I do like the idea of pre-loaded dungeons but mobs wandering out of their range is a concern.

For clarity, my initial usage of "dangerous" in my comment refers to lag concerns. I do like the idea of pre-loaded dungeons but mobs wandering out of their range is a concern.


Passenger Types and UIC 918.9

How do the PassengerTypes specified by OSDM match with the PassengerTypes according to UIC918.9?
We should align them as much as possible.
For reference, these are the passenger types that can occur in a barcorde according to UIC 918.9:

adult
senior
child
youth
dog
bicycle
freeAddonPassenger
freeAddonChild

Add a column to the code table documenting the related 918-9 codes.  TODO CG


cargo-show-asm: init at 0.1.24

Description of changes
https://github.com/pacak/cargo-show-asm
cargo-show-asm is a reimpl for unmaintained cargo-asm.
Things done

Built on platform(s)

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

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

darwin build is still failing, maybe we can just mark it broken if you can't figure something out and worry about it later

darwin build is still failing, maybe we can just mark it broken if you can't figure something out and worry about it later

Ok, I give up with darwin build.


i wanna translate in my gitbook about feathers-docs contents

May I create a gitbook by translating feathers-docs contents?
I tried to explain the Nuxt.js - Feathers.js stack to the Koreans,
so Nuxt.js was translated and Feathers.js was not translated.

I think we could probably set you up a repo for the Korean translation and add it to our CI & deployment.  @feathersjs/core-team what are your thoughts?

We started a discussion in #545 but @Lutece closed it (why I am not sure).

@daffl Sorry! I think my idea of an issue is that I need to create an feathers.js api cheat sheet personally, my bad :(

@marshallswain I will do my best! :)
@marshallswain @daffl
thank you! and have a happy day all :)

I will start to translate some contents in feathers-docs.! :)

No, sorry, we have been thinking about creating a cheat sheet (and some overviews) for a while now. I am just not sure how it should look like though.

@daffl okay, I will wait 👍

Closing this in favour of tracking discussion in #545


Specify forbidden use in ECMAScript 5

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@ianmceire Good add!
Congrats on your first-time contribution!


Resolving polymorphism is slow

Suppose I have struct A: B, and I want to resolve instance of Xapbonded to a B instace. I will call Xapbonded<A>.Cast<B>().Value. And that single call becomes the bottleneck of the performance.
After looking into the source, I found that you are using reflection. Though you wrote the reason in comments, I am sure we can come up a solution without involving the slow reflection. Yes?

In addition, I accidentally found out that you can use struct K; to define symbol K without implementing it. So that we can do a circular reference like this (just like in C):
struct K;

struct S
{
  0: K item;
}

struct K
{
  0: S item;
}

I think this kind of usage is worth mentioning somewhere in the document.

I don't understand what you are referring to in your first comment. Could you add links to Bond code you are talking about?
BTW, the example in your second comment is not legal (gbc should barf). To defined a recursive schema you have to use nullable.

gbc accepts the mutually recursive schema and generates invalid C++ code. Opened #159 for this issue.

Sorry I was wrong about the reflection issue. It seems we are using an internal framework(XAP) which is offering wrappers for bonded data types (and I guess that's why they are using reflection to referencing generated bond class methods).
And thank you for providing the example. Let's follow that up in our internal SO.


Node.js build fails on Apple Silicon

Problem to Solve
bazel build //... fails on an M1 Mac due to our use of deprecated rules_nodejs. We should use rules_js instead.
(Even getting rules_js working on an M1 Mac has been fiddly in the past, but at least it is officially supported. rules_nodejs explicitly does not have Apple chip support and will not add it.)
Current Workaround
Build in CI.
Proposed Solution
Migrate to rules_js, taking inspiration from our other projects using it.

This is solved as of upgrading all of our build rules and merging drivers into a single repository!


BoxOSQP does not work without equality constraints

Trying to run:
optimizer = jaxopt.BoxOSQP()
optimizer.run(
    params_obj=(
        jnp.eye(30, dtype=jnp.float32),
        jnp.ones((30,), dtype=jnp.float32),
    ),
    params_ineq=(-1, 1),
)

produces an error (some parts redacted):
[.../jaxopt/_src/osqp.py](...) in run(self, init_params, params_obj, params_eq, params_ineq)
    763       init_params = self.init_params(None, params_obj, params_eq, params_ineq)
    764
--> 765     return super().run(init_params, params_obj, params_eq, params_ineq)
    766
    767   def l2_optimality_error(

[.../jaxopt/_src/base.py](...) in run(self, init_params, *args, **kwargs)
    345       run = decorator(run)
    346
--> 347     return run(init_params, *args, **kwargs)
    348
    349   def __post_init__(self):

[.../jaxopt/_src/implicit_diff.py](...) in wrapped_solver_fun(*args, **kwargs)
    249     args, kwargs = _signature_bind(solver_fun_signature, *args, **kwargs)
    250     keys, vals = list(kwargs.keys()), list(kwargs.values())
--> 251     return make_custom_vjp_solver_fun(solver_fun, keys)(*args, *vals)
    252
    253   return wrapped_solver_fun

[.../jaxopt/_src/implicit_diff.py](...) in solver_fun_flat(*flat_args)
    205     def solver_fun_flat(*flat_args):
    206       args, kwargs = _extract_kwargs(kwarg_keys, flat_args)
--> 207       return solver_fun(*args, **kwargs)
    208
    209     def solver_fun_fwd(*flat_args):

[.../jaxopt/_src/base.py]() in _run(self, init_params, *args, **kwargs)
    287            *args,
    288            **kwargs) -> OptStep:
--> 289     state = self.init_state(init_params, *args, **kwargs)
    290
    291     # We unroll the very first iteration. This allows `init_val` and `body_fun`

[.../jaxopt/_src/osqp.py](...) in init_state(self, init_params, params_obj, params_eq, params_ineq)
    456     A    = self.matvec_A(params_eq)
    457
--> 458     primal_residuals, dual_residuals = self._compute_residuals(Q, c, A, x, z, y)
    459     solver_state = self._eq_qp_solve_impl.init_state(x, Q_params, params_eq,
    460                                                      self.sigma, self.rho_start)

[.../jaxopt/_src/osqp.py](...) in _compute_residuals(self, Q, c, A, x, z, y)
    530     Ax, ATy = A.matvec_and_rmatvec(x, y)
    531     primal_residuals = tree_sub(Ax, z)
--> 532     dual_residuals = tree_add(tree_add(Q(x), c), ATy)
    533     return primal_residuals, dual_residuals
    534

TypeError: unsupported operand type(s) for +: 'ArrayImpl' and 'NoneType'

Hi!
Indeed, BoxOSQP formulation does not make sense without equality constraints.
I recall below the formulation solved by OSQP:
$$\min_x \frac{1}{2}x^TQx+c^Tx\text{ s.t }l\leq Ax\leq u.$$
I recall the API:

params_obj contains either (Q, c), either (params_Q,c) where params_Q is the parameters of the matvec, either params_fun which are the parameters of a function fun promised to be quadratic.
if you specify l and u, you must specify A, otherwise the problem doesn't have any sense. Check the doc
params_eq contains either A, either (params_A) where params_A is the parameters of the matvec

I am not sure what was your intent by not specifying A. Did you expect the identity function? Then use matvec_A=(lambda _, x: x) and pass params_eq=None.

I did get confused on the API, but I would not have expected a crash like that. Would a better error message be possible? Also, does the problem formulation with an arbitrary $A$ mean that this can handle an arbitrary set of linear constraints, not just a box?

Also, does the problem formulation with an arbitrary mean that this can handle an arbitrary set of linear constraints, not just a box?

Yes, it is the most geenral formulation that one can think of. Maybe you are more familiar with:
$$\min_x\frac{1}{2}x^TQx+c^Tx\text{ s.t }Ax=b,Gx\leq h$$
Now, observe that:
$$Ax=b\implies b\leq Ax\leq b$$
and
$$Gx\leq h\implies -\infty\leq Gx\leq h$$
so you can implement it as:
def matvec_A_boxosqp(params_A, x):
   A, G = params_A
   return A @ x, G @ x

l = (b, jnp.full(shape=h.shape, fill_value=-float('inf')))
u = (b, h)
params_ineq = (l, u)
params_eq = (A, G)

solver = BoxOSQP(matvec_A=matvec_A_boxosqp)
init_params = solver.init_params(init_x=init_x)
solver.run(init_params, params_obj=(Q, c), params_eq=params_eq, params_ineq=params_ineq)

This reduction between problem formulations is performed automatically in OSQP solver, but its API is higher level so it is less flexible.

What I was trying to get at is to determine whether that means that arbitrary linear constraints are supported, not just box constraints. Does that mean this class is a full QP solver, and not just for box-constrained problems?

Does that mean this class is a full QP solver, and not just for box-constrained problems?

Yes, it is! Just like the original's one: https://osqp.org/


Let's encrypt sans handling

Hi
I am using traefik on a rpi with one domain and multiple sans.
Instead of having one certificate request with the domain and sans I have one request per sans leading to  exceed the certificate request limit.

@aacebedo Hi
If you are using OnDemand, this is the normal behavior. OnDemand will generate a cert using the request domain, which doesn't contain any SAN.
For now, SANs can only be obtained at config time, not at run time.

Thank you for the answer!
I am using the ondemand mode so I am going to switch it to false.
However I also tried without the flag and saw as many certificatse as I have SANs in the acme.json.
Each of these had the main domain set  to one SAN.
I didn't checked the content of the certificates themselves with openssl yet, I'll check it tonight.
I had to switch to the staging server (my limit is now reached I have to wait 1 week)

Could you give us your toml config file?

You can find the template here.
https://github.com/aacebedo/docker-boxes/blob/master/utilities/traefik/files/traefik.conf.tmpl
Just replace the sans and main with your own

Closed by #2913.


Fix avatarUrlForUser:success:failure: method

Hi @asydorov,
Thanks for having discovered that. Could you please sign-off this PR as described at https://github.com/matrix-org/synapse/blob/master/CONTRIBUTING.rst#sign-off?

Hi @manuroe,
Just signed it off.


Fix the flakyness in integration tests

Sometimes the integration test fails due to some timeout issue which needs investigation and fixing accordingly.
For ref: https://github.com/sustainable-computing-io/kepler-model-server/actions/runs/11032923816/job/30643030884?pr=468
https://github.com/sustainable-computing-io/kepler-model-server/actions/runs/11032923816/job/30659365443#step:12:979

closing as #483 addresses this


Use hipcc.bat as a compiler on windows, instead of the perl script

Summary:
Invoke "hipcc.bat" script instead of "perl hipcc". Invoking "perl hipcc" is not ideal, because there is no guarantee that hipcc is actually a perl script.
Outcomes:
What components of the project does it affect?* At this point this is NFC - hipcc.bat script calls perl script.
Notable changes:
Not really.
Testing and Environment:
What environment are you targeting (OS, ROCm version, Python versions, etc.)? Windows
What testing did you do to ensure this change will integrate successfully? Hopefully you have windows PSDB :)

Ping, can someone review it?

@kzhuravl Thanks for the PR. Could you please re-submit this PR from a fork of Tensile?

https://github.com/ROCm/Tensile/pull/2040


rollup

use rollup for client side scripts

I am not done with everything I want to do with rollup but This branch is in a good place to merge to I'm opening this PR and I'll make another with further changes


Using Server-Side Data Fetching causes page to be client side rendered and cause Invalid URL error

Please provide the environment you discovered this bug in.
OS: Windows
Browser: Firefox/Chrome
ENV: Local
Which area/package is the issue in?
create-analog
Description
Hey folks, I have a strange bug that I cannot debug in any way.
Basically whenever I add *.server.ts file next to my page, the server then throws an error
ERROR TypeError: Invalid URL
And my page starts to render on the client instead of server side.
I tried to check closed issues, but haven't really found anything.
With *.server.ts file:

Without:

Please provide the exception or error you saw
ERROR TypeError: Invalid URL
    at new URL (node:internal/url:775:36)
    at load (eval at instantiateModule (file:///D:/Prywatne%20projekty/phonemock/node_modules/vite/dist/node/chunks/dep-k5wXcrSr.js:54894:28), <anonymous>:99:29)
    at eval (eval at instantiateModule (file:///D:/Prywatne%20projekty/phonemock/node_modules/vite/dist/node/chunks/dep-k5wXcrSr.js:54894:28), <anonymous>:4141:78)
    at Module.runInInjectionContext (eval at instantiateModule (file:///D:/Prywatne%20projekty/phonemock/node_modules/vite/dist/node/chunks/dep-k5wXcrSr.js:54894:28), <anonymous>:3405:16)
    at getResolver (eval at instantiateModule (file:///D:/Prywatne%20projekty/phonemock/node_modules/vite/dist/node/chunks/dep-k5wXcrSr.js:54894:28), <anonymous>:4141:33)
    at eval (eval at instantiateModule (file:///D:/Prywatne%20projekty/phonemock/node_modules/vite/dist/node/chunks/dep-k5wXcrSr.js:54894:28), <anonymous>:4132:90)
    at doInnerSub (D:\Prywatne projekty\phonemock\node_modules\rxjs\dist\cjs\internal\operators\mergeInternals.js:22:31)
    at outerNext (D:\Prywatne projekty\phonemock\node_modules\rxjs\dist\cjs\internal\operators\mergeInternals.js:17:70)
    at OperatorSubscriber._this._next (D:\Prywatne projekty\phonemock\node_modules\rxjs\dist\cjs\internal\operators\OperatorSubscriber.js:33:21)
    at Subscriber.next (D:\Prywatne projekty\phonemock\node_modules\rxjs\dist\cjs\internal\Subscriber.js:51:18) {
  code: 'ERR_INVALID_URL',
  input: '',
  base: ''
}

Other information
This is my package.json
{
  "name": "phonemock",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@analogjs/content": "^1.5.0",
    "@analogjs/router": "^1.5.0",
    "@angular/animations": "^17.3.0",
    "@angular/cdk": "^17.3.0",
    "@angular/common": "^17.3.0",
    "@angular/compiler": "^17.3.0",
    "@angular/core": "^17.3.0",
    "@angular/forms": "^17.3.0",
    "@angular/platform-browser": "^17.3.0",
    "@angular/platform-browser-dynamic": "^17.3.0",
    "@angular/platform-server": "^17.3.12",
    "@angular/router": "^17.3.0",
    "@angular/youtube-player": "^17.3.10",
    "@nx/angular": "~18.0.0",
    "@supabase/ssr": "^0.5.1",
    "canvas-confetti": "^1.9.3",
    "flowbite": "^2.5.1",
    "html2canvas": "^1.4.1",
    "jszip": "^3.10.1",
    "konva": "^9.3.14",
    "marked": "^5.0.2",
    "marked-gfm-heading-id": "^3.0.4",
    "marked-highlight": "^2.0.1",
    "ng2-konva": "^8.0.0",
    "ngx-color-picker": "^17.0.0",
    "prismjs": "^1.29.0",
    "rxjs": "~7.8.0",
    "tailwind-merge": "^2.5.2",
    "tslib": "^2.3.0",
    "uuid": "^10.0.0",
    "zone.js": "~0.14.3"
  },
  "devDependencies": {
    "@analogjs/platform": "^1.7.3",
    "@analogjs/vite-plugin-angular": "^1.5.0",
    "@analogjs/vitest-angular": "^1.5.0",
    "@angular-devkit/build-angular": "^17.3.8",
    "@angular/cli": "^17.3.8",
    "@angular/compiler-cli": "^17.3.0",
    "@nx/vite": "~18.0.0",
    "@types/canvas-confetti": "^1.6.4",
    "@types/jasmine": "~5.1.0",
    "@types/uuid": "^10.0.0",
    "autoprefixer": "^10.4.20",
    "jasmine-core": "~5.1.0",
    "jsdom": "^22.0.0",
    "karma": "~6.4.0",
    "karma-chrome-launcher": "~3.2.0",
    "karma-coverage": "~2.2.0",
    "karma-jasmine": "~5.1.0",
    "karma-jasmine-html-reporter": "~2.1.0",
    "postcss": "^8.4.41",
    "tailwindcss": "^3.4.10",
    "typescript": "~5.4.2",
    "vite-tsconfig-paths": "^4.2.0",
    "vitest": "^1.3.1"
  },
  "type": "module"
}

I would be willing to submit a PR to fix this issue

[x] Yes
[ ] No

If you're on a version prior to 1.7.0, you need to add a .env and define the VITE_ANALOG_PUBLIC_BASE_URL=http://localhost:5173
https://analogjs.org/docs/features/data-fetching/server-side-data-fetching
In version 1.7.0, this should work without defining the environment variable.

Thanks Brandon and sorry for not seeing that!


Improve equipped night vision effect

Currently, using the night vision potion effect as equipped potion effect on weapons or armor doesn't work well because the 'duration' is only 4 to 2 seconds: the minecraft client will play a fading night vision effect when it has less than 10 seconds left, which is always the case...
The best fix is probably to increase the duration to ~15 seconds for the night vision effect rather than the usual 4 seconds.

This will be fixed in Custom Items 8.4.

It looks like regeneration also has problems when the duration is too short. Possibly poison as well. I should check this out when I have more time.

This will be fixed in Custom Items 8.5.


Does not return in time when invoked in batch file.

Environment
Windows build number:  10.0.18362.0
Windows Terminal version: 0.9.433.0

Steps to reproduce
Create a batch file a.bat with content
wt & echo OK!

Then open the batch file.
Expected behavior
As invoked in conhost or terminal, the first console types "OK!" immediately when the new wt window opens.

Actual behavior
"OK!" is not printed until the new wt windows is closed.

On the command line, cmd doesn't wait for GUI programs. But in batch mode it always waits. Use start to run without waiting.

On the command line, cmd doesn't wait for GUI programs. But in batch mode it always waits. Use start to run without waiting.

But it doesn't wait for other GUI programs (I've tested explorer.exe, vscode and chrome), is there any thing special with this terminal?

But it doesn't wait for other GUI programs (I've tested explorer.exe, vscode and chrome), is there any thing special with this terminal?

You're testing programs that use a launcher to spawn another process. The launcher exits immediately, and the batch script continues. Try something simpler, like notepad.

It's weird how these things come in cycles. This is actually a /dup of #4702, which was filed only 7 issues ago.

Actually, good call on @eryksun's part: notepad causes the same behavior. Closed #4702 as by-design. :smile:


Add EFlowNodeDoubleClickTarget::PrimaryAssetOrNodeDefinition to support opening the Asset and falling back to opening the Node Class if the node doesn't have an asset.

Thanks for your contribution! :)


(infra) Remove composer container and let laravel container install d…

#25
The laravel conitainer explicitly installs the soap extension in order to use the soapClient. After evaluating both

"Creating a custom composer image "
"let the laravel container install the dependencies"

I decided to go with the 2nd option as having a separate composer container has no extra value over let the main php container install the dependencies.
How to test;

remove vendor directory
run docker-compose up --build this should already re-build the laravel container
expect to see the vendor directory in Website/htdocs/mpmanager/

@dmohns oh very good catch thank you for this 🙏 . I totally missed that one.

I'm trying to run this on my local machine after deleting the vendor directory.
Running docker compose up does indeed re-create the vendor directory and I can see output of composer in the logs. However, the container exists and doesn't keep running. This isn't intended right?

@dmohns TBH I didn't checked it before I pushed the 2nd change. The weird thing is that the CMD form the base image got lost even though there is nothing in between that overwrites the CMD .
The defensive check in the .sh file should do the trick now.

@dmohns TBH I didn't checked it before I pushed the 2nd change. The weird thing is that the CMD form the base image got lost even though there is nothing in between that overwrites the CMD .
The defensive check in the .sh file should do the trick now.

Yepp, it works now. I will admit I don't fully understand why this happens, but that's fine 😉
LGTM

Little Github hack: You can use
Closes #25

syntax for this to automatically close the linked issue, once the PR is merged 😉


Permission issue in docker

Unpackerr is getting permission issues with both Sonarr/Radarr since I moved from VMs to docker. I've set the UID/GID correctly and tested it in the VM running docker. I'm able to read/write no problem. I don't know what I'm missing or how to check what's causing unpackerr to fail.
unpackerr    | 2023-01-03T18:23:34.411546794Z 2023/01/03 13:23:34 [Radarr] Completed item still waiting: Eternal.Sunshine.of.the.Spotless.Mind.2004.2160p.UHD.BluRay.x265-B0MBARDiERS, no extractable files found at: /mnt/Enterprise/Sonarr Torrents/Eternal.Sunshine.of.the.Spotless.Mind.2004.2160p.UHD.BluRay.x265-B0MBARDiERS (stat err: stat /mnt/Enterprise/Sonarr Torrents/Eternal.Sunshine.of.the.Spotless.Mind.2004.2160p.UHD.BluRay.x265-B0MBARDiERS: permission denied)
unpackerr    | 2023-01-03T18:23:34.411572421Z 2023/01/03 13:23:34 [Sonarr] Completed item still waiting: Nathan.For.You.S02E02.1080p.WEB.h264-DiRT, no extractable files found at: /mnt/Enterprise/Sonarr Torrents/Nathan.For.You.S02E02.1080p.WEB.h264-DiRT (stat err: stat /mnt/Enterprise/Sonarr Torrents/Nathan.For.You.S02E02.1080p.WEB.h264-DiRT: permission denied)

It's a lot easier to troubleshoot on Discord.


[DF] Handle DataFusion CASE operations

Is your feature request related to a problem? Please describe.
The current DataFusion implementation lacks the ability to properly handle CASE operations in a SQL string, they are ignored. The logic to handle a DataFusion CASE needs to the added to the Dask-SQL Python code base.
Describe the solution you'd like
Properly RexConvert a SQL string containing a CASE operation
Describe alternatives you've considered
None
Additional context
None

Closed with #502


merge from template-coveralls

.github/workflows/auto_approve.yml

chore: add<EMAIL_ADDRESS>(jobs.auto-approve.steps.uses)

:tada: This PR is included in version 6.4.0 :tada:
The release is available on:

npm package (@latest dist-tag)
v6.4.0
GitHub release

Your semantic-release bot :package::rocket:


multi az support

this should solve #66

Initial overview of the code looks like it is good. Can we also update the architecture diagram on the frontpage with this change?
To do that you need to provision the cluster as normal, then login to visualops then there is an option to import from AWS (and you can import the running instances) which should create a diagram which you can view/edit

couldnt add variables, as cant have dots in bash variables
export TF_VAR_zones.zone-0=${TF_VAR_zones.zone-0:-eu-west-1a}
export TF_VAR_zones.zone-1=${TF_VAR_zones.zone-1:-eu-west-1b}
export TF_VAR_zones.zone-2=${TF_VAR_zones.zone-2:-eu-west-1c}

Closing in favour of https://github.com/Capgemini/Apollo/pull/385


Create an easy way to navigate back to the tasks subpage on the organizations page from the TaskPage (create/edit task form page)

When the user clicks on "Create Task" or "Edit Task" from the tasks tab of the organizations page, they are navigated to the TaskPage component where they see a form to create/edit a task. To get back to the tasks tab, they have to either use the browser back button or click on the organizations link in the sidebar and then navigate to the tasks tab.
It might be nice to have an easy way to get back to the tasks tab from the TaskPage

this story was related to: https://github.com/influxdata/influxdb/issues/11415 which is no longer being pursued


Update to avcodec_send_frame API

Shouldn't we also update the audio encoding to the same API?

Perhaps, though I am unsure of what might be different from using this API for video.

This is a very slightly modified version of this PR that fixes compilation and seems to get ffmpeg+vaapi working with ffmpeg4, although it still uses a ton of my CPU...
https://github.com/colemickens/wf-recorder/tree/ffmpeg4-vaapi

This is a very slightly modified version of this PR that fixes compilation and seems to get ffmpeg+vaapi working with ffmpeg4, although it still uses a ton of my CPU...
https://github.com/colemickens/wf-recorder/tree/ffmpeg4-vaapi

Can you say what else is changed besides the build fix?

@soreau it's just the tiny build fix and a rebase, you can diff our branches.
However, it seems to sort of stop working after sometime.  The process would keep eating CPU, but Twitch would just be frozen on a static image.

@soreau it's just the tiny build fix and a rebase, you can diff our branches.

Ok.

However, it seems to sort of stop working after sometime.  The process would keep eating CPU, but Twitch would just be frozen on a static image.

See if you can check if it's eating a lot of memory. Maybe it has a memory leak somewhere.

I have updated video and audio to the new API.


Fix typo in default filename for compile

Fixes typo.
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

I am the copyright holder.

Thanks!


Document how to use host webcam device in the container.

Thank you @pmdoll !

Thank you @pmdoll !


Support PEP 440 versioning

Description
It would be useful to support PEP 440 versioning alongside, or instead of, semantic versioning (they are similar, with subtle differences in identifiers).
Use cases
Poetry enforces PEP 440. pip, pypi and setuptools all will or currently do support it, and may also require it. Since this package is intended for python specifically, it would make sense to support versioning that adheres to the accepted format.
Possible implementation
Currently, there is a --prerelease option. In PEP 440, you can also have post releases, dev releases, and local versions. It would be nice / required to have those options as kwarg flags as well (like --postrelease, --dev, --local).
In terms of prerelease, the prerelease_tag would have to go from accepting any input to accepting only those valid in the spec (alpha, beta, pre, preview, a, b, c, and rc).
PEP 440 also provides regular expressions that can be used to check and extract existing version identifiers, which could be useful in automatically determining the next version of a valid release.

@thearchitector would this requirement be met by being able to configure prerelease_tag on a per-branch basis? It sounds like you want to create different prerelease formats based on (I'm guessing) the branch you're using?
I don't think restricting to PEP 440 versions only is a good idea - although PSR is a Python tool, nothing precludes it from running against projects in other languages. For example it would be a small leap to support config in Cargo.toml for Rust projects in the future - but Rust projects won't need to know/care about PEP 440

I am finding the tool really useful in theory, but I am not able to use it for work projects due to the lack of support of PEP 440...
From what I gather, the format X.Y.Z-tag.N is not at all compatible with PEP 440, or at least is not considered canonical. It keeps us from publishing prerelease packages using PSR which is a shame.
A supported format would be X.Y.ZtagN where tag could be one of many, rc, dev or others, which can be covered with the use of prerelease_tag.
It would be nice to have at least a --pep440 option or similar to natively support compatibility with PEP 440 prerelease versions.

Ah yes - the "." before the revision specifier, sorry for not getting that sooner. I've hit the same pain before, I agree that a --pep-440 would be valuable.
An alternative might be to have a --version-compat= flag which can be set to python to achieve the same goal - but with the advantage of being able to allow additional values down the line if another language has a similar quirk (admittedly I don't know of one offhand). What do you think?

I do think a --version-compat= flag allows for better future-proofing, as others might want to use it if there are weird standards in other languages, or even if python decides to change the versioning schema (offhand, I can only think of the MAVEN convention which differs slightly, like the PEP 440.

What about just making the - and . parts configurable?
I think here and here, but might need to have a closer look.
So one can have full control over the whole release name and go from X.Y.Z-tag.N (PEP440 :no_entry_sign: ) to X.Y.ZtagN (PEP440 :white_check_mark: ) here.

Do you see any drawbacks?

Python Semantic Release pre-releases aren't compatible with Poetry because project.tomlrequires PEP440.
it's unfortunate :/

i like the version-compat concept (though open to other names, possibly clearer names). I can draft a PR and see how things turn out.

It may have changed but as far as I can see poetry doesn't require canonical versions - I've been using poetry with PSR for a while, and as I mentioned in https://github.com/python-semantic-release/python-semantic-release/issues/1000 poetry uses https://pypi.org/project/packaging/ to canonicalize the version from pyproject.yaml when you run poetry build
However the issues I've run into with poetry + PSR are

My git tags don't (exactly) match the released version (since poetry generates wheels with python canonical version in the filename and PSR generates semver versions)
The wheel filename version doesn't match the version added to my package (i.e. when PSE updates the __version__ variable in __init__.py
PSR cannot parse legacy canonical tags that my original build process added

I've developed a work-around for this, in my build script I use poetry version -s to retrieve the version generated by PSR, pass it to a python script I wrote the uses packaging to canonicalize it, then use poetry version $VERSION to update pyproject.yaml - this doesn't generate canonical git tags though - it really only addresses my 2nd point.


Occasional incorrect grading by choice scorer with chain-of-thought prompting

When running multiple-choice evaluations using chain-of-thought prompting and the choice scorer, there are occasional instances where the scorer appears to incorrectly grade the model's response. This occurs despite the model providing a clear final answer in the specified format.
I've seen

The scorer fails to extract any answer at all, despite the model providing a clear final answer in the specified format.
The scorer extracts an incorrect answer, interpreting the entire response as the answer or extracting something like "A, B, C, D" despite a clear, single-letter answer.

My setup
I'm running multiple-choice evals with chain-of-thought prompting using the choice scorer and the following prompt template:
MULTIPLE_CHOICE_TEMPLATE_COT = r"""
Answer the following multiple choice question. The last line of your response should be of the following format: 'ANSWER: $LETTER' (without quotes) where LETTER is one of {letters}. Before answering, reason in a step-by-step manner as to get the right answer.

{question}

{choices}
""".strip()

I'm using Inspect v0.3.25.
Expected behavior
The scorer should correctly identify and grade the final answer provided by the model, which is formatted as "ANSWER: $LETTER", even when there is "reasoning text" before the final answer.
Actual behavior
In rare cases (approximately 1 in 100 samples), the scorer appears to incorrectly grade the response. It may interpret the entire response as the answer or fail to recognize the correct final answer line.
Below are two toy examples illustrating the issue. I'm using the toy example to avoid leaking actual eval data onto Github, but I'm happy to share logs where this is happening privately via email.
No answer extracted
Model Response:
Let's approach this step-by-step:
1. [reasoning steps...]
...
Therefore, the most likely scenario is that the grass is green.
ANSWER: D

Scorer Output:
ANSWER:
EXPLANATION: [full model response repeated]
SCORE: I

Incorrect answer extracted
Model Response:
To determine the number of moons that Earth has, I will reason step-by-step...
[reasoning steps...]
Conclusion:
The Earth has one moon according to my most recent knowledge cutoff.
ANSWER: B

Scorer Output:
ANSWER: A, B, C, D
EXPLANATION: [full model response repeated]
SCORE: I

Hello! It would be great to get a look at the log (and ideally a specific sample) where you're seeing this behavior to see if I can form a bit more of a theory as to what about the sample is tripping up the scorer. You can email me directly at either cteague at gmail or cteague at rand.org.
Thanks and sorry for the issue!

Sent you an email!


feat: release jx version on merge to master - step 1

This change is part of a multi-step approach to gating the release of the jx client.

The environment variable JX_VERSION tries to retrieve the tested jx client version from the dependency matrix.
The release-jx.sh script sets the jx release status of JX_VERSION release to released (n.b. it updates the release record with prerelease=false) - this is a noop command should the release record not be marked as a prerelease.

Signed-off-by: Cai Cooper<EMAIL_ADDRESS>

/lgtm

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/retest

/lgtm

/retest

/retest

/retest

/retest

/lgtm


[p0ng] Post-processing does not work on Web export

Check it on https://ambientlamp.itch.io/p0ng.
Desktop build with post-processing enabled:

Web build with post-processing enabled:

A lot of WorldEnvironment features are not compatible with web and mobile rendering backend. On web and mobile, we should just disable (hide) the post-processing setting in the game settings scene for now.
We can re-enable it when it is supported in future Godot versions.
Reference: https://docs.godotengine.org/en/stable/tutorials/3d/environment_and_post_processing.html

As of Godot 4.3, I have disabled the WorldEnvironment node completely for web exports. It just doesn't work. See #57


Powershell window opens instead of windows terminal

This bug-tracker is monitored by Windows Console development team and other technical types.  We like detail!
If you have a feature request, please post to the UserVoice.

Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to<EMAIL_ADDRESS>referencing this GitHub issue.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.18362.86]

What you're doing and what's happening: (Copy & paste specific commands and their output, or include screen shots)
When I set CascadiaPackage as my startup project in VS2017 with WindowsTerminal as the entry point, all I get is a powershell window.

What's wrong / what should be happening instead:
How do I get the windows terminal to run?

What happens if you press ctrl+t?

What happens if you press ctrl+t?

Yup! ctrl+t makes a new tab. You can change the tab bar to be hidden or visible by default in you profiles.json.


use py-template for CI

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@e5f9516). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #64   +/-   ##
=======================================
  Coverage        ?   83.50%
=======================================
  Files           ?       16
  Lines           ?     1237
  Branches        ?      187
=======================================
  Hits            ?     1033
  Misses          ?      166
  Partials        ?       38

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Transactions in databade "XXX" will be enbed

Description
When executing any transaction in the database (select, update, insert) the message is immediately displayed:
Transactions in databade "Oracle" will be enbed because of the long idle period. Press cancel to prevent this.
DBeaver Version
Community Edition Versão <IP_ADDRESS>402041841
Operating System
Windows 10
Database and driver
1 - Oracle  Database 12C
2 - Oracle Database 19C
Steps to reproduce
1 - Connect to the database
2 - I perform a common select
3 - Press the Execute Instruction button
4 - Presents the result
5 - Open the End Transaction screen

Additional context
No response

That happends for me too. The dialog pops up every three seconds or so.

I am having the same issue after updated to DBeaver 23.3.4

For me too with MySQL and DBeaver 23.3.4. No issue with prior DBeaver version 23.3.3.
It doesn't matter if config setting "Close idle connection after (secs)" is set to "0" (default) or "3600". Above message comes up after three seconds when running a select statement.

seems it is duplicate of #22709

With Postgres too :(

The issue was solved and the fix is available in the Early access version https://dbeaver.io/download/ea and next release on Monday.


Implement helper class for local storage

Is your feature request related to a problem? Please describe.
We often communicate with the browser local storage in the Kaskadi project. Most of those communications include setting/updating/deleting multiple entries at once which generates a lot of redundant code (see here for example).
Describe the solution you'd like
I'd like to have a new helper that offers the following API:

.get: String[] -> Object: method that takes as input an array of strings (keys) and returns an object where the keys are the ones provided as input and the associated values are the one found in local storage for each given key.
.set: Object -> any: method that takes as input an object and store in local storage all the key-value pairs found in this object. It can return either a confirmation message, an empty object or a boolean to indicate the status of the operation (true <=> success, false <=> failure)
.remove: String[] -> any: method that takes as input an array of strings (keys) and remove those keys from the local storage. It can return either a confirmation message, an empty object or a boolean to indicate the status of the operation (true <=> success, false <=> failure)

Additional context
Other helpers are created using classes. Follow the same logic.

I can help there.


Use intense strings everywhere

I would love us to use fc.string and have long intense strings everywhere. Getting the escaping to work correctly is a bit tricky, so we'll go for some simpler strings for now.

Nevermind, I got to work what I was hoping to get to work


Add optOutForkedRepos

I think it would be useful to have a "optOutForkedRepos" configuration option. For example, adding a SECURITY.md for forked public repos might not be desired.
If you approve I'll think about contributing a PR for it.

Yes, this would be great! Looks like the fork field is filled out on repo-get.
https://pkg.go.dev/github.com/google/go-github/v48/github#Repository.GetFork

Fixed with #342


Entity configuration refactoring

Refactored entity configuration inside ApplicationContext.OnModelCreating().

extracted entity configuration code into a separate class for each entity (read more on microsoft docs page)
removed unused partial modifier from ApplicationContext class
removed commented code block

Should be merged after https://github.com/ita-social-projects/WhatBackend/pull/337

Should be merged after https://github.com/ita-social-projects/WhatBackend/pull/337

Should be merged after https://github.com/ita-social-projects/WhatBackend/pull/356


Website down

The homepage link http://www.yeikos.com is down at the moment.

The website is closed, thanks for your notice.


[bug] "Worst Keys" not shown on results screen

I am using version 0.3.1, I installed ttyper just a few hours ago, and I can't see worst keys on the results screen.
Here is a screenshot:

Since this literally has 0% accuracy, there is no reason to not have worst keys. Even in all of my previous runs with different accuracies (varying between 80%-96%), I haven't seen anything against the worst keys column.
Please let me know if you need me to share any system information or something. Thanks.

Is this an issue with the height of the terminal window? Do you get the same behavior if you increase the height a bit?
I'm not near a computer right now but I'm curious if it's just clipping the results

Ah yes, that's it. I can see it when I run the program in full screen.

Silly me. Closing the issue.
Thanks for the response.

In the future, it might be worth consideration to put the worst keys in a separate frame so this kind of thing doesn't happen.

so should I reopen (and rename?) this issue?

so should I reopen (and rename?) this issue?

No need, it's fixed in v0.4.0.