Parameters are changed when testing

Don't know whether you have faced similar situation. After I have trained model (perplexity = 1.1), I do some testing on other images. After I continue to train the model with the same data, parameters are quite different and has perplexity of 5. Does anyone know why this occurs?

I explore a little more. The performance of the model is consistent when both training and testing data has same max-width and max-height.

That would make sense. Good accuracy with images of different sizes would require a large and extensive dataset, and if your testing data has image sizes that are completely different from training, you won't see good results.
I'll close the issue for now, but if there's any issues with the model itself, do let me know!


Latest version not on pypi

Hey @ashvardanian,
I've just found this cool library, started experimenting with it (awesome speedups!) and noticed the latest version on pypi is v3.5.5, so just letting you know :)
Thanks for your work!

Oh, thanks for noticing! GitHub CI occasionally fails some HTTP request and abrupts the build. https://github.com/ashvardanian/SimSIMD/actions/runs/6992475734 and it worked. The new version is already on PyPI 🤗


Spp 9387 release versioning

Description
Release versioning added to project and pipeline automation amended to handle related tasks
If you have not checked any of the lists below explain why here.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Technical Enhancements

Checklist:
If any of these are not completed, please explain why in the notes.
Definition of Done
Code and merges

[x] Code to be commented on where applicable
[x] Documentation updated where required
[x] Have considered non-functional requirements such as Security, Performance, Scalability, and Fault Tolerance
[x] I have linted the code

Testing

[x] All levels of acceptance test are passing (automated, integration, manual, accessibility, etc.)
[x] I have run the behave command to check the selenium behaviour tests pass locally
[x] Acceptance criteria met

Other Checks

[x] I have performed a self-review of my own code
[x] I have checked for spelling errors
[x] I have commented on my code, particularly in hard-to-understand areas
[x] My changes don't break anything unexpected
[x] I have checked and updated the security.txt file where required
[x] Up to date with the main branch

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T

DEPLOY_URL=https://d1o5lj4bykw4jy.cloudfront.net/
cloudfront_id=ENGDXCTMLIW0T


Docker daemon issue

Hello
I deployed gitea act runner using your helm chart. I have the following step in my gitea actions:
 - name: Set up Docker Buildx
   uses: docker/setup-buildx-action@v3

I get this error once it runs:

How can I resolve it?

Hi @serajhqi
This issue is not related to chart, i think you will be able to find a solution by either checking the act runner repo i.e https://gitea.com/gitea/act_runner/issues/280
Or
docker/setup-buildx-action@v3 action

I had tried this solutions and I had no success. Actually I found it insecure to run it with root user on the server that my Kube was running. So Finally I managed to run it using docker compose on a separate server and connect it my Gitea.
Thank you for your quick response and the this repo.
Best Regards

I am glad it worked out for you.


Propose to add liqueurdetoile/cakephp-orm-json plugin

Hi,
I was working with an EAV data model and was needing some JSON fields to avoid value rows count exponential growth (I know, I know, that's evil for some people 😈).
Anyway, I began to write some inner stuff to handle it and, lastly, think about making it as a plugin : https://github.com/liqueurdetoile/cakephp-orm-json
So here I am 😊
It only supports Mysql databases as v1.0.0 but I think it can easily be improved (see todo section of the readme)

If you also add the full stop at the end as per specs I am happy :)

As I noted above: You can't just change the name without adjusting the code itself.
E.g. https://github.com/liqueurdetoile/cakephp-orm-json/blob/master/src/Plugin.php#L2

A question towards to the content:
A custom (Json)Type object didnt help you here? For me this was always useful when working with storing array or json data in the database.

I thought about custom type way but, if I understand well, you can only act on value ?
The plugin turns field name from 'pathInJson@field' into 'field->"$.path"' in queries.
PDO statements are also working very bad with JSON_EXTRACT data comparison so I needed to rewrote a full query for some data types like boolean, null, array or float. At least strings are still escaped with prepared statement.
I've found that extending Query object was the best approach but maybe I was wrong ?

Off topic - @liqueurdetoile why it is evil for some peaple, i think it a great approach for extra and optional fields in database, nor?

Wow. Some people have also dedicated whole blogs and books to the question !
To make it short. RDBMS like Mysql expects data to be described through a schema to give their best performance because they are working in a grid of rows and columns. Each row is a record and each column is a field value. The goal of RDBMS is to maintain data integrity through ACID operations. Using JSON fields is like a dark area for a pure RDBMS. It is not designed to be indexed and can lead to really poor performances in case of abuse. That's the technical evil side of non schemed data in RDBMS.
On the opposite, pure document database systems like MongoDB are really versatile. It only relies on programmer knowledge to fill in right data in documents.
But, I agree with you. Between the pros and cons of pure ruled world vs pure free world, we can be in need of both. It all relies on the objectives.
Most important : avoid using JSON fields with RDBMS because of too lazy to describe data. That's the human evil side of non schemed data in RDBMS.


Incorrect use of shader-controlled normals

The commit 7f8866530f2869241f3708797bf211a78c2e888f gave shaders control over normal vectors. Unfortunately, GLSL's pathetic type rules meant that the compiler failed to catch the assignment of a vec3 value to a vec2 variable. In effect, rather than compressing normals to be written to the G-Buffer, the first two components of the uncompressed normals were written instead.

Fixed by 538f7ee9cf85b376f50ee98456e8cf04e35ba6b9 and 7fca7790106e972ab2ec2f299f962061b807eca8.


Circle and Ellipse spread around the map when zooming out.

Feature ellipse and circle move around the map and relocate when zoomed out.
Launch Map on capability testers.
*Add overlay.

Add feature ( Circle or ellipse)
Locate the feature by selecting "locate" from menu.
Circle will show .Now zoom out.
*Map will have circle in improper shape.
*Ellipse behaves same way

Fixed with render-er release 0.1.22


Set up a rolling CI test run one week from "now"

Context
We've had problems with timebomb tests which break at different part of the cycles.  This allows us to anticipate these issues by giving us one week's notice, and lays the groundwork for more comprehensive or sophisticated setups later on.
Link to Trello card
https://trello.com/c/dgbZ5UaJ/753-allow-running-the-test-suite-at-an-arbitrary-date

 Allow running the test suite at an arbitrary date

this is a cool idea! could you walk the dev team through it tomorrow?

this is a cool idea! could you walk the dev team through it tomorrow?

@carlosmartinez yep


DAAS: DOGE as a Service

So many businesses have rewards systems that give you various bonuses for buying their products. In a way, these become their own currency. My college had their own Davis Bucks that you could use around town. This could be an opportunity for DOGE. Every business that has a points system could join the DOGE network, buy up a certain amount of DOGE, and reward it to their customers based on a system that is profitable for the company. More companies buying up DOGE would increase its stability. Here's a list of companies that already use a points system...

Almost every coffee place
Most grocery stores
Colleges for their cafeterias and book stores
Pizza shops
There's more that I can't think of off the top of my head.
The opportunity here is for developers to create a template for these businesses to use. Most of them don't come up with their own points system. Some other company made it for them. These businesses would be more apt to adopt DOGE if we fixed these problems...
Implementation into their business model
POS Integration
Exposure to price fluctuation
The last one is probably the biggest thing that needs to be fixed. There has to be a way to offset this exposure by paying an insurance company. Or maybe we could have a decentralized insurance where the DOGE community can assume this risk temporarily? Someone much smarter than me could come up with a solution here. Let me know what y'all think.

This is a really cool and inovative idea! Mainstream implimentation has to start somewhere, this could be a great way to cick it off.
You just sparked my memory of an article I read: Does Starbucks Want to Be Your Bank? Where they had over $1.5 billion in stored value as of a couple yers ago. So this is a huge market to tap into.


[core] Drop support for React 16

BREAKING CHANGE
Official support for React 16 is discontinued.
Note that for now you can still use the library with React ^16.14.0.
This changes simplifies development for us a lot since we no longer have to consider certain behavior for two versions. This became especially problematic for event behavior when using the DOM.
Bundle size changes are expected since we're using the new jsx runtime.
Follow-up to https://github.com/mui-org/material-ui/pull/25416

Bundle size changes are expected since we're using the new jsx runtime.

Oh is this because the new runtime is actually bigger?

Oh is this because the new runtime is actually bigger?

Because it's not bundled if you're not using it. The new runtime has a separate entry point (react/jsx-*) instead of being imported from react which cannot be tree-shaken at the moment.

Oh is this because the new runtime is actually bigger?

Because it's not bundled if you're not using it. The new runtime has a separate entry point (react/jsx-*) instead of being imported from react which cannot be tree-shaken at the moment.

