(Dashboard Backend) User authorization checks

There should be checks of user RBACs added to the dashboard so that actions made by the users are properly verified against their permissions on the openshift cluster based on the username in the dashboard status call.
I propose using https://github.com/fastify/middie to add middleware for each call requiring it, that would contain a check which would go through the user roles and check whether the required permissions are present.
Ex. GET nb images call would contain middleware with parameters {"get" : "images.openshift.io"}, "opendatahub" The middleware should loop through all the user rolebindings and in the roles the should look for the given combination. If it exists in a cluster role or a "opendatahub" role it should allow the call to go through.

@DaoDaoNoCode @dlabaj @cfchase @lucferbux What do you think?

I think that's a great solution! Having some util method running as middleware in selected paths is a common pattern, easy to read and follow, I would give a +1

After talking with @cfchase , I will try to implement this using bearer tokens passed by the proxy and take all calls through kubernetes which should complain if a user doesn't have the correct permissions.

@maroroman @lucferbux What's the net goal here? To make the error more palatable to the user or to help the UI not make requests it can never fulfill from this user?
If you do not have access to something, Kube will stop you -- so it should be a moot issue if that's all we need. Unless the error message is undesirable, in which case we can look to do something about that, probably with the library you mentioned.
If we are looking to improve the UI, ie not show actions that cannot ever work -- I recommend we start thinking more along the lines of what OpenShift Console does, and use something like useAccessCheck...
K8s create on:
    {
      apiVersion: 'authorization.k8s.io/v1',
      kind: 'SelfSubjectAccessReview',
      spec: {
        resourceAttributes: {
          group,
          resource,
          subresource,
          verb,
          name,
          namespace: reviewNamespace,
        },
      },
    };

Code Reference
eg:
  const canUpdate = useAccessReview({
    group: NodeModel.apiGroup,
    resource: NodeModel.plural,
    verb: 'patch',
    name: node.metadata.name,
    namespace: node.metadata.namespace,
  });

@andrewballantyne I think #259 will make this issue obsolete so I am willing to close it, since communication directly with k8s with a bearer token will provide all the authorization we need.

@maroroman Reading back on this -- I wonder if the underlying request here is still valid but the discussion on the how confused the situation.
#259 will mirror the RBAC access we have today. It uses the kube plugin for fastify and make requests as the user that is logged in -- server side.
We do not have a solution (that I know of) for the logged in UI user to make requests as them. We can look to maybe find a way to do that but it would be undesirable in our hybrid architecture today.

I'm going to close this issue -- as far as I can tell, when my user routes to the Dashboard (from the link in OpenShift Console) I am the selected user that is kicked by our GET /api/status -- this means when I make API calls against that backend, these calls made to kube on my behalf is from my user and thus is my permissions.
We default to kube:admin if things go off the rails -- but it looks like this should already be done by k8s... and with the pass through API we will start moving this logic to the client -- which albeit is the same user access token on the pass through API.
Later down the road if we have a desire to show 403 pages or hide items that are permission driven (like fields, sections or pages) we can use the OpenShift Console method of checkAccessReview -- which will tell me before an API call, if I have authorization to make it successfully.


Club-page

@Selasi3 - are you having issues updating your existing PR?
You have submitted the same code 3 times.
If you submit the same changes in a new PR again we will have to assume that you are trolling and we will need to restrict your ability to contribute to the codebase.
If you need help, please reach out ON THE EXISTING OPEN PR to myself or a member of the @BlackPythonDevs/triage team.

Hello Jay,
I had issues updating my existing PR.
Well noted
Kind regards,
Selasi Ayittah
On Mon, Sep 30, 2024 at 12:11 PM Jay Miller @.***>
wrote:

@Selasi3 https://github.com/Selasi3 - are you having issues updating
your existing PR?
You have submitted the same code 3 times.
If you submit the same changes in a new PR again we will have to assume
that you are trolling and we will need to restrict your ability to
contribute to the codebase.
If you need help, please reach out ON THE EXISTING OPEN PR to myself or
a member of the @BlackPythonDevs/triage
https://github.com/orgs/BlackPythonDevs/teams/triage team.
—
Reply to this email directly, view it on GitHub
https://github.com/BlackPythonDevs/blackpythondevs.github.io/pull/486#issuecomment-2383014701,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJQLYWMUDT7UJQ4H75ATAYLZZE5YDAVCNFSM6AAAAABPDEF3KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGAYTINZQGE
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

--
Ayittah Selasi Randy
Tel. no:<PHONE_NUMBER>

@Selasi3 -
Okay what I would do is create a new branch and copy your changes over.
Please look at the suggested changes on #475 before submitting a new PR. I will close that one as well and comment that you are going to apply these changes to a new PR.

Ok Sir
Thank you
On Mon, Sep 30, 2024 at 12:48 PM Jay Miller @.***>
wrote:

@Selasi3 https://github.com/Selasi3 -
Okay what I would do is create a new branch and copy your changes over.
Please look at the suggested changes on #475
https://github.com/BlackPythonDevs/blackpythondevs.github.io/pull/475
before submitting a new PR. I will close that one as well and comment that
you are going to apply these changes to a new PR.
—
Reply to this email directly, view it on GitHub
https://github.com/BlackPythonDevs/blackpythondevs.github.io/pull/486#issuecomment-2383096279,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJQLYWIRW5MWBLRTG3ZZOETZZFCDBAVCNFSM6AAAAABPDEF3KKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGA4TMMRXHE
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

--
Ayittah Selasi Randy
Tel. no:<PHONE_NUMBER>


React: Update Tooltip styles to sync with Twig

See more info here: https://github.com/international-labour-organization/designsystem/pull/533

@justintemps When you mean by sync does it mean just the icon to be fixed or the entire popper tooltip functionality to be included as well.

With popper as well. The implementation should be as similar as possible.
On Sun, Dec 17, 2023 at 21:01 Shashika Boteju @.***>
wrote:

@justintemps https://github.com/justintemps When you mean by sync does
it mean just the icon to be fixed or the entire popper tooltip
functionality to be included as well.
—
Reply to this email directly, view it on GitHub
https://github.com/international-labour-organization/designsystem/issues/534#issuecomment-1859268484,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC6TUG5A6IMSMMOCPRNZWKDYJ5FSFAVCNFSM6AAAAAA5BVKPAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZGI3DQNBYGQ
.
You are receiving this because you were mentioned.Message ID:
<international-labour-organization/designsystem/issues/534/1859268484@
github.com>

Noted @justintemps


Apply changes to CONSEP seed testing activity hi-fi screens

Describe the task
Applying changes to the CONSEP seed testing activity hi-fi screens based on the feedback and results from usability testing.
Acceptance Criteria

[ ] Update the related screens in Figma based on usability testing results
[ ] Prepare the screens for development by documenting business rules, other contextual info

Figma file can be found here:
https://www.figma.com/design/wWqNmvDMzrJDU8NDpCJ46b/Testing-activities-(Purity---Moisture---Xray---Fungal---SPG---etc.)?node-id=2311-38465


FIX:: Bugfix for Tooltip overflow

Description of PR
This PR is against the issue number #2076
The issue was with the default position of the tooltip, while it was not an issue on desktop, for mobile devices, tooltip created this extra space in the body of the page.
So I have added a conditional style object for tooltip element basis the viewport size of the device. If it's a mobile device tooltip element would have added top and right CSS attributes keeping it overflowing from viewport.
Introduced a new custom hook function called located in useViewPort.js under the hooks folder.
All the proposed changes will have an effect only on devices smaller or equal to 480px in width.
Relevant Issues
Fixes #2076
Checklist

[x] Compiles and passes lint tests

[x] Properly formatted

[x] Tested on desktop

[x] Tested on phone

Screenshots
Add relevant screenshots here
As seen on production

Changes from this PR

Can someone review this PR

Hey, can someone look into this PR and merge to master or share feedback if otherwise!

Resolved conflicts.

@sirdarthvader, I am trying to test this locally on my machine (Windows 10). I have cloned the react repo and then typed 'npm i && npm start' but it has given me some error as below and the browser loaded the site. However, it looks like some of the elements are not getting loaded properly. Any inputs on what might be missing or what I am missing?
>npm i && npm start
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\jest-haste-map\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\watchpack-chokidar2\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules\webpack-dev-server\node_modules\fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

audited 2406 packages in 81.921s

129 packages are looking for funding
  run `npm fund` for details

found 1 low severity vulnerability
  run `npm audit fix` to fix them, or `npm audit` for details

