udev rules not triggered after activating a config?

When deploying new udev rules, a simple nixos-rebuild switch does not suffice. Also, adding an activation script that runs udevadm trigger doesn't help because activation scripts are run before the new environment is in place.

This is kinda related to #12789

udev rules are generated in activationScript, so you have to specify a dependency on it when running udevadm trigger

see https://github.com/NixOS/nixpkgs/pull/12724

It's not entirely true, only hwdb database is generated in the activation script. It would be good to reload udev daemon via udevadm control -R when new rules are added on switch -- this should also benefit hwdb database if #12724 is merged. I'll think on this.


android-ndk: 14b

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Additionally, if adding a new cask:

[x] Named the cask according to the token reference.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.
[x] Checked there are no open pull requests for the same cask.
[x] Checked the cask was not already refused in closed issues.
[x] Checked the cask is submitted to the correct repo.

There is steal an open issue #31234

The android-sdk automatically installs the ndk when required by a project.
If that fails, the ndk can also be installed manually by running $ANDROID_HOME/tools/bin/sdkmanager ndk-bundle.

@miccal how to port following code from homebrew to cask DSL?
ndk_exec = prefix+"ndk-exec.sh"
    ndk_exec.write <<-EOS.undent
      #!/bin/sh
      BASENAME=`basename $0`
      EXEC="#{prefix}/$BASENAME"
      test -f "$EXEC" && exec "$EXEC" "$@"
    EOS
    ndk_exec.chmod 0755
    %w[ndk-build ndk-depends ndk-gdb ndk-stack ndk-which].each { |app| bin.install_symlink ndk_exec => app }

Do you have a usecase where you run the ndk without the sdk installed ?
I don't have any, but I want this cask to exist for those users who prefer keep their software in managed manner.

@miccal how to port following code from homebrew to cask DSL?

No idea, sorry.

@yurikoles The chmod can be accomplished with set_permissions. Everything above it just a shim script, and the last line is something like this.
But I haven’t been following this whole android situation closely, so as for the validity of the cask itself, I’ll leave it to the other maintainers that have been managing the case.

@vitorgalvao thank you for your help, it looks like working.

@miccal please trigger test

What's the status here?

@vitorgalvao are you ready to merge it?

I see Travis finally passed. Had to restart it for this cask a bunch of times.
Merging.

@vitorgalvao great thanks!
@yurikoles do you mind opening a PR updating the tap_migrations file in homebrew/core accordingly? Thanks!

@ilovezfs https://github.com/Homebrew/homebrew-core/pull/12612

@yurikoles perfect! thank you


Documentation is out of date

GCM has been deprecated. Docs need to include a walkthrough for Firebase Cloud Messaging.

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

ID: eed3ea70-2c00-0b20-2f00-f9ec74317a9e
Version Independent ID: e788209d-342e-1bce-aadc-e4eb201352b4
Content: Send push notifications to Chrome apps with Azure Notification Hubs
Content Source: articles/notification-hubs/notification-hubs-chrome-push-notifications-get-started.md
Service: notification-hubs
GitHub Login: @ysxu
Microsoft Alias: yuaxu

@robreagan Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.

@femila - Can you please take a look at this since @ysxu is no longer resolving in GitHub?

@spelluru Sreedhar, LMK if you need help here.

@robreagan - Thanks for the feedback. I will update this tutorial to use FCM sometime next month.
We have a walkthrough for using FCM: https://docs.microsoft.com/en-us/azure/notification-hubs/notification-hubs-android-push-notification-google-fcm-get-started. Please check it out if you haven't already done so.
@BryanTrach-MSFT - Please mark this issue as a doc-enhancement when you get a chance. I will create a TFS item for it.
Thanks,
Sreedhar

Wow! You guys are very responsive. Thanks for the quick triage.
Do you allow pull requests for tidying up the docs?

@robreagan - Yes! you can update articles in the public repository: azure-docs and submit PRs. We would really appreciate it!

@BryanTrach-MSFT please close.

#please-close


Actually run Glimmer test suite

#214 introduced an issue where all tests would appear to pass, but in reality no tests were being run.
That's because the new tslint broccoli tree was filtering out non-test files. This change merges the two trees instead of assuming that the tslinter passes through non-transformed files.

👍 - Good catch!


METRON-1247: REST search and findOne endpoints return unexpected or incorrect results for guids

Contributor Comments
Updates documentation to have users surround GUIDs in double quotes in the search API.
Updates ElasticsearchDao to have findOne to use theIdsQuery, rather than a match query.  This works because our guid is our id now, and this won't be subject to the analyzer.
Pull Request Checklist
Thank you for submitting a contribution to Apache Metron.
Please refer to our Development Guidelines for the complete guide to follow for contributions.
Please refer also to our Build Verification Guidelines for complete smoke testing guides.
In order to streamline the review of the contribution we ask you follow these guidelines and ask you to double check the following:
For all changes:

[x] Is there a JIRA ticket associated with this PR? If not one needs to be created at Metron Jira.
[x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.
[x] Has your PR been rebased against the latest commit within the target branch (typically master)?

For code changes:

[x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?

[x] Have you included steps or a guide to how the change may be verified and tested manually?

[x] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:
mvn -q clean integration-test install && build_utils/verify_licenses.sh

[x] Have you written or updated unit tests and or integration tests to verify your changes?

[x] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

[x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?

For documentation related changes:

[x] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via site-book/target/site/index.html:
cd site-book
mvn site

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.
It is also recommended that travis-ci is set up for your personal repository such that your branches are built there before submitting a pull request.

To test this spin up full dev and go to the Swagger API.
An unquoted search can result in multiple results that only partially match.  These matches may be across sensors.
For all the below queries, it'll be necessary to do your own querying to get appropriate GUIDs.  These are just what my machine generated on full-dev.
Example query.
{
  "indices": ["websphere", "snort", "asa", "bro", "yaf"],
  "query": "guid:a2d7ba04-d335-4948-8bc8-c889e7c531c9",
  "from": 0,
  "size": 500
}

e.g.
{
...
      "id": "cabb2468-d827-4948-8137-71694ad85944",
...
      "id": "58f975ae-0bd0-4948-91d7-fd433b29cd49",
...
      "id": "a2d7ba04-d335-4948-8bc8-c889e7c531c9",
...

Now make the query against findOne and ensure it produces the correct record:
{
  "guid": "a2d7ba04-d335-4948-8bc8-c889e7c531c9",
  "sensorType": "bro"
}

Now try again with one of the partial matches and ensure it also produces the correct record.:
{
  "guid": "cabb2468-d827-4948-8137-71694ad85944",
  "sensorType": "bro"
}

Feel free to try this with more of the partial matches.  All should return the correct record now, rather than mismatching.

+1 by inspection, good job!


Implement fetching the sealing key from RMM

I don't know the code/API below. Do whatever you will. If it works it's fine by me.


replaced map to changelevel

map command crashing the server on map change
changelevel is fine

Thanks for the PR :D


Docs site now redirects to github.com repo.

rackt.github.io/react-router now renders github.com/rackt/react-router
Initial request is returning this html:

Redirecting to https://github.com/rackt/react-router...

that's there on purpose. all of the docs will be now on GitHub. we removed the website. this is due to the 1.0 release which is coming very soon

OK thanks - I guess the "Docs" link in README.md could link to docs/guides/overview.md or something.


Subscription Event callback Limitation?

Hi,
Subscription/Subscribing to DCN Events and Callback for insert (did not check for others events) works perfectly until there are >100 records commit done in table. Any idea why?
How to reproduce
Subscribe to DCN for table foo
(no auto commit)
Insert 200 rows in foo
commit
Thanks in advance

I actually found out the reason, its OCI driver or server side limitation where if there are too many changes for DCN.
Rowids can be rolled up into a full table notification if too many rows were updated on a single table or insufficient shared memory on the server side to hold rowids

thus
OCI_ATTR_CHDES_TABLE_OPFLAGS & OCI_OPCODE_ALLROWS == true


Previous installation has crashed since update

I would like to delete previous installation and start again. Please let me know how to remove all meta/install files so that I can do a new install.
I have been using this integration for quite a while until the new update caused me issues.

Can you provide logs for this error?
Removing and redownloading integration from HACS should be enough.

Please guide me as to how I can obtain the logs. The removing and
redownloading produces the same error sadly.
Regards
Michael
On Fri, 14 Jun 2024 at 08:40, Ruslan Sayfutdinov @.***>
wrote:

Can you provide logs for this error?
Removing and redownloading integration from HACS should be enough.
—
Reply to this email directly, view it on GitHub
https://github.com/leikoilja/ha-google-home/issues/881#issuecomment-2167428579,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2C6JWALMOL3AXP2MHWPVTDZHKM57AVCNFSM6AAAAABJJ2BAL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXGQZDQNJXHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Settings->System->Logs->Download full log

Thankfully I am now able to get this to work again. I just need to obtain
my master token.
I have tried many ways to find this through this site but failed. Do you
have any suggestions for me please?
Michael 🍌
On Fri, 14 Jun 2024 at 11:35, Ruslan Sayfutdinov @.***>
wrote:

Settings->System->Logs->Download full log
—
Reply to this email directly, view it on GitHub
https://github.com/leikoilja/ha-google-home/issues/881#issuecomment-2167743419,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2C6JWFV6GD2VQAIQHVZOD3ZHLBQBAVCNFSM6AAAAABJJ2BAL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXG42DGNBRHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Thankfully I am now able to get this to work again. I just need to obtain my master token. I have tried many ways to find this through this site but failed. Do you have any suggestions for me please? Michael 🍌
…
On Fri, 14 Jun 2024 at 11:35, Ruslan Sayfutdinov @.> wrote: Settings->System->Logs->Download full log — Reply to this email directly, view it on GitHub <#881 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2C6JWFV6GD2VQAIQHVZOD3ZHLBQBAVCNFSM6AAAAABJJ2BAL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXG42DGNBRHE . You are receiving this because you authored the thread.Message ID: @.>

please see these instructions on how to get master token

Thank you. I was able to get that Master Token after all with Docker. Please consider this done.


Disallow fields and/or questions with same name

Describe the bug
When defining a FeedbackDataset the following use-cases shouldn't be accepted and an exception should be raised in the client-side:
import argilla as rg

ds = rg.FeedbackDataset(fields=[rg.TextField(name="text"), rg.TextField(name="text")], questions=...)
ds = rg.FeedbackDataset(fields=..., questions=[rg.TextQuestion(name="text"), rg.TextQuestion(name="text")])
ds = rg.FeedbackDataset(fields=[rg.TextField(name="text")], questions=[rg.TextQuestion(name="text")])

So on, we should handle that all the names across fields and questions are unique.
Expected behavior
A ValueError to be raised if the names across fields and questions are not unique.
Environment (please complete the following information):

OS [e.g. iOS]: N/A
Browser [e.g. chrome, safari]: N/A
Argilla Version [e.g. 1.0.0]: 1.8.0
ElasticSearch Version [e.g. 7.10.2]: N/A
Docker Image (optional) [e.g. argilla:v1.0.0]: argilla:v1.8.0

Maybe also check that values / options / labels aren't repeated?


Cannot find namespace 'io'

Hi , i was trying out the demo-ng and i've got this error while executing : tns run android .
node_modules/nativescript-socketio/socketio.android.d.ts(3,23): error TS2503: Cannot find namespace 'io'
can you help please

i just solved the issue by changing the type of the variable socket which was io.socket.client.Socket to any in the file socketio.android.d.ts which solved the problem for me .

I face this issue as well

@IdaDavidi did you solve it ?

@BlackCat1606 Your suggestion works but this is not a solution, this is not reasonable to change the socketio.android.d.ts file under node_modules.
I suspect it has something to do with the typescript version. I am using 2.7.2, what is your version?

2.8 , it didn't seem reasonable also to me , i tried other typescript versions but still the same problem

@BlackCat1606 maybe you should reopen the issue

@IdanDavidi  , i will reopen it

I have the same issue.

Hi,
if declared socketio: any (by @BlackCat1606) dont work; your must do the following, normally it will work
tns platform remove android
tns platform add android

@kefahB  , will it worked for me , but unless we got a response from the repo owner , we still don't have a clue about the solution , so please @triniwiz  be more active and answer this issue

@BlackCat1606  if you see  this PR the type of socket is any and it was modified...
It work now, you can continue working until we have the return of @triniwiz
;-)

@triniwiz 🤠

I have the same issue!

same here

Same issue, @BlackCat1606 workaround worked for me.

Same issue here. It seems that it can't detect types that are in typings folder. Any solution?

@grendizeras  did you try the work around that i talked about earlier in this issue ?

@BlackCat1606  Yes I did, but it is temporary solution. Thanks BTW.

Hi everyone can you paste your tns android version thanks

@triniwiz Thanks for your for reply
"tns-android": {
	"version": "4.1.3"
}

Here
"tns-android": {
"version": "4.1.3"
}

Looks like everyone is on v4 so all that’s needs to be done is update the include.gradle

Hi,
Where include.gradle is located please ?

I have no include.gradle file in projet_name/platforms/android/

@triniwiz There is no include.gradle also ! can you explain for us what we must do in details please :-)

I've found an include.gradle in node_modules/nativescript-socketio/platforms/android but no clue how to update it.
Follow file content
//
android {
}
dependencies {
compile('io.socket:socket.io-client:0.8.2') {
exclude group: 'org.json', module: 'json'
}
}


Extrinsic parameter optimization: parsing value decimals

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Use new 'transfer' button to avoid decimals issue


Icon request: Haxe

Thanks for the great icon set, would love to see support for Haxe files (*.hx, *.hxml) files if possible. Thanks!

done, will be part of next release :)

Thank you!


Hard refresh on client route returns 404, and broken component

Log in
Click "Go to App (with Netlify Identity)"
Click "Profile"
Hard refresh
You will see this, and not be able to use the login component rendered (which shouldn't be showing anyway as i'm logged in):

i think this was an issue based on the old identity widget i used. i have now updated the versions. can you please try again? reopen if still an issue, pr welcome

the logging out issue was fixed by adding initAuth() to app.js, as for the 404, that is an open issue in the gatsby plugin for client-side-routes

It's fixed in yours, the 404 is still there but that's not an issue with your site specifically. Thanks as well for the awesome work on this, and all your other identity related stuff, has really helped me heaps!

aww shucks thank you!


Unexpected token 'export' on npx directus schema-sync export

Describe the Bug
When I try to export my schema and data after installing the config files, I get:
(node:53394) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
[17:45:56.016] INFO: Loaded extensions: directus-extension-schema-sync
[17:45:56.020] INFO: Exporting everything to: /Users/marty/.sources/github.com/martin-braun/gf-server/schema-sync/data
[17:45:56.030] ERROR: Unexpected token 'export'
    err: {
      "type": "SyntaxError",
      "message": "Unexpected token 'export'",
      "stack":
          /Users/marty/.sources/github.com/martin-braun/gf-server/schema-sync/directus_config.js:12
          export const syncDirectusCollections = {
          ^^^^^^

          SyntaxError: Unexpected token 'export'
              at internalCompileFunction (node:internal/vm:73:18)
              at wrapSafe (node:internal/modules/cjs/loader:1178:20)
              at Module._compile (node:internal/modules/cjs/loader:1220:27)
              at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
              at Module.load (node:internal/modules/cjs/loader:1119:32)
              at Module._load (node:internal/modules/cjs/loader:960:12)
              at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)

My package.json is:
{
  "name": "gf-server",
  "version": "0.0.1",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "directus database migrate:latest && directus start",
    "export": "directus schema-sync export"
  },
  "keywords": [],
  "author": "CT",
  "license": "ISC",
  "dependencies": {
    "directus": "^10.10.7",
    "pg": "^8.11.5",
    "directus-extension-schema-sync": "^1.6.4"
  },
  "devDependencies": {
    "@directus/extension-toolkit": "^0.8.0",
    "npm-run-all": "^4.1.5",
    "rimraf": "^5.0.5"
  }
}

I haven't modified the schema-sync files yet, but looking at those I can see how it should already work for users, roles, etc.
To Reproduce

nvm use 18
npm init directus-project my-directus && cd my-directus to create a new project
npm install directus-extension-schema-sync
npx directus schema-sync install
npx directus schema-sync export

Version
1.6.4
Installed Extension Via
NPM Custom

Fixed by putting "type": "module", into the package.json, could you please update the documentation. Directus does not initialize with this line in the package.json.
Thanks.


Add DebugState

This PR adds an API to fetch and process the state of the widget graph.
This is useful for unit tests and integration tests, and especially for Panoramix, which can do tests where it performs some operations and checks that the right widgets are built as a result.

Rebasing soon to fix the clippy lints.


Sender and receive images

Hi,
I was wondering if its possible to display both the sender and receive images?
So if you take this image as an example both grey and the blue bubble will have image

Yes its possible using the image attribute of message object

Hi again,
Thank you for quick response.  I have tried that, but it only shows the last message's icon. Not the first one in grey.

As you can see here, the first object with the text "Hi, what can we do for you" has a images attribute:

but the images doesn't show. Do you know why?

Its normal but you can implement an option to display not only the last message image

Ah, okey. By passing in a senderImage object?

Sorry I misunderstood your question about the first grey message "hi...". Its not normal :)

Ah, sorry. It's was hard for me to explain the problem. Is it possible to fix?

Yes I will check tonight or tomorrow

Thanks @FaridSafi!

Hello, I couldn't reproduce your issue.
Can you try with a remote image ? image: {uri: 'https://facebook.github.io/react/img/logo_og.png'}

Yeah, i tried. Still same issue. It will only show the last message's image. What else can i try? Or what else info do you need?

I published a new version with a new prop forceRenderImage, can you check if it solves your issue please?

Yeah, that did the trick, thank you!


Update HD radio parameters

Resolves #83

Note that this is targeting feature/new_rc_modules_and_parameters, this will need to be changed before merging

@theresalech comments addressed


Nesting templates

I would love the ability to quickly and easily nest templates. Have you thought about this feature at all? It's a requirement for a project I'm working on. If it would be valuable I can look into implementing it as a feature of json2json?

@lpww I haven't thought of that, but sounds interesting. Definitely will consider a PR if you make the update. Can you describe the implementation on this ticket further?

I have data that might have a couple of different paths depending on the use case. The way j2j is set up right now I would require a different template for each use case. It would be nice to be able to make a template once and 'reuse it somehow as part of another template. I've been thinking about this though and I don't know if this feature is something that should really be supported by your module. It might be better as a separate service that builds a full template and passes that into j2j. If there is interest I can certainly think more about an approach for including it as a feature here.

@lpww have you made any enhancements around this?

No, I ended up duplicating the templates at the time but am no longer using the library

OK thanks @lpww


Search the file arrays using a binary search

This improves the level loading times by using a binary search for the lists of preloaded and available files instead of a linear search.

wow! thank you. did you measure the exact time difference?

Checked myself. Great job, thank you. Merging
15 s initial map load ==> 2 s
6 s level 01 load ==> 1 s
6 s return to map ==> 1


Mask breaks html5 validation for minlength

Describe the bug
The html5 minlength validation no longer works when a mask is applied, even if the mask is empty just for casing. Manually checking field.checkValidity also does not work.

Add a link to a codepen, jsfiddle or other example page which shows the problem
https://jsfiddle.net/u84xms6v/11/

OS
Windows 11

Browser
Chrome 101.0.4951.67

Inputmask version
Version: 5.0.8-beta.23
Also tested on 5.0.7

see if this helps https://stackoverflow.com/questions/72732945/how-to-set-minimum-length-for-form-input-with-jquery-inputmask/72739668#72739668 as a workaround


Added package.json

Updated from #28 - rebased to include #26 which fixes the build issues with the previous PR.

Thanks :)


Using Dataloader in pytorch_lightning when using DDP training?

My computer has 2 gpus and I have some problems:

First, I used Pytorch
I have 10 images, I created distributed dataloader (using sampler) follow Pytorch instruction, batchsize = 4, gpu=2.
=> So with each gpu, length of batch0 is 4 and length of batch1 is 4. Sampler added 2 to batch1 to make batchsize = 4.
I trained with ddp_spawn with pytorch code and everything is ok.