Ah got it, so the increased size is due to the old runtime in react (that can't be tree-shaken despite being unused), and MUI using the new react/jsx-* entrypoint.

(that can't be tree-shaken despite being unused)

It's still used in some cases and will be for some time. TL;DR: key + spread needs to cover different combinations. https://gist.github.com/eps1lon/61f12fc47facba60b7572b38b6084285 includes a summary and additional resources.


action_fail_on_inconclusive passed with just a warning annotation

I was expecting something red, at least in one place out of the below.
      - name: "Publish 'Integration Test Results' check run."
        if: success() || failure()
        uses: EnricoMi/publish-unit-test-result-action@v2
        with:
          check_name: 'Integration Test Results'
          comment_mode: off
          report_individual_runs: true
          action_fail_on_inconclusive: true
          test_changes_limit: 0
          junit_files: outputs/junit.xml

Well, the action itself should fail. Does it?

Repro should be literally the step I added wrapped in an otherwise empty workflow.

Misclick, see https://github.com/TWiStErRob/github-actions-test/pull/14

The action only fails when action_fail is true. But I can see that you might want to fail the action when no files are found, but not when tests fail. So this should be decoupled.

Fixed in #543.

Thanks for raising this!

@EnricoMi Something is still not right; original repro in OP is still the same:
https://github.com/TWiStErRob/github-actions-test/actions/runs/7253712744/job/19760905448?pr=14
What do I need to add to fail when the action inputs are wrong (e.g. no files)?
What do you define as "inconclusive"?

You have to uses: EnricoMi/publish-unit-test-result-action/composite@dd656270a0e3b61114602ace08af7959bcf9ed32.

Great success, thanks! https://github.com/TWiStErRob/github-actions-test/actions/runs/7254094439/job/19762077000?pr=14#step:2:292
I guess the reason why I couldn't try the fix the first time is just because it's not a released version.

This has been released: https://github.com/EnricoMi/publish-unit-test-result-action/releases/tag/v2.12.0


gogs data volume fail to mount

helm version: v2.11.0
Events:
  Type     Reason                 Age        From               Message
  ----     ------                 ----       ----               -------
  Normal   Scheduled              1m         default-scheduler  Successfully assigned my-release-gogs-744886b4-gbgt2 to minikube
  Normal   SuccessfulMountVolume  1m         kubelet, minikube  MountVolume.SetUp succeeded for volume "config"
  Normal   SuccessfulMountVolume  1m         kubelet, minikube  MountVolume.SetUp succeeded for volume "default-token-rl2xt"
  Warning  FailedMount            <invalid>  kubelet, minikube  Unable to mount volumes for pod "my-release-gogs-744886b4-gbgt2_gogs(1263b866-d0e3-11e8-a959-448cc45cd9a0)": timeout expired waiting for volumes to
attach/mount for pod "gogs"/"my-release-gogs-744886b4-gbgt2". list of unattached/unmounted volumes=[data]

no persistent volumes available for this claim and no storage class is set
persistentvolume-controller

may you don't have a default storage class
you can set it in gogs helm chart

/remove-lifecycle stale


win,fs: fix inconsistencies between platforms for rename

Renaming directories has odd inconsistencies between Unix and Win
platforms. For example, renaming dirA to dirB when dirB is empty fails
on Win while succeeds on Linux. This commit fixes that by removing dirB
if dirB is empty. Additionally, renaming dirA to dirB when dirB is NOT
empty, on Linux, returns a ENOTEMPTY error, while on Win, returns a
EPERM error. This fixes this consistency be returning a ENOTEMPTY error
on windows as well.
Related to nodejs/node#21957
Note to reviewers: I am very new to C/C++ and I am sure I made mistakes,
both in my method and my test case. I would appreciate any in-depth feedback
on my code. Thank you!
Note about tests: The tests pass, but on some rare occasions they will fail. I assuming there are just flaky tests?

I realize windows is not that popular of platform for nodejs, but I feel fixing these inconsistencies is important. Can somebody please review this PR?

@cjihrig Thanks for reviewing the PR! I will revise the PR according to your comments, but want to discuss it before I do so time is not wasted if this change is deemed to be not right by other maintainers.

Overall, I'm a little torn on this. If it aligns the behavior across platforms, that's good. However, it also introduces a bit of a potential race condition due to the extra file system calls. There is also the question of whether this would classify as a bug fix or breaking change. I'd like to know what other collaborators think.

Which part of the code creates a race condition? It was my understanding that the calls like PathIsDirectory RemoveDirectory block until they are returned? So there wouldn't be a race condition right? Again, my understanding of these calls and C are limited.

It depends which test(s) you're talking about. Can you be more specific about individual tests and platforms?

I will rerun the tests when I get a chance and let you know!

Hello @Shivang44,

I feel fixing these inconsistencies is important.

I'm sure you are aware there are numerous other inconsistencies, for example; case sensitive names, timestamp accuracy, no links on FAT, different ACL mechanisms.

For example, renaming dirA to dirB when dirB is empty fails on Win while succeeds on Linux. This commit fixes that by removing dirB if dirB is empty.

IMHO implementing the complex solution you suggest should be left for downstream projects (e.g. node like mkdirp, or a userland module)
As for returning ENOTEMPY I think that is a breaking change. Since you are already making breaking changes, I suggest returning ENOTEMPY for both cases (if dirB is empty or not). I would go as far as to suggest to return ENOTEMPY even on POSIX, but this requires buy-in from the Collaborators.

P.S. I just found what I believe is a bug on Windows:
> mkdir dirA
> echo " " > dirB
> node -e "fs.renameSync('dirA', 'dirB')"

>

This will overwrite dirB.

Due to the lack of interest as well as the above mentioned (potential issues), I will be closing this PR. If other maintainers think that this change would be a good addition to libuv, I would be happy to reopen it work on it!
Thanks for your comments and help @cjihrig @refack


Spevacus: Watch ufa24h.co

Spevacus requests the watch of the watch_keyword ufa24h\.co. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

ufa24h\.co has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by NobodyNada in Charcoal HQ


Update fake backends configuration

Summary
After fixing #1570, other fake backends were checked by comparing the operation names with their real counterpart.
Details and comments
Updated configurations for:

ibm_cairo are missing for_loop, switch_case, and if_else
ibm_hanoi are missing for_loop, switch_case, and if_else
ibm_nairobi are missing for_loop, switch_case, and if_else
ibm_sherbrooke are missing switch_case and foor_loop

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6248

Relevant Lines:
7472

💛  - Coveralls


Adding max file size variable and global.env for cron container

Adding changes of the master branch to the feat/7.1

Closing as this repo is no longer maintained and will be marked as read-only.


Have you considered using globalize for better i18n?

Hi,
I think you've built a very nice piece of software and we are using it in one of our services.
I've taken the time to give some feedback from our use case.
We send emails that are translated in several languages. Some of them have translations in different folders.
We can't use the i18n implementation provided by email-templates and we are hacking around it because it has a single instance. Once created, we can't say - for this email, load translations from this other folder .
Other things to consider: i81n-node has not been updated since 2016 and seems to be gathering issues.
On the other hand Globalize implements proper i18n support based on ICU - which IMO is a great library and "standard" to work with. It provides everything you need to do proper internationalization. We use it with 16 languages and we had no issues with it.
Globalize does not take care of file loading so it is plugable in that way. You can load files however you want.
You can also create as many instances as you wish.
I hope you find this feedback helpful.
https://github.com/globalizejs/globalize

My implementation of i18n is with respect to simplicity and ease of use in my framework https://lad.js.org.  The i18n package we use actually is in the Lad org and you can read about it here https://github.com/ladjs/i18n.  We also use mandarin under the hood https://github.com/niftylettuce/mandarin.

@ieugen If you want to reload files after change, see https://github.com/ladjs/i18n/blob/master/src/index.js#L28-L30.
I think that if you're adding a new JSON file (e.g. a completely new locale), then it'd be pretty simple to just gracefully reload the worker threads in your process.  In my opinion and based on my experience, it is VERY bad behavior to have a production process that watches/changes dynamically based off other files/directories.


Add python autoformatting using ruff

Changelog
Add python autoformatting using ruff
Issue ticket number and link
~Closes #xxxx (Replace xxxx with the GitHub issue number)~
Checklist before requesting a review

[ ] I have performed a self-review of my code

[ ] Conforms to the Contributor's guide

Check the correct box. Does this PR contain:

[ ] Breaking changes
[ ] New functionality
[ ] Major changes
[x] Minor changes
[ ] Documentation
[ ] Bug fixes

[ ] Proposed changes are described in the CHANGELOG.md

[ ] CI tests succeed!

Yes please!

Yes please!
Edit: Could we move the CI to a separate file so it gets run separately?

I think it is sun separatly (its a different job)?

It's indeed run as a separate job but not as a separate action.
I would be inclined to move the linting to a separate action because this doesn't have anything to do with viash test, and we'd also need to add an R linter in a separate PR.

It's indeed run as a separate job but not as a separate action.
I would be inclined to move the linting to a separate action because this doesn't have anything to do with viash test, and we'd also need to add an R linter in a separate PR.

I think the choice of moving it to a separate action comes down to when when we want to run it. I think in this case, its at the same time as the tests, no?


IOS estension

Hello. I'm writing an IOS extension: https://github.com/sbobykin/react-native-barcode-scanner-google/blob/ios/IOS.md .
Here I'd like to start discussion about the extension.
That would be great if someone tries to run and test it.

@sbobykin  i run barcode example in https://github.com/googlesamples/ios-vision, and it work.
i follow your guild in https://github.com/sbobykin/react-native-barcode-scanner-google/blob/ios/IOS.md but i can run, linked error.
Can you provide an example work in react native? It's very helpful
Thank you.

Hello @ducpt2! Thanks for your trial.
Could you provide your error message?

@sbobykin here my error:
ld: library not found for -lswiftSwiftOnoneSupport for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i follow your link to setup. Pls help me and make it work on ios (React Native).
Thanks

@sbobykin Are you working on it?
I can test it for you if you are finish 😀  Thanks.

@sbobykin seem like pretty nice. Thank you for your effort.

Currently i am trying my own bridge, but i realize when i using pod install, all lib download down is different when compare with native ios-vision example:
react-native pod install:

GoogleMobileVision, GoogleToolboxForMac, GTMSessionFetcher, Protobuf.
ios-vision example pod install:
GoogleInterchangeUtilities, GoogleMobileVision, GoogleNetworkingUtilities, GoogleSymbolUtilities, GoogleUtilities.
Why it so different when i using the same pod file to run?  Can you explain please, i guess this is why i has error like above :))
Thanks.

On my side (react native case) I have GoogleInterchangeUtilities, GoogleMobileVision, GoogleNetworkingUtilities, GoogleSymbolUtilities, GoogleUtilities. That's the same like in your ios-vision case.
I think that would be great to have a voice talk with screen sharing. If you agree please write me to email that you can find in my commits.

@ducpt2 try please
https://github.com/sbobykin/react-native-barcode-scanner-google/blob/ios/helpersios/sample_ios/README.md

@sbobykin i am sorry, i follow your step but it can't work, i think the issue is my pod install wrong file, maybe if you can update all project (include pod file, pod project) i can run.
I am trying to figure out why it happen :) btw, thank you and please let me know if you know how to fix my issue :)

@sbobykin i created ios native (Swift) with GMV barcode detect, and it work. now I am trying to make react native working too :)

This is very cool! Is it also based on work by Google, or is it some other integration??

@ducpt2 @ekreutz sorry for my late reaction to your comments.
@ekreutz yes that's based on GMV. I want to change architecture of the current ios bridge (to make it cleaner and better) then I would like to do pull request.
@ducpt2 after architecture recreation. There won't be any ViewController stuff. That would be great to try on your side. Do you have successful compiling right now? If no, could you provide error message?

@sbobykin Thanks so much for your hard work on iOS implementation, i was successfully run your sample code and the scanning very fast. Great Job!

Am I the only one who gets 'GoogleMobileVision.h' file not found when compiling the xcode project?

@kirill578  try to re-locate those files (Files displayed in red). There is an error on the file path, it's appears 2 frameworks in the path, it's should be 1.

hi @kirill578 with which path to change the old one.

hi @daominhsangvn with which path to change the old one.

I solved it but got new error.
linker command failed with exit code 1 (use -v to see invocation)


Can't get TryImport to work

I'm having problems making the TryImport work. I set scss variable to a valid scss-statement but it is not added to the result
I have the code in this gist: https://gist.github.com/Asken/6d16c09fafacb6be1b0c835865c00546

Nevermind... My valid imported scss was just variables not used. When actually using them everything worked great.


Add int4 groupwise quantization metal kernels for linear layers

Stack from ghstack (oldest at bottom):

#319
#318
#317
-> #316

This diff adds:

int4 quant metal kernels
Add tests for it with group size = 32 using cmake build

TODO

Adding tests to CI
Custom op integration into pytorch (helps with testing via python)

Kernels are heavily inspired by MLX
Test runner is copied from Nikita Shulga's metal experiments repo.

Thanks! A couple of questions:

Is there any plan to add CPU 4-bit quantized kernels in the ao repo?

This is evolving. Ideally we would have quantized kernels for different backends aong with their coupling to quantizer, when possible, in AO.