><EMAIL_ADDRESS>start C:\Users\gknathk\Documents\GitHub\covid19india-react
> react-scripts start
![covid19_local_screenshot](https://user-images.githubusercontent.com/32987834/89557901-25f48380-d831-11ea-9bba-25b9ff97169b.PNG)

i ｢wds｣: Project is running at http://<IP_ADDRESS>:3000/
i ｢wds｣: webpack output is served from
i ｢wds｣: Content not from webpack is served from C:\Users\gknathk\Documents\GitHub\covid19india-react\public
i ｢wds｣: 404s will fallback to /
Starting the development server...

@jeremyphilemon can you take some time and check review this PR.


Advanced Search Engine Tutotials (Arabic lang)

Hi, Can you add this Series of Arabic tutorials to create Advanced Search Engine : http://5dmat-web.com/search?q=advanced_search.
And thx !!

@atefBB I don't know Arabic language, so I need someone else's help. And I can't open your link you provide.

I know Arabic lang, I can help !

@atefBB OK, no problem, you can see the contribution guideline and send pull request~

thx !


ClassNotFoundException when downloading v2.4.2 from Maven Central

Expected behavior
Successfully download the relevant JAR from Maven Central for version 2.4.2.
Actual behavior
Attempting to download version 2.4.2 from Central produces ClassNotFoundException errors.
https://search.maven.org/artifact/org.springframework.session/spring-session-data-mongodb/2.4.2/jar
error: package org.springframework.session.data.mongo.config.annotation.web.http does not exist
import org.springframework.session.data.mongo.config.annotation.web.http.EnableMongoHttpSession;

Steps to reproduce
Declare the dependency and attempt to let Maven or Gradle resolve it.
The JAR that is published on central does not contain any relevant classes, etc if you download and examine it manually.

JVM version (e.g. java -version)
OpenJDK 11.0.9, Gradle 6.8
OS version (e.g. uname -a)
Darwin MacBook-Pro 20.2.0 Darwin Kernel Version 20.2.0

Can you show me your build file?

Can you show me your build file?

https://github.com/apereo/cas/blob/master/support/cas-server-support-session-mongo/build.gradle#L5
https://github.com/apereo/cas/blob/master/gradle/dependencies.gradle#L3200

Don't think it's a build issue. You can see in my screenshot above that the JAR is empty, and this also works with 2.4.1.

https://github.com/apereo/cas/blob/master/support/cas-server-support-session-mongo/build.gradle#L5
https://github.com/apereo/cas/blob/master/gradle/dependencies.gradle#L3200

Don't think it's a build issue. You can see in my screenshot above that the JAR is empty, and this also works with 2.4.1.

Wow. Confirmed.
I spot checked, and the latest (2.5.0-M2) is intact so digging in to see what went wrong in the release process.

Wow. Confirmed.
I spot checked, and the latest (2.5.0-M2) is intact so digging in to see what went wrong in the release process.

Just rebuilt 2.4.2 locally, and everything was intact.
Attempting to push another release, but this is delaying releasing => https://twitter.com/sonatype_ops/status/1352625400480817153

Just rebuilt 2.4.2 locally, and everything was intact.
Attempting to push another release, but this is delaying releasing => https://twitter.com/sonatype_ops/status/1352625400480817153

Resolved with version 2.4.3.

Resolved with version 2.4.3.

Closed via https://github.com/spring-projects/spring-session-data-mongodb/commit/2fa62693d79ac9275a2ddb8030ce6d12a0d75162.

Closed via https://github.com/spring-projects/spring-session-data-mongodb/commit/2fa62693d79ac9275a2ddb8030ce6d12a0d75162.


Update alexa2 to 3.25.5

Please update my adapter ioBroker.alexa2 to version 3.25.5. Update needed because of AMazon changes, was tested in Forum and has already many installations. lets move to stable asap please
This pull request was created by https://www.iobroker.dev c0726ff.

3.25.5 created 29.10.2023
1300 User
OK


Mark addresses as used while discovering them.

Issue Number

#2032
Overview

dd3cff59cef4a66bb792adda6491f54b8ea8ca23
:round_pushpin: mark addresses as used as they are discovered
The main issue of the current list address handler is that it loads in memory and crawls the ENTIRE transaction history of the wallet. This is done merely to know whether addresses have been used or not. This is unnecessary for random addresses because used and unused addresses are already separated in two different Maps. For sequential wallets it's a bit more subtle but, we can mark addresses as "Used" during discovery and store this information in the database.

61bbd7b3f0755386a815490868e2e556e13a8e8d
:round_pushpin: add two properties for Random & Sequential wallets showing the effect of IsOurs on the address state

eed460c03a8ce2f5093e59f7d58acf3422653d49
:round_pushpin: fix random address import to not mark every imported address as 'Used'

Comments

[ ] NOTE 1: This change will require a database migration forcing wallets to re-synchronize from scratch.

[x] NOTE 2: I haven't yet fixed unit tests which need some adjustment since some of the interfaces have changed.

[ ] NOTE 3: I'll try measuring and comparing the behavior with a stress-wallet that owns many addresses.

@rvl I ended up adding a simple migration for this. Reviewing the migration approach of the wallet can be done as a separate task / debt. I've tested the query with a hand-crafted database with 100k address and txout rows arbitrarily generated (with however existing relationships between tables) and the query is executed almost instantly.

bors r+


Not Working in Android 9 and 10

I have updated to the version.
Rtc.Create, Rtc.RemoteView and Rtc. does not seem to work in android 9 and 10 on release build.
I managed to get it to work on android 7 and below, havent tested with android 8 yet.
Does anyone have a solution for this? Does it work for you on Android 9 or 10?

yes, it works for me on android 9, have you tried our quick start?

https://github.com/AgoraIO-Community/Agora-RN-Quickstart/tree/sdk-v3
I cant because it is currently down. Have you made any update?

@kennguyen1506 the sdk-v3 brach has been merged to master.

@LichKing-2234 Im currently re-configuring my project following the quickstart. Will come back with updates within a couple days. Thank you for your help so far!

the quick start project definitely works, however I tried to follow your build config, run-time permissions, it still would not let the camera turn on in Android 9 or 10 with my app. I wonder other libraries I'm using is causing this issue. Will comeback with more updates soon.

@LichKing-2234 hi there! I successfully resolved the issues. Thank you so much. Like I was suspected, there was a location tracking scripts I used before init userId and channels. This worked well on iOS but since Android required a https permission for this to work on release build, our entire flow was halted. Just adding a permission to request https access in Manifest worked. Thank you for your help!


Just adding the webapp dependency does not work

If you create a plain project and do this (taken from the main readme) it does not work - I think because it uses a much too old Spring version. I had to use the BOM instead.

org.camunda.bpm.extension.springboot
camunda-bpm-spring-boot-starter([-rest|-webapp])
2.0.0

readme should be updated to make getting started easier

I do not get the point ... the example-webapp does exactly that ... adding the starter-webapp and run.
if you want to use another camunda version you unfortunately have to provide the full camunda-bom again, but that's also documented.
Maybe you could the missing docs-passage (via vcomment/PR or directly)?

If I got the point, it seems to be working fine in v. 2.3.0-alpha1.
Example is here: https://github.com/camunda/camunda-bpm-examples/tree/master/spring-boot-starter/example-webapp
Getting started is here: https://docs.camunda.org/get-started/spring-boot/project-setup/
Closing the issue. Feel free to open the new issue in JIRA.


Cursor Read doesn't work in cluster

NRedisStack Version:
v0.8.0, also tried upgrading to v0.11.0
Redis Stack Version:
Not using a Redis Stack image. We've buiilt our own image for cluster, using only the modules we need.
Redis cluster v7.2.1 with RediSearch v2.8.6 and RedisJSON v2.6.6
Description:
Aggregate cursor read fails, saying "cursor not found"
Rarely, it will work and return the next set of results, only to fail on the next iteration.
From the cli, I can use aggregate and cursor read to successfully iterate over all the results.
I have tried some tests where I will run the aggregate from NRedisStack and cursor read from cli, and vice-versa. It usually fails with "cursor not found". In the case where the cli cursor read works with NRedisStack's aggregate, I am able to keep using the cursor and iterate over all the results.
From these details, it appears that NRedisStack's aggregate and cursor commands are served by random nodes in the cluster, but only the node that did the aggregate command can do the subsequent cursor commands.

hi @tjohnson-gala , thank you for using NRedisStack and letting us know your case,,
i see its been a long time since you report the issue,, thank you for your patience. Is this still a valid issue on your side ?
If yes, it would help speeding up if you can provide your code snippet to reproduce the issue.
Upon your feedback, i ll plan to work on this next week, let me know.


CollisionShape2D fails to save

Godot version
v4.1.3.stable.official [f06b6836a]
System information
Godot v4.1.3.stable - macOS 14.0.0 - Vulkan (Forward+) - integrated Apple M1 - Apple M1 (8 Threads)
Issue description
One of the scenes in my project inherits a few CollisionShape2Ds from its base model.
After I adjust them as needed and save the scene, it simply reverts back to what it was before I edited it.
Other scenes in the same project that are also inheriting the same shapes behave normally. I also noticed that if I adjust the shapes to some nonsense values (for example if I put them way off), the new values get saved. So this happens only if I adjust them in this particular way for this particular scene.
Steps to reproduce
I can't reproduce it outside of my project, but here is what it looks like on my end.

in the beginning of the video the green rectangle goes above the sprite.
I lower it to the approximate height of the sprite
save the scene
reload the project… and it's back where it was!

Just for demonstration purposes, I'm showing it with a simple "reload project", but the same thing happens if I close the scene, then drag it into a level, or if I close it and reopen it etc.
https://github.com/godotengine/godot/assets/106015575/68b410e9-5c62-4ef4-8108-28bd60e02ce2
Minimal reproduction project
I can't reproduce it outside of this particular scene. Even the other scenes in the same project behave as expected from inherited scenes.

I managed to make it work by manually typing in all the coordinates (took a while… and they're still not right :P ). Looks like dragging of handles of individual CollisionShape2D is what's causing it to malfunction.
Also noticed that on some occasions dragging handles of individual CollisionShape2Ds (and therefore changing the scene) does not trigger the "file changed" mark (the asterisk in the file name of the scene tab).

I can't reproduce it outside of this particular scene. Even the other scenes in the same project behave as expected from inherited scenes.

Can you upload the project in question (while removing the files that aren't required to reproduce the issue, if you don't want to include these)?

@Calinou Here is an attempt at recreating it.
There are two scenes in the root, base scene ("enemy base") and inherited scene ("enemy test").

Open the base scene (don't modify it).
Open the inherited scene.
Find the CollisionShape2D (it's in the root of the just opened scene) and adjust it by dragging its handles so it covers the whole sprite (area marked with "1"). (At this point, "UndoRedo mismatch" errors will start showing in the console.)
Save scene.
Close scene.
Now close the base scene too (the one opened in step 1, no need to save it because we haven't modified it).
Reopen the inherited scene.
…the CollisionShape2D will not be covering the whole area marked with "1".

On my end, as soon as I start moving the collision shapes of the inherited scene by dragging the handles, it all goes crazy and every time I drag any edge of the CollisionShape2D I'm getting the "UndoeRedo history mismatch" error. Sometimes the changes get applied to the base model instead of the model I'm currently working on. Note that if I drag the handles of CollisionShape2D in the base model, it all works as expected.
engage bug 02.zip

Having this same problem when trying to create room transition areas. Really annoying having to make a new collision shape every time.

I'm also getting this in 3D.  I had an area trigger with a CollisionShape3D child as a scene loaded in another scene, enabled "Editable Children" and moved the handles to resize the box shape.
If I "Make unique" the box shape, the error goes away.

The problem still happens in v4.3.stable.official [77dcf97d8] and v4.4.dev6.official [1f47e4c4e]


Early termination LUT versions are incorrect on 32-bit compile

Early termination decoding stops too early and misses 8 bits.
Only happens on 32-bit compilation.
x:<PHONE_NUMBER>0000000000000000101001 (41)
y:<PHONE_NUMBER>0000000100100000100011 (18467)
z:<PHONE_NUMBER>0000000001100010111110 (6334)
morton:<PHONE_NUMBER>000000000010000100110000000000100000111100101100110011(9122519173939)
x_result:<PHONE_NUMBER>0000000000000000101001 (41)
y_result:<PHONE_NUMBER>0000000000000000100011 (35)
z_result:<PHONE_NUMBER>0000000000000000111110 (62)
64-bit using methods encode LUT Shifted ET and decode LUT Shifted ET

Fixed by PR.


upload file will not overwrite args anymore

The 'args' got overwritten by the file which was to be uploaded, resulting in errors.
Example of errors:

Traceback (most recent call last):
File "./upload_file_to_vm.py", line 116, in
main()
File "./upload_file_to_vm.py", line 100, in main
url = re.sub(r"^https://*:", "https://"+str(args.host)+":", url)
AttributeError: 'str' object has no attribute 'host'

Thanks for contributing


No doc of on.merge_group.<branches|branches-ignore>

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
What part(s) of the article would you like to see updated?
GitHub Actions merge_group trigger supports branches filter since its beta release in Aug 2022, but it's not documented till now.
I guess the symmetric branches-ignore filter is also supported but didn't check it myself.
One option is to extend current section on.<pull_request|pull_request_target>.<branches|branches-ignore> to cover merge_group and taking care of old anchor name redirection. Or add a separate on.merge_group.<branches|branches-ignore> section.
Additional information
Relevant GitHub Blogs

Beta https://github.blog/changelog/2022-08-18-merge-group-webhook-event-and-github-actions-workflow-trigger/
Public beta https://github.blog/changelog/2023-04-19-pull-request-merge-queue-public-beta-api-support-and-recent-fixes/
Generally available https://github.blog/changelog/2023-07-12-pull-request-merge-queue-is-now-generally-available/

Related

https://github.com/actions/languageservices/pull/12
https://github.com/actions/languageservices/issues/18
Path filtering does not work for merge_group triggers https://github.com/orgs/community/discussions/45899

@muzimuzhi Thank you for opening this issue! I'll get this triaged for review ✨

Sorry but I don't think this has been resolved.

@muzimuzhi Apologies on behalf of our overzealous bot! I'll reopen this 💛

👋 I can confirm on behalf of the Actions team that branches-ignore is supported for merge_group events.
I validated this with two workflows - one on a regular merge_group and the other with a merge_group ignoring main
on:
  merge_group:
    branches-ignore: ["main"]

In this image, pull request 8 is the PR that added the branches-ignore: ["main"] to the "CI TWO" workflow. You can see that when that PR is added to the merge queue, the "CI" workflow without any branches-ignore is triggered by "CI TWO" is not triggered (as expected).

Thank you very much for confirming, @joshmgross! ✨

One option is to extend current section on.<pull_request|pull_request_target>.<branches|branches-ignore> to cover merge_group and taking care of old anchor name redirection. Or add a separate on.merge_group.<branches|branches-ignore> section.

@SiaraMist Howdy! 👋 Do we have a preference on either approach for updating this doc?

Or add a separate on.merge_group.<branches|branches-ignore> section.

@muzimuzhi Lets go ahead with this approach! I've added the help wanted label so that you, or anyone else, is welcome to open a PR with this update 💛


🦍 Emoji causes UnicodeEncodeError in MINGW64 (Git Bash)

Hi!
Trying the Gorilla CLI on my Git Bash instance on Windows 10 I get the error:
Traceback (most recent call last):
  File "G:\Programs\conda\lib\site-packages\halo\halo.py", line 410, in _render_frame
    self._write(output)
  File "G:\Programs\conda\lib\site-packages\halo\halo.py", line 305, in _write
    self._stream.write(s)
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 47, in write
    self.__convertor.write(text)
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 177, in write
    self.write_and_convert(text)
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 205, in write_and_convert
    self.write_plain_text(text, cursor, len(text))
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 210, in write_plain_text
    self.wrapped.write(text[start:end])
  File "G:\Programs\conda\lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\U0001f98d' in position 3: character maps to <undefined>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "G:\Programs\conda\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "G:\Programs\conda\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "G:\Programs\conda\Scripts\gorilla.exe\__main__.py", line 7, in <module>
  File "G:\Programs\conda\lib\site-packages\go_cli.py", line 136, in main
    with Halo(text="\U0001f98d Loading", spinner="dots"):
  File "G:\Programs\conda\lib\site-packages\halo\halo.py", line 120, in __enter__
    return self.start()
  File "G:\Programs\conda\lib\site-packages\halo\halo.py", line 498, in start
    self._render_frame()
  File "G:\Programs\conda\lib\site-packages\halo\halo.py", line 412, in _render_frame
    self._write(encode_utf_8_text(output))
  File "G:\Programs\conda\lib\site-packages\halo\halo.py", line 305, in _write
    self._stream.write(s)
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 47, in write
    self.__convertor.write(text)
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 177, in write
    self.write_and_convert(text)
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 199, in write_and_convert
    text = self.convert_osc(text)
  File "G:\Programs\conda\lib\site-packages\colorama\ansitowin32.py", line 261, in convert_osc
    for match in self.ANSI_OSC_RE.finditer(text):
TypeError: cannot use a string pattern on a bytes-like object

I can see that character '\U0001f98d' is the 🦍emoji if I'm not mistaken, and it seems that this can't be handled properly in the command line

Hey @Fthree thank you for flagging this and also for raising the PR! Delighted to have you as a contributor and look forward to having you involved as we build this open source project!


Tuttlingen - what happened?

Were they swallowed by 3Ländereck or why is their map linking to 3Ländereck?
census is very spotty
Tuttlingen even when I go back years never worked correctly. can wr correct the entry or should we delete it?

We've got a retention of 180 days for those metrics, going back further is pointless:
https://git.darmstadt.ccc.de/ffda/infra/salt/-/blob/master/prometheus/files/prometheus/prometheus?ref_type=heads#L2
(The Prometheus server scrapes various other exporters, but the metrics already take up around 260 GB.)
Typically such entries have been left in the file if there was a slim chance that a Community might revive itself. Hoewer with it linking to 3Ländereck it could be probably be safely removed with some research that those nodes are included elsewhere or something like that.

Looks like Tuttlingen ist even filling in the gaps, were 3Ländereck's servers are unavailable:
https://stats.darmstadt.freifunk.net/d/CA5PRFmMz/gluon-census3a-dashboard?orgId=1&var-community=Tuttlingen&var-version_major=All&var-version=All&var-models=All&from=1713026098370&to=1713044755439
(If you switch back and forth)
So I guess Tuttlingen is usually filtered out due to duplicated MACs


org.openrewrite.gradle.RemoveDependency does not remove dependency in subproject

What version of OpenRewrite are you using?

I am using

OpenRewrite BOM 2.6.4
Gradle plugin 6.8.2

I've also tested with OpenRewrite 2.7.1 and Gradle plugin 6.8.4.
How are you running OpenRewrite?
I am running OpenRewrite using Gradle, as a multi-module project. The attached zip contains a simplified version of the project structure.
What is the smallest, simplest way to reproduce the problem?
The attached zip reproduces the issue - when using the org.openrewrite.gradle.RemoveDependency to remove a dependency, the specified dependency does not get removed.
What did you expect to see?
The subproject build.gradle should be updated, to remove the dependency
What did you see instead?
The subproject build.gradle does not get updated
Interestingly, if I add the dependency to the top-level build.gradle and run the recipe, both do get removed.
Gradle project with issue reproduced:
OpenRewriteIssueReproduced.zip

Hi @travisboettcher ; thanks for the report! Haven't found time to run your sample yet, but figured show the contents in the issue.

Ideally we replicate this with a unit test, and we have some mechanisms for that as well through our various SourceSpecs and Assertions classes. We'll need to see if the problem replicates there, as indeed it's unfortunate to not have this work for you.
./build.gradle
plugins {
    id 'java'
    id "org.openrewrite.rewrite" version "6.8.2"
}

group = 'org.example'
version = '1.0-SNAPSHOT'

repositories {
    mavenCentral()
}

rewrite {
    activeRecipe("com.example.RemoveHibernateEntityManager")
}

dependencies {
    rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:2.6.4"))
}

./settings.gradle
rootProject.name = 'OpenRewrite-example'
include 'example'

./example/build.gradle
plugins {
    id 'java'
}

group = 'org.example'
version = '1.0-SNAPSHOT'

repositories {
    mavenCentral()
}

dependencies {
    implementation 'org.hibernate:hibernate-entitymanager:5.6.15.Final'
}

test {
    useJUnitPlatform()
}

./rewrite.yml
type: specs.openrewrite.org/v1beta/recipe
name: com.example.RemoveHibernateEntityManager
displayName: Remove org.hibernate:hibernate-entitymanager
recipeList:
  - org.openrewrite.gradle.RemoveDependency:
      groupId: org.hibernate
      artifactId: hibernate-entitymanager

Created a unit test to cover this case, but it passes for me.

I found a small related bug here when it comes to dependencies within the classpath container.
https://github.com/openrewrite/rewrite/commit/617c493eced115d21acde0f7f760af0a1a872bbb
So far for project dependencies everything appears to be working as it is supposed to.


Create stage example

Test Plan

[ ] acceptance tests

[ ] …

References

Moved to 'stage' subdirectory of examples.


state don't change the animation

Hello,
I try to update the animation using a useState variable, but the animation wan't change,
is there any way to do this with Rive Component
<Rive
    className="loading-animation"
    src="/rive/loadinganimation.riv"
    useOffscreenRenderer={false}
    autoplay
    animations={dark ? "dark" : "light"}
/>

Hey @Kassan424kh, this isn't supported right now, but should be easy enough to add. I'll get something in today.
In the mean time, this is possible using the useRive hook:
import { useEffect, useState } from 'react';
import { useRive } from 'rive-react';

const lightAnimation = 'light';
const darkAnimation = 'dark';

function App() {
  const [animation, setAnimation] = useState('light');

  const params = {
    src: 'light_dark.riv',
    autoplay: true,
  };

  const { RiveComponent, rive } = useRive(params);

  useEffect(() => {
    if (rive && animation) {
      // This could also be rive.pause(), depending on your use case.
      //
      // .stop() will reset the current animation to the beginning, so when it
      // plays again it will play from the start.
      //
      // .pause() will maintain the position of the current animation,
      // so when it plays again it will play from the point it was paused.
      rive.stop(rive.animationNames);
      rive.play(animation);
    }
  }, [rive, animation]);

  return (
    <>
      <div style={{ height: '500px', width: '500px' }}>
        <RiveComponent />
      </div>
      <button onClick={setAnimation(lightAnimation)}>Light</button>
      <button onClick={setAnimation(darkAnimation)}>Dark</button>
    </>
  );
}

export default App;

Thank you very much @avivian


Auth Server Improvements

src/kerberos_auth_server.py:    # TODO add a parsing to the client names
src/kerberos_auth_server.py:    # # TODO: check if needed
src/kerberos_auth_server.py:        # TODO: encrypt the expiration time
src/kerberos_auth_server.py:    # TODO add support for multi servers using threads
src/kerberos_auth_server.py:        # TODO: check if payload size matches the payload size header
src/kerberos_auth_server.py:        # TODO: check if version matches
src/kerberos_auth_server.py:                # TODO: check the encrypted key iv thing
src/kerberos_auth_server.py:        # TODO add support for multi servers using threads
src/kerberos_auth_server.py:    # TODO: make it better than addressing the locations hard coded
src/kerberos_client.py:# TODO every error from server will return default error
src/kerberos_client.py:        # TODO add support for creating a client or reading client data from file
src/shared_server.py:# TODO add options to write to this file, create a new one maybe

Also, comments from this pr: https://github.com/ido123ziv/openu-cyber-101-course/pull/9

When working with networked applications, including server-client setups, it's important to consider security to protect against potential vulnerabilities. Here are some security considerations for a server-client application in Python:
Input Validation:
Always validate and sanitize input received from clients to prevent injection attacks. This is crucial to avoid issues like SQL injection, command injection, or buffer overflow attacks.
Authentication:
Implement a robust authentication mechanism to ensure that only authorized users can access your server. This may involve username/password validation or token-based authentication.
Encryption:
Use encryption (such as TLS/SSL) to secure the communication channel between the server and clients. This prevents eavesdropping and man-in-the-middle attacks.
Data Integrity:
Implement mechanisms to ensure the integrity of the data being transmitted. This helps detect if data has been tampered with during transmission.
Authorization:
Enforce proper authorization mechanisms to control what actions users are allowed to perform on the server. Ensure that each user has the appropriate level of access.
Threading and Concurrency:
Implement proper synchronization mechanisms when using threads to handle client connections. Uncontrolled access to shared resources among threads may lead to data corruption or security vulnerabilities.
Logging:
Implement logging to record significant events and errors. This aids in monitoring and debugging, and it can also provide valuable information in case of security incidents.
Denial of Service (DoS) Protection:
Implement measures to protect against DoS attacks. This can include rate limiting, connection limiting, or other strategies to mitigate the impact of excessive traffic.
Regular Updates:
Keep all software libraries and dependencies up-to-date to benefit from security patches and improvements.
Error Handling:
Implement comprehensive error handling to avoid exposing sensitive information in error messages. Provide generic error messages to clients and log detailed error information on the server.
Firewall Configuration:
Configure firewalls to allow only necessary traffic to and from your server. Restrict unnecessary ports and services.
Code Reviews and Security Audits:
Regularly conduct code reviews and, if possible, security audits. External reviews by security experts can provide valuable insights.
Restricted File Access:
If your server deals with files, ensure that users have appropriate permissions and that file paths are sanitized to prevent unauthorized access.
Session Management:
If your application uses sessions, manage them securely. Use session tokens with appropriate expiration times and implement secure session handling practices.
Secure Defaults:
Configure your server with secure default settings. This helps protect against misconfigurations and reduces the attack surface.
These considerations should be adapted based on the specific requirements and context of your server-client application. Additionally, staying informed about the latest security best practices and vulnerabilities in relevant libraries is crucial for maintaining a secure application.


fix: playground actions clear playground logs

When Run Script Clear Playground Logs is appended to actions every single time. they are all doing the same action.

Repro:

GO TO Playground
Click Run multiple times
Check actions in editor
Clear background Logs action is repeated

// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.

Expected behavior:
Clear Background Logs is appended to actions list one time only
Actual behavior:
Clear background Logs action is repeated as much as the script runs

Nice spot! Thanks!


Update the profile README

As Github has a new feature of profile README, maybe waka-box-go can support updating the stats to profile README.
on way to update  is adding a comment in the README and then update the comment area.
just like
<!--waka-box start -->
<!--waka-box end -->

@AarynSmith  what do you think about?

Sounds like a great idea to me.


Code cleanup: Nuke folders in all of the provider projects (Flatten files to root)

Most of the provider projects have 2-3 classes, where 2 of them are nested in a namespace.  I don't think that adds any value and the structure should just be flattened so you see all the classes easily.

Are you saying remove the namespaces or the folder? The namespaces need to stay because we want to hide the more obscure types of the providers.

Just the folders. So in vs it doesn't nest needlessly.  One of which is in a folder by itself. So lonely

Ah, folders I don't care as much as long as there's on "primary" namespace.

5c33d46f34320a5c597ffad3d968a263fec5c97a


remove duplicate check for pp and zero stage

duplicate  with https://github.com/microsoft/DeepSpeed/blob/f3943cf9109226ed3ecf2d5dbb639a11cd925555/deepspeed/runtime/pipe/engine.py#L58
no need to check again.

@inkcherry, thanks for this PR. Do you mind replacing the 2 in the assert with ZeroStageEnum.gradients? Thanks!


Support string enums as keys in maps

:rocket: Feature Request
Affected Languages

[X] TypeScript or Javascript
[X] Python
[X] Java
[X] .NET (C#, F#, ...)

General Information

JSII Version: 1.7.0 (build 179a3a5), typescript 3.9.5
Platform:     Darwin $HOST 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64

[ ] I may be able to implement this feature request

[ ] This feature might incur a breaking change

Description

Right now jsii only allows maps with string key. If instead a enum with strings is used the compile fails:
export enum CspDirectiveName {
  CONNECT_SRC = "connect-src",
}

const cspDirectives: { [P in CspDirectiveName]?: string } = {};
// alternative
const cspDirectives: Partial<Record<CspDirectiveName, string[]>> = { [CspDirectiveName.CONNECT_SRC] = "asdf"};

cspDirectives[CspDirectiveName.CONNECT_SRC] = "https://amazon.com"

error
error TS9999: JSII: Only string-indexed map types are supported

152   readonly cspDirectives: { [P in CspDirectiveName]?: string[] };
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Proposed Solution

I'm actually not sure if that is really a jsii problem or more a problem in TypeScript which supports enum keys only with computed types. But I think it's a valid use-case for jsii as well.

This is in fact not something we can support in the current state of things. The core issue is that JSII uses JSON-IPC between a node process and your .NET process, and enum constants are passed across as objects (that contain the name of the enum and the identifier of the specific entry). Such an object cannot be present as the key in a JSON object... Meaning we wouldn't be able to re-construct the enum reference in .NET.
Some languages also don't have a concept of a "string-valued" or "number-valued" enum (e.g: Java), and consequently, the current jsii type model considers enums are constants in their own domain (the fact the enum is string or number-valued is not part of this model).


default: use bluestore as default object store

All tooling in Ceph is defaulting to use the bluestore objectstore for provisioning OSDs, there is no good reason for ceph-ansible to continue to default to filestore.
Closes: https://github.com/ceph/ceph-ansible/issues/3149
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1633508
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

jenkins test pipeline


Kube

Closes #5911

#rebuild

#rebuild

B9PartSwitch appears to be 1.3.0 only so far? This should be fine for 1.3.0 users, but will not appear in the list for 1.3.1 users until B9PartSwitch is updated.

Oh.  ok, I was waiting for B9 to get fully updated.
thanks


Tag completion is not working

Issue Type: Performance Issue
Performance issue happened after update. Restarted both the software and the computer; still didn't work. Reviewed my settings; everything is correct (apparently). Need help troubleshooting.
VS Code version: Code 1.69.1 (Universal) (b06ae3b2d2dbfe28bca3134cc6be65935cdfea6a, 2022-07-12T08:21:51.333Z)
OS version: Darwin x64 19.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz (4 x 2500)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 1

Memory (System)
8.00GB (2.34GB free)

Process Argv
--crash-reporter-id 80cab3ab-78c6-4a22-9c91-02ae0dc1bc8f

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    7	   131	   589	code main
    2	    49	   615	   gpu-process
    0	    25	   616	   utility-network-service
    0	   262	   618	   window (Settings)
    2	   139	   624	   shared-process
    0	    49	   625	     ptyHost
    0	    49	   630	     fileWatcher
    0	     0	   777	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	   123	   629	   extensionHost
    0	    41	   642	     /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/node/jsonServerMain --node-ipc --clientProcessId=629
    2	    66	   771	   issue-reporter

Workspace Info
;

Extensions (1)

Extension
Author (truncated)
Version

prettier-vscode
esb
9.5.0

(2 theme extensions excluded)

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912:30520716
vsclangdc:30486549

What sort of tags? If Emmet, this is fixed in upcoming 1.69.2.

All tags,
like basic html tags: ! , h1, h2 ...need to type everything out.
haven't even tried Javascript tags

Is the issue fixed in 1.69.2?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Bundle JNI artifact into Nexus

Description

Testing instructions

Types of changes

Checklist

[ ] Prefix PR title with [WIP] if necessary.
[ ] Add tests to cover changes as needed.
[ ] Update documentation as needed.
[ ] I have read the guidelines for adding a new blockchain
[ ] If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).

@matsjj  are you guys trying to build android as static lib?


Improve modeling of TokenSpec in CodeGeneration

Resolves part of #1977

@swift-ci Please test

Somehow I've missed one usage of raw: text. I've just pushed fix

@swift-ci please test

@swift-ci please test windows


No provider for "framework:mocha"! (Resolving: framework:mocha)

the documentation of karma tell that.
but i still got this error:

why?

Thanks for your issue, have you install karma-mocha?
karma-mocha

karma adapter for mocha framework

Install with
npm i karma-mocha -D

certainly I have
but I will get an error if lack of this:
		plugins: [
			'karma-mocha',
                ]

Glad that your issue have been solved, can you close the issue?

yes, my issue is resolved
but my question is why the configuration is essential?
the documentation has told us it is not essential:

@zzzgit could you provide an example of your karma.confi.js file which doesn't work

module.exports = function (config) {
	config.set({
		basePath: '',
		frameworks: ['mocha'],
		files: ['./test/*'],
		plugins: [
			"karma-phantomjs-launcher",
			"karma-firefox-launcher",	// assential here
			'karma-mocha',	// assential here
			'karma-webpack',
			'karma-babel-preprocessor',
			'karma-coverage',	// assential here
			'karma-mocha-reporter',

		],
		preprocessors: {
			'./test/*.js': ['webpack','coverage'],
			'./built/*.js': ['coverage'],
			'./src/*.js': ['coverage'],
		},
		coverageReporter: {
			type: 'text',
		},
		reporters: ['dots', 'coverage'],
		webpackMiddleware: {
			noInfo: true
		},
		port: 9876,
		colors: true,
		logLevel: config.LOG_INFO,
		autoWatch: true,
		client: {
			captureConsole: true,
		},

		browsers: [
			//'Chrome',
			'Firefox',
			//'IE',
			//'PhantomJS',
			//'Edge',
		],
		singleRun: true,
		concurrency: Infinity
	})
}

@zzzgit  and this config does not work?

if I remove 'karma-mocha' from plugins, it doesn't work

if I remove 'karma-mocha' from plugins, it doesn't work

@zzzgit it's expected behavior because you redefined property plugins in config.
Default value for this property is plugins: ['karma-*']

Oh thanks, now I understand
I think the documentation of karma should tell us that more clearly

I had the same error, it was because I had no local karma, only a global one. Installing karma locally fixed it.


Bug with Paradise Lost

When holding a gravitite sword in your main hand and a different weapon in your off-hand, the off-hand weapon will receive the abilities of the gravitite sword when attacking

Hopefully fixed with the latest update


Add a Python executable entrypoint that can be used in place of Nextflow run in the pixi environment or docker container

We'll add more features to the CLI as time goes on, but this particular enhancement is finished.
Users can now run pixi shell --frozen or uv sync to get access to the following CLI:
usage: oneroof [-h] {env,validate,resume,run} ...

options:
  -h, --help            show this help message and exit

Subcommands:
  {env,validate,resume,run}
    env                 Check that all dependencies are available in the environment
    validate            Validate provided inputs.
    resume              Resume the previous run.
    run                 Run the full pipeline.

And for running:
usage: oneroof run [-h] [--primer_bed PRIMER_BED] [--fwd_suffix FWD_SUFFIX] [--rev_suffix REV_SUFFIX] --refseq REFSEQ [--ref_gbk REF_GBK]
                   [--remote_pod5_location REMOTE_POD5_LOCATION] [--file_watcher_config FILE_WATCHER_CONFIG] [--pod5_staging POD5_STAGING]
                   [--pod5_dir POD5_DIR] [--precalled_staging PRECALLED_STAGING] [--prepped_data PREPPED_DATA]
                   [--illumina_fastq_dir ILLUMINA_FASTQ_DIR] [--model MODEL] [--model_cache MODEL_CACHE] [--kit KIT]
                   [--pod5_batch_size POD5_BATCH_SIZE] [--basecall_max BASECALL_MAX] [--max_len MAX_LEN] [--min_len MIN_LEN]
                   [--min_qual MIN_QUAL] [--secondary] [--max_mismatch MAX_MISMATCH] [--downsample_to DOWNSAMPLE_TO]
                   [--min_consensus_freq MIN_CONSENSUS_FREQ] [--min_haplo_reads MIN_HAPLO_READS] [--snpeff_cache SNPEFF_CACHE]
                   [--min_depth_coverage MIN_DEPTH_COVERAGE] [--nextclade_dataset NEXTCLADE_DATASET] [--nextclade_cache NEXTCLADE_CACHE]
                   [--results RESULTS] [--cleanup] [--resume] [--snpEff_config SNPEFF_CONFIG]
                   [-profile {standard,docker,singularity,apptainer,containerless} [{standard,docker,singularity,apptainer,containerless} ...]]

options:
  -h, --help            show this help message and exit
  --primer_bed PRIMER_BED
                        A bed file of primer coordinates relative to the reference provided withthe parameters `refseq` and `ref_gbk`.
  --fwd_suffix FWD_SUFFIX
                        Suffix in the primer bed file denoting forward primer
  --rev_suffix REV_SUFFIX
                        Suffix in the primer bed file denoting reverse primer
  --refseq REFSEQ       The reference sequence to be used for mapping in FASTA format.
  --ref_gbk REF_GBK     The reference sequence to be used for variant annotation in Genbankformat.
  --remote_pod5_location REMOTE_POD5_LOCATION
                        A remote location to use with a ssh client to watch for pod5 files inrealtime as they are generated by the
                        sequencing instrument.
  --file_watcher_config FILE_WATCHER_CONFIG
                        Configuration file for remote file monitoring.
  --pod5_staging POD5_STAGING
                        Where to cache pod5s as they arrive from the remote location
  --pod5_dir POD5_DIR   A local, on-device directory where pod5 files have been manuallytransferred.
  --precalled_staging PRECALLED_STAGING
                        A local directory to watch for Nanopore FASTQs or BAMs as they becomeavailable.
  --prepped_data PREPPED_DATA
                        Location of already basecalled and demultiplexed pod5 files.
  --illumina_fastq_dir ILLUMINA_FASTQ_DIR
                        Location of Illumina paired-end FASTQ files.
  --model MODEL         The Nanopore basecalling model to apply to the provided pod5 data.
  --model_cache MODEL_CACHE
                        Where to cache the models locally.
  --kit KIT             The Nanopore barcoding kit used to prepare sequencing libraries.
  --pod5_batch_size POD5_BATCH_SIZE
                        How many pod5 files to basecall at once.
  --basecall_max BASECALL_MAX
                        How many parallel instances of the basecaller to run at once.
  --max_len MAX_LEN     The maximum acceptable length for a given read.
  --min_len MIN_LEN     The minimum acceptable length for a given read.
  --min_qual MIN_QUAL   The minimum acceptable average quality for a given read.
  --secondary           Whether to turn on secondary alignments for each amplicon.
  --max_mismatch MAX_MISMATCH
                        The maximum number of mismatches to allow when finding primers.
  --downsample_to DOWNSAMPLE_TO
                        Desired coverage to downsample to, with 0 indicating no downsampling.
  --min_consensus_freq MIN_CONSENSUS_FREQ
                        The minimum required frequency of a variant base to be included in aconsensus sequence.
  --min_haplo_reads MIN_HAPLO_READS
                        The minimum required read support to report an amplicon-haplotype.
  --snpeff_cache SNPEFF_CACHE
                        Where to cache a custom snpEff database.
  --min_depth_coverage MIN_DEPTH_COVERAGE
                        Minimum depth of coverage [default: 20].
  --nextclade_dataset NEXTCLADE_DATASET
                        Nextclade dataset.
  --nextclade_cache NEXTCLADE_CACHE
                        Nextclade dataset cache.
  --results RESULTS     Where to place results.
  --cleanup             Whether to cleanup work directory after a successful run.
  --resume              Whether to resume from a previous run.
  --snpEff_config SNPEFF_CONFIG
                        snpEff config file.
  -profile {standard,docker,singularity,apptainer,containerless} [{standard,docker,singularity,apptainer,containerless} ...]
                        The run configuration profile to use.


adding Pharaoh to realworld.html

We couldn't've managed this without CodeMirror, and would be delighted if we could be included in your list!

Merged as 90d025e


Update storage image 0.34.0 -> 0.35.1

What kind of change does this PR introduce?
Bump storage image version from 0.34.0 to 0.35.1
What is the current behavior?
I recently ran into this issue https://github.com/supabase/storage-api/issues/255 (can't read a 2+GB file from disk), which is fixed in storage-api version 0.35.0
What is the new behavior?
I'm curious to try out the new version so I can read large files from disk.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 60.614%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4146

Relevant Lines:
6840

💛  - Coveralls

I'm hesitant to merge this because there's a lot of changes from https://github.com/supabase/storage-api/compare/v0.34.0...v0.35.1 and we haven't fully tested and released 0.35.1 on hosted platform.
Generally CLI tries to match the docker image with what we have in prod for feature parity. If this specific issue is blocking you, one alternative is to build the binary locally for now.

Gotcha, thanks for the explanation! Feel free to close this MR if you prefer.


Update circe-core, circe-generic to 0.14.1

Updates

io.circe:circe-core
io.circe:circe-generic

from 0.13.0 to 0.14.1.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

labels: library-update, semver-minor

Superseded by #312.


Responses FR

Here is what I suggest, to be as close as possible to the translation.
Does this document work for all extensions of FFXIV ?
In English, does he suggest going behind a player, something or the boss?

does this document work for all extensions of FFXIV

I think this is only used for "get behind the boss", e.g. e8 biting frost.  Things like rocks usually get "hide behind boulder/door/meteor" style text.

does this document work for all extensions of FFXIV

Sorry, could you rephrase what you're asking? I'm not sure I follow.

I was talking about files (Response .js), it's for all extensions ?

I was talking about files (Response .js), it's for all extensions ?
if it is yes I would suggest verbs or expressions, but I don't know how to format

Sorry for my ongoing confusion, but I still don't understand what you're asking.  I think I don't understand the word "extensions" here, and so I don't understand your question.

(ARR, HwS, StB, ShB) FFXIV all game = all extension in French ^^.
Do not worry, I understand that it is not always easy to understand each other.

Ah! Thanks. In English, those are "expansions".  And yes, Responses.js applies to all of them.  Did you have suggestions of missing responses that would help?  My thought process was to add responses that were used many times, but any response that was fight-specific would just be in the trigger file itself.

YES can I put my proposals like this:

en: Get behind
fr: Allez derrière
I do not think I am competent to put it otherwise.

YES can I put my proposals like this:

en: Hide Behind
fr: Cachez-vous derrière
I do not think I am competent to put it otherwise.

Feel free to either write it out as a comment, or propose via a code change in the pull request.  Whatever is convenient.

Do not validate This request, because:

Ok, will wait for other people to answer here, thanks!

OK, I have a bilingual friend who confirmed to me (Get Behind)> (Go behind). I correct my error, my apologies.

Passez or Allez are valid. I think Allez was more used when I started to help translation.

there is a difference in definition. I find (pass) better to adapt. now that i'm sure everything is fine. I think I will often disturb my friend ^^. TY @moondark, and @quisquous. I will keep asking when I have doubts.

Franchement, ne soit pas si pointilleux. Que ce soit "Passez" ou "Allez", à la fin, tu es normalement derrière. Te prends pas la tête comme ça. De mon avis, ce n'étais pas la peine de changer, maintenant c'est fait ce n'est pas grave.
Tu peux m'ajouter sur discord si tu veux moyse#2147

avec grand plaisir.

Is this ok to merge or did you want to make any additional changes based on the conversation above?

it's ok to merge. We speak with @moondark on discord for other replacment. TY


Create intro section of the portfolio page

When the page is loaded the page presents your name, a recent photo or avatar, and links to sections about you, your work, and how to contact you

Intro Section created


Move type-narrowing methods to utility functions

There's no reason for them to be hanging around in class

Resolved with 3.0.0


[Feature Request] Ability to choose install path and install for all users (on Windows)

Insomnia Version: 7.0.3
Operating System: Windows 10 1903

Details
Insomnia installer does not allow user to pick a custom install path and on Windows installs it into %User%\AppData\Local\insomnia. Sometimes users would like to choose a custom install path (like %ProgramFiles%) because:

AppData is meant for application settings and data, not the applications themselves
AppData can be written by non-privileged users and programs, which is problematic if Insomnia saves sensitive tokens and keys
AppData is per-user, so on machines with multiple users Insomnia will have multiple installations.
Most installers allow to specify custom install paths
Portable installs, may be?

If you are interested in fixing this, I can contribute a patch.

This is still outstanding

Regarding this feature I look for installing a plugin 'system wide' For every user in a server, without the need of install per user. Is it possible already, or that need the whole installation to be system wide?

Was annoyed by Postman's inability to choose install path as this long thread. Tried Insomnia but still no luck. Why is it so common for apps like this kind not allowing user to choose where to install?

Why is it so common for apps like this kind not allowing user to choose where to install?

Because both apps use Electron which by default uses AppData. There are ways to let user pick install directory, but it is not the default (if I'm correct, VS Code does this). Three years ago when I opened this issue I knew how to do it, but frankly I forgot since then.

We are facing the same dilemma. Postman do provide an enterprise client, but $100 per month per user is pretty steep.
I started pushing the company to get the Insomnia Enterprise version, but not being able to do a system-wide install is show stopper. Gutted.

It is still creating a shortcut on user's desktop!
Don't mess with my desktop. It's MY desktop. It's 2023 and I don't get it why developer tools still mess with my friggin desktop. Stop it!!!
In software packaging, we use Windows Installer MSI files at least for 2 decades. It's fully configurable and its functions mastered the silent install/configure/update/install processes over the last 30 years.
I friggin don't understand why they create new installers all the time.
You can also fully automate your build process and add the creation of the installer package with WIX.
https://wixtoolset.org/


Invoke-VenafiRestMethod Struggles

I want to create a Check-TppCertificateAssocation function using Invoke-VenafiRestMethod.
To start with, I'm trying to perform a simple query for basic info on a certificate -
mainly to be sure I'm using Invoke-VenafiRestMethod correctly.
After running New-VenafiSession to authenticate to our TPP implementation, I run Invoke-VenafiRestMethod with what appears to be the correct parameters, with no success thusfar.
I've been at this for two days now, and have tried specifying serial=, thumbprint=, CN= and CertificateDN=
Invoke-VenafiRestMethod throws 401 (not authorized) error when using the below code;
(note the below does not contain the actual Serial number and TPP server)
PS C:\> $params = @{
>>     VenafiSession = $VenafiSession
>>     Method        = 'Get'
>>     UriLeaf       = "Certificates"
>>     Body          = @{ 'serial '= '1234567890' }
>> }
PS C:\>
PS C:\> Invoke-VenafiRestMethod @params -verbose
VERBOSE: {"ContentType":"application/json","UseBasicParsing":true,"Method":"Get","Uri":"https://MyTPPServer.contoso.com/vedsdk/Certificates","Headers":{"Authorization":"***hidden***"},"Body":{"serial":"1234567890"}}
VERBOSE: Response status code 401
Invoke-WebRequest : {"error":"invalid_token","error_description":"Authorization:Bearer parameter is missing or empty."}
At C:\Program Files\WindowsPowerShell\Modules\VenafiPS\Public\Invoke-VenafiRestMethod.ps1:254 char:40
+ ... put = $($response = Invoke-WebRequest @params -ErrorAction Stop) 4>&1
+                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
PS C:\>

After a good bit of thrashing and a replacement keyboard, I've managed to get Invoke-VenafiRestMethod to complete successfully,
however returns nothing (no error, no output, $? shows true);
PS C:\> $params = @{
>>     VenafiSession = $VenafiSession
>>     Method        = 'Get'
>>     UriLeaf       = "Certificates/serial=1234567890"
>> }
PS C:\>
PS C:\> Invoke-VenafiRestMethod @params -verbose
VERBOSE:
{"ContentType":"application/json","Method":"Get","Headers":{"Authorization":"***hidden***"},"UseBasicParsing":true,"Uri":"https://MyTPPServer.contoso.com/vedsdk/Certificates/serial=0123456789"}
VERBOSE: GET https://MyTPPServer.contoso.com/vedsdk/Certificates/serial=1234567890 with 0-byte payload
VERBOSE: received 2-byte response of content type application/json; charset=utf-8
PS C:\>

I've done a lot of searching and reading (cmdlet's help, all "Issues", google, Venafi Warrior community, etc) trying to figure out what I'm doing wrong, but to no avail.
I'm sure I'm missing something important or doing something silly - any light you could shed would be most appreciated!

After creating a new session, You can call Invoke-VenafiRestMethod -UriLeaf 'certificates/' -Body @{'Serial'='1234567890'}.  Get is the default method and VenafiSession will come from the session parameter automatically set so you don't need to provide those directly.  Note the trailing slash after certificates.
Why not use Find-VenafiCertificate -SerialNumber '1234567890'?

Invoke-VenafiRestMethod exists for those APIs which don't have dedicated functions so we wouldn't look to add this as an example.


Flux fine-tune text encoder rate is too high; need to be able to set separately

Hello! I'm using flux_train.py from the sd3 branch to fine-tune Flux on a custom data set. It's working, but I'm finding that the text encoders are getting over-trained very quickly. I think this is because I can't set a separate (much lower) training rate for the text encoders, and so the text encoders have to use the high UNet training rate. There also doesn't seem to be a way to opt out of text encoder training with the fine-tune script.
I saw that it is possible in flux_train_network.py to specify different text encoder rates for LoRA training. Is there any chance you could add separate text encoder learning rates for the fine-tune script too, or make it possible to opt out of TE training?

Oh! Thank you for the help, and sorry for the misunderstanding. Perhaps it was the Flux model training rate that was too high. I will perform some more experiments.


Avoid App Store submission failure due to embedded frameworks

The copy-frameworks build phase embeds the Alamofire and ObjectMapper frameworks within the AlamofireObjectMapper framework - while the configuration works at runtime, it isn't efficient and more importantly, fails App Store submission with errors:
ERROR ITMS-90205: contains disallowed nested bundles
ERROR ITMS-90206: contains disallowed file 'Frameworks'
A host application needs to link against and copy the Alamofire and ObjectMapper frameworks anyways, so in addition to passing App Store submission, this change will also reclaim the 5.5 MB (0.9 MB compressed in an IPA) the embedded frameworks would have otherwise taken.

I meant to link to Carthage/Carthage#416 which detailed the same issue in another framework.


Error updating Treatment under Sample page

Error trying to change the Treatment when editing the Sample page

Updating Treatment DOES work though through the Run 'Edit' interface


Fixing rejectSmallImage + minZoom

Issue was that if rejectSmallImage was set to false (allowing a small image) and minZoom was set to 'fill' (meaning the user intended the image to fill the preview), the 'fill' option was being ignored.

There's 'fit' not 'fill' option for 'minZoom' option

@amitkumar Thank you for the PR! It solves the issue perfectly, but after some thoughts I think it makes more sense to separate minZoom and small image options. I'm replacing rejectSmallImage with a more flexible smallImage option that takes a string, which can be 'allow', 'reject', or 'stretch'. When it's 'stretch', the minZoom follows whatever minZoom option is. When it's 'allow', small images can be zoomed down to 100%, overriding minZoom option. I'm making that change now.
@Cain-Ish yes there is a 'fill'. Sorry I've not got to update the website, but for now the options doc could be found here.

Added smallImage option in 9bdefa8bb51d6ccd4486f965dbf447f009193fb3.


Live

Sync live and master branches

Docs Build status updates of commit 4021aab:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

BingMaps/v8-web-control/map-control-concepts/configuration-driven-maps-framework/load-a-configurable-map-with-code-example.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


[exporter] PunBB

https://github.com/patricksebastien/nodebb-plugin-import-punbb/issues/1

I could provide a punBB dump if required. I am interested in importing from punbb. I've just installed nodebb so have version 0.80. Will the importer work with this version? 0.7 is mentioned in the readme.

sure - email it to me.
I would probably need to publish like a new npm module, nodebb-plugin-import-punbb2 to use my fork from patricksebastien's fork
btw - The importer now works with the latest stable NodeBB v0.8.2,

ugh - email/share it to<EMAIL_ADDRESS>

@akhoury  Will do - haven't worked on this in a while but it is being resurrected. Thanks!

@akhoury I've emailed you the dump file. Apologies for the delay.

got it, I will test as soon as i can, probably another week from now.

Cool. In the meantime, can you confirm if I can try this via the Node Admin panel or if I need to try an import from the command line as was detailed here - http://www.workinprogress.ca/punbb-to-nodebb

See also https://github.com/patricksebastien/nodebb-plugin-import-punbb/issues/3

you should try my fork, https://github.com/akhoury/nodebb-plugin-import-punbb
not patricksebastien's
I submitted PR to him more than a year ago, he doesn't seem responsive
https://github.com/patricksebastien/nodebb-plugin-import-punbb/pull/2
In the Admin Panel > Import > Pre-Import Config > Select an Exporter
don't select one from the select box, just modify the text input below and enter
git://github.com/akhoury/nodebb-plugin-import-punbb#master
to install mine copy.
Or, you can
cd nodebb/node_modules
git clone https://github.com/akhoury/nodebb-plugin-import-punbb
cd nodebb-plugin-import-punbb
npm install
cd ..
node app

Then from the admin panel, select exporter, same select box, just type nodebb-plugin-import-punbb and make sure you select the "Skip Module Install" box.
but anyways, there're probably few bugs in it anyways, since I just wrote my fork from memory, i didn't have a punbb dump - so.. i would wait till i confirm it's all good or if you're feeling lucky and want to fix it.

@codecowboy - tested and published - looks good so far.
Once you install "" and activate "nodebb-plugin-import", open the Pre-Import Settings > Select Exporter, but you're not gonna find "nodebb-plugin-import-punbb2" in the select box, just type nodebb-plugin-import-punbb2  in the text box below, notice I added "2" at the end
i will add it to the select box on my next nodebb-plugin-import release.
But you don't have to "Skip the Module Install" anymore (unless you npm install it yourself), it's published to npm so that should work.
Screenshot of my exporter settings


18107319- Add CDN Broker acceptance test

Description:

Adds a basic acceptance test for the CDN Broker which tests if a CDN service with a custom domain can be setup

How to review

Code review.
Deploy to dev01.

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

Not sure I understand. If the CDN instance fails to create then all that will be left is the org + space + user and so the test will fail.

hmmm I'm not sure either. From the ticket it says
- attempt creating a CDN instance for domain <randomstring>-1.example.com, check failure.
- delete failed CDN instance

Which makes me thing there might be other reasons for failure. I feel like I've read about it somewhere... but I can't find it anymore 🤦


Second open(2) causes copy-up operation

The documentation incorrectly credits the first, read-only call to open as the trigger of the copy-up operation.  It's the second, read-write call that actually triggers the copy-up operation.

@cpuguy83 PTAL

This issue occurs when opening a file as RO, and then opening it again as RW. When the 2nd fd is written to, it triggers a copy-up operation, and then the first fd is read from and you end up with a data mismatch because fd1 is pointing to the read-only file in the lower layer, and fd2 is pointing to the new file that was copied up.

While I was only changing the text to credit the second open as the culprit, @cpuguy83 has provided a deeper explanation of what the second file open does to get all he way to the problem. Want me to expand the patch to include this?

It's probably worth it since developers can easily be effected by this in their own applications.

How are you supposed to work around it? When you open the file the second time, do you get a new file descriptor and you're supposed to use that?

In this case it's the first fd that's going to have stale data.
The work-around would be to read/write from a single FD, or close/re-open the file after it's been opened for RW.
yum suffers from this issue, there's a hack to fix it.

The hack is to touch the files before open.  The updated date time causes the copy-up operation to occur and the open points to the same file for all following requests.  I'll update the patch.

Gently reworded the commit message during squash. Thanks @mgenereu


BUG: linalg: Fixed typo in flapack.pyf.src.

This three year old typo appears to be triggering a scipy build failure when the master branch of numpy is used.

After this change, the build of fftpack is failing with the master branch of numpy.  Anyone have a clue?

Failure looks unrelated, you changed flapack while the failure is in fftpack.
Strangely, I saw an f2py failure on gh-8528 that does happen to be in flapack: https://travis-ci.org/scipy/scipy/jobs/350093451
There's also another failure there that comes from a different PR, it looks like TravisCI is mixing stuff up right now.

There has been a change in f2py that might be related: https://github.com/numpy/numpy/pull/10676 .

It looks like that change to f2py broke something.  I just tried to build this PR with numpy master, and the code generated in _fftpackmodule.c is not correct and won't compile.

@rgommers wrote:

Failure looks unrelated, you changed flapack while the failure is in fftpack.

Right.  This pull request fixes the problem (i.e. the typo) that was apparently exposed by the f2py changes and caused the failure in https://github.com/scipy/scipy/pull/8318 earlier today.  With this pull request, the build makes more progress, but then fails with fftpack.  I'm pretty sure the fftpack failure is because the f2py changes broke something.  The C code generated by f2py for the zfftnd function is not getting the full callstatement code from the .pyf file.   I added some more information at https://github.com/numpy/numpy/pull/10676

I also wonder how voronoi stuff get caught up in this https://travis-ci.org/scipy/scipy/jobs/350140558 since #8527 is not merged yet.

The problem with building fftpack is definitely a bug in f2py; see my recent comments at https://github.com/numpy/numpy/pull/10676.

Nice surgery!

I suppose the NumPy f2py changes could be postponed for a release, but that seems a bit drastic ..

Why? The bugfix that triggers this isn't very interesting, reverting it for a couple of releases doesn't seem to be much of a problem. I don't think it's good if numpy 1.15 or 1.16 cannot build scipy 1.0 anymore.

Is it common for users or packagers to use the latest numpy with an older scipy?

I wrote

Is it common for users or packagers to use the latest numpy with an older scipy?

Of course, scipy 1.0 isn't exactly "old" :).   If we don't have a release of scipy with this fix before the next release of numpy with its updated f2py, then I agree that's a problem.

common for users or packagers to use the latest numpy with an older scipy?

I'd say this is common - any larger scale users with a serious QA process will only upgrade libraries after testing them, which is expensive. So they often upgrade only the library they need, not just jump to the latest version for everything that depends on it.

I propose that we first determine that SciPy master has all the needed fixes. @WarrenWeckesser I believe you have already done that? Then revert the Numpy changes, maybe just for release, so that downstream projects can test against NumPy master and make fixes if needed. The question is then how long we should postpone the fix.

Maybe we should also make a "testing" release on PyPI with the f2py fixes? I'm not sure how to name such a release with the current version scheme.

In any case, I think we should just merge this PR.

Chuck, I see you merged the fix for f2py.  Locally, I installed numpy's master branch, and I was able to build the scipy branch in this PR with numpy master.  But when the travis-ci tests just reran for this PR, it failed to build the fftpack module again.  I don't know what's going on there.

I said

I don't know what's going on there.

A closer look at the test log shows this
Successfully installed numpy-1.15.0.dev0+e3fe42f

That is not the most recent commit to numpy master.  How often is the wheel for numpy master created?

Unless you compile numpy yourself, It is probably the daily build, seems to happen sometime in the early morning local time here.

@matthew-brett  Do you know when the builds are done?

Yep, looks like e3fe42f was built ~10 hrs ago, i.e., about 4:00 AM MST, 11:00 AM GMT.

@rgommers I marked this as a backport candidate for SciPy 1.0.1. How many SciPy releases should numpy count on fixing?

I'd say 2 minor releases and at least 6 months after a fix went in. We should do 1.0.1 and 1.1.0 soon, and 1.2.0 towards the end of the year. By 1.2.0 would be nice timing in this case I'd say.

All right, let's get this in and get things green again. Thanks @WarrenWeckesser @charris

We should get 1.0.1 out the door soon then - I'll look at doing that.


[feature request] Switch toolchain or corss-file on GUI

I hope there is a select box on vscode GUI to select the toolchain or cross-file to use, and this selected file should be appended as an argument to meson command line, just like the "CMake Tools" does(extension id: ms-vscode.cmake-tools)

The problem with that is, Meson machine files aren't recognizable in the sense that they don't have a special file name or anything.

"CMake Tools" extension uses a specific Json file to record all the toolchains and "toolchain files". When we select a toolchain, it is actually selecting an object from that Json file, "CMake Tools" will load that object and parse the information. I think this is also applicable to the "vscode-meson".

In CMake that file is well known. It has a specific name. We don't enforce names for machine files, for better or for worse.

The file I mentioned does NOT belong to cmake, it is created by the "CMake Tools", in my PC, the path to it is "C:\Users\zzh\AppData\Local\CMakeTools\cmake-tools-kits.json" . It is neither a "CMakeUserPresets.json" nor a "CMakePresets.json", it is just a configuration file specific for the "CMake Tools" extension.
What I mean is, could we create a "meson-crossfile.json" file specific for "vscode-meson" extension, in this file we write something like this
{
    "gcc": "/home/zzh/toolchains/gcc.ini",
    "clang": "/home/zzh/toolchains/clang.ini"
}

The "gcc" and "clang" is a custom name for GUI item, the "/home/zzh/toolchains/gcc.ini" is the path to the machine file, the "meson-crossfile.json" is a specific name.

The file I mentioned does NOT belong to cmake, it is created by the "CMake Tools", in my PC, the path to it is "C:\Users\zzh\AppData\Local\CMakeTools\cmake-tools-kits.json" . It is neither a "CMakeUserPresets.json" nor a "CMakePresets.json", it is just a configuration file specific for the "CMake Tools" extension.
What I mean is, could we create a "meson-crossfile.json" file specific for "vscode-meson" extension, in this file we write something like this
{
    "gcc": "/home/zzh/toolchains/gcc.ini",
    "clang": "/home/zzh/toolchains/clang.ini"
}

The "gcc" and "clang" is the custom names for GUI item, the "/home/zzh/toolchains/gcc.ini" is the path to the machine files, the "meson-crossfile.json" is a specific file for "vscode-meson"

Could you provide a screenshot/video of the CMake extension doing this? I am having trouble understanding.

Meson itself should probably install/provide some of its cross files

I like this idea quite a bit.

Could you provide a screenshot/video of the CMake extension doing this? I am having trouble understanding.

https://github.com/mesonbuild/vscode-meson/assets/33342565/3fe400ef-c3ba-49fd-b15e-19684c4c056c
This is a demo for "CMake Tools".

I like the idea of having a set of cross files and an easy way to click which platform to build for. Meson itself should probably install/provide some of its cross files: https://github.com/mesonbuild/meson/tree/master/cross. The list could then be extended by user entering full path to its custom cross files.
An extra step meson-vscode can take is to append arch/platform to the builddir, e.g. selecting mingw cross file will automatically build into builddir_x86_64_windows.

@tristan957 I like this solution too. It is not necessary to do everything like "CMake Tools" does.


Install get_cli hint must be relative and normalized

fg@fgdeiMac ~ % flutter pub global activate get_cli
Package get_cli is currently active at version 1.7.1.
Resolving dependencies...
The package get_cli is already activated at newest available version.
To recompile executables, first run `flutter pub global deactivate get_cli`.
Installed executables get and getx.
Invalid argument (beneath): ../flutter_sdk/.pub-cache/hosted/pub.flutter-io.cn/get_cli-1.7.1/bin: "must be relative and normalized"
package:pub/src/ignore.dart 230:7            Ignore.listFiles
package:pub/src/package.dart 243:19          Package.listFiles
package:pub/src/global_packages.dart 710:10  GlobalPackages._updateBinStubs
package:pub/src/global_packages.dart 261:5   GlobalPackages._installInCache
===== asynchronous gap ===========================
package:pub/src/global_packages.dart 128:5   GlobalPackages.activateHosted
This is an unexpected error. Please run

    dart pub --trace global activate get_cli

and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
pub finished with exit code 1

Problem solved:
https://github.com/dart-lang/pub/issues/3312


Show popup on absent internet connection

When there's a new kanji and Internet isn't available  - currently blank screen presented, without any notice.

Also, this blank data got cached and persist with the app.
Connection should be checked periodically and any such kanji should be reloaded.