Next, I used Pytorch Lightning
I also use 10 images, I created dataloader (Normal Dataloader) follow Pytorch Instruction, batchsize =4, gpu=2
=> so with each gpu, length of batch0 is 4 and length of batch1 is 1.

Now, I want to use pytorch lightning but I want batchsize=4 same distributed sampler when working with pytorchlightning. How should I do?
Thanks
cc @awaelchli @rohitgr7 @akihironitta @justusschock @ninginthecloud @otaj

The problem is when I train semantic segmentation DeepLabV3 by pytorchlightning
Batch0 =4 is ok, but batch1=1 is error. Because the batch is 1 so there is a problem with batchnorm.
But I used distributed dataloader with sampler in pytorch and I saw it will create batch0=4 and batch1=4 ( it will take 3 more images) so I wonder if I can create a distributed dataloader as same as above in pytorch lightning?

The distributed sampler has nothing to do with batching. It only ensures that each GPU gets the same amount of samples and since your dataset of 10 images is divisible by 2, that's never a problem.
To avoid uneven batch sizes, just set drop_last=True in the dataloader and then you are guaranteed to get the batch size 4 for each batch. This is the same in PyTorch and PL, there should be no difference.

ok, thanks

I hope the question was answered and the issues could be solved. Let us know if there is anything else causing trouble.


datepicker year selection

hi,
i'm looking at datepicker api and examples and i'm not seeing year selection or some other navigation for months/years. this isn't available or I missed it somewhere? thanks!

you didn't miss it. if you did miss it, then so did i.
how do you see this working?

there are some options:

have both month and year as a dropdown (like jquery UI datepicker)
year as input (for very large date range e.g. 1000 - 2017 ,much more convenient than dropdown)
there are some libs that have some popup panel inside datepicker with available years/months, but personally I don't prefer this style

i think first options would be probably the most easy one to integrate and also the most UX friendly.


can't run roms?

When I try and drag a rom such as pokemon fire red, the site will respond with "This could be caused by a corrupted save file. This button will allow you to reset your save. Sadly you will not be able to recover it." even though I have never been able to use the site properly. If someone could help me out with this it would be greatly appreciated.

(i just wanna play some pokemon in school)

Instead of dragging a game into Gametime-Player try downloading a rom or emulator and clicking on the Gametime-Player screen where it says drag a game to play and choose the downloaded file or rom

By the way I Play Pokemon Fire Red to In School.


cmake.selectActiveFolder command does not work if there are multiple workspace folders with the same name

Brief Issue Summary
Internally the cmake.selectActiveFolder command can receive the following parameter types:

CMakeProject - unfortunately the CMake Tools API only allows me to get a Project, not a CMakeProject instance, so I cannot use the API to distinguish between multiple projects with the same name.
the parameter can also be a list of strings, but these are the workspace folder names so it cannot differentiate between multiple folders with the same name.

Additional Information
Cmake Tools version v1.16.32

@DragosMiloiuNXP To help us understand what you'd like to see be improved, could you please detail what you are using this for, how you are currently interacting with that command, and what you'd like to be improved?
We're also happy to take open source contributions if you have a specific idea for a change. Thanks!

@DragosMiloiuNXP I think I understand.
So, really, you're asking for two different types of possible fixes.

If you still need to use cmake.selectActiveFolder, then either make it possible for API consumers to access to a CMakeProject to pass to this method, or define some other way to be able to distinguish between folders with the same name.
OR, if you're interested in not using the cmake.selectActiveFolder at all, then make the task execution better at handling

One last question:
To clarify what you mean by this:

"Screenshot of the task execution without selectActiveFolder command. Task is correct, but the folder for which CMake is executed is incorrect."

You're saying that you were able to pick the right task to run, but it's running the task for the wrong folder, right? Does this end up meaning that the task is actually performing something you didn't want it to? For example, configuring a different project/folder then desired?

@gcampbell-msft,

You're saying that you were able to pick the right task to run, but it's running the task for the wrong folder, right?

Yes. Yes it does the correct operation (build or clean) but for the wrong workspace folder (not the one associated with the task).

I'm running into same issue.
Currently no additional option in tasks.json to specify which sources we wish to target.

Hitting the same issue here, also when building code for NXP MCUs where the CMake files from the SDK projects are located in a folder called armgcc instead of the root folder.
Because of this my workspace contains two CMake project folders called "armgcc" and I cannot select the correct one using cmake.selectActiveFolder.
Even better would be if cmake tools could automatically select the correct cmake.sourceDirectory to build from based on which workspace the task was executed from.

Hi @alearq,
Regarding "Hitting the same issue here, also when building code for NXP MCUs where the CMake files from the SDK projects are located in a folder called armgcc instead of the root folder.", maybe you can try the MCUXpresso for VS Code extension. It is provided by NXP, it also relies on CMakeTools for CMake interaction, and it works with MCUXpresso ARM GCC based projects / SDK."

Hi @alearq,
Regarding "Hitting the same issue here, also when building code for NXP MCUs where the CMake files from the SDK projects are located in a folder called armgcc instead of the root folder.", maybe you can try the MCUXpresso for VS Code extension. It is provided by NXP, it also relies on CMakeTools for CMake interaction, and it works with MCUXpresso ARM GCC based projects / SDK."

I did use it initially to set up some projects but would prefer to use as little vendor-specific extensions as possible as my project involves more than one MCU on the same PCB from different manufacturers.
I did eventually find another workaround though. Turns out that putting multiple cmake.sourceDirectory entries in a code-workspace file like this:
"cmake.sourceDirectory": [
	"${workspaceFolder:projectA}",
	"${workspaceFolder:projectB}",
	"${workspaceFolder:projectC}/armgcc",
	"${workspaceFolder:projectD}/armgcc",
],

Creates the problem where cmake.autoSelectActiveFolder will only auto-select projectC and projectD if I open a file in the /armgcc folder and not if I open a file in that project but outside that directory, like /main.c. It also creates the problem that when executing the command "cmake.selectActiveFolder" from a VSCode task it won't be possible to distinguish between projectC and projectD because the only way to select both is by sending the input "armgcc" to it. Also if I skip the /armgcc part in the code-workspace file then the extension fails completely to find the cmake files.
But if I instead of putting multiple sourceDirectories in a code-workspace file put each in their own .vscode/settings.json file like this:
"cmake.sourceDirectory": "${workspaceFolder:projectC}/armgcc"

Then cmake.autoSelectActiveFolder will automatically select the correct project when opening any file from projectC and projectD AND the required input for the cmake.selectActiveFolder changes from "armgcc" to projectC and projectD respectively. So this turned out to solve my issue.


Vref for BeamedPowerPlugin

Let's see how much of a difference it makes.

The diffs are the one piece of Jenkins that we still really need to pull forward. It's easy to do if we always clone CKAN-meta, but it would be nice to avoid that.


Multiple eval()s can produce code which can't be serialized

Attempting to serialize this:
eval('let livepack_x');
export default eval('() => 123');

fails with error "Failed to extract scope vars from function".
Reason is that livepack_x in 1st eval causes the internal vars prefix num to be incremented, and this affects both inside the eval() and outside. So when the 2nd eval() is entered, the that code is instrumented as:
() => { livepack1_tracker(livepack1_getFnInfo_9,()=>[]);return 123; };

This should be livepack_tracker() not livepack1_tracker() - because the prefix num in the external code is 0 not 1.
Prefix num needs to be tracked inside each eval() separately not globally. NB nextBlockId, in contrast, needs to be tracked globally.

Fixed in issue-538 branch. Just needs tests.


Restoring index.md for the libraries

⚠ NOTE:
This repository only contains automatically generated API documentation, and thus cannot accept pull requests.
If you would like to contribute to the API documentation in this repo, please see the Quantum Development Kit contribution guide to learn more.

@geduardo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 0e3c6a7:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/qsharp/index.md
:warning:Warning
View
Details

api/qsharp/index.md

Line 15, Column 54: [Warning-xref-not-found] Cross reference not found: 'microsoft.quantum.libraries'.
Line 6, Column 12: [Suggestion-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@geduardo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit b4c716b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/qsharp/index.md
:warning:Warning
View
Details

api/qsharp/index.md

Line 15, Column 54: [Warning-xref-not-found] Cross reference not found: 'microsoft.quantum.libraries.overview'.
Line 6, Column 12: [Suggestion-ms-author-invalid] Invalid value for 'ms.author', 'bradben' is not a valid Microsoft alias.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@Bradben : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 0234f4b:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/qsharp/index.md
:warning:Warning
View
Details

api/qsharp/index.md

Line 15, Column 54: [Warning-xref-not-found] Cross reference not found: 'microsoft.quantum.libraries.overview'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 43fbe5e:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

Line 0, Column 0: [Error-service-account-permission-insufficient] Docs Build service account cannot access repository 'https://github.com/microsoft/quantum-docs'. Please ask repository owner 'SyntaxC4' to grant 'write' permission to all service accounts under 'MicrosoftDocs' organization to 'https://github.com/microsoft/quantum-docs'. Service accounts list can be found here: https://review.docs.microsoft.com/en-us/engineering/projects/ops/engdocs/how-to-grant-service-account-permission-in-your-repository?branch=master#microsoftdocs. For any support, please open a ticket in https://SiteHelp.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@geduardo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit a9f36c2:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/qsharp/index.md
:warning:Warning
View
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

api/qsharp/index.md

Line 15, Column 54: [Warning-xref-not-found] Cross reference not found: 'microsoft.quantum.libraries.overview'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
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.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


⚠ SceneTime has degraded performance

In 0b618d2, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1456 ms

Resolved: SceneTime performance has improved in b036bb1 after 7 minutes.


Add some benchmarks

Could you, please,  compare the performances of your crate with the sqlitex, diesel performances for example?
Your crate looks good but without any performance comparison, it is difficult to choose it.

This is already discussed in https://github.com/kurtbuilds/ormlite/issues/9 . I'll close this ticket to merge discussion.


Typescript definitions

I use typescript when possible and I have written some basic definitions for this SDK. I would like to contribute them to this repository if possible. Feedback on the idea and then the definitions themselves would be awesome!

That sounds fantastic, @mnalsup! Will you put together a pull request? We'll work with you to get it into the SDK.

This functionality will be revisited should the SDK be moved over to TypeScript.

https://www.npmjs.com/package/@types/smartystreets-javascript-sdk

https://www.npmjs.com/package/@types/smartystreets-javascript-sdk


Fix the link of "arity" at Multi-dispatch section

Closes https://github.com/Raku/doc/issues/4127.
This is my first PR in this repo; as I'm quite a newb to pod6, please check if I'm not doing it all wrong. :)