Is there any benchmark numbers of this kernel, and how it's compared with other metal kernels, like those @larryliu0820 is exploring?

Mengwei's stuff is on 8-bit, plus gemm not gemv. Ones here are 4-bit. I will update the summary on top PR with results from the benchmarking binaries added in this stack.
Plus, this is aimed at setting up the infra in AO, so not focusing too much on which kernels. We can put more kernels and experiment here. Specifically I added llama_bench to imitate what is achievable using metal kernels. cc: @cbilgin

@kimishpatel thanks for adding the infra here. Can we summarize what you wrote in https://github.com/pytorch/ao/pull/311#issuecomment-2146580889 into a README.md?

I think CI job is something we should definitely follow up as soon as possible. If needed we should talk to dev infra folks on adding the CI infra.

overall I think we need to move away from the usual "kernels are hard to write, so they're hard to understand" approach and toward "way above average (for the kernel-writing space) readability".

Yes 100%. Thanks for the suggesetions and to be sure, I did intend to heavily comment this code. I just wanted to get this out, not necessarily land, to start thinking of other infra pieces we need to build

@swolchok I promise to add ton of comments. I will ping when ready.

Thanks! A couple of questions:

Is there any plan to add CPU 4-bit quantized kernels in the ao repo?

Yes.

Is there any benchmark numbers of this kernel, and how it's compared with other metal kernels, like those @larryliu0820 is exploring?

This is doing 4-bit kernel. Different from what Mengwei did.


poppler-glib out of date

Ping @tristelune1.
See: https://repology.org/projects/?inrepo=kiss_community&outdated=1

Thank you! I'll have a look on sunday.

PR #91 closes this issue.


IX Select: Search field can confuse users into thinking they have entered a valid value

Prerequisites

[X] I have read the Contributing Guidelines.
[X] I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

What happened?
When initializing an IxSelect without default value, the search input field does not reset when unfocusing the component. Multiple customers of us therefore thought they could also add a new value by just typing it in the input field.
What type of frontend framework are you seeing the problem on?
Angular
Which version of iX do you use?
v2.4.1
Code to produce this issue.
See country field here:
https://myneo.siemens.com/contact

Type e.g. "Germany - Bavaria", then tab/click out of the field. There is no way to visually differentiate the typed (invalid) value from a selected (valid) value

Hello @rouven-s,
Your issue has already been implemented and will be released within the next release: https://github.com/siemens/ix/pull/1456


Kaspersky detected the indexmap build-script exe as malware (false positive)

While I was running cargo +nightly check in my project (after updating rust to the latest version using rustup update), Kaspersky apparently detected the build-script for indexmap as being some form of malware ("VHO:Backdoor.Win32.Farfli.gen"):

This is presumably just a false positive, but figured I'd still create an issue for it, so others can find mention of it if searching on the detection themselves.
I also uploaded the file to VirusTotal, with the results seen here: https://www.virustotal.com/gui/file/b66a33cc39c6395088430109e2185649c81fa4ada73859962209ef8bbb8e9f45?nocache=1
As I'm confident there's not actual malware involved here (VirusTotal showed that out of 71 AVs, only Kaspersky and Cynet flagged it as malware), feel free to close. (just created the issue for searchability on the detection)

Yes, virus scanners often get false positives on build scripts that use autocfg -- it must be something about invoking Command::new("rustc") that hits their heuristics. And if your only recent change was rustup update, then you would have to suspect the entire toolchain if there were real malware.
FWIW, indexmap v2 doesn't use a build script anymore, so please upgrade!
(which might mean tracking down a dependency that still pulls v1...)


Foreign key name

Hello everyone ,
Is it possible to provide foreign key name ?
As I saw it is autogenerated by the following pattern:
Symbol:     fmt.Sprintf("%s_%s_%s", owner.Name, ref.Name, e.Name)
but sometimes it is required to provide own name

Hey @michaelkub! It's great to hear from you 😃
There's no way to configure it in the schema atm, but I can add it to the edge annotation later today and tag you. If you're looking for a workaround, you can use a migration-hook to change the foreign-key symbol and remove this workaround after we add this option.
client.Schema.Create(
    ctx,
    schema.WithHooks(func(next schema.Creator) schema.Creator {
        return schema.CreateFunc(func(ctx context.Context, tables ...*schema.Table) error {
            tables[i].ForeignKeys[j].Symbol = "<symbol>"
            return next.Create(ctx, tables...)
        })
    }),
)

BTW, I'd be happy to share with you my work on the new migration API. Feel free to join our Ent Slack channel and ping me privately if you're interested 🙏


[Question] Customizing Sidebar

Thanks so much for this beautiful, flexible theme.  I'm pretty new to building sites with Jekyll, so forgive me if this is a naive question.
I've been trying to customize some of the theme's elements, in particular the sidebar.  I've been able to customize in some of the ways I want by copying site-aside.html into my local _includes directory.  However, I wanted to turn off the low opacity until hover mechanism.  I tried to do so my copying _theme.scss to my local _sass.  Changes to this local file do not seem to impact my site.  If I change it directly in the gemfile, I get the customization I want.  But I'd prefer not to modify the gemfile itself.  Do you have any guidance for doing this sort of customization?  What am I missing?
Thanks for your help!

Hi @adam-m-jcbs, thanks so much for the kind words!!
You're going about this in the right way, but instead of copying the theme file try copying the main styles file (/assets/styles.scss). Makes sure to match the file path, front matter and import as shown here: https://github.com/daviddarnes/alembic/blob/master/assets/styles.scss
Then add underneath the following:
.main .aside {
    opacity: 1;
}

That should overwrite the opacity styling in the cleanest fashion. Hope this works!

That worked great!  Thanks!


Update manage-encryption-key.md

Added the clause of single tenant to avoid confusion among customers with multiple tenants

Took to live via internal branch.


add URI to resource load error

Previously, only ERROR failed to fetch remote resource: Forbidden would be shown when a resource failed to load. In my case, a tweet's author I was embedding using the twitter shortcode switched his profile to private which resulted in my blog failing to build. To figure out where the originates, I added the log to the error message. This should be useful for others too.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

The CI failure looked unrelated. I force-pushed to retrigger the CI, but it requires approval again.

This CI failure looked very related. There seems to be a test that includes the output of a resource load error. Updated that test to match the changes.

error for future refference

CI log
--- FAIL: TestResourceChainBasic (0.08s)
    resource_chain_test.go:103: Test run 0
    resource_chain_test.go:106:
        error:
          no substring match found
        comment:
          FAILED REMOTE ERROR DETAILS CONTENT: |failed to fetch remote resource: Not Implemented|Body: { msg: failed } not in:

          HELLO: /hello.html|/hello.fea61a7e7ba8eaf0c4a60a871f68ec8fc044457e12b8f602245eedee623fb063f0e88e47ccf748107485af995911cbda25493d4c7faa824014437cf8a0aaa1a4.min.375690f1152af3649ca0eda5a0686a0bc50a279c2b7fb1af73da088727f65d96.html|
Hello World!

          SUNSET: /images/sunset.jpg|/images/sunset.a9bf1d944e19c0f382e0d8f51de690f7d0bc8fa97390c4242a86c3e5c0737e71.jpg|900|90587
          FIT: /images/sunset.jpg|/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_fit_q75_box.jpg|200
          CSS integrity Data first: sha256-od9YaHw8nMOL8mUy97Sy8sKwMV3N4hI3aVmZXATxH+8= /styles.min.a1df58687c3c9cc38bf26532f7b4b2f2c2b0[315](https://github.com/gohugoio/hugo/actions/runs/8975174217/job/24650750324?pr=12271#step:15:316)dcde212376959995c04f11fef.css
          CSS integrity Data last:  /styles2.min.1cfc52986836405d37f9998a63fd6dd8608e8c410e5e3db1daaa30f78bc273ba.css sha256-HPxSmGg2QF03+ZmKY/1t2GCOjEEOXj2x2qow94vCc7o=

          SUNSET REMOTE: /sunset_8772799889021172246.jpg|/sunset_8772799889021172246.a9bf1d944e19c0f382e0d8f51de690f7d0bc8fa97390c4242a86c3e5c0737e71.jpg|900|90587
          FIT REMOTE: /sunset_8772799889021172246.jpg|/sunset_8772799889021172246_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_fit_q75_box.jpg|200
          REMOTE NOT FOUND: OK
          LOCAL NOT FOUND: OK
          PRINT PROTOCOL ERROR1: error calling resources.GetRemote: Get "gopher://example.org": unsupported protocol scheme "gopher"
          PRINT PROTOCOL ERROR2: error calling resources.GetRemote: Get "gopher://example.org": unsupported protocol scheme "gopher"
          PRINT PROTOCOL ERROR DETAILS: Err: error calling resources.GetRemote: Get "gopher://example.org": unsupported protocol scheme "gopher"||
          FAILED REMOTE ERROR DETAILS CONTENT: |failed to fetch remote resource from 'http://<IP_ADDRESS>:42757/fail.jpg': Not Implemented|Body: { msg: failed }
          |StatusCode: 501|ContentLength: 16|ContentType: text/plain; charset=utf-8|
        container:
          "\n\n\n\n\n\nHELLO: /hello.html|/hello.fea61a7e7ba8eaf0c4a60a871f68ec8fc044457e12b8f602245eedee623fb063f0e88e47ccf748107485af995911cbda25493d4c7faa824014437cf8a0aaa1a4.min.375690f1152af3649ca0eda5a0686a0bc50a279c2b7fb1af73da088727f65d96.html|
Hello World!
\n\n\n\n\n\nSUNSET: /images/sunset.jpg|/images/sunset.a9bf1d944e19c0f382e0d8f51de690f7d0bc8fa97390c4242a86c3e5c0737e71.jpg|900|90587\nFIT: /images/sunset.jpg|/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_fit_q75_box.jpg|200\nCSS integrity Data first: sha256-od9YaHw8nMOL8mUy97Sy8sKwMV3N4hI3aVmZXATxH+8= /styles.min.a1df58687c3c9cc38bf26532f7b4b2f2c2b0315dcde212376959995c04f11fef.css\nCSS integrity Data last:  /styles2.min.1cfc52986836405d37f9998a63fd6dd8608e8c410e5e3db1daaa30f78bc273ba.css sha256-HPxSmGg2QF03+ZmKY/1t2GCOjEEOXj2x2qow94vCc7o=\n\n\n\n\n\n\n\n\n\nSUNSET REMOTE: /sunset_8772799889021172246.jpg|/sunset_8772799889021172246.a9bf1d944e19c0f382e0d8f51de690f7d0bc8fa97390c4242a86c3e5c0737e71.jpg|900|90587\nFIT REMOTE: /sunset_8772799889021172246.jpg|/sunset_8772799889021172246_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_fit_q75_box.jpg|200\nREMOTE NOT FOUND: OK\nLOCAL NOT FOUND: OK\nPRINT PROTOCOL ERROR1: error calling resources.GetRemote: Get \"gopher://example.org\": unsupported protocol scheme \"gopher\"\nPRINT PROTOCOL ERROR2: error calling resources.GetRemote: Get \"gopher://example.org\": unsupported protocol scheme \"gopher\"\nPRINT PROTOCOL ERROR DETAILS: Err: error calling resources.GetRemote: Get \"gopher://example.org\": unsupported protocol scheme \"gopher\"||\nFAILED REMOTE ERROR DETAILS CONTENT: |failed to fetch remote resource from 'http://<IP_ADDRESS>:42757/fail.jpg': Not Implemented|Body: { msg: failed }\n|StatusCode: 501|ContentLength: 16|ContentType: text/plain; charset=utf-8|\n"
        want:
          "FAILED REMOTE ERROR DETAILS CONTENT: |failed to fetch remote resource: Not Implemented|Body: { msg: failed }"
        stack:
          /home/runner/work/hugo/hugo/hugolib/testhelpers_test.go:756
            s.Assert(content, qt.Contains, match, qt.Commentf(match+" not in: \n"+content))
          /home/runner/work/hugo/hugo/hugolib/resource_chain_test.go:106
            b.AssertFileContent("public/index.html",
                fmt.Sprintf(`
            SUNSET: /images/sunset.jpg|/images/sunset.a9bf1d944e19c0f382e0d8f51de690f7d0bc8fa97390c4242a86c3e5c0737e71.jpg|900|90587
            FIT: /images/sunset.jpg|/images/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_fit_q75_box.jpg|200
            CSS integrity Data first: sha256-od9YaHw8nMOL8mUy97Sy8sKwMV3N4hI3aVmZXATxH+8= /styles.min.a1df58687c3c9cc38bf26532f7b4b2f2c2b0315dcde212376959995c04f11fef.css
            CSS integrity Data last:  /styles2.min.1cfc52986836405d37f9998a63fd6dd8608e8c410e5e3db1daaa30f78bc273ba.css sha256-HPxSmGg2QF03+ZmKY/1t2GCOjEEOXj2x2qow94vCc7o=

            SUNSET REMOTE: /sunset_%[1]s.jpg|/sunset_%[1]s.a9bf1d944e19c0f382e0d8f51de690f7d0bc8fa97390c4242a86c3e5c0737e71.jpg|900|90587
            FIT REMOTE: /sunset_%[1]s.jpg|/sunset_%[1]s_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_fit_q75_box.jpg|200
            REMOTE NOT FOUND: OK
            LOCAL NOT FOUND: OK
            PRINT PROTOCOL ERROR DETAILS: Err: error calling resources.GetRemote: Get "gopher://example.org": unsupported protocol scheme "gopher"||
            FAILED REMOTE ERROR DETAILS CONTENT: |failed to fetch remote resource: Not Implemented|Body: { msg: failed }
            |StatusCode: 501|ContentLength: 16|ContentType: text/plain; charset=utf-8|

            `, identity.HashString(ts.URL+"/sunset.jpg", map[string]any{})))

Rebased on master and addressed conflicts. Would be nice to get this merged.
If there's no interest in this PR, feel free to close it.


Use lambda obj in the ignore case and do some refactoring

This PR fixes a small bug where yolo_options::lambda_obj was not being used in the ignore_iou case.
It's not a big deal, since the example uses the default value of 1, but still.
I also performed some refactoring to be more clear and reuse some computations.

Now I'm hesitating whether I should add lambda_obj in the ignore case…
On one hand, it allows weighting the objectness differently from the regression and the classification.
But on the other hand, having this asymmetry allows for changing the weights between the positive and the negative class in the objectness outputs. And the weights between objectness and regression and classification can still be adjusted with the other lambdas… So, I am not sure if this is needed… I don't remember what I had in mind at that time, but the current code seems more versatile.

Now I'm hesitating whether I should add lambda_obj in the ignore case… On one hand, it allows weighting the objectness differently from the regression and the classification. But on the other hand, having this asymmetry allows for changing the weights between the positive and the negative class in the objectness outputs. And the weights between objectness and regression and classification can still be adjusted with the other lambdas… So, I am not sure if this is needed… I don't remember what I had in mind at that time, but the current code seems more versatile.

Yeah what's in this PR seems like the right thing.  You have some reservations though?  I was just about to merge it :D

The only problem with this PR is if the use wants to use different weights for the binary loss in the objectness for the positive and negative cases. Currently, lambda_obj only affects the positive case. So, we can play around if we know that we have really big images and few objects on them (we can balance it out by setting lambda_obj to something larger than 1). And if we want to give more importance to the objectness, we have to reduce lambda_box and lambda_cls.
What I'm proposing in this PR won't allow for that use case anymore. It treats lambda_obj the same for the positive and negative case. That's why I'm not sure about it. I've seen some other repos that have lambda_obj and lambda_pos to handle this case, but I think it can already be done as it is now, without applying this PR... I don't know...

If we decide not to merge, I should update the docs about what lambda_obj means, then.

The only problem with this PR is if the use wants to use different weights for the binary loss in the objectness for the positive and negative cases. Currently, lambda_obj only affects the positive case. So, we can play around if we know that we have really big images and few objects on them (we can balance it out by setting lambda_obj to something larger than 1). And if we want to give more importance to the objectness, we have to reduce lambda_box and lambda_cls.
What I'm proposing in this PR won't allow for that use case anymore. It treats lambda_obj the same for the positive and negative case. That's why I'm not sure about it. I've seen some other repos that have lambda_obj and lambda_pos to handle this case, but I think it can already be done as it is now, without applying this PR... I don't know...

Sure, sometimes having that lever is useful.  Not sure what the maximal usability goodness is here though.  You have been using this the most so I'll defer to your opinion about what's nicest :)

Honestly, I've never touched that parameter in my life, haha, I've always left all lambda set to 1. YOLOv3 does not even have them. I added them to have a generic loss and not to deal with different versions of the yolo_options in the serialization, if we decide to add them at some point.
With these large PR, I sometimes go back and read them again with a new set of eyes because I want to make sure there are no bugs before there's a new stable release of dlib.
Let me think a bit…

I think we can merge it. It is consistent with the canonical YOLOv4 implementation, which also doesn't distinguish between the positive and the negative case for objectness.
The main goal of the objectness is similar to the focal loss: compensate the huge imbalance of cells with objects vs cells without objects, and YOLOv4 does it like this (same weight for positive and negative case), and it's quite battle tested, so I would say it's already good.
Sorry for the confusion.

Na, all good details to be concerned about :)

I love the term maximal usability goodness


File size increase on download tranfer

Trying to use the library (on file who made 80Mo), I get a file with 81677962 bytes which become after the download to a size of 81969152.
I have take a look on the difference, and I found some additional bytes on 0x0A which was converted to 0x0D 0x0A.
Do you have any idea of the issue ?

@MarcAntoine-Arnaud have same problem
set transfer_type to FileType::Binary helps
ftp_stream.transfer_type(FileType::Binary);

https://users.rust-lang.org/t/solved-ftp-upload-any-file/7107/4

This should be included in README (or examples), I got stuck 2 hours trying to understand why my .gz file could not decompress.


Region of interest analysis

Currently statistics are computed per channel. Need to implement a way to collapse multiple channels to a region of interest analysis.
The computation/statistics are described in equations 36-37 in section 6.3 of Santosa, Hendrik, et al. "The NIRS brain AnalyzIR toolbox." Algorithms 11.5 (2018): 73.

Regions of interest should be specified in the same manner as in MNE plot image...
group_by=dict(Left_ROI=[1, 2, 3, 4], Right_ROI=[5, 6, 7, 8])

Closed in #137


Organize view model directory

Fixes #857

this looks like a LOt of changes... about half of the changed files are a result of running "remove unused usings" across the entire /Web/AppReady proejct. The other half are the relocation/namespace changes for ViewModel organization

@mgmccarthy can you rebase off of your other PR now that I merged and I will pull this in while there aren't a lot of outstanding PRs

@tonysurma I'll take care of it tonight

Thx!


API for test suite and CLI

The idea here is to pull the guts of the compiler, which are fairly intertwined with the test suite at the moment, into a "compiler driver" module to be created in the fathom crate.  Eventually, the hope is that this closes #261.
For now, :warning: this is still extremely messy, and will need a lot of TLC :warning:

This was addressed as part of #283 :)


Throw warning/exception if DATABASE_URL isn't set

Fixes https://github.com/jazzband/dj-database-url/issues/114
Along the way, to make the test cleaner, it fixes all the explicit "set os.environ" calls with mock.patch work instead.

Whilst I get what this PR is trying to do I do not think adding in extra parameters is the correct way to do this. It seems like a messy API design.
We also need to be wary that a user might want the default to be None in which case you have changed the api.
I think this needs to be thought over before proceeding.

Whilst I get what this PR is trying to do I do not think adding in extra parameters is the correct way to do this. It seems like a messy API design.

Agreed, but I thought that was where consensus in https://github.com/jazzband/dj-database-url/issues/114 had gotten to, hence adding it. I can remove that bit if you want.

We also need to be wary that a user might want the default to be None in which case you have changed the api.

If they do that, then it won't configure a database at all. I'd say that the working assumption for this library is "users always want a DB", and that warnings should flag if we're failing to do that. So, anything other than None is a perfectly good value and should be fed to parse, but None should warn IMHO.
Thoughts?

@ddelange @mattseymour I've updated this in line with the description now in https://github.com/jazzband/dj-database-url/issues/114#issuecomment-1406861561 which I think is the right middle ground here. Thoughts? Can I merge?


dial tcp <IP_ADDRESS>:443: i/o timeout

1 reflector.go:199] github.com/containous/traefik/vendor/k8s.io/client-go/tools/cache/reflector.go:94: Failed to list *v1.Secret: Get https://<IP_ADDRESS>:443/api/v1/secrets?resourceVersion=0: dial tcp <IP_ADDRESS>:443: i/o timeout

Looks like you cannot connect to your Kubernetes API server. This seems unrelated to Traefik per se.
For further end user support, please join the Traefik Slack channel or submit a question to Stackoverflow; the issue tracker is meant for feature requests and bug reports only. If you think this is indeed a Traefik bug, let us know and we'll reopen the issue.


[7.0.rc2] Count Distinct throws error

The following code produces an exception:
await TheSession.Events.QueryAllRawEvents()
            .Where(x => x.MaybeArchived())
            .Select(x => x.StreamKey)
            .Distinct()
            .CountAsync();

The exception being:
System.NotSupportedException : The database operator 'DISTINCT' cannot be used with non-simple types

This previously worked in Marten 6.3.0 and was picked up by tests when upgrading.

I did test your use case with the latest code and it looks to be working fine. @jeremydmiller  looked to have added few fixes yesterday. Please test the same in the next release.

Fixed in my local branch.


Latest 15.0.0 version is not compatible with Spring boot 3.0.2 and spring security 6.0.1