Thanks.


Feat Req: implement blockedAuthorProps

Hi. I'd like to request to include blockedAuthorProps under config/plugins.js. Very the same feature offered on strapi-plugin-comments: https://github.com/VirtusLab-Open-Source/strapi-plugin-comments#properties
The reason is I'd like to remove "email" from response as this is private info. I hope this make sense.
curl --location 'http://localhost:1337/api/reactions/list/api::entry.entry/28'

[
    {
        "id": 1,
        "createdAt": "2023-10-31T12:39:20.733Z",
        "updatedAt": "2023-10-31T12:39:20.733Z",
        "kind": {
            "id": 1,
            "slug": "like",
            "name": "like"
        },
        "user": {
            "id": 1,
            "username": "fontanon",
            "email"<EMAIL_ADDRESS><--------------- remove this
        }
    },
    {
        "id": 2,
        "createdAt": "2023-10-31T12:45:41.496Z",
        "updatedAt": "2023-10-31T12:45:41.496Z",
        "kind": {
            "id": 1,
            "slug": "like",
            "name": "like"
        },
        "user": {
            "id": 2,
            "username": "johndoe",
            "email"<EMAIL_ADDRESS><---------------- remove this
        }
    }
]

Hi @cyp3rius I'd like to know if there is any plans for this. Thanks.


Master

The following warnings are fixed.

warning.js:44 Warning: Failed prop type: Passing "props" prop to
 is deprecated. Replace <AppContainer component={App}
props={{ myProp: myValue }} /> with .
in AppContainer

Warning: Failed prop type: Passing "component" prop to  is deprecated. Replace  with
.
in AppContainer

Please ignore this. Wrong pull request.


shallow rez-cp can corrupt package if there are overlapping variants

Consider a package with 2 variants, with subpaths 'A' and 'A/B'. A shallow copy can corrupt the source package because of the following:

Variant <newpkg>/A is created as symlink to <oldpkg>/A;
Variant <newpkg>/A/B is created as symlink to <oldpkg>/A/B;
Whoops, this actually has created a self-referencing symlink at <oldpkg>/A/B.

Overlapping variants (where one variant subpath is a parent dir of another subpath) is inherently problematic for shallow package copies.
Solution: Don't symlink at the variant dir level; instead, symlink everything inside the variant dir (excepting dirs that may be parent of overlapped variant).
Note that when dict-based variants exist, this problem will go away (as will various other problems related to current limitation of variants). For dict-based variants, I think we'll stick to the variant dir symlinking, since it's simpler.

Do you think that symlinking between versions, and creating dependencies between versions might be a bad idea?  It means you can't simply clear out old versions because now there's interaction between the versions.

Use at your own risk. We have a valid use case here at Method. I'm not
really a fan of symlinking variant payloads myself, which is why this is
optional.
We have a set of package releases which always exist - so called "raw"
packages. We are then creating other package repos which are a sort of
"view" into these packages, and it's these which are symlinked to the raw
package. Any package archival activity ensures that a raw package is never
deleted unless all "view" packages to it already are.
Hth
A
On Sun, Feb 3, 2019 at 2:33 PM Brendan Abel<EMAIL_ADDRESS>wrote:

Do you think that symlinking between versions, and creating dependencies
between versions might be a bad idea? It means you can't simply clear out
old versions because now there's interaction between the versions.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/563#issuecomment-460019963, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABjqSoyHDqyqSEuiy7mevkQeiaOeI2Ezks5vJlhxgaJpZM4aCOf1
.

Ah, thanks for the explanation.  Hadn't thought of a package repo setup like that.


Inline binops

This PR re-introduces several binary operations implemented as intern to avoid indirection through FFI in some specific cases to improve performance notably in core/text/native
Also a style change for abs which could easily be inlined and burned by eyes when I saw it, I can remove the commit if someone objects to the modification

seems good. check why tests failed

Just tests to update, nituml discovers new properties and lines changed in kernel for error tests, I'll send a reroll soon

+1


Feature request: Catch "app scanning too frequently" exception with a callback.

There is a limit for ble scan on android 7 onwards and it does not allow the app to start/stop scanning more than 5 times in 30s. It would be useful to know when it happens.

RxAndroidBle 1.4.0 adds this check when right before scan.
The newest version is 1.4.1 as for the moment of this post.
@Cierpliwy

It would be nice to add specific error code for this situation #15.


Supply Mule: Slider "Max Trade" doesnt work

Hello,
Unfortunately I found a new possible bug.
It concerns Supply Mule.
The slider Max Trade seems to have no function.
Only one trade is generated at a time.
I have now tested this very extensively.
I can't get the ship to generate more than one trade.
No matter how I adjust the slider.
If I set it to 10, trades should be generated at least 10% of the freighter level. (set to 5, 20% etc.)
Example:
I want to buy smart-chips (1x chip fills 2 qm).  The ship has a freighter capacity of 45.000 qm.
I have set 'Trade Max' to 10.
After that, offers to buy over 10% of the freight capacity, (2250 chips) would have to be generated.
A buy offer of 60.000 chips is generated by the target station. The price is also right.
There are several factories within jumping range, offering over 2250 smart-chips. Several trades would have to be generated. But only one trade is generated at a time.  More trades would have been possible. But these were not generated. I have tested different 'Trade Max' settings. Only one trade is generated at a time. As I said, I also made sure that all other parameters are ok. (price, buy offer etc.)
Therefore I think it is a bug.

Dublicate of #90 .
Fix is on the way, but not trivial and will take some time. Maybe a beta next week.

Hello,
Have you made any progress with this?

Hello,
Have you made any progress with this?

Pretty sure this is fixed in the later versions this bug report was made 2 years ago.


Params: change UTF8 construct calls to avoid explicit strlen(3) calls.

It is better, safer and smaller to let the library routine handle the strlen(3) call.
Added a note to the documentation suggesting this.

[x] documentation is added or updated
[ ] tests are added or updated

Merged to master.  Thanks @t-j-h


ebook version

It would be great if there was an ebook version (.mobi).

that's a great idea, i just searched around and found http://pandoc.org/epub.html. this might be a good way to automatically build an ePub from the readme.

i played around a bit with pandoc today and generated an ePub file from the readme: http://www.applaunchguide.com/App-Launch-Guide.epub
I'd like to get this automated, i'll keep this ticket open till I find a permanent solution.

Hey @adamwulf you should give a try to https://www.gitbook.com it would be very interesting imho for your project

that's pretty interesting, hadn't seen that site before, thanks!


feature request: pprof output

For analysis with the "go tool pprof" commands.

This is now in the works.

Initial buggy impl has landed. Needs a way to constrain goroutines.

This has now merged.


add opencv_contrib module , How can I do it

@zhaoqilong3031,
Can you please elaborate your point? Please provide the reproducible code and the screenshots, if possible. Thanks!