Describe the bug
After doing regular library upgrade in one of our project I got issues with the security of our "/graphql" endpoint.
My security settings are not applied to the "/graphql" endpoint. So my graphql endpoint it publicly available in theory. Because of the PreAuthorize annotations every request fail because no security context is available.
I verified that my security settings where working correctly with an additional rest endpoint where everything worked like expected.
The issue was only there with the "/graphql" endpoint
I tried everything in a clean small project. The same result
To Reproduce
Steps to reproduce the behavior:

Get latest spring boot version (3.0.2) and spring security version (6.0.1)
Secure with a simple basic auth the "/graphql" endpoint
Run the application
Try graphql query without any Authorization Header -> Request passed
Add @PreAuthoirze annotation on graphql function implementation and try request again -> Error "An Authentication object was not found in the SecurityContext"

Expected behavior
Spring security settings are securing "/graphql" endpoint
Additional context
With previous version of your library and spring boot 2.7.4 and spring security 5.7.3 everything worked as expected.
I attached a small demo security project as an example
security-demo.zip

Just curious, any workaround for the time being?

Thanks @ghoshrahul, your solution worked. Tested it today.


Hi3Helper.Http Submodule Update (May 2024)

Pull Request Overview
As a continuation of PR No. #72 and due to some changes happening on the Hi3Helper.Http submodule, I decided to update the code and its usages in order to provide fixes and improvement to this project.
What's Changed on Hi3Helper.Http?

Using the new callback method for retrying mechanism
Bring back the code support down to .NET Standard 2.0 / .NET Framework 4.6.2
Switching to directly read the data instead of waiting the buffer to full from the network stream
Start the download session sequence fully asynchronously, even on .NET Standard 2.0 support

What's Fixed?

Fixed noisy background throws due to overhead on the old TaskExtension's Timeout method
Fixed incorrect define constants usage
Fixed any potential stream disposal issues (including the one caused by DeleteMultisessionFiles())

Got some conflicts due to outdated fork's branch before. Now all the conflicts should've been resolved.

Looks nice, as usual many thanks for this!


Non-determinism in returned lists and iterations of function xrefs

Goal: to get a consistently ordered list of functions, x-refs, phi node elements, etc which we can iterate over deterministically
Will add an example shortly #

Pretty sure this is due to prolific usage of std::unordered_map for storing things for performance reasons

Yeah I'm not sure its possible to fix but would be handy for API usability

I just added __lt__ to class Function and class ReferenceSource so you can just .sort() or sorted(list) on them.
I think most of the other common classes should have it too, but let me know if you find any other missing ones.


Build libspdlog.a with -fPIC by default

-fPIC is required so the static lib*.a we are building can also be used inside a DSO on Linux.
See also https://github.com/gabime/spdlog/issues/1405

Thanks for the fix but I am confused about the issue.  Aren't we building a static .a and not a DSO?  OR is statically linked.
Can you describe the scenario in which this problem manifests?

Can you describe the scenario in which this problem manifests?

Language bindings to other languages require the component (OR) to be loaded as a DSO.
An additional SWIG configuration is added to OR tree, built alongside existing SWIG and the output is a DLL and linkage files that provide access to APIs.  At the moment ODB API access is the main goal.
When auditing it was found spdlog the only component preventing this from happening as-is, because it emitted a particular non-PIC symbol by default.  As this seemed a simple fix putting this commit in is to understand if there are any negative impacts on doing this.
Another strategy maybe to replace the spdlog component completely with an C++ ABI compatible component that builds and links with the DLL to provides equivalent function (i.e. not using spdlog at all), with the other language taking control of logging.
Another strategy is to build spdlog twice, once like now and once with -fPIC.


Project Title is not displayed

Hi everyone,
I have a problem: when I launch my application, I don't see my project title (Gestione Rapportini).
It seems that a CSS rule is missing, but I don't know what it is.
My site.css and site.less are the same as the Serene Project on GitHub.
In the browser console, I see the title, but it's not displayed in the page. Maybe, I have to add a rule in my site.default.less ...
I show you my HomePage:

and my browser console:

Could you please help me ?
Thanks all for your time :)
Chiara

This text comes from the :   "Navigation.SiteTitle": "mytitle"
in your : App_Data\texts\user.texts..json  ( being your local text settings)

Thanks @kilroyFR: now it worked. You're right: the problem was that the title was too long. I've chosen a shorter name.
Thanks for your time :)


Git: Disable status bar sync setting doesn't work

"git.enableStatusBarSync": false,

Reload Window
🐛 Sync entry is shown again

Version: 1.39.0-insider (user setup) Commit: 9414b7e75bdbef887c76cb603e542db2b86b99b7
OS: Windows_NT x64 10.0.18362

Can confirm it happens on macOS with VSCode version 1.38.0


ReStructuredText language support

I love to work with this theme, but ReStructuredText (a documentation language I use a lot) comes off very monotone, even for my tastes.
If more use could be made of nord-atom's color palette, I think it would improve the readability of ReST documents.
Thanks!

Thanks for your proposal 👍
I rarely used ReST docs and thought the markup or markdown/gfm selectors would include th scope for these files, but it looks indeed a bit too monotone because some element selectors are language specific.
I've implemented optimized styles for

normal, phase and anonymous references
interpreted texts
fields lists
line-block symbols

You can test it by checking out the 🌱 feature/ghi-#37-restructuredtext-language-support branch.

Thanks for the quick update!
What do you think about having bold and emphasized spans sharing the color of the asterisks surrounding them? I find it makes them stand out in a good way and could even see one of them taking on the pinkish hue from the nord palette (usually used by numbers I think).
If however, that would go against your minimalist design philosophy, I can understand that angle.

I like the idea to have bold and italic elements to be colored with their key characters, you can pull the latest commit to get the changes 😄
But if you'd like to colorize them with nord15 feel free to add it to your ~/.atom/styles.less file:
  .syntax--markup {
    &.syntax--bold,
    &.syntax--italic {
      color: @syntax-color-number;
    }
  }

Sorry for the delay 😉
🚢 Shipped in APM 📦 package release version 🏷  0.7.0.

Just received the update over the regular channel. Really digging that final color composition! Thanks for your efforts on this literally cool theme, it helps me stay focused  :relieved:


Upload Object: Align lakeFS object mtime with block adapter mtime as much as possible

lakeFS mtime and storage mtime may vary due to several reasons.
Changes in metadata for example where the object is updated in lakeFS only can cause these values to be completely different.
Recently we've encountered issues with Databricks and S3GW where objects which had a lakeFS mtime < storage mtime would fail batch jobs.
This is because Databricks started using IfUnmodifiedSince header in their request to validated objects were not modified during job.
The failure results from Databricks reading mtime from lakeFS and then sending request directly to S3 using IfUnmodifiedSince with that value.
An initial fix to lakeFS was done ensuring creation time of object in lakeFS is calculated only after object was uploaded to storage.
This fix seems insufficient especially for small objects as small skews in clock between lakeFS server and storage service could result in the aforementioned state.
The proposed solution is to provide object mtime or server time from the put object response as possible to avoid this situation.

Here's another one!  It always happens, and gives an incorrect time in half the cases on the S3 gateway -- and makes lakeFS respond with a Last-Modified time that is 1 second before the S3 Last-Modified header.  Even when they have the same time.
Fortunately the fix for this one is easy enough, I have an easy reproduction.
Intrigued?  This is for a 50-MiB object that I uploaded in order to test the fix for #8311:
❯ lakectl -c ~/.lakectl.s3.yaml fs stat lakefs://sample1/boo/xyzzy/foo
Path: xyzzy/foo
Modified Time: 2024-10-30 16:24:15 +0200 IST
Size: 4 bytes
Human Size: 4 B
Physical Address: https://treeverse-ariels-test-us.s3.us-east-1.amazonaws.com/repos/sample1/data/gcmc37nqmpl146vlicg0/csh433vqmpl146vlicig%2CCPR8TZMSXp2nLbbuIjptMNjUtQAuLBkAxpqqiyKOomM?DELETED-THIS-STUFF
Physical Address Expires: 2024-10-31 08:49:35 +0200 IST
Checksum: d3b07384d113edec49eaa6238ad5ff00
Content-Type: application/octet-stream
❯ http --head  get 'https://treeverse-ariels-test-us.s3.us-east-1.amazonaws.com/repos/sample1/data/gcmc37nqmpl146vlicg0/csh433vqmpl146vlicig%2CCPR8TZMSXp2nLbbuIjptMNjUtQAuLBkAxpqqiyKOomM?DELETED-THIS-STUFF'
HTTP/1.1 200 OK
Accept-Ranges: bytes
Content-Length: 4
Content-Type: binary/octet-stream
Date: Thu, 31 Oct 2024 06:34:48 GMT
ETag: "d3b07384d113edec49eaa6238ad5ff00"
Last-Modified: Wed, 30 Oct 2024 14:24:16 GMT
Server: AmazonS3
x-amz-id-2: nEw8qFHG08fkV8KNgAB9oYpw0lSLZx4JYDXgnhiduu9BU1qLeZHcnRhJ0Vnv/tWKAdYg6zn/SiQ=
x-amz-request-id: DHT8D2M278J2QBXD
x-amz-server-side-encryption: AES256

The Last-Modified date from lakeFS is 1 second before the same date on AWS.  This looks like rounding error when converting accurate time.Time to 1-second precision for Last-Modified 🤦🏽

The fix in question is for put object only, and not for MPU. I think we should separate the issues and the fixes


packwiz considers newer version of mod on Modrinth to be "older" than an earlier version

When running packwiz update --all, it appears to not consider Create's version v0.5.0d to be newer than version v0.5.0c. It did not automatically update to this newer version, and after manually running packwiz mr get https://modrinth.com/mod/create/version/xRw8XV1l, it even wants to downgrade.

Same with its dependency, flywheel. I suppose this has something to do with them changing their version strings? Create added a dot between the SemVer and letter they use, and Flywheel switched around the Minecraft version and mod version in their version string.

Not sure if related, but packwiz also just downgraded Supplementaries (CurseForge) from 1.4.8 to 1.4.7? I can't reproduce it a second time, though. I'll have a closer look at what the update command does in the future.

The semver comparison does consider 0.5.0.d lower than 0.5.0c, that's consistent with the semver standard... unfortunately quite a few mods aren't compliant with semver, it's not enforced by Modrinth - I might have to switch to just comparing by release timestamp.
Flywheel might be fixed now, they seem to have removed Minecraft versions from all the version fields. I can't reproduce the Supplementaries problem, it might be an issue with the CF API.

To be fair neither 0.5.0.d nor 0.5.0c are valid semver version numbers, so I'm unsure how you'd even begin to sort them. You can't have third dot in the version, and the major, minor and patch numbers can't just have random letters in them. Only 0.5.0-e would be valid. (I might have written my own lenient SemVer parsing library once, so I know the pain.)

The full version is 1.18.2-0.5.0.d so the two versions are compared on the prerelease data, not version numbers themselves - under semver section 11.4.3 "Numeric identifiers always have lower precedence than non-numeric identifiers"; hence 0 < 0c

Yeah... I suggest you report this to the Create devs, unfortunately this kind of issue will keep cropping up. It would help a lot if Modrinth enforced a standard way of comparing versions - if I only compare by release timestamp as their update endpoint does, it would break version comparison when an author releases versions out-of-order. The version number field is essentially useless if it has no defined semantics; heuristics only go so far.


GitHub logged in status not detected, still asked to sign in with GitHub

New to Giscus. I've installed the widget in our Docusaurus staging environment using @giscus/react, and noticed the "Sign in with GitHub" button. I'm already signed into GitHub. Any way to detect that, the way the Facebook comments widget does, cross-origin?
I know giscus needs to obtain user permissions from GitHub to act on their behalf, but the "Sign in with GitHub" wording might suggest the widget hasn't detected that the user is signed into GitHub already. Maybe "Sign into Giscus with GitHub" would be clearer, since the user knows they haven't signed into Giscus yet?

Any way to detect that, the way the Facebook comments widget does, cross-origin?

Unfortunately, no. Facebook's comments widget is first-party, so it can reuse the cookies.
I think "Sign in with GitHub" is clear enough, the keyword is "with" (i.e. it doesn't read "Sign into GitHub").
"Sign into giscus with GitHub" is too verbose for the button, so thanks for the suggestion but I'm not going to accept it.


wikitext-2 data asset is being leveraged in the walkthrough, without showing how to create the data asset.

In the Inputs section, we are leveraging wikitext-2, a data asset, however we are not showing how to create this store or what data store it refers to. This won't help the readers for this particular walkthrough, unless they already know how to create the source and then put this together themselves.
Can we please add a section showing how we created wikitext-2 data asset?

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

ID: a291e788-ae29-94e7-6810-6c45f0ee49d1
Version Independent ID: 3654ebfd-0edc-b721-9406-22ecb4f60623
Content: Create a Training Job with the job creation UI - Azure Machine Learning
Content Source: articles/machine-learning/how-to-train-with-ui.md
Service: machine-learning
Sub-service: core
GitHub Login: @wenxwei
Microsoft Alias: wenxwei

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


OPER-5336 Update AWS SDK library

This PR updates the AWS SDK to a modern version with support for authentication via Web Federated Identity. While is designed to be a drop-in replacement for applications that already use Chore, there are various API changes in the AWS SDK, some of which have necessitated API changes in Chore::Queues. Hence I have incremented the major version of the gem.
Along the way, I have made a bunch of QOL updates to the documentation. Hopefully people will find them useful :)

Submitted to ops team for a first pass review. Will expand out to more people when this has passed through that filter.

@alanbrent Could you provide a more comprehensive overview of what changes were made and why they were made?  It would be helpful to know what were QOL changes, what were bug fixes, what changes were made to explicitly support the AWS upgrade, etc. etc.
It seems like there's a lot of stuff in this PR that's not specifically for the AWS upgrade, but I'm not certain.
As a side note, is it possible to split out the changes into logical commits if they are unrelated to each other?

@obrie I've updated the top comment as well as re-carved the commit history. Hopefully this helps, and definitely let me know what else you'd like to see in the top comment!

Alright I think we're ready for the next round. Thanks for all the feedback :)

Thanks @ehealy for catching a bug in the consumer whose fix is captured in the diff below. I have updated the PR with a fix as well as an additional spec to more fully test the complete method.
diff --git a/lib/chore/queues/sqs/consumer.rb b/lib/chore/queues/sqs/consumer.rb
index 7a76d49..4ca8ed5 100644
--- a/lib/chore/queues/sqs/consumer.rb
+++ b/lib/chore/queues/sqs/consumer.rb
@@ -58,8 +58,8 @@ module Chore
         # @param [String] message_id Unique ID of the SQS message
         # @param [Hash] receipt_handle Receipt handle (unique per consume request) of the SQS message
         def complete(message_id, receipt_handle)
-          Chore.logger.debug "Completing (deleting): #{id}"
-          queue.delete_messages(entries: [{ id: id, receipt_handle: receipt_handle }])
+          Chore.logger.debug "Completing (deleting): #{message_id}"
+          queue.delete_messages(entries: [{ id: message_id, receipt_handle: receipt_handle }])
         end


⚠ Secret Website 3 has degraded performance

In 4eba6f6, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2490 ms

Resolved: Secret Website 3 performance has improved in 1156295.


Auto style cartography checklist

This list is for self-reference, checks mean I've internally implemented the item, not that it's been merged or even committed.
Prerequisites:

[x] Autostyle base functionality #304
[x] Jenks https://github.com/CartoDB/d3.cartodb/pull/181
[x] Heads/Tails https://github.com/CartoDB/d3.cartodb/pull/182
[x] Distribution type calculation https://github.com/CartoDB/cartodb.js/pull/1256
[x] Cartocolor support in turbo-carto https://github.com/CartoDB/turbo-carto/pull/19
[ ] Histogram cluster detection
[ ] Styling based on basemap

From histogram:
Points

[ ] Sized by value #327
[x] Colored - J&L #328
[x] Colored - F #330
[x] Colored - C #329
[ ] Colored - A #332

Polygons

[x] F #346
[x] C #348
[x] A #345
[x] J&L #347

From category:

[ ] Points #326
[ ] Polygons #331

Extras:

[ ] Compound auto styling (histogram + category on same layer) #341

@javisantana @makella

@fdansv this is great!
One note, for the Polygon > F I used a different color ramp than the points. Every other distribution is the same for points and polygons.

@fdansv i owe you lines!! will be in the issues soon

I'm closing issues whose tasks have been completed

I feel like this checklist has done its job, let's rely on separate issues for pending tasks related to autostyling.


Research how zone/angular polyfills should be added

There have been some changes to how zone and angular-polyfills are added to projects. Research the correct way and update our starters appropriately.
Related: #185

And for the starters: https://github.com/driftyco/ionic2-app-base/blob/master/package.json

Right now we use angular2-polyfills for zone.js and reflect-metadata, which I believe is what Angular recommends at the moment. We also include es6-shim for compatibility on platforms where Promises and Collections aren't natively supported, which might be overkill according to https://github.com/angular/angular/issues/7124.
https://github.com/angular/angular/blob/master/modules/angular2/docs/bundles/overview.md#tldr
https://github.com/angular/angular/blob/master/modules/angular2/docs/bundles/overview.md#polyfills-and-external-dependencies
Angular2-webpack-starter uses core-js: https://github.com/AngularClass/angular2-webpack-starter/blob/master/src/polyfills.ts
Somewhat related: https://github.com/angular/angular/issues/5755

We could almost get away with not polyfilling promises: http://caniuse.com/#feat=promises

So after npm install, this is expected ?
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

@keithdmoore Hey! So yep this is expected for right now, i put up an issue explaining why you would get these warnings here: https://github.com/driftyco/ionic/issues/6311. Thanks for using ionic!


SqlAzureDapacDeployment Broken when trying to add IP Address Ranges on Private Agent

Problem Description
There is a bug in the Utility.ps1 that checks the connection for the IP address range that expects a the sqlcmd.exe to be in the PATH. This breaks any existing release on an agent that does not explicitly have sqlcmd.exe in the PATH.
Line 26 has the sqlcmd.exe hard coded when they should either use the Execute-Command as demonstrated here, or use the Get-SqlPackageOnTargetMachine to find the file path.
Expected Behavior
It works without error.
Actual Behavior
A failed release and the following error message ##[error]The term 'sqlcmd.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Work around: Add a powershell VSTS task as a first step in the build/release definition. Use the "Inline Script" type.
Inline Script contents:
# https://github.com/Microsoft/vsts-tasks/issues/3993
$sqlcmd = "C:\Program Files\Microsoft SQL Server\110\Tools\Binn";
Write-Host "##vso[task.setvariable variable=PATH;]${env:PATH};${sqlcmd}";

Tweak $sqlcmd as necessary.

We have fix ready, we are in the process of validation. We will update you as soon it is rolled out

Fix is rolled out to all the accounts. Now your task should work without having sqlcmd.exe in PATH. Please let me know if any one you still facing issue.


[VS Code] Joining collaboration session: Could not load file or assembly 'System.Runtime.Serialization, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.

Error:
Joining collaboration session: Could not load file or assembly 'System.Runtime.Serialization, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.4.0-dev

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.31.1

platformName
MacOS

platformVersion
16.7.0

Closing as a duplicate of #1745.


[Event Request] table 7302 "Bin Content" - OnValidateBinCodeOnAfterTransferFieldsFromBin

Can we please get the following event?
field(3; "Bin Code"; Code[20])
{
    Caption = 'Bin Code';
    NotBlank = true;
    TableRelation = IF ("Zone Code" = FILTER('')) Bin.Code WHERE("Location Code" = FIELD("Location Code"))
    ELSE
    IF ("Zone Code" = FILTER(<> '')) Bin.Code WHERE("Location Code" = FIELD("Location Code"),
                                                                        "Zone Code" = FIELD("Zone Code"));

    trigger OnValidate()
    begin
        if (CurrFieldNo <> 0) and ("Bin Code" <> xRec."Bin Code") then begin
            CheckManualChange(FieldCaption("Bin Code"));
            GetBin("Location Code", "Bin Code");
            Dedicated := Bin.Dedicated;
            "Bin Type Code" := Bin."Bin Type Code";
            "Warehouse Class Code" := Bin."Warehouse Class Code";
            "Bin Ranking" := Bin."Bin Ranking";
            "Block Movement" := Bin."Block Movement";
            "Zone Code" := Bin."Zone Code";
            OnValidateBinCodeOnAfterTransferFieldsFromBin(Rec, xRec, Bin); //NEW
        end;
    end;
}

[IntegrationEvent(false, false)]
local procedure OnValidateBinCodeOnAfterTransferFieldsFromBin(var BinContent: Record "Bin Content"; xBinContent: Record "Bin Content"; Bin: Record Bin)
begin
end;

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


1:N relations with arrays breaks the codegen

Using 1:N relations with arrays breaks the codegen of the kallax.go
Given:
type Person struct {
	kallax.Model
	ID   kallax.ULID `pk:""`
	Pets [2]*Pet
}

The generated code is:
func (r *Person) NewRelationshipRecord(field string) (kallax.Record, error) {
    switch field {
    case "Pets":
        return new(2]*Pet), nil
    }
    return nil, fmt.Errorf("kallax: model Person has no relationship %s", field)
}

what does not compile cause return new(2]*Pet), nil
Tests in https://github.com/src-d/go-kallax/pull/106
notice:
It is affected the Remove-Relation method too, when the relation is array-type. In that case, the generated remove method is "remove 1:1" kind, instead of  "remove 1:N" kind

We decided to remove arrays as relationships and leave only slices in the end.


:bug: Hide the placeholder until the input has focus