@rmothukuru
Add the MCC(opencv_contrib) module, AAR can compile, but Android can't run
CODE
#include <opencv2/mcc.hpp>
.
.
.
 ::mediapipe::Status RepairColorCalculator::Process(CalculatorContext* cc) {
        LOG(INFO) << "ggg" << " mcccccccccc" ;

    if (cc->Inputs().Tag(kImageFrameTag).IsEmpty()) {
      return absl::OkStatus();
    }
    const auto& input_img = cc->Inputs().Tag(kImageFrameTag).Get<ImageFrame>();
    cv::Mat input_mat = formats::MatView(&input_img);
    cv::mcc::CCheckerDetector::create();

android error
2021-05-13 17:49:23.568 11835-11835/com.example.face E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.example.face, PID: 11835
    java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN2cv3mcc16CCheckerDetector6createEv" referenced by "/data/app/com.example.face-HOF9clP71Ds4XKBhsmnBsw==/lib/arm64/libmediapipe_jni.so"...
        at java.lang.Runtime.loadLibrary0(Runtime.java:1071)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
        at java.lang.System.loadLibrary(System.java:1668)
        at com.example.face.BaseActivity.<clinit>(BaseActivity.java:66)
        at java.lang.Class.newInstance(Native Method)

MediaPipe uses the official prebuilt opencv android sdk (https://github.com/opencv/opencv/releases/download/3.4.3/opencv-3.4.3-android-sdk.zip) at https://github.com/google/mediapipe/blob/master/WORKSPACE#L225.
For having opencv-contrib, you probably need to build an opencv android sdk with opencv_contrib locally and replace the mediapipe android_opencv rule with something like the following:
new_local_repository(
    name = "android_opencv",
    build_file = "@//third_party:opencv_android.BUILD",
    path = "/path/to/your/local/opencv/android/sdk/with/opencv/contrib",
}

@jiuqiant
I changed http_archive ，”opencv-4.5.2-android-sdk.zip“  Including the MCC
http_archive(
    name = "android_opencv",
    build_file = "@//third_party:opencv_android.BUILD",
    strip_prefix = "OpenCV-android-sdk",
    type = "zip",
    #url = "https://github.com/opencv/opencv/releases/download/4.5.2/opencv-4.5.2-android-sdk.zip",
    url = "https://my-repository.com/opencv-4.5.2-android-sdk.zip",
)

Thanks for providing your solution!


Game directory inside the VNDS-LOVE folder

Is your feature request related to a problem? Please describe.
Not really,
It would be nice if we could just put the files into the directory where VNDS-Love is instead of appdata. I dont know whether this is already possible but I see no mention of it anywhere so.
Describe the solution you'd like
A directory in the root VNDS folder to put games into.

Hello!
Unfortunately, this is not possible to do at this time. While I realize that it is inconvenient to move novels to appdata, this is a restriction of the framework that this project uses (LOVE2D). VNDS-LOVE is only allowed to write/read from the LOVE save directory, which is located inside of the appdata folder.
The only suggestion I can make is having a shortcut on your computer directly to the folder, so that you don't have to click to it directly all the time. Another option (which I haven't tried) is creating a symlink from the directory where VNDS-LOVE is to the appdata folder. https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/ might be a useful link to figure out how to do that.
Hope that helps!


mypy CI job is broken

For example: https://github.com/pytorch/vision/actions/runs/4719517927/jobs/8370432599?pr=5009#step:10:824
# roll.py
import torch

torch.empty(3).roll(1)

❯ python -c "import torch; print(torch.__version__)"
2.1.0.dev20230407+cpu
❯ mypy roll.py
Success: no issues found in 1 source file

❯ python -c "import torch; print(torch.__version__)"
2.1.0.dev20230417+cpu
❯ mypy roll.py
roll.py:3: error: Argument 1 to "roll" of "_TensorBase" has incompatible type "int"; expected "Sequence[Union[int, SymInt]]"  [arg-type]
Found 1 error in 1 file (checked 1 source file)

Probable culprit: pytorch/pytorch#99114
cc @seemethere

Maybe fixed by pytorch/pytorch#99921. Let's see if that makes it into today's nightly or we have to wait until tomorrow.

Fixed now.


Fix clover file upload

Hey @Grummfy , thanks for your pull request! But it seems some tests are failing on our CI, can you have a look at https://circleci.com/gh/codacy/php-codacy-coverage/19 ?

Hey @Grummfy,
Please check the tests as @pedrorijo91 said, only after the test are passing we can merge your PR. And as a future note, please give a description on what you are trying to solve.
@mrfyda can you take a look at this?

well I fix it (fortunately because I had made a mistake)

Thx mate 👍


Next Track by TDSession , TDAudioOutputStreamer and TDAudioInputStreamer

Is there anyway to play track by track by TDSession , TDAudioOutputStreamer and TDAudioInputStreamer
now i can only play single track
thanks

This was as far as I was able to get with this code before I moved on. Sorry but it is incomplete. This was the result of what I was able to get done in a few months span.


Multi-columns

Great plugin.
Dou you have any plans to support multi-columns?
For example. like in Twitter Bootstrap http://getbootstrap.com/css/#grid-example-basic

Looks awesome @e1himself Hopefully this will get in soon.

@DrMabuse23
The only way to use Colums block is my SirTrevor fork: https://github.com/e1himself/mr-trevor-js with this colums block plugin https://github.com/e1himself/sir-trevor-columns-block

@ruudboon it won't be included into Sir Trevor. See Mr. Trevor repo

@e1himself Thnx wil check it out. I was hoping that there was some new development since @zgryw labeled the issue as Feature Enhancement.

Oooo I missed that. Still once it's set up and going it's quite something and if it did get added I hope it doesn't mess with the work @e1himself has done.

Going to close this because #297 and #177 are closed. Generalised multi-column features aren't going to make it into core, but multi-column block types are of course possible.


Remove dialyzer suppression attributes

The removed suppression attributes have no effect with OTP 27 / Elixir 1.17.0
Closes https://github.com/anoma/anoma-archive/issues/1267
This needs to be refactored for the defactored codebase

@juped we should merge this in v0.25.0, since we are enforcing versions greater than Elixir 1.17.0.


[SITE] Can't upload any file format (potentially Mac issue)

When Site is adding details while kit is in "Pending Destruction" status, the certificate cannot be uploaded due to format issue.

Related issue #791


Entities with multiple One-to-One relations aren't loaded from non-owner side.

Describe the bug
Relations on entities that have multiple one-to-one relations to the same entity aren't being loaded from the non-owner side when specifically requested through populate.
Stack Trace
GH issue 28xx › multiple 1-1 relations should be loaded from non-owner side

    expect(received).toBeTruthy()

    Received: null

      92 |
      93 |     const leg = await orm.em.findOne(Leg, 1, { populate: ['purchasePosition'] });
    > 94 |     expect(leg?.purchasePosition).toBeTruthy();
         |                                   ^
      95 |   });
      96 |
      97 |   test(`single 1-1 relations aren't loaded from non-owner side`, async () => {

      at Object.<anonymous> (tests/issues/GH28xx.test.ts:94:35)

To Reproduce
import { Entity, MikroORM, OneToOne, PrimaryKey } from '@mikro-orm/core';
import type { SqliteDriver } from '@mikro-orm/sqlite';

@Entity()
export class Position {

  @PrimaryKey()
  id!: number;

  // eslint-disable-next-line @typescript-eslint/no-use-before-define
  @OneToOne(() => Leg, (leg: Leg) => leg.purchasePosition, { owner: true, nullable: true })
  purchase?: any;

  // eslint-disable-next-line @typescript-eslint/no-use-before-define
  @OneToOne(() => Leg, (leg: Leg) => leg.salePosition, { owner: true, nullable: true })
  sale?: any;

}

@Entity()
export class Leg {

  @PrimaryKey()
  id!: number;

  @OneToOne(() => Position, (position: Position) => position.purchase, { nullable: true })
  purchasePosition?: Position;

  @OneToOne(() => Position, (position: Position) => position.sale, { nullable: true })
  salePosition?: Position;

}

@Entity()
export class Position2 {

  @PrimaryKey()
  id!: number;

  // eslint-disable-next-line @typescript-eslint/no-use-before-define
  @OneToOne(() => Leg2, (leg: Leg2) => leg.position, { owner: true, nullable: true })
  leg?: any;

}

@Entity()
export class Leg2 {

  @PrimaryKey()
  id!: number;

  @OneToOne(() => Position2, (position: Position2) => position.leg, { nullable: true })
  position?: Position2;

}

describe('GH issue 2821', () => {

  let orm: MikroORM<SqliteDriver>;

  beforeAll(async () => {
    orm = await MikroORM.init({
      type: 'sqlite',
      dbName: ':memory:',
      entities: [Position, Leg, Position2, Leg2],
    });
    await orm.getSchemaGenerator().createSchema();
  });

  beforeEach(async () => {
    await orm.getSchemaGenerator().refreshDatabase();
  });

  afterAll(async () => {
    await orm.close(true);
  });

  test(`multiple 1-1 relations should be loaded from non-owner side`, async () => {
    const p = orm.em.create(Leg, {});
    orm.em.persist(p);

    const s = orm.em.create(Leg, {});
    orm.em.persist(s);

    const pos = orm.em.create(Position, { purchase: p, sale: s });
    await orm.em.persistAndFlush(pos);

    orm.em.clear();

    const posReload = await orm.em.findOne(Position, 1, { populate: true });
    expect(posReload?.purchase).toBeTruthy();

    const leg = await orm.em.findOne(Leg, 1, { populate: ['purchasePosition'] });
    expect(leg?.purchasePosition).toBeTruthy();
  });

  test(`single 1-1 relations are loaded from non-owner side`, async () => {
    const p = orm.em.create(Leg2, {});
    orm.em.persist(p);

    const pos = orm.em.create(Position2, { leg: p });
    await orm.em.persistAndFlush(pos);

    orm.em.clear();

    const posReload = await orm.em.findOne(Position2, 1, { populate: true });
    expect(posReload?.leg).toBeTruthy();

    const leg = await orm.em.findOne(Leg2, 1, { populate: ['position'] });
    expect(leg?.position).toBeTruthy();
  });

});

Expected behavior
As in test, purchasePosition should be accessible from the non-owner side.
Additional context
Versions

Dependency
Version

node
16.10

typescript
4.4.4

mikro-orm
master, 5.0.5-dev7

your-driver
postgres, sqlite

Forgot to add, seems to work fine when there's just a single relation between the tables - as soon as it goes to two, it breaks.

This is actually false positive, the failing test is always getting ID 1, but with multi insert, the IDs have different order than you expect.

  test(`multiple 1-1 relations should be loaded from non-owner side`, async () => {
    const p = orm.em.create(Leg, {});
    orm.em.persist(p);

    const s = orm.em.create(Leg, {});
    orm.em.persist(s);

    const pos = orm.em.create(Position, { purchase: p, sale: s });
    await orm.em.persistAndFlush(pos);

    orm.em.clear();

    const posReload = await orm.em.findOne(Position, 1, { populate: true });
    expect(posReload?.purchase).toBeTruthy();

-    const leg = await orm.em.findOne(Leg, 1, { populate: ['purchasePosition'] });
+    const leg = await orm.em.findOne(Leg, p.id, { populate: ['purchasePosition'] });
    expect(leg?.purchasePosition).toBeTruthy();
  });


Webpack detects prebuild javascript file on dist

Hey,
I just wanted to let you know that when trying to create a bundle with webpack, I am getting this warning.

This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.

So it goes. We distribute pre-compiled web-friendly files, so webpack's diagnosis is right. This isn't going to change though, for the time being. (You could try to set up webpack to compile from the ES6 sources under src/ if you are so inclined.)

Or (as I did) ignore its parsing using the noParse option.


Terminal Icon is GitHub icon with fluent icon theme in side panel

Steps to repro:

Move terminal to side panel

cc @misolori


No validation for user e-mail

User e-mail is not being validated to be his own.
It is not even validated to being a valid e-mail.
Any one can register with anyone else e-mail with no issue.
If e-mail already exist error message will not be clear.

https://github.com/ylorenzana/node-express-api-auth/pull/13


Persistent Data Path config and config file placements are mismatched, resulting in config file not being used.

In entrypoint.sh, -persistentDataPath Z:\\saves is specified. This means that the server will take Z:\saves as the config/save folder.
This folder will have a structure like this:

Z:\saves
Z:\saves\Saves\v1\<list_of_save_folders>
Z:\saves\Settings\ServerGameSettings.json
Z:\saves\Settings\ServerHostSettings.json

Currently in entrypoint.sh, the config files ServerGameSettings.json and ServerHostSettings.json are copied into the default config location. However, by specifying -persistentDataPath, the default config location will not be used.

You are right, put the Settings in the /saves file will work.

The default location is still used if there are no setting files in the specified persistenceDataPath.
I will however adjust the documentation and entrypoint script accordingly once I have the option to do so.
Thank you for mentioning this.

I have added the functionality and documentation, but refrained from writing the settings into /saves/Settings. I wanted to update the settings, when the environment variables change. This action would, however, overwrite the already present files in /saves/Settings. To avoid overwriting custom configurations in /saves/Settings, I opted to not use the folder unless it is already present, in which case a change of env vars does not cause a change in configuration. This behavior has been documented accordingly.
I hope this provides closure and a good explanation on why I chose not to use /saves/Settings as the default settings folder.
As stated above, the default settings path is used, when the folder /saves/Settings is not present.


give more information about the number of subjects used for the model "large"

I think we already have this info under data/deepseg_*_models/READ_ME.txt

This information is already inside the zip file of the model, do you want me to add it somewhere else also ?

when the user does sct_deepseg_gm -h, it should be made explicit how to get more info from the model (it is the case for the model "challenge" where there is a link to it).

Ah ok ! I think we should start adding this information on sphinx and then put a link to the help pointing to the correct sphinx doc. What do you think ? Otherwise, we'll have information spread in too many places.

I'll wait for the PR #1683 merge before doing that because all the sphinx docs are there.

Currently, this information is not uploaded to our Sphinx documentation. To make things a little easier, the current contents of deepseg_gm_models/README.txt are:
sct_deepseg_gm models
===============================================================================

This folder contains the sct_deepseg_gm models:

- challenge_model
	This model was trained in the Gray Matter Segmentation Challenge dataset.
	http://cmictig.cs.ucl.ac.uk/spinal-cord-grey-matter-segmentation-challenge
	This public dataset includes 40 subjects, rated by 4 different raters,
	providing a total amount of 1762 axial slices. This dataset contains
	only healthy controls.
	This dataset was created on 26 Nov 2017.

- large
	This model was trained on private dataset, which includes 232 subjects
	and a total amount of 3963 axial slices.
	This dataset, besides the healthy controls, also contained the following
	pathologies: multiple sclerosis, cervical spondylotic myelopathy, spinal cord
	injury, syringomyelia.
	This dataset was created on 26 Nov 2017.

Changelog
===============================================================================

2018-02-05:
	- Added readme with dataset descriptions

2017-11-26:
	- Models creation

Closing this issue in favor of #4046.


[Bug]:

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
System and software version:

OS: [e.g. iOS]
PyGMTSAR version:

Processing Log
If applicable, attach a log file from notebook cell or terminal output or relevant error messages
[Please note you can use the ChatGPT4-based InSAR AI Assistant for guidance or troubleshooting. Visit https://insar.dev/ai for more information.]

Rectangular patches are clearly visible here, and some appear to be empty. This could be related to the application of your Goldstein filter, tiled unwrapping, or regression performed on small chunks.


DateTime.now().millisecondsSinceEpoch return an incorrent timestamp, It is not the same as android/iOS gets

It happens by accident in a production environment.
the code just like this:
int timestamp = DateTime.now().millisecondsSinceEpoch;

Our backend checks the timestamp in the request, which should not be too far from the actual time,but sometimes the timestamp is a few minutes earlier, sometimes it's a few minutes later.But there is no problem with the timestamp obtained by Android/iOS.
Our environment like this:
environment:
  sdk: ">=2.10.0 <3.0.0"
  flutter: ">=2.2.0"

Is there any reported issues like this?Can you give me some suggestions?

Are you sure the time are synchronized on both clients and servers? Not sure I am reading your question correctly but it sounds like you are wondering why the server and client might report different time stamps?

Are you sure the time are synchronized on both clients and servers? Not sure I am reading your question correctly but it sounds like you are wondering why the server and client might report different time stamps?

Users have reported that they have time synchronization turned on and that the timestamps of requests made via Android/iOS are correct,so I think the user phone time is correct.
I don't know how Dart VM gets the time. Is it possible that this time is inconsistent with the user's system time?

The Dart VM gets the time from the device it is running on. So if the Dart VM are running on a server, it gets the time from this specific server. So it is important to enable time synchronization on your servers.
If you are running Linux you should be able to check using timedatectl status and see the following:
...
System clock synchronized: yes
...

Sorry, I didn't describe clearly enough.
We are writing a Flutter application, we do not use Dart as the server.
Just to verify the timeliness of the network request, we carry a timestamp in the request, and the server will check it. The server is not using the dart language or the dart VM.
So, you think the time dart gets must match the time on the device, right?

The time you are getting in Flutter are the time which the operating system reports back on the device where you app are running.
If your server checks the time in the requests, it is important that your server are also time synchronized.

We make sure the server time is correct.
Is there a way to modify the dart virtual machine time? We want to rule out if there is a third-party library that modifies the time.

As far as I know there is no way to do that. But this is rarely the first time where software developers are getting into time synchronization issues between server and clients. Clients are just in general terrible at making sure the time synchronization are running constantly and without any issues.
A good example on this is the amount of issues people have with two-factor authentication codes generated based on the time on the device.
Yes, you might have enabled the time synchronization on your device but it is nowhere a guarantee that it is actually is functional. Also, devices might have different understanding on how precise time needs to be and delay the synchronization.

We allow the timestamp in the request to be less two minutes before or later than the server time, and normal situations are sufficient.But there are some user feedback requests fail, we found that it is a timestamp problem and they said they have time synchronization turned on.
What's even more strange is that when flutter request failed,the timestamp of request sent through the Android or iOS native method is right and the request is success.I can't think of any other explanation other than the Dart VM being problematic.
We will try to add more log to position the problem.Thanks for Your Time. @julemand101

I believe this is working as intended - the Dart VM (and the Flutter runtime) will just return the time as reported by the underlying OS.


Getting CHANGELOG ready for next release

Description
Updating changelog for 2.7.0 release
Issues Resolved
Related to #644
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

The link checker will fail till 2.7.0 release.


Add information about steps required before importing your migrated data.

Why:
If you land on this page from a search, there is no indication that prior steps are required.
What's being changed:
A small preamble is added before the process that mentions and links to the previous steps
Check off the following:

[x] I have reviewed my changes in staging. (look for the deploy-to-heroku link in your pull request, then click View deployment)
[ ] For content changes, I have reviewed the localization checklist
[ ] For content changes, I have reviewed the Content style guide for GitHub Docs.

team-review-requested:[TEAMNAME4007[USERNAME]


Release version 0.6.0

Changelog:
* Rename restart to recover (#89)
* Add environment and domain flag for sf:auth command (#87)
* Remove --login flag from sf:auth command (#85)

@sigmavirus24 I guess it would be cool to release that. So I took the liberty to open a PR ans wrote a changelog, for your convenience 👍

Closing and reopening to trigger a CI build (maybe)

true, github is not really reliable the past few days :/

I added a note about #89

Ping @sigmavirus24 any chance the latest commits get released?

thx 👍

Should be up on NPM too.


fix(getters): handle OpenAPI 3.1 nullability

Status

READY
Description
In OpenAPI 3.1, the nullable keyword has been removed, and nullability is handled by oneOf, anyOf or type arrays: https://www.openapis.org/blog/2021/02/16/migrating-from-openapi-3-0-to-3-1-0
Currently, Orval does not support this, with nullable types ending up as unknown (for type arrays) or e.g. string | unknown (for oneOf/anyOf).
This PR adds support both for oneOf, anyOf and type arrays:
components:
  schemas:
    NullableObject:
      type: object
      properties:
        name:
          type:
            - 'string'
            - 'null'
        age:
          anyOf:
            - type: 'integer'
            - type: 'null'
        address:
          oneOf:
            - type: 'string'
            - type: 'null'

Resulting in:
export interface NullableObject {
  name?: NullableObjectName
  age?: NullableObjectAge
  address?: NullableObjectAddress
}

export type NullableObjectAddress = string | null
export type NullableObjectAge = number | null
export type NullableObjectName = string | null

Also fixes #551 by interpreting type arrays as anyOf (as suggested by https://stackoverflow.com/a/48114924/500976)
Todos

[x] Tests

Seems good thanks @geirsagberg

Thanks for merging :D any ETA for next release?

it's release

Hey @anymaniax does support for union types with mock: true is being tested? I cannot get it to work :/

It generates correct typings, but the mock is being generated with a simple {} object.


code can not start in ubuntu 14.04/16.04 via vnc

bash -x /usr/share/code/bin/code
++ id -u

'[' 1001 = 0 ']'
'[' '!' -L /usr/share/code/bin/code ']'
++ dirname /usr/share/code/bin/code
VSCODE_PATH=/usr/share/code/bin/..
ELECTRON=/usr/share/code/bin/../code
CLI=/usr/share/code/bin/../resources/app/out/cli.js
ELECTRON_RUN_AS_NODE=1
/usr/share/code/bin/../code /usr/share/code/bin/../resources/app/out/cli.js

it stop at cli.js and has no response

@AnboSkyWalker
Can you provide more information:

code version, extensions, more clarity on the situation causing the problem
the built-in issue reporter will gather the information for you

@cleidigh
I tried both 1.28 and 1.29.1.
Both code and code --verbose gives no output
I downloaded the deb package from https://code.visualstudio.com/Download
I don't know how to use code built-in issue reporter to gather the information when code can not start.
Any log or other informations can I collected manually?

/duplicate #3451


Create your app

URL
https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/install
Operating system
windows
More information about your system
win11, x64
Description
i've installed sdk, configuration winget file, vs code. extensions, terminal shows me that dotnet is installed.
But when i press ctrl+shift+p and search for .net: new project i get nothing
dotnet --info

lol, restarted my pc and it works


cli: stdin won t work for me

Hi,
When i run this command, the output is empty,
cat README.md | showdown makehtml
Enabling option ghCodeBlocks
Enabling option encodeEmails
...
Reading data from stdin...
Parsing markdown...
Writing data to stdout...

DONE!

Where the README has content, see https://github.com/mh-cbon/emd/blob/master/README.md
Node -v 7.7.1 (also tested another older 7.x, broken too), i had to fallback to another tool, mdown

that is strange... what version of showdown are you using?
I've tested this on windows and it's working fine:

Tested on:

Windows 10
node 7.7.1
showdown 1.6.4

And it's still working fine:

you can also try running this command instead:
showdown makehtml -i README.md

and check if it works

indeed : x
$ showdown -v
1.6.4
[mh-cbon@pc15-home ~] $ node -v
v7.7.1

see
showdown makehtml -i README.md | wc -l
Enabling option ghCodeBlocks
Enabling option encodeEmails
...
Reading data from file...
Parsing markdown...
Writing data to stdout...

DONE!
138

and
$ cat README.md | showdown makehtml | wc -lEnabling option ghCodeBlocks
Enabling option encodeEmails
...
Reading data from stdin...
Parsing markdown...
Writing data to stdout...

DONE!
0

it seems showdown is able to find the README.d file but it is unable to read from it.
Can you try doing this:
echo "# foobar" | showdown makehtml

echo "# foobar" | showdown makehtml
Enabling option ghCodeBlocks
Enabling option encodeEmails
...
Reading data from stdin...
Parsing markdown...
Writing data to stdout...

DONE!

Digging the source, looks likes the problem is here, size is 0.
  function readFromStdIn () {
    try {
      var size = fs.fstatSync(process.stdin.fd).size;
console.log(size);
      return size > 0 ? fs.readSync(process.stdin.fd, size)[0] : '';
    } catch (e) {
      var err = new Error('Could not read from stdin, reason: ' + e.message);
      messenger.errorExit(err);
    }
  }

IMHO, i d refactor makehtml.run to copy the stdin stream to memory, rather than sync reading the fdesc.
http://stackoverflow.com/a/13411244/4466350

I've been testing this and could not reproduce the issue.
And it's really bothering me!


Create IStrategy interface and Strategy class

Has a method that receives an History object, and an array of tokens. Returns the Token that must be played

Maybe use delegates


v1.28.0_4124311467  load dataset failed

Cannot load the dataset successfully, retry but not working.

Device:
Quest3
mode list:

Questpatcher log:
log.log

Remove the cache under .\ModData\com.beatgames.beatsaber\Mods\SongDetails then re-start the beat saber solved. :P

It was fixed in 1.35.0


Removing unnecessary src/deprecated/macros/uvm_object_defines.svh file.

Fix for issue #9

Folded into Patch 1 ( Pull request #14 )


Could you tell me how to fit the results of VAE (3d Keypoints) to the SMPL model?

Could you explain how to fit the results of VAE (3d Keypoints) to the SMPL model?
Is there any code for doing this?

Hi wonjun, thanks for your interests on our work. We use the original SMPLify model fitting code. For your reference: http://smplify.is.tue.mpg.de/downloads and https://github.com/nkolot/SPIN/tree/master/smplify


Force empty store to stay in BOOTSTRAP before catchup completes

When disk crashed due to I/O error, we lost all partitions on this disk. After a new disk
is mounted, Ambry is able to recreate the stores on new disk during reboot. These
recreated stores are empty and probably way behind their peer replicas, so we need
to put them in BOOTSTRAP state until they have caught up with peers. Considering
Leader-based Replication will be introduced, this PR guarantees those empty stores
won't be selected LEADER because they are kept in BOOTSTRAP state. (Otherwise, some stores
may be selected as LEADER but they have to spend a couple of hours/days completing catchup.
Meanwhile new data in remote dc(s) cannot be replicated to current dc.)

Codecov Report

Merging #1571 into master will increase coverage by 0.01%.
The diff coverage is 81.81%.

@@             Coverage Diff              @@
##             master    #1571      +/-   ##
============================================
+ Coverage     73.68%   73.69%   +0.01%
- Complexity     8345     8351       +6
============================================
  Files           584      584
  Lines         45247    45270      +23
  Branches       5717     5721       +4
============================================
+ Hits          33339    33361      +22
+ Misses        10225    10222       -3
- Partials       1683     1687       +4

Impacted Files
Coverage Δ
Complexity Δ

...m/github/ambry/replication/ReplicationManager.java
89.74% <ø> (ø)
17.00 <0.00> (ø)

...a/com/github/ambry/server/AmbryServerRequests.java
94.30% <ø> (ø)
78.00 <0.00> (ø)

...va/com/github/ambry/replication/ReplicaThread.java
86.80% <75.00%> (+0.83%)
115.00 <0.00> (+2.00)

...in/java/com/github/ambry/store/StorageManager.java
88.88% <78.57%> (-0.52%)
61.00 <0.00> (ø)

...in/java/com/github/ambry/cloud/CloudBlobStore.java
76.05% <80.00%> (+0.62%)
116.00 <4.00> (+1.00)

...rc/main/java/com/github/ambry/store/BlobStore.java
87.89% <85.71%> (-0.21%)
149.00 <3.00> (+2.00)
:arrow_down:

...github/ambry/clustermap/ReplicaStatusDelegate.java
92.85% <100.00%> (+0.54%)
9.00 <1.00> (+1.00)

...om/github/ambry/replication/ReplicationEngine.java
78.87% <100.00%> (ø)
47.00 <0.00> (ø)

...main/java/com/github/ambry/server/AmbryServer.java
80.92% <100.00%> (ø)
20.00 <0.00> (ø)

...n/java/com/github/ambry/clustermap/MockDiskId.java
80.00% <0.00%> (-5.72%)
12.00% <0.00%> (-1.00%)

... and 11 more

Continue to review full report at Codecov.

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

@justinlin-linkedin @SophieGuo410 @Arun-LinkedIn gentle reminder to review.


chore(deps): update golang docker tag to v1.23.2

This PR contains the following updates:

Package
Type
Update
Change

golang
stage
patch
1.23.1 -> 1.23.2

Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Renovate Ignore Notification
Because you closed this PR without merging, Renovate will ignore this update (1.23.2). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Lines containing syntax errors are impossible to read

Hi @mojodna :wave:, thanks for your contribution :+1:
I remember I once tried to fix this by reducing the opacity of the color, but I think there were problems with IntelliJ's highlighting API regarding the rendering and support of transparent colors.
We can try again if this has been solved and maybe use the same colors like for the UI theme's FileColors keys (1A = 26% opacity).

I guess the problem here is that the whole line is highlighted with nord11 because of the styles defined for IntelliJ's Code Inspection feature (ERRORS_ATTRIBUTES editor scheme key) mixed with the foreground color for syntax errors that is also nord11.
This results in nord11 foreground on nord11 background.
I've tried to use a opacity of 60% for nord11 as background color instead, but the result is a "dirty redish" color due to the base editor background color, so I though about a better way of highlighting these errors.
Reduced opacity of 60%

I came up with a styling that doesn't make use of a background color at all based on the fact that it is a duplicate highlighting. If there's a syntax error the invalid tokens will be highlighted with nord11 due to the syntax error so there is no need to additionally colorize the background with nord11 resulting in unreadable text due to the same foreground color.
The new styles for Code Inspection errors will simply use nord11 as foreground color with a bold underline and the already used stripe next to the line numbers. This design decision also comes with a change for the “Unknown Symbol“ highlighting that will now use a dotted underline instead to differentiate from the new error styles.
Reduced opacity of 60%

Nice!

The changes will be merged in #62 and released with the next release version 0.7.0


missing package inclusion in jupyter examples

I got an UndefVarError: describe not defined error when trying some of the  jupyter notebooks as they were.
The following notebooks seem to be missing the package inclusion for describe(), i.e. using Mamba: describe:

BayesHmm.ipynb
FHMM.ipynb
Introduction.ipynb

Closed by #419


[FEATURE]: DORA Metrics Measurement and Tracking

✨ Description
This feature integrates the measurement and tracking of DORA (DevOps Research and Assessment) metrics into the Vitality platform. This will provide development teams with valuable insights into their software delivery performance and enable them to identify areas for improvement.
🚀 Motivation
Accurately measure key software delivery performance metrics (Deployment Frequency, Lead Time for Changes, Mean Time to Restore, and Change Failure Rate) to gain a clear understanding of team efficiency and effectiveness.
📝 Proposed Solution

Integrate with existing development tools and systems (e.g., version control systems, CI/CD pipelines, incident management tools) to automatically collect the data required for calculating DORA metrics.
Implement algorithms to calculate the four key DORA metrics.
Process reports.
Identify recommendations and keywords.
Store reports.
Update BFF schemas and resolvers.
Frontend Visualisation.

Gitlab API:

https://docs.gitlab.com/ee/api/graphql/reference/index.html#doraperformancescorecountconnection
https://docs.gitlab.com/ee/api/dora/metrics.html

🔗 Relevant Links (if any)

https://dora.dev/publications/
https://linearb.io/resources/engineering-benchmarks
https://docs.gitlab.com/ee/user/analytics/dora_metrics.html
https://www.atlassian.com/devops/frameworks/dora-metrics
https://dora.dev/guides/dora-metrics-four-keys/

There is still this error :

Probably because of the logout button (that is displayed after the token verification).

Deployment Frequency (DF) : It is the average frequency at which code is deployed to production over a period of time. (to deliver smaller deployments more frequently is better than the opposite)

Data : nb of deployments over time
Analyse :

Elite Performers: Multiple times a day
High Performers: Once a week to once a month
Medium Performers: Once a month to once every 6 months
Low Performers: Less than once every 6 months

Lead Time for Changes (LT) : how long it takes for a team to implement a change once coding has begun. (measured by tracking the time it takes between when a commitment is made to a change and when that change is released to production.)

Data : time between a commit and its merge into the prod branch.
Analyse :

Elite Performers: <1 hour
High Performers: 1 day to 1 week
Medium Performers: 1 month to 6 months
Low Performers: 6+ months

Mean Time to Recovery (MTTR) : the time it takes for a team to restore a system to its normal functionality after a failure occurs in the production environment.

Data : time between a failure in prod branch and the moment the system work again
Analyse :

Elite Performers: <1 hour
High Performers: <1 day
Medium Performers: 1 day to 1 week
Low Performers: Over 6 months

Change Failure Rate (CFR) : the percentage of deployments that caused a failure in production.

Data : failed deployments / total deployments
Analyse :

Elite Performers: 0-15%
High, Medium, and Low Performers: 16-30%

Integrating DORA Metrics with ekino’s v6y Tool
Article: https://medium.com/ekino-france/dora-metrics-the-right-fit-for-ekino-95fa43b1c682

At ekino, Vitality (v6y) serves as the central platform for collecting, analyzing, and displaying DORA metrics by leveraging internal tools such as Content Square, Datadog, and GitLab. Here’s a tailored implementation approach:
1⃣ Data Collection: Utilize REST APIs or GraphQL APIs exposed by internal tools to collect signals:

GitLab: Retrieve data on commits, merge requests, and deployments to calculate metrics such as Deployment Frequency and Lead Time for Changes.
DataDog: Track production incidents, monitor alerts, and log issue resolutions to calculate Mean Time to Restore (MTTR) and Change Failure Rate.
Content Square (Optional): Monitor customer-facing impacts for enriched context and deeper insights into production changes.

2⃣ BFB Logic for Analysis: Implement a Business Feedback Brain (BFB) in v6y to:

Automatically recognize patterns indicating “good” or “bad” DORA metric symptoms for each project.
Enrich this analysis with contextual data such as historical trends, root cause links, and improvement suggestions.
Store processed data in a centralized database with metadata like helpful messages, links, and recommendations for remediation.

3⃣ Frontend Data Presentation: Extend v6y’s frontend to:

Display DORA metrics in intuitive dashboards, including trends, alerts, and per-project health summaries.
Highlight actionable insights, such as high Change Failure Rates or slow Lead Times, with contextual links to related incidents or commits.
Provide a project-specific “health score” and offer guidance for improvement directly to end users.

4⃣ Integration with Workflows:

Enable real-time notifications in v6y for significant DORA metric deviations (e.g., exceeding MTTR thresholds).
Integrate DORA insights into team retrospectives and planning sessions to continuously refine workflows.

┌──────────────────┐       ┌───────────────────────┐
│                  │       │                       │
│  BFB Main        │       │  BFB Frontend         │
│  Analyzer        │──────▶│  Auditor              │
│                  │       │                       │
└──────────────────┘       └───────────────────────┘
│                          │
│                          │
▼                          ▼
┌────────────────────────────────────────┐
│                                        │
│              Persistence               │
│                                        │
└────────────────────────────────────────┘
▲                          ▲
│                          │
│                          │
┌──────┴──────────────────────────┴──────┐
│                                        │
│             BFF (R/W)                  │
│             (GraphQL, Node.js)         │
│                                        │
└────────────────────────────────────────┘
▲                  ▲
│                  │
│                  │
▼                  ▼
┌───────────────────┐  ┌──────────────────────────┐
│                   │  │                          │
│ Frontend (IHM)    │  │ Frontend (BO)            │
│ (React, GraphQL)  │  │ (React, GraphQL, Refine) │
│                   │  │                          │
└───────────────────┘  └──────────────────────────┘
This integration ensures v6y becomes a robust project health tool, leveraging DORA metrics to provide actionable, context-aware insights that drive continuous improvement across ekino’s projects.
Our next step is to manually implement DORA metrics since our gitlab version is community edition and github does not provide an API to autocalculate DORA:
1⃣ Deployment Frequency: Measures how often software is deployed to production.
Deployment Frequency = Number of Deployments / Time Period
✔ High frequency indicates the team’s ability to deliver value rapidly.
2⃣ Lead Time for Changes: Tracks the time from a code commit to successful deployment in production.
Lead Time for Changes = Time of Deployment - Time of Code Commit
✔ Shorter lead times reflect efficient processes and faster value delivery.
3⃣ Mean Time to Restore (MTTR): The average time to recover from a failure in production.
MTTR = Total Time to Restore Services / Number of Incidents
✔ Low MTTR indicates robust incident response capabilities.
4⃣ Change Failure Rate: The percentage of deployments causing failures in production.
Change Failure Rate = (Failed Deployments / Total Deployments) * 100
✔ Low failure rates suggest reliable deployment practices.
We should now investigate Gitlab API to view if it's possible to access the different values needed to calculate formula.

Example of Gitlab pipeline:

Step 1: Gitlab (DEV)

We should work on dev
Extract different informations from REST API
Try to calculate different formula
Create a dedicated auditor inside devops-auditor

Step 2: DATADOG (DEV)

Check what we can get from REST API
Try to calculate different formula
Complete the DORA auditor

Step 3: Frontend Visualisation

The architecture update is available:
https://github.com/ekino/v6y/tree/main/src/v6y-bfb-devops-auditor


[Consensus] Fix the state_sync_on_timeout test

Summary:
The test was written prior to us introducing the logic of helping the stale participants and prior to us unifying the votes / timeouts,
hence it was fundamentally not doing the thing that it was intended to test.
With some recent unrelated changes this test started failing (being stuck). Had to just rewrite to use a slightly different flow.
Test:
the new test consistently works locally on my machine

@bors-libra r+

:pushpin: Commit 4d5607f has been approved by andll

:hourglass: Testing commit 4d5607f7dd8f4b90be3b4701de74f71b227bb00d with merge ffe011489edcc8947d6033400c74d9f33f0e6851...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: andll
Pushing ffe011489edcc8947d6033400c74d9f33f0e6851 to master...


Document navigator.sendBeacon(...)

workerd PR: https://github.com/cloudflare/workerd/pull/1265

We already have a compat flag that controls the availability of the navigator global. I wouldn't imagine we'd need another flag specific to this.

Oh I misread docs change.
https://developers.cloudflare.com/workers/configuration/compatibility-dates/#global-navigator
This is already enabled by default after 2022-03, so I didn't expect that we'd call out needing to enable it in API docs. I think if if we're going to mention it, we should call out the enabled by default date. Otherwise it comes across like you need to enable it in order to use this API.

We should probably have a docs pattern for various APIs to denote the compatibility date at which they were enabled by default, and link to the relevant compatibility flag. (longer term)

Merging with James approval


Update sbt, sbt-dependency-tree to 1.10.0

About this PR
📦 Updates

org.scala-sbt:sbt
org.scala-sbt:sbt-dependency-tree

from 1.9.9 to 1.10.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
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!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:1

Superseded by #48.


Move onTermination to its own group

Instead of on().termination, move it to onTermination() for both uni and multi.

Assigning to myself, it will be a good exercise

Fixed by #192.


POSIX subsys: Need more fine-grained enable options

Currently, we have a "master switch" of CONFIG_POSIX_API which enables a lot of POSIX subsys functionality at once, and just a few sub-options to control some areas (Pthreads, etc.).
One of things which CONFIG_POSIX_API does it automatically adds headers under includes/posix/ to the include paths. Unfortunately, how they're implemented now is very fragile, and making any step further than the current tests (we don't even have POSIX samples!) go, leads to header/symbold conflicts and build errors. That's a separate matter (I'll post another ticket on that), and resolving that would likely take more time.
What I would like to do with scope of this ticket is:

Add separate option to control inclusion of POSIX headers.
Add options for things which are currently automatically enabled by CONFIG_POSIX_API: clock_gettime(), etc.
Then keep the current definition of CONFIG_POSIX_API, by making it select all the finer-grained options.

The purpose of these changes is to allow to gradual porting of applications. E.g., if an app needs just clock_gettime(), I should be able to pull in just that, instead of the whole POSIX subsystem, which is, again, likely will lead to header/symbol conflicts.

@nashif, @galak, @ramakrishnapallala, @nniranjhana: FYI
This comes from experience in porting https://github.com/open62541/open62541 to Zephyr (which is a Linaro project to try and see how far we're along the "take an existing 3rd-party lib and just  run it with Zephyr" approach).
cc'ing you so there was a place to discuss details if needed, and these changes didn't come as a surprise (because for me some recent changes related to POSIX subsys were a surprise).


eCommerce Apparel Shopping website

Have you read the Contributing Guidelines ?
YES
Description
The project I want to add is an eCommerce website made with HTML, CSS, and JS.
It's a front-end project with beautiful UI elements. The website is responsive on all screen types.
The data is generated with the help of javascript.
Additional tools used in this website-

jquery
bootstrap
slick js

Fixes #789

Checklist

[✓] I've read the contribution guidelines.
[✓] I've checked the issue list before deciding what to submit.
[✓] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#789

@himanshu240601 Please deploy this project and add the Project URL in readme.md file.

Deployment of this project - Completed
Added URL in the readme.md
link to website - https://himanshu240601.github.io/ecommerce-website/


Performance updates #2

Description
This PR improves rendering performance for the exchange screen.
Related issue
N/A
Motivation and Context
N/A
How Has This Been Tested?
N/A
Screenshots (if appropriate):

[ ] Exchange Rates not working again for synth tokens -> tokens

This issue had been earlier addressed in commit https://github.com/Kwenta/kwenta/pull/1355/commits/1214f716bf0d73f72a54699cad25ae97ef7e41b6, might want to compare and see what changed to introduce the bug again.

[ ] Small detail noticed WBTC logo is missing


Update tests

Update tests following the creation of a new AI Foundry project dedicated to AI Projects SDK testing

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-projects


Adding an example of a dump file so people know what data to expect

This is a 🔦 documentation change.
Simply add an example dump file to the README :sparkles:
Based of #24
Checklist

[x] documentation is changed or added

Context
This PR should address #23
Semver Changes
Bump patch

Rebased version of #25


Add basic tests ensuring that examples continue to function

A user recently reported that the todo example wasn't working, and it would be good to ensure that it doesn't happen again

I can report that the todos doesn't work. I was looking for a way to see if the graphql/Hasura connection was established, but the NhostClient(baseUrl: nhostApiUrl) object doesn't have a checkStatus method that I could figure out.
I get this:

when running packages/nhost_flutter_graphql/example/lib/simple_graphql_example.dart from Android Studio.

No linter errors.
Yes, I made an app and changed the two URLs
Yes, I created a todos table.