Did you confirm this fix/feature is something that is needed? Yes, Issue #2
Did you write automated tests? Yes
Did you add documentation for the changes you made? Updated the dummy/app/templates/application.hbs to remove the TODO
In lieu of a style guide, did you match your code style to the rest of the project? Yes

Thank you so much for the PR! This will ship out with v0.0.37 👍


Expending game: asking user for more ships

Although this could maybe be more easily configurable (a possible addition could be to make a CLI with arguments for these basic game parameters or ask for it during initial phase without CLI (like you do for player name)).

Not sure if we want to do that.


tests: adds a docker_cluster scenario

This tests containerized deployment of 1mon, 1osd, 1mds and 1rgw node on a centos atomic host.
Let's not merge this until I get the CI updated to run this scenario so we can verify it's going to work correctly.

jenkins test ansible2.2-docker_cluster

jenkins test ansible2.2-dmcrypt_journal

jenkins test ansible2.2-xenial_cluster

docker_cluster failed because I forgot to change scenario.py to know that it's testing for 3 mons now instead of one, will fix. The playbook run itself completed correctly.


flannel not cleanup

At first, I start a kubernetes cluster A using flannel with default <IP_ADDRESS>.
Then I start a new kubernetes cluster B using flannel with <IP_ADDRESS>.
One day, I decide to tear down the cluster A and move all the nodes to cluster B.
I cleanup all the nodes with
kubeadm reset
systemctl stop kubelet
systemctl stop docker
rm -rf /var/lib/cni/
rm -rf /var/lib/kubelet/*
rm -rf /run/flannel
rm -rf /etc/cni/
ifconfig cni0 down
brctl delbr cni0
ifconfig flannel.1 down
systemctl start docker

Then I join them into cluster B.
Expected Behavior
The cluster A nodes should have a flannel.1 like 10.83.x.x after joining cluster B.
Current Behavior
The cluster A nodes still have 10.244.x.x after joining cluster B.
Possible Solution

Steps to Reproduce (for bugs)

start a kubernetes cluster A using flannel with default <IP_ADDRESS>.
start a kubernetes cluster B using flannel with  <IP_ADDRESS>.
tear down cluster A and join all the nodes to cluster B

Context

Your Environment

Flannel version:
Backend used (e.g. vxlan or udp):
Etcd version:
Kubernetes version (if used):
Operating System and version:
Link to your project (optional):
flannel: v0.8.0-amd64
etcd: 3.0.17

See also #739

Found a way see https://stackoverflow.com/questions/46276796/kubenetes-cannot-cleanup-flannel/46438072#46438072


Positional Argument Binding Index

Hi,
One thing I find a bit awkward is arguments in the sql statement and the bind arguments. The arguments in a sql statement are indexed from 1 and the arguments that bound are indexed from 0
ie:
.createStatement("insert into foo values ($1, $2, $3, $4)")
                                .bind(0, v1)
                                .bind(1, v2)
                                .bind(2, v3)
                                .bind(3, v4)
                                .execute()

I think it might nice if the bindings started from same place - so they both start are 0 or 1.

R2DBC uses native parameter bind markers and drivers have to adhere to rules imposed by the driver. For me, this ticket has three facets:

Does Postgres require bind markers to start with $1 or can it also start with $0. That's something to elaborate in https://github.com/r2dbc/r2dbc-postgresql.
Indexed arguments start with 0 or 1: We've seen API that started with index 1 rather than index 0 and this caused a lot of confusion. R2DBC starts with index zero which feels the natural choice. Drivers that represent their first bind marker with a different number than 0, should still allow indexed binding starting at index zero.
The question that arises from here is the order of indexed parameters. While ordering for Postgres (numbered parameters) seems somewhat clear the actual question is: Which one of the following should apply:

.createStatement("insert into foo values ($2, $1)")
                                .bind(0, v1)
                                .bind(1, v2)
                                .execute()

Does bind marker substitution by index 0 apply to $1 or $2? We will see a similar question arise around named bind markers (e.g. createStatement("insert into foo values (@foo, @bar)") for SQL Server).

What if we started the driver implementation bind markers from 0, too? That would differ from JDBC but at least make a consistent API. We have a chance to start from a clean slate and can learn from design choices that caused confusion with JDBC and improve on those.

This was one of the reasons that the original API didn't expose binding by index; it was eventually added to allow clients to do positional binding.
I (and the PostgreSQL wire protocol) consider the $# style to be a variant of named bind markers.  NOTE that this is a PostgreSQL syntax, not a general substitution syntax.  They are passed through in the SQL statement and then substituted in from a zero-indexed (with +1 added to match the names) array on the server.  I always recommend to people that if you plan on using $1, $2 etc, you should do the same in the binding:
.createStatement("insert into foo values ($1, $2, $3, $4)")
                                .bind("$1", v1)
                                .bind("$2", v2)
                                .bind("$3", v3)
                                .bind("$4", v4)
                                .execute()

On the other hand, that you've gone straight to positional binding is a good datapoint; it might be that named bindings (including $#) aren't actually the preferred system for users.  Given the mayhem that JDBC's one-indexed substitutions resulted in, and the fact that mismatch only shows in PostgreSQL's substitution grammar so far, I'm of the opinion that we want to stick with zero-indexing.
@gregturn I'd expect the H2 driver's binding to be zero-based and then +1 to get to the H2 internal style.  Is this accurate?

Drivers should generally state how they prefer parameter binding. Drivers should prefer either positional or named binding. For Postgres, we can use both because an integer can translate well to the $# syntax. For SQL Server, we require named binding because SQL server has no notion of parameter indexes.
MySQL supports only positional binding because they are using anonymous bind markers that are identified by their positional occurrence.
See #117 for refinement on the specification.


ScanNetworks returns no results

During the network Commissioning, the app notifies the sub-device to scan the surrounding Thread network through the ScanNetworks command and returns it to the app, but the scan result is not returned. It is suspected that during the BLE connection, scanning the Thread network will cause BLE and thread conflicts, thus losing the scanning results. Eventually lead to no thread network information returned

Scan network should be done once the device is commissioned and can communicate with the chip-tool. It can then Scan for thread networks in his vicinity. I might not understand what you are attempting.

The App wants to know whether there is a suitable Thread network near the device during the network Commissioning process, so as to give the user a prompt

After the device PASE is completed, the app will scan the thread network. This is a new feature added to our app

@jmartinez-silabs The use case for ScanNetworks that led to it being added to the spec is to use it during commissioning to see which networks the device can see.
See step 11 of commisioning flows in the spec, where it says:

Commissioner MAY learn about the networks visible to the Commissionee using ScanNetworks command (see Section <IP_ADDRESS>, “ScanNetworks Command”).

as part of talking about sending AddOrUpdate*Network to the commissionee.

@bzbarsky-apple Yes I understand Boris. What I meant is that with the current examples and use of chip-tool you cannot use it to just do a BLE connect and send a scan thread network. You need to do the ble-thread command to commission the device and then you can send scan-network command. In that use case, it can be useful to see other networks and the area and maybe change network with the AddOrUpdate command.
However, @ChengqiangShe does seem to either have modifications in the chip-tool or his own controller. If that is the case, that can totally work but he also needs to make sure the end device is in the right thread state to scan. Currently, before any commissioning attempts the device thread status is disabled.

@jmartinez-silabs - it sounds like we need to add some test cases to make sure ScanNetworks can be called over the PASE connection (before AddNetworks has been called). That is the most likely/useful time to use this command.

@ChengqiangShe is there still an issue left here?


Data transformation

This PR include a few improvements:

Now it's possible to show the program version via cell --version or cell -v
Use :inet instead of :inet_parse for the Inet module
Change the code style for commands, now in each command you can see the all workflow of the data transformation.

As always, any feedback is more than welcome.

Thanks for all your hard work -- I've not been able to review most of this yet, but hope to do so within the day.

I think its awesome that you are taking the time to lint this code. I'm just curious about the pipe indentation. I've noticed in mix phoenix.gen.* the code generates is not indenting the pipe as well. Is this the going forward style choice?

@mobileoverlord Good catch! Normally I prefer this way:
cell.location
|> Path.join("/sys/firmware/current")
|> HTTPotion.put(~s({"status": "provisional"}), ["Content-Type": "application/json"])
|> verify_status()
|> response("#{cell.name} -> ")
|> IO.write()

... and this way when you bind the result of a computation:
file_ext =
  input
  |> Path.extname()
  |> String.downcase()

Instead of this:
cell.location
  |> Path.join("/sys/firmware/current")
  |> HTTPotion.put(~s({"status": "provisional"}), ["Content-Type": "application/json"])
  |> verify_status()
  |> response("#{cell.name} -> ")
  |> IO.write()

I can fix this indentation problems in another PR if you want.
What do you think? /cc @ghitchens


LoopBodies infinite rejit

Patch infinite rejit for BailOnNotNativeArray happening in loop bodies

This change is

@dotnet-bot test slow tests please

nit: Title will be the message of the merged commit. Right now it reads as though you're adding an infinite rejit rather than working around an issue.

:shipit:


Issues with Bitbucket Server/Stash usersnames containing '@'

with option closed registration
this is the output for admins when trying to add new users:
$ drone user add ida
Successfully added user ida
$ drone user add<EMAIL_ADDRESS>client error 400: Invalid User Login

with option open registration
usernames with '@' works fine.
but users with '@' can't access drone through the cli.
drone version used: 0.8-rc3
Question posted in drone gitter channel earlier today.

When creating a user it must match the following regular expression
https://github.com/drone/drone/blob/master/model/user.go#L9
We would need to use a different regular expression for Bitbucket Server, since all other providers prevent the ampersand symbol and punctuation in usernames.

ok thank you for answering. but for us it works fine with stash usernames like 'firstname.lastname'. but according to the regular expression it should not work.

ok thank you for answering. but for us it works fine with stash usernames like 'firstname.lastname'. but according to the regular expression it should not work.

the regular expression only applies when manually creating a user account (via the API endpoint). The system does not verify user accounts that come directly from the version control system, since it knows they are already valid.
I think the next step to resolve this issue is to submit a pull request that changes the regular expression at https://github.com/drone/drone/blob/master/model/user.go#L9

closed by acb6a8b02af3cd52b1283cd7a938a00f9f2e326b


networking.hostFiles not working

Describe the bug
In my config I have networking.hostFiles=[ ./mvn.hosts ]; and when building it gives me the following error:
nix log /nix/store/xsg1gi465km5l6zv0z32m8q8m137q818-hosts.drv
cat: /nix/store/1dmmrmi6yncn4j2ymmqziag8fflq8jiw-source/mvn.hosts: No such file or directory

However if I replace it with networking.extraHosts = builtins.readFile ./mvn.hosts; it builds without errors.
Even weirder, If I do cat /nix/store/1dmmrmi6yncn4j2ymmqziag8fflq8jiw-source/mvn.hosts it works without problems.
Expected behavior
The configuration builds normally
Notify maintainers
@Infinisil
Metadata

system: "x86_64-linux"
host os: Linux 5.15.4, NixOS, 22.05 (Quokka)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20211006_53e4794
nixpkgs: /nix/store/8gnhm8ws354wzqd1mkapra14qk7bnc40-source

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:
 - networking.hostFiles

Tried surrounding the path in quotes?

@Artturin wouldn't that make a string and not include the file in the store?
As it stands, the files does get included in the store because cat /nix/store/1dmmrmi6yncn4j2ymmqziag8fflq8jiw-source/mvn.hosts succeds without problems.


Upgrade Monorepo dependencies to support Node > v10 LTS

The maintenance on v10 ends in April 2021. https://nodejs.org/en/about/releases/.

Will still work with old versions but cannot get new changes (including security patches)

As noted in the DevEx sprint planning.

should this include updating our services to run on Node 14 or 16?
should this include updating Valora (really the whole wallet package) to run on Node 14 or 16?

So I've used my 2 dev days for this sprint.  I've made some progress on this see here. Running yarn and yarn build --ignore docs works with node 12. But CI fails because the e2e tests rely on published modules which still restrict node to version 10. The next step is to ensure all of CI passes, possibly by publishing all the modules that have been updated as dev packages, or potentially there is some other better way.

So this now seems to be working for node 12.
Node 14 poses a probelm because the current version of ganache-core that we use (which is our own version distinct from truffle's) does not support node 14. A lot of CI jobs fail with the following error.
Error: Callback was already called.
    at /home/circleci/app/packages/protocol/node_modules/@celo/ganache-cli/build/ganache-core.node.cli.js:17:276
    at s.<anonymous> (/home/circleci/app/packages/protocol/node_modules/@celo/ganache-cli/build/ganache-core.node.cli.js:17:2238)
    at s.emit (events.js:315:20)
    at s.EventEmitter.emit (domain.js:467:12)
    at s.destroy (/home/circleci/app/packages/protocol/node_modules/@celo/ganache-cli/build/ganache-core.node.cli.js:46:747880)
    at finish (internal/streams/writable.js:670:14)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

This was resolved several months ago in truffle's ganache-core see - https://github.com/trufflesuite/ganache-core/issues/568, but it's not clear what the actual fix was since the release that fixed it contained a lot of changes. The celo version of ganache-core is not an actual fork on github, but looking through the history it looks like the project was forked at v2.10.2 and the diff between that and the fixed ganache core is 12K LOC and on top of that our version of ganache core has a few hundred lines of our changes.
So in order to progress to using node 14 we need to either upgrade our ganache-core or use something else entirely (if that is even possible).
There doesn't appear to be any documentation that explains what are the changes we made to this repo, so as a starting point we could get in touch with the authors, listed here in order of number of commits.
  1 Jean Regisser
  1 Mariano Cortesi
  1 Nam Chu Hoai
  1 Piers Powlesland
  2 Yorke Rhodes
  4 Asa Oines
  4 dependabot[bot]
 10 Sami Mäkelä

@piersy RE: ganache changes to support v14 --
https://github.com/trufflesuite/ganache-cli/releases/tag/v6.12.0
^ looks like relevant updates are: https://github.com/trufflesuite/ganache-core/pull/636 and https://github.com/trufflesuite/ganache-core/commit/c26ba24ebf24d1c09b328a76baf0cf43e82fba04

I discovered there is a problem with the caching of node_modules in CI, this still needs to be fixed.

update: first part of upgrading to node 12 has been merged. need to release the affected packages and then can proceed with updating CI to use node 12


[2.5] Add support for private control-plane and specifying pod and service C…

Proposed changes
This PR is a back-port of of the following PR:

https://github.com/rancher/ui/pull/4620

Types of changes
Backport of new feature.

Linked Issues

Further comments
Depends on a bug-fix addressed the v1.7.1 version of the OKE driver. PRs:

https://github.com/rancher/rancher/pull/33818
https://github.com/rancher/rancher/pull/33817

Closing, v2.5 is EOM


Scroll issue

I can not scroll to the bottom of www.worldoftrucks.com. (All other Addons are disabled)
DownloadStatusBar is enabled:

DownloadStatusBar is disabled:

Should be fixed in 1.7.0, which there is a beta version of if you want to test it.
https://addons.mozilla.org/en-US/firefox/addon/wx-download-status-bar/versions/beta


Add possibility to render with custom xlink:href resolver function

This is a working attempt to add another render function that would use a custom xlink:href resolver, as discussed in https://github.com/RazrFalcon/resvg/issues/479.
In that scenario, a special ImageKind::CustomHref kind (as well as two other new kinds for Arc references to PNG and JPEG to avoid copying buffers) is used that doesn't hold image data and does nothing when SVG tree is generated.
But, during rendering with new function render_with_resolver inside image::draw_kind that href string is passed to a provided resolver function, and on "runtime" it gets image buffer as Vec<u8>. Then, the resulting buffer is passed again to draw_kind to determine the final ImageKind (ref to PNG or JPEG).
This opens possibilities to render SVG files with arbitrary data inside xlink:href. Great example is just to treat href as HTTP link and perform a HTTP request for the image:
let image_url_resolver = |href: &str| {
     reqwest::blocking::get(href)
         .and_then(|data| data.bytes())
         .map(|bytes| bytes.to_vec())
         .ok()
         .map(Arc::new)
};

resvg::render_with_resolver(
  &rtree,
  usvg::FitTo::Original,
  pixmap.as_mut(),
  Box::new(image_url_resolver),
).unwrap();

But it also can be used in more sophisticated ways, for example in my use-case, I already have image buffers in memory and I don't need resvg to read the file or use base64 string, I just use the resolver function to get images from HashMap, href acts as image id:
let link_resolver = |href: &str| {
  my_hash_map
    .get(href)
    .map(Arc::clone)
};

Implementation-wise I tried to change as little API as possible, there is just 1 more function to render and 1 more option for Options. Internally there is a bunch of link_resolver passing around to make it possible to use the function on-render. All feedback is welcomed since I'm Rust newbie 🙏🏻 🦀

I haven't run regression tests yet, I'm not sure how to actually, so there can be issues I could accidentally miss, but I will of course fix them if we move on with PR.

Hey @RazrFalcon, hope you're doing good.
Any possibility of this being checked out from your side? I'd highly appreciate it, and I think that feature would be a great addition to the crate.
I'm open for discussion and potential fixes/improvement/implementation adjustments on the feature.

Thank you for your feedback! 🙏🏻
Your idea is actually close to what I've tried to implement initially!! There were 2 concerns though:

Resolver ideally can't be just fn(&str) -> ImageKind function on trait because in that case, you cannot use anything else besides href to determine the image, e.g. example with existing buffers. That's why I use closure in PR, it opens more possibilities. What do you think about it? The type will be this one, as I use it in PR:

pub type ImageHrefResolver<'a> = Box<dyn Fn(&str) -> Option<Arc<Vec<u8>>> + 'a>;

We can also use struct and do this, following your idea:
struct ImageHrefResolver<'a> {
    pub resolve_data: Box<dyn Fn(mime: &str, data: &[u8]) -> Option<ImageKind> + 'a>,
    pub resolve_string: Box<dyn Fn(&str) -> Option<ImageKind> + 'a>
}

That would be the best of 2 ideas in my opinion. Yes, the type is a bit ugly, but it's more powerful.

Options are provided once when calling usvg::Tree::from_*, which means that if I need to change resolver, I would need to reassign it to Options, then create again OptionsRef from it to call usvg::Tree::from_* again with new resolver. Or that's not a problem at all? I imagine it's too edge case anyway for most of the users and even if they will use custom resolver, it's going to be the same. If it's fine to just reassign opt.image_href_resolver, then I don't need to touch resvg, and it indeed can be done on usvg level.

I think we're on the same page about how it should work, the only main question is - do you see it implemented only as Trait with some fns or do you agree that closure would be better, as I've described above?

Also, we probably should store images in usvg::ImageKind as Arc<Vec> and not just Vec.
That's true, I've added 2 new kinds that are Arcs and they're there alongside already existing kinds. Or do you mean that in addition to the ImageHrefResolver trait/struct we would replace old kinds with refs as well?

Yes, you're right, I've completely forgot about the context. Yes, ImageHrefResolver should use closures. Of course, it would require some fighting with lifetimes, but I don't see an other way.

Options are provided once when calling usvg::Tree::from_*, which means that if I need to change resolver,

This is not an issue.

That's true, I've added 2 new kinds that are Arcs and they're there alongside already existing kinds.

Yes, we don't need non-Arc one anymore.

Of course, it would require some fighting with lifetimes, but I don't see another way.

Yep, lifetimes are for sure required there and I spent some time figuring out how to make them work, but it's no big deal in the end. With Box<T> + 'a for closure and Arc<T> for images it works just fine.

This is not an issue.

Yes, we don't need non-Arc one anymore.

Noted. All clear for now, I'll try to implement it in that way, thanks.

Everything looks nice and surprisingly simple. I'm satisfied. I would love some more stylistic changes mentioned above, but the core logic looks just fine to me.

Everything looks nice and surprisingly simple. I'm satisfied. I would love some more stylistic changes mentioned above, but the core logic looks just fine to me.

I'll do mentioned adjustments, no problem.
But what about failing checks and this? Adding Send to type didn't helps seems like. Maybe need to do Arc<Mutex<ImageKind>> or something.

(dyn for<'r, 's, 't0> Fn(&'r str, Arc<Vec<u8>>, &'s OptionsRef<'t0>) -> Option<usvg::ImageKind> + 'static)   cannot be sent between threads safely

Yes, it's a strange one. Maybe it wants Arc for closures?

I added Send and Sync and it helped.
I think it's because dyn Trait thing. When we use dyn, we lose all automatic traits.

Thanks! I'm glad we were able to fit it into < 200 LOC patch. A nice little change which should be very useful.
If everything will go as planned, I would publish a new version on the weekends.


Fixes dependencies in requirements.txt.

Changes

Updated package name from sklearn to scikit-learn

Thank you!


Unify SGD and GP kernels

Solved in fa71e43. The R^2 for GP has decreased to 0.66 due to this, but I expect it can be improved by setting the hyperparameters.

Find why results do not match.

Do this first.

Completed in 1b9baf1.


Signup page is not visual appealing

Signup page is not visual appealing
As I have seen the signup page of the website which is not good at all which make the users discomfort in signup the account below is the screen short of the signup page .

I can make the signup page more attractive and responsive too so that user can signup easily without any discomfort below is the demo of the signup page what i can make for you as I am a contributor GSSOC23  if you like you can assign this to me so that i can start working on it .

Hey signup page ui is already assigned...btw i loved the above design..
You can make changes to the sign up page once it's ui is fixed!

So can start working on it or I have to wait until the  ui fixed ??

Hey..i have assigned to you a issue related to the blogs cards...start working on that!
This issue has been on waiting state..will assign u soon if needed!

I am working on it please give me 1 day I can do it positively by tomorrow