Docker commands blocked only in WSL2 when KB5021233 is installed

Version
Microsoft Windows [Version 10.0.19044.2251]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Release:        10
Other Software
Docker version 20.10.14, build a224086
Repro Steps

Install windows update KB5021233
Open a distro with WSL2
Run docker pull hello-world

Expected Behavior
The download of the image starts immediately.
Actual Behavior
The download of the image starts after approx 10minutes.
The same test executed from a cmd window on the host runs as expected. If the KB is uninstalled, it runs as expected from WSL too.
Diagnostic Logs
No response

Are you using Docker Desktop? Would you like to try without it, just by running dockerd?

yes using docker desktop. I'm going to try to install docker directly on the wsl2 vm.

If I install dockerd directly on a debian VM using WSL2, then docker pull works fine.
If I use docker desktop with an integration in the same debian VM using WSL2, then docker pull seems to be blocked. (5 minutes)

I'm having exactly the same issue with the openSUSE-Leap-15-1 distro and Docker Desktop.
Running a docker pull hello-world command takes minutes:
user@host:~> time docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe
Status: Downloaded newer image for hello-world:latest
docker.io/library/hello-world:latest

real    4m18.117s
user    0m0.071s
sys     0m0.019s

I'm able to reproduce it with the Ubuntu 22.04.1 LTS distro and Docker Desktop:
user@host:~$ time docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe
Status: Downloaded newer image for hello-world:latest
docker.io/library/hello-world:latest

real    4m15.514s
user    0m0.018s
sys     0m0.018s

I don't have the issue when I run the same command with the Ubuntu 22.04.1 LTS distro and dockerd:
user@host:~$ time docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:aa0cc8055b82dc2509bed2e19b275c8f463506616377219d9642221ab53cf9fe
Status: Downloaded newer image for hello-world:latest
docker.io/library/hello-world:latest

real    0m3.668s
user    0m0.035s
sys     0m0.000s

This issue started after the installation of the KB5021233.
When I remove the KB5021233, I don't have this issue anymore.
Installing the KB5021233 + KB5022282 + upgrading WSL to version 1.0.3 does not solve the issue.

/logs

many thanks for your reply. I've captured the lgos. Is there a way for me to share it only with WSL team ? (and not publicly on github)

This issue has been solved, more details here: https://github.com/docker/for-win/issues/10247#issuecomment-1468035897


Zero exit code when no files matching

No matching files shouldn't be considered an error. It's a problem in CI where some files are not available yet (due to Docker layering optimizations) and it would fail the build.
So far I've been dealing with that using --ignore-scripts flag. However, now I also need to run patch-package in postinstall so it's no longer an option.

@FredyC I agree with this. It doesn't affect anything in our toolchain so am happy to merge. Could you add a changeset?

This is now superseded by #59, so closing.


Fix/map names and percent

fix bugs with

wrong map id to calculate translatend percent
name formation of the translated map

Outdated. All changes are included into the next PR:
https://github.com/etenlab/crowd.rocks/pull/147


User-friendly interface to get help on branches and leaves

We want to have a nice user-interface so that people can easily find what the a given leaf is. There are a couple of options:

add a help(std::string leafname) function to every struct (see DocDB-XXXXX, p.YY), or
write a script that parses the header files since most leaves already have a comment alongside

The help should be accessible in python and ROOT, and (optionally) the command line. This will nede to implemented in the InfoStructs

We now have ntuplehelper. Closing issue


adding more info about where references end up

this is to address in part this issue https://github.com/jhudsl/OTTR_Template/issues/594

@cansavvy I noticed that I got a 404 here at first for the spelling and just needed to trigger it with another commit. It got me thinking, do we need to do any updates to ottr web template based on the recent ottr updates? do we need to sync this with the websites from it?

@cansavvy I noticed that I got a 404 here at first for the spelling and just needed to trigger it with another commit. It got me thinking, do we need to do any updates to ottr web template based on the recent ottr updates? do we need to sync this with the websites from it?

Yes. This needs updates, but it hasn't been as simple as syncing it since the ottr web template has different needs. But we def need to do that. I can work on that.

Yes. This needs updates, but it hasn't been as simple as syncing it since the ottr web template has different needs. But we def need to do that. I can work on that.

Great! I took a look at the sync to at least get that started and left you a message there too. Happy to help!


multiple definitions

Non-templated methods in shape_shifter.hpp should be marked inline or moved to a module, otherwise, can result in multiple definitions if included by multiple files in a single project.
Methods:
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L258
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L265
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L220
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L224
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L271
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L274
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L277
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L280
https://github.com/facontidavide/ros_type_introspection/blob/c479384b2be71a738056c5182515446ea76235c2/include/ros_type_introspection/shape_shifter.hpp#L289

Thanks, will fix it soon

thanks for reporting


[1.18.2 Forge] Failing to check for stubbed jei by rei

https://paste.opensuse.org/pastes/7ca14b2c6d0a
The mod makes the game running FTB Stoneblock 3 fail to launch with:
net.minecraftforge.fml.ModLoadingException: Mod controllable only supports jei <IP_ADDRESS>3 or above
jei is not installed at all, but instead being stubbed by Roughly Enough Items 8.3.588 for API compatibility. jei, while missing, is being detected as version 9.9999.
The crash no longer happens when compiling commit 684ff04ccb3541502e5846fae82ffeeab2a85e30. Commit 16a346578bc42355747e90f4c7501eff24dda870, with description 🐛 Fixed crash when using JEI 10+ done on November 28, 2022 broke booting while rei is installed. The mod also seems to work fully despite the replacement of jei with rei while running a build from before the problematic commit.

You can try removing the JEI dependency in Controllable's mods.toml, however if REI is creating a stub JEI to pretend the mod is loaded, it's going to cause other issues in the mod since classes will be missing.

Just remove JEI compat plugin of REI to resolve the issue. I can't do anything since my mods actually depends on JEI 10+ codebase.

but Mr.Cray! How exactly do you remove this "JEI compat plugin of REI"? My friend and I have been trying  for an hour.

@MrCrayfish How exactly do you remove this "JEI compat plugin of REI"? My friend and I have been trying for an hour.

@SSUPII hello can you help me get the controllable mod to work? I have the same issue saying jei is 9.9999. I tried removing the mod, but then when i load into the game it crashes. I commented the entire error message.

@SSUPII hello can you help me get the controllable mod to work? I have the same issue saying jei is 9.9999. I tried removing the mod, but then when i load into the game it crashes. I commented the entire error message.

Now, checking on @TKVisme 's error. REI does have an extra plugin for some more stubborn JEI plugins, and its the one you removed. You should not need to do it, and in fact it seems like it has broken some other mod.
If the original error before removing that plugin was the 9.999 version one, restore your modpack to the original state first.
Then, you will need to clone the project.
I don't know your operative system, so I will assume Windows. Install GIT if you don't have it https://git-scm.com/download/win
Open your GIT shell, and type git clone --recursive https://github.com/MrCrayfish/Controllable.git, send
Then, change directory to the one you have just created via cd Controllable, send
Type git checkout 1.18.X, send
Edit the file src/main/resources/META-INF/mods.toml and remove the following lines, starting from line 28...
[[dependencies.controllable]]
   modId="jei"
   mandatory=false
   versionRange="[<IP_ADDRESS>3,)"
   ordering="NONE"
   side="CLIENT"

Type start gradlew.bat, send and wait for it to finish
If there are no errors, type start gradlew.bat build, send and wait for it to finish
You will find your .jar under build/libs
If you can't do it, I can send my test .jar file with your consent. This is of course not the best, as the link will then lead more people to download a prebuilt that will in the future become obsolete.

i may not be the original poster, but that test jar could come in handy because i dont have any plans to update controllable or stoneblock 3

I know this issue has been active, the best I can do is attempt to disable any JEI related code when REI and it's plugin is installed. The only problem is that I still need to depend on JEI 10+ since it's required for my mod to integrate without crashing when JEI is actually installed; this means keeping the dependency definition in my mods.toml. REI will still need to update their hack to support JEI 10+ for this to truely be solved.


Input component should extend Ember's TextField

Would it be acceptable to have select-box/input.js extend Ember's TextField class to have it behave like the {{input}} helper and pass all properties that the {{input}} helper allows?

Thanks
https://github.com/amk221/ember-select-box/commit/a5d62137cbc928d37bb4bdd2cd820bcea0483f49

Awesome! Thanks

I've accidentally made input two-way bound, I didn't want that behaviour.
I'm going to have to make the input component not extend Ember's TextField, but I will keep the same attribute bindings.

I see. Yeah I never understood exactly why Ember's input helper is two-way bound by default. Seems like it makes more sense to pass it actions to respond to value changes.

Just curious though, can't you just use Ember.computed.oneWay to force one-way binding?

Don't think so, one way cp can't bind value to itself? Not sure
have a play if you like :)

Yup, definitely. I believe it's commonly understood that the input helper's value property is two-way binded by default. So to force it to use one-way binding, I think people know to do {{input value=(readonly myValue)}} based on the documentation.
In your twiddle example, if one-way is desired, instead of doing:
{{my-input1 value=myObj.value1}}

you would do
{{my-input1 value=(readonly myObj.value1)}}

I hear Ember is going to eventually changing this in future versions so that the {{input}} helper's value is not two-way bound by default, but you would explicitly have to declare it to be using the {{mut}} helper.

Ok, how would you like to proceed? ;)

Oh, I was just informing you. Using a custom <input> component element is fine--all attributes you've bounded cover my use-case. But you'll just have to keep adding attributeBindings as new input attributes are added to the HTML spec (and any custom ones that may be added by Ember in the future). But if you're fine with doing that, it's cool with me too. ;)

yeh, fine with that. ty


Startup Profit Prediction

Description:

predict profit that a startup will make on the basis of their R&D, Administration, Marketing Spend, and State where they are based in the US.

Dataset:
https://www.kaggle.com/sonalisingh1411/startup50

I would like to contribute on this project by using Ml model that fits best to it's accuracy on the given dataset.
Please assign me under GSSOC 2022.
@Rutikab12

Assigned @ayushi424

@Rutikab12
Can i also work on this issue?
I will try different machine learning methodologies to increase accuracy as much as possible.


Identify which CO Data assets are missing metadata

ie,
file 'ecephys_625463_2022-09-30_14-37-42'

missing subject, procedures, rig, session

Need to comb Data Assets to find these holes, populate a DF with TF columns denoting what metadata are present
Try to include contact for who can help populate that data (institution [in data_desc file], if there is session/acquisition there should be an experimenter field that can help)

Let's do this one once the session.json converter is written.

@dyf Want to check in on this, since you wanted to wait until some other condition had been satisfied. I will move this to backlog, if that condition has not been met yet.

Thanks, don't really remember. I think it's safe to start on this.

Starting work on this, it feels weird to write code for this in aind-data-schema? Feels like the sort of thing that writes code similar to what I do in aind-data-migration-scripts. Just want to check in on where we think the most appropriate place to store relevant code would be. @dyf @jtyoung84

Actually, I've really already written this code for a different PR. https://github.com/AllenNeuralDynamics/aind-data-migration-scripts/blob/0db375668f4100943cbe8ae390f71a3d11031f13/scripts/2023-06-08/fix_u19_smartspim.py#L137
I can write it into its own file that does exclusively this, and if there are any other files we want to search for I can add those.

closing with completion of basic implementation: https://codeocean.allenneuraldynamics.org/capsule/5867079/tree
follow up tasks are detailed in comments, new ticket for follow up work


The toast's close button is colliding with the edge of its container.

The toast's close button is colliding with the edge of its container.

can i solve this issue

Sure, go for it.


Drop DelimitedFiles from dependencies

DelimitedFiles appears not to be used anywhere; this drops it from the Project.toml & bumps the version number to 1.4.2.

Thanks!
DelimitedFiles was used to read test/challenge-200.mod which has been removed from the tests, so it should be removed as well.  Since I'm rusty with my git and can't figure out how to push a change directly to this PR, I'll remove it myself in the future in another commit.


Expand config values

Resolve #640

Current coverage is 99.65%

Merging #642 into master will increase coverage by +0.01% as of e400f96

@@            master    #642   diff @@
======================================
  Files           13      13
  Stmts          564     572     +8
  Branches         0       0
  Methods          0       0
======================================
+ Hit            562     570     +8
  Partial          0       0
  Missed           2       2

Review entire Coverage Diff as of e400f96

Uncovered Suggestions

+0.35% via ...ookiecutter/utils.py#27...28

Powered by Codecov. Updated on successful CI builds.

:thumbsup:

:bow: @pydanny @ionelmc


Unable to set textureMode:true in settings.json

I'm unable to set the textureMode via settings.json file.It works when passed as a queryparam
{   "appSettings": {     "stage": {       "clearColor": "0x00000000",       "useImageWorker": true     },     "debug": false   },   "platformSettings": {     "inspector": true,     "textureMode": true,     "path": "./static"   } }

Yes, that seems to be a bug. Thanks!
Will be fixed in the next release. For now you can indeed pass ?texture as a query param as temporary workaround.

@KadeejaBai this should now be fixed in v2.3.0


Error on ping timeout

C:\Program Files\Python37\lib\asyncio\events.py:88: RuntimeWarning: coroutine 'BasicClient._perform_ping_timeout' was never awaited
  self._context.run(self._callback, *self._args)

This is due to https://github.com/Shizmob/pydle/blob/a7053805cfbeec78ce7d30ea359a775c5ea1200e/pydle/client.py#L375-L376 where call_later is used to schedule a coroutine instead of a callback.

Yep. Since connect is a coroutine now call_later is the wrong call to make.
I see a few issues with this routine, I will see to a fix today.

I have done some testing and fixed various bugs in the reconnection code, could you please attempt to reproduce against #102 ?

I'm not sure how connect is related, but using create_task and a sleep resolves this specific issue.

Ah, my apologies i mixed this bug up with #101 .
There were a fair few bugs in the reconnection handling code I worked through today.
In theory it should all be working now barring the password-protected server bug. Please do let me know if you manage to break reconnection while testing against 102


Page Rotate - feature request

Feel free to slap this down with vigor :)
I've been thoroughly searching the space for server-side PDF solutions, and qpdf is really solid. I think adding page rotation would be a logical and valuable feature addition. Trim, split, merge re-order and rotate are the basic things many users/programs need to do with a PDF. They represent modifications of the page containers/document container without modifying the content. Filling in forms, annotations, etc. is definitely a different level of interaction.
I think with page rotation added (and possibly form flattening) qpdf would be one of the best options available for getting a PDF into the desired order and optimized state for distribution.

I pretty much agree with all your points. I think it would be pretty easy to implement page rotation using qpdf. It could be done in just a few lines of code. It's unlikely that I will have time to add the enhancement to qpdf itself anytime soon as I barely have any time right now to work on qpdf. I have a long list of enhancements I want to make.
The pdftopdf program that's part of the cupsfilters package used by open printing may already implement page rotation using qpdf. Anyway, I'll leave the issue open and, rather than slapping down with vigor, will just gently say that you shouldn't hold your breath. In a few years hopefully I will have a bit more free time again and will be able to push forward on some of the requested features or things I want to do. For now, I'm staying on top of bug reports but am not doing much with enhancements.
Thanks for the comments and suggestions!

If you need an example, here it is:
https://github.com/qpdf/qpdf/pull/88

I'm going to close this in favor of #88 and #89. Thanks!

I think I am going to add this to qpdf 7.0.0.

See #132


Feat:Improve the Ui of trending books by giving then 3d effect

Describe the feature
We can give a 3d effect to books in trending book section to make it look more appealing to match the looks of the website.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@anuragverma108 @huamanraj @RitiChandak @RishabhDhawad Please anyone assign me this task !
Thank You !


Add custom Flipper Name support

Hi there,
I love the idea and how you have done this.
There is something I would like you to add: The ability to choose the flipper from a list of nearby devices, instead of having to rename the flipper.
This is all.
Thank you for the app.

Yeah, I was thinking about that. It's possible to implement Bluetooth device selection via inquire crate, but I just don't have time for that right now.

https://github.com/TheSainEyereg/flipper-pc-monitor-backend/blob/master/src/flipper_manager.rs I edited l
name.contains("Flipper")) to my flipper name in the source code.

Hi there, I love the idea and how you have done this.
There is something I would like you to add: The ability to choose the flipper from a list of nearby devices, instead of having to rename the flipper.
This is all. Thank you for the app.

I need the commands to start this so I can use Flipper on my PC

I need the commands to start this so I can use Flipper on my PC

Check out https://github.com/jon4hz/fztea

But I have a problem because it is Linux Mint ,and my flipper name is Ufhooat what should I do?

But I have a problem because it is Linux Mint ,and my flipper name is Ufhooat what should I do?

Just rename your flipper

But not to change the name of the flipper as much as possible.

But not to change the name of the flipper as much as possible.

This would require changes in the pc backend. Either you change it and compile it yourself or you wait until the owner of this repo updates his code to allow custom flipper names (e.g. by choosing the flipper from a list of nearby Bluetooth devices)

Hi I just modified the code so it asks you before scanning what string you want to scan for :) if you leave it blank then it tries all possible connections and actually finds my flipper (experimental). I will make pull request, but if you want it sooner (or if it gets declined) I can share the .exe file

I need the commands to start this so I can use Flipper on my PC

Check out https://github.com/jon4hz/fztea

Why? I see nothing there that will help me. Basically spam dude.


[Bug]  No podSecurityContext on metrics deployments

Documentation

[x] I acknowledge that I have read the relevant documentation.

Describe the bug
In 0.0.24 the metrics exporter was moved from a sidecar to a stand-alone deployment.
The stand-alone deployment doesn't have a podSecurityContext set, this means it can't be deployed in namespaces with enforced restrictive pod-security labels.
Expected behaviour
The metrics exporter should use the podSecurityContext set on the spec of the MariaDB object.
(Or a separate podSecurityContext can be set for the metrics exporter)
Steps to reproduce the bug
Create a MariaDB resource with:
metrics:
  enabled: true

in a namespace with a restrictive PSS set with the labels:
    pod-security.kubernetes.io/audit: restricted
    pod-security.kubernetes.io/audit-version: latest
    pod-security.kubernetes.io/enforce: restricted
    pod-security.kubernetes.io/enforce-version: latest
    pod-security.kubernetes.io/warn: restricted
    pod-security.kubernetes.io/warn-version: latest

Debug information
No podSecurityContext is being configured on the deployed here: https://github.com/mariadb-operator/mariadb-operator/blob/v0.0.24/pkg/builder/deployment_buider.go#L41-68
Environment details:

Kubernetes version: 1.26
Kubernetes distribution: EKS
mariadb-operator version: 0.0.24
Install method: static manifests
Install flavor: custom

Additional context

Hey there @gg-kialo !
We only support securityContext at the Pod  level, since we are (only!) embedding  ContainerTemplate in Exporter:
https://github.com/mariadb-operator/mariadb-operator/blob/16b704268623b44cb9d1587d69fc7afd097edc30/api/v1alpha1/mariadb_types.go#L30
https://github.com/mariadb-operator/mariadb-operator/blob/16b704268623b44cb9d1587d69fc7afd097edc30/api/v1alpha1/base_types.go#L77
To align with the MariaDB type, we should also embed PodTemplate:
https://github.com/mariadb-operator/mariadb-operator/blob/16b704268623b44cb9d1587d69fc7afd097edc30/api/v1alpha1/base_types.go#L134
https://github.com/mariadb-operator/mariadb-operator/blob/16b704268623b44cb9d1587d69fc7afd097edc30/api/v1alpha1/mariadb_types.go#L157
and then make the changes in the Deployment builder you pointed out, it should be pretty similar to the StatefulSet builder from MariaDB.
Contributions are welcome!


"we have a new MFA enablement wizard" - link is missing

Please add the link
https://aka.ms/mfawizard

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

ID: 4180415d-70f5-1ab2-408f-1f850c678829
Version Independent ID: d868ad2e-b8fd-bd12-f843-be7a3be80aba
Content: Find and address gaps in strong authentication coverage for your administrators in Azure Active Directory
Content Source: articles/active-directory/authentication/how-to-authentication-find-coverage-gaps.md
Service: active-directory
Sub-service: authentication
GitHub Login: @InbarckMS
Microsoft Alias: justinha

@rafalfitt
Thanks for your feedback! We will investigate and update as appropriate.

@rafalfitt
Thank you for pointing this out! I've created a PR to update the documentation and it's currently waiting for the author to review and sign off.
I will now close out this issue. Please allow some time for the author to review and the changes to reflect.
Thank you for your time and patience!


Proposal to remove tradingFee from AccountInfo

With exchanges getting more and more feature rich, a simple trading fee is almost never enough. Sometimes, it is currency dependent or dependent on if you're providing or taking liquidity.
I propose moving this field to our newly-created TradeMetaData DTO via the TradeService. It's tied to individual currencies via a map in the call getTradeMetaDataMap() in PollingTradeService. There is also a mechanism in place to load the TradeMetaData DTO via a properties file because sometimes it's not available via an API call from the exchange.
I'm going to do this refactor unless I hear a massive uproar against it.

Since you mentioned maker/taker fee policy, from what I found, fees can be tied to one or more of:

market
trading volume
order type - market or limit (I only know that ANX does that)
adding or taking liquidity

We would have the first two addressed. Would you provide any support for no.3?
To address the liquidity, you would have to provide two methods, but on the other hand, you can be never sure which fee you're going to pay. getMaxFee() maybe?

Thanks for the feedback. Yes, as long as we can get in inside the TradeMetaData in some way, it should be supported.


Do not allow timeouts less than 1ms.

Closes #1356.

Upon second reading of the Javadoc it's a bit contradictory. Tweaked it slightly in b92c1b9db1c27b8035157a9016344db9e5f198ec.


Update Version json and yml

As we'll be publishing this to npm as generator-hmrc-prototype-kit can you update all the references to generator-hmrcnodeprototype in README.md?


Icon reverses text

I'm not sure what's going on and if it's nvim-gps's fault but when I set the container icon to the one I want it reverses the whole text, see following screenshot for what I mean:

If I set it to eg 'c' it's not reversed. It is also reversed if I just print require('nvim-gps').get_location(). Any idea what's going on here? The icon I want to use is 0xfb85 (ﮅ). I'm using nerd-fonts-fira-code from AUR and alactritty.
Edit: If I use another one, eg 0xf01c it's not reversed.

I am not able to reproduce this issue in my config. I am using alacritty and Input Mono font. Also tried it with the AUR fira code font you mentioned, still works fine for me.
So something else in your config must be reversing the text.

Thanks for checking @SmiteshP, I'll let you know if I figure out why this happens :)

The problem is that some icons in nerdfonts switch the active direction for the bidirectional algorithm. I described this issue in nvim-web-devicons which has the same issue for some filetype icons (tex and svg are ones I know of for certain).
If you surround the icon with the direction isolates like I describe there, it should fix your issue.

I see thanks for explaining @jdrouhard!


MDBottomNavigation does not work when builded as .apk

Description of the Bug
MDBottomNavigation does not work once it is builded on a androidphone. Even the example case in the kivymd documentation does not work. I could not find this error message somewhere else in the internet. I tried also to get rid off every color assignment in the code with no success.
While developing in visual studio code, everything works fine.
Code and Logs
adb logfile
06-24 15:31:13.798  9541 14809 I python  :  Traceback (most recent call last):
06-24 15:31:13.798  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/lang/builder.py", line 699, in _apply_rule
06-24 15:31:13.799  9541 14809 I python  :    File "kivy/weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.__setattr__
06-24 15:31:13.799  9541 14809 I python  :    File "kivy/properties.pyx", line 497, in kivy.properties.Property.__set__
06-24 15:31:13.799  9541 14809 I python  :    File "kivy/properties.pyx", line 526, in kivy.properties.Property.set
06-24 15:31:13.799  9541 14809 I python  :    File "kivy/properties.pyx", line 2012, in kivy.properties.ColorProperty.convert
06-24 15:31:13.799  9541 14809 I python  :  ValueError: MDLabel.text_color has an invalid format (got [1, 1, 1, 1])
06-24 15:31:13.799  9541 14809 I python  :
06-24 15:31:13.800  9541 14809 I python  :  During handling of the above exception, another exception occurred:
06-24 15:31:13.800  9541 14809 I python  :
06-24 15:31:13.800  9541 14809 I python  :  Traceback (most recent call last):
06-24 15:31:13.800  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/app/main.py", line 52, in <module>
06-24 15:31:13.800  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/app.py", line 949, in run
06-24 15:31:13.800  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/app.py", line 919, in _run_prepare
06-24 15:31:13.800  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/app/main.py", line 48, in build
06-24 15:31:13.800  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/lang/builder.py", line 408, in load_string
06-24 15:31:13.800  1686  1805 D NetworkController.SecMobileSignalController(0/1): onSignalStrengthsChanged level=3
06-24 15:31:13.801  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/lang/builder.py", line 662, in _apply_rule
06-24 15:31:13.801  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/lang/builder.py", line 658, in _apply_rule
06-24 15:31:13.801  1686  1805 D MobileSignalIconsSelector: getDataIconGroup(): 13
06-24 15:31:13.801  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/uix/bottomnavigation.py", line 631, in add_widget
06-24 15:31:13.801  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/uix/bottomnavigation.py", line 595, in refresh_tabs
06-24 15:31:13.801  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/uix/bottomnavigation.py", line 361, in __init__
06-24 15:31:13.801  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivymd/theming.py", line 1140, in __init__
06-24 15:31:13.802  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/uix/behaviors/button.py", line 121, in __init__
06-24 15:31:13.802  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/uix/anchorlayout.py", line 68, in __init__
06-24 15:31:13.802  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/uix/layout.py", line 76, in __init__
06-24 15:31:13.802  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/uix/widget.py", line 361, in __init__
06-24 15:31:13.802  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/uix/widget.py", line 465, in apply_class_lang_rules
06-24 15:31:13.802  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/lang/builder.py", line 541, in apply
06-24 15:31:13.802  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/lang/builder.py", line 710, in _apply_rule
06-24 15:31:13.803  9541 14809 I python  :  kivy.lang.builder.BuilderException: Parser: File "<inline>", line 73:
06-24 15:31:13.803  9541 14809 I python  :  ...
06-24 15:31:13.803  9541 14809 I python  :       71:            adaptive_height: True
06-24 15:31:13.803  9541 14809 I python  :       72:            theme_text_color: "Custom"
06-24 15:31:13.803  9541 14809 I python  :  >>   73:            text_color: root._text_color_normal
06-24 15:31:13.803  9541 14809 I python  :       74:            opposite_colors: root.opposite_colors
06-24 15:31:13.803  9541 14809 I python  :       75:            font_size: root._label_font_size
06-24 15:31:13.803  9541 14809 I python  :  ...
06-24 15:31:13.803  9541 14809 I python  :  ValueError: MDLabel.text_color has an invalid format (got [1, 1, 1, 1])
06-24 15:31:13.803  9541 14809 I python  :    File "/root/environments/AppTest/.buildozer/android/platform/build-armeabi-v7a/build/python-installs/myapp/kivy/lang/builder.py", line 699, in _apply_rule
06-24 15:31:13.803  9541 14809 I python  :    File "kivy/weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.__setattr__
06-24 15:31:13.803  9541 14809 I python  :    File "kivy/properties.pyx", line 497, in kivy.properties.Property.__set__
06-24 15:31:13.804  9541 14809 I python  :    File "kivy/properties.pyx", line 526, in kivy.properties.Property.set
06-24 15:31:13.804  9541 14809 I python  :    File "kivy/properties.pyx", line 2012, in kivy.properties.ColorProperty.convert
06-24 15:31:13.804  9541 14809 I python  :
06-24 15:31:13.804  9541 14809 I python  : Python for android ended.

from kivymd.app import MDApp
from kivy.lang import Builder

class Test(MDApp):

    def build(self):
        self.theme_cls.primary_palette = "Gray"
        return Builder.load_string(
            '''
BoxLayout:
    orientation:'vertical'

    MDToolbar:
        title: 'Bottom navigation'
        md_bg_color: .2, .2, .2, 1
        specific_text_color: 1, 1, 1, 1

    MDBottomNavigation:
        panel_color: .2, .2, .2, 1

        MDBottomNavigationItem:
            name: 'screen 1'
            text: 'Python'
            icon: 'language-python'

            MDLabel:
                text: 'Python'
                halign: 'center'

        MDBottomNavigationItem:
            name: 'screen 2'
            text: 'C++'
            icon: 'language-cpp'

            MDLabel:
                text: 'I programming of C++'
                halign: 'center'

        MDBottomNavigationItem:
            name: 'screen 3'
            text: 'JS'
            icon: 'language-javascript'

            MDLabel:
                text: 'JS'
                halign: 'center'
'''
        )

Test().run()

buildozer.spec file
[app]

# (str) Title of your application
title = FiView

# (str) Package name
package.name = myapp

# (str) Package domain (needed for android/ios packaging)
package.domain = org.test

# (str) Source code where the main.py live
source.dir = .

# (list) Source files to include (let empty to include all the files)
source.include_exts = py,png,jpg,kv,atlas,json

# (list) List of inclusions using pattern matching
#source.include_patterns = assets/*,images/*.png

# (list) Source files to exclude (let empty to not exclude anything)
#source.exclude_exts = spec

# (list) List of directory to exclude (let empty to not exclude anything)
source.exclude_dirs = $OLD

# (list) List of exclusions using pattern matching
#source.exclude_patterns = license,images/*/*.jpg

# (str) Application versioning (method 1)
version = 0.1

# (str) Application versioning (method 2)
# version.regex = __version__ = ['"](.*)['"]
# version.filename = %(source.dir)s/main.py

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3==3.7.5,hostpython3==3.7.5,kivy==2.0.0rc1,git+https://github.com/kivymd/KivyMD.git@master,sdl2_ttf==2.0.15,matplotlib==3.1.3,pillow,pygments,python-dateutil,requests,urllib3,chardet,idna,plyer,android,jnius,oscpy

# (str) Custom source folders for requirements
# Sets custom source for any requirements with recipes
# requirements.source.kivy = ../../kivy

# (list) Garden requirements
#garden_requirements =

# (str) Presplash of the application
#presplash.filename = %(source.dir)s/data/presplash.png

# (str) Icon of the application
#icon.filename = %(source.dir)s/data/icon.png

# (str) Supported orientation (one of landscape, sensorLandscape, portrait or all)
orientation = portrait

# (list) List of service to declare
#services = NAME:ENTRYPOINT_TO_PY,NAME2:ENTRYPOINT2_TO_PY

#
# OSX Specific
#

#
# author = Â© Copyright Info

# change the major version of python used by the app
osx.python_version = 3

# Kivy version to use
osx.kivy_version = 1.9.1

#
# Android specific
#

# (bool) Indicate if the application should be fullscreen or not
fullscreen = 0

# (string) Presplash background color (for new android toolchain)
# Supported formats are: #RRGGBB #AARRGGBB or one of the following names:
# red, blue, green, black, white, gray, cyan, magenta, yellow, lightgray,
# darkgray, grey, lightgrey, darkgrey, aqua, fuchsia, lime, maroon, navy,
# olive, purple, silver, teal.
#android.presplash_color = #FFFFFF

# (list) Permissions
#android.permissions = INTERNET

# (int) Target Android API, should be as high as possible.
#android.api = 27

# (int) Minimum API your APK will support.
#android.minapi = 21

# (int) Android SDK version to use
#android.sdk = 20

# (str) Android NDK version to use
#android.ndk = 19b

# (int) Android NDK API to use. This is the minimum API your app will support, it should usually match android.minapi.
#android.ndk_api = 21

# (bool) Use --private data storage (True) or --dir public storage (False)
#android.private_storage = True

# (str) Android NDK directory (if empty, it will be automatically downloaded.)
#android.ndk_path =

# (str) Android SDK directory (if empty, it will be automatically downloaded.)
#android.sdk_path =

# (str) ANT directory (if empty, it will be automatically downloaded.)
#android.ant_path =

# (bool) If True, then skip trying to update the Android sdk
# This can be useful to avoid excess Internet downloads or save time
# when an update is due and you just want to test/build your package
# android.skip_update = False

# (bool) If True, then automatically accept SDK license
# agreements. This is intended for automation only. If set to False,
# the default, you will be shown the license when first running
# buildozer.
# android.accept_sdk_license = False

# (str) Android entry point, default is ok for Kivy-based app
#android.entrypoint = org.renpy.android.PythonActivity

# (str) Android app theme, default is ok for Kivy-based app
# android.apptheme = "@android:style/Theme.NoTitleBar"

# (list) Pattern to whitelist for the whole project
#android.whitelist =

# (str) Path to a custom whitelist file
#android.whitelist_src =

# (str) Path to a custom blacklist file
#android.blacklist_src =

# (list) List of Java .jar files to add to the libs so that pyjnius can access
# their classes. Don't add jars that you do not need, since extra jars can slow
# down the build process. Allows wildcards matching, for example:
# OUYA-ODK/libs/*.jar
#android.add_jars = foo.jar,bar.jar,path/to/more/*.jar

# (list) List of Java files to add to the android project (can be java or a
# directory containing the files)
#android.add_src =

# (list) Android AAR archives to add (currently works only with sdl2_gradle
# bootstrap)
#android.add_aars =

# (list) Gradle dependencies to add (currently works only with sdl2_gradle
# bootstrap)
#android.gradle_dependencies =

# (list) add java compile options
# this can for example be necessary when importing certain java libraries using the 'android.gradle_dependencies' option
# see https://developer.android.com/studio/write/java8-support for further information
# android.add_compile_options = "sourceCompatibility = 1.8", "targetCompatibility = 1.8"

# (list) Gradle repositories to add {can be necessary for some android.gradle_dependencies}
# please enclose in double quotes
# e.g. android.gradle_repositories = "maven { url 'https://kotlin.bintray.com/ktor' }"
#android.add_gradle_repositories =

# (list) packaging options to add
# see https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.PackagingOptions.html
# can be necessary to solve conflicts in gradle_dependencies
# please enclose in double quotes
# e.g. android.add_packaging_options = "exclude 'META-INF/common.kotlin_module'", "exclude 'META-INF/*.kotlin_module'"
#android.add_gradle_repositories =

# (list) Java classes to add as activities to the manifest.
#android.add_activities = com.example.ExampleActivity

# (str) OUYA Console category. Should be one of GAME or APP
# If you leave this blank, OUYA support will not be enabled
#android.ouya.category = GAME

# (str) Filename of OUYA Console icon. It must be a 732x412 png image.
#android.ouya.icon.filename = %(source.dir)s/data/ouya_icon.png

# (str) XML file to include as an intent filters in <activity> tag
#android.manifest.intent_filters =

# (str) launchMode to set for the main activity
#android.manifest.launch_mode = standard

# (list) Android additional libraries to copy into libs/armeabi
#android.add_libs_armeabi = libs/android/*.so
#android.add_libs_armeabi_v7a = libs/android-v7/*.so
#android.add_libs_arm64_v8a = libs/android-v8/*.so
#android.add_libs_x86 = libs/android-x86/*.so
#android.add_libs_mips = libs/android-mips/*.so

# (bool) Indicate whether the screen should stay on
# Don't forget to add the WAKE_LOCK permission if you set this to True
#android.wakelock = False

# (list) Android application meta-data to set (key=value format)
#android.meta_data =

# (list) Android library project to add (will be added in the
# project.properties automatically.)
#android.library_references =

# (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
#android.uses_library =

# (str) Android logcat filters to use
#android.logcat_filters = *:S python:D

# (bool) Copy library instead of making a libpymodules.so
#android.copy_libs = 1

# (str) The Android arch to build for, choices: armeabi-v7a, arm64-v8a, x86, x86_64
android.arch = armeabi-v7a

# (int) overrides automatic versionCode computation (used in build.gradle)
# this is not the same as app version and should only be edited if you know what you're doing
# android.numeric_version = 1

#
# Python for android (p4a) specific
#

# (str) python-for-android fork to use, defaults to upstream (kivy)
#p4a.fork = kivy

# (str) python-for-android branch to use, defaults to master
#p4a.branch = master

# (str) python-for-android git clone directory (if empty, it will be automatically cloned from github)
#p4a.source_dir =

# (str) The directory in which python-for-android should look for your own build recipes (if any)
#p4a.local_recipes =

# (str) Filename to the hook for p4a
#p4a.hook =

# (str) Bootstrap to use for android builds
# p4a.bootstrap = sdl2

# (int) port number to specify an explicit --port= p4a argument (eg for bootstrap flask)
#p4a.port =

#
# iOS specific
#

# (str) Path to a custom kivy-ios folder
#ios.kivy_ios_dir = ../kivy-ios
# Alternately, specify the URL and branch of a git checkout:
ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master

# Another platform dependency: ios-deploy
# Uncomment to use a custom checkout
#ios.ios_deploy_dir = ../ios_deploy
# Or specify URL and branch
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.7.0

# (str) Name of the certificate to use for signing the debug version
# Get a list of available identities: buildozer ios list_identities
#ios.codesign.debug = "iPhone Developer: <lastname> <firstname> (<hexstring>)"

# (str) Name of the certificate to use for signing the release version
#ios.codesign.release = %(ios.codesign.debug)s

[buildozer]

# (int) Log level (0 = error only, 1 = info, 2 = debug (with command output))
log_level = 2

# (int) Display warning if buildozer is run as root (0 = False, 1 = True)
warn_on_root = 1

# (str) Path to build artifact storage, absolute or relative to spec file
# build_dir = ./.buildozer

# (str) Path to build output (i.e. .apk, .ipa) storage
# bin_dir = ./bin

#    -----------------------------------------------------------------------------
#    List as sections
#
#    You can define all the "list" as [section:key].
#    Each line will be considered as a option to the list.
#    Let's take [app] / source.exclude_patterns.
#    Instead of doing:
#
#[app]
#source.exclude_patterns = license,data/audio/*.wav,data/images/original/*
#
#    This can be translated into:
#
#[app:source.exclude_patterns]
#license
#data/audio/*.wav
#data/images/original/*
#

#    -----------------------------------------------------------------------------
#    Profiles
#
#    You can extend section / key with a profile
#    For example, you want to deploy a demo version of your application without
#    HD content. You could first change the title to add "(demo)" in the name
#    and extend the excluded directories to remove the HD content.
#
#[app@demo]
#title = My Application (demo)
#
#[app:source.exclude_patterns@demo]
#images/hd/*
#
#    Then, invoke the command line with the "demo" profile:
#
#buildozer --profile demo android debug

Versions

OS:
Python:  3.7.5
Kivy: 2.0.0rc1
KivyMD: 0.104.2.dev0

@mikejaegerberlin You are not using the master branch of the library. Delete the .bulldozer directory and build the package again.


error while video compressing

[Error: compress error: failed. ffmpeg version v4.3-dev-2955 Copyright (c) 2000-2020 the FFmpeg developers  built with Android (6317467 based on r365631c1) clang version 9.0.8 (https://android.googlesource.com/toolchain/llvm-project e0caee08e5f09b374a27a676d04978c81fcb1928) (based on LLVM 9.0.8svn)

found any solution?

@PrabhakarKotipalli @Prober10
use https://www.npmjs.com/package/@flyerhq/react-native-android-uri-path to get real path,
then use real path for this lib.
Hope to help you.


UI: Remove capitalization of adapter names in tooltips

Description
In the Dashboard and Settings pages, each of the adapter chips will show a small tooltip that includes the adapter name when hovered over. The service mesh names are capitalized, but should not be.
Expected Behavior
Only the first letter of their name should be capitalized. The rest of the word should be lowercased.
Screenshots

Way to be @starblind. 👍 Thank you.


failed benchmark on jetson nano

jetson installed jetpack 5.0.1 ,I have installed all required packages .I use below command to test:
sudo python3 benchmark.py -backend  onnx torch tflite -video 0 -device cpu
but report errors:
 [CVU-Info] Backend: Onnx-1.11.1-cpu [<EMAIL_ADDRESS>global /io/opencv/modules/videoio/src/cap_v4l.cpp (1927) getProperty VIDEOIO(V4L2:/dev/video0): Unable to get camera FPS Traceback (most recent call last):   File "benchmark.py", line 238, in <module>     test_video(OPT.backend, OPT.video, OPT.max_frames, OPT.warmups,   File "benchmark.py", line 144, in test_video     writer = vidsz.Writer(reader,   File "/usr/local/lib/python3.8/dist-packages/vidsz/opencv/writer/base_writer.py", line 62, in __init__     raise AssertionError( AssertionError: Failed to Create Writer for the given settings.
How to fix?
thank you

Hi @chunxiao3600 looks like the writer is failing to get the camera's FPS. This could mean that reader is failing to connect to your webcam or your webcam does not provide fps info.
You could do any one of the following

manually provide some fps value here Line#139
use -no-write to avoid creating a video, or
remove -video flag and it'll download an example video to benchmark for testing

For reference, you can set these arguments for the writer Implementation-Link
Feel free to reopen this issue if you still face problems. Thanks.

I have used "python3 benchmark.py -backend onnx -device cpu" successfully.
but  failed with "python3 benchmark.py -backend onnx -device gpu" .
My device is jetson nano, detail below:
nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Thu_Nov_11_23:44:05_PST_2021 Cuda compilation tools, release 11.4, V11.4.166 Build cuda_11.4.r11.4/compiler.30645359_0
I want to benchmark gpu cuda performance ,but don't how to do .
thanks

Hi @chunxiao3600 looks like the writer is failing to get the camera's FPS. This could mean that reader is failing to connect to your webcam or your webcam does not provide fps info.
You could do any one of the following

manually provide some fps value here Line#139
use -no-write to avoid creating a video, or
remove -video flag and it'll download an example video to benchmark for testing

For reference, you can set these arguments for the writer Implementation-Link
Feel free to reopen this issue if you still face problems. Thanks.

please reopen this issue

@chunxiao3600 can you please create a new issue for the GPU testing?
Also, can you please provide the error log you're getting when testing onnx-gpu?


Make --python and --spark work fine alongside each other

Includes https://github.com/VirtusLab/scala-cli/pull/1531 for now.

(These were the last bits of https://github.com/VirtusLab/scala-cli/pull/1270.)

(Current first commit https://github.com/VirtusLab/scala-cli/pull/1594/commits/4b6a3c7b37fa5d7a49492bd7a10e387a60bc6a18 doesn't do what its messages says it does, not sure what happened here…)


Add unit tests

Added unit tests for TagpostServer in src/test/java/com/google/tagpost/TagpostServerTest.java
Added unit tests for TagpostClient in src/test/java/com/google/tagpost/TagpostClientTest.java
Added src/test/java/com/google/tagpost/BUILD file for running junit tests with Bazel
Modified WORKSPACE to Installed Mockito

Please merge from head :)


🐛 FIX: install, slash directory, build, clean

Yeah, you could use '${DIR}' or '${SLASH}' instead.


Add insert1_skip_full_duplicates and remove recursive_search

As discussed in #42. Stopgap pending feature to datajoint-python (feature request).

Hi @dimitri-yatsenko - If this looks good to you, I'll add to element-optogenetics and plan to incorporate in other elements down the road.

Hi @dimitri-yatsenko - Is this ready to merge?

We tried this out in practice and ran into issues when the secondary attributes were duplicated with a novel primary key.
The desired functionality would skip entry if the secondary attributes already existed. Tabling this for now.


Fix bug where uploading tag csv only sent the filename

Previously, the form in the upload modal did not send all the file data, just the filename.

[x] update changelog

This is good, but I'm thinking we use the html: option in other forms, and if these are all bugs? If so we should fix them all at once, I think.

Yes we do use this in other forms but I think this is only an issue for forms built using the form_tag method (not the form_for method which takes different arguments).
Basically, form_for uses html: { multipart: true } and form_tag uses multipart: true. We were using the wrong version for the form_tag which is what this PR addresses.
The real issue is that the functionality for both form_tag and form_for has been merged into the form_with method (as of rails 5.1: https://guides.rubyonrails.org/form_helpers.html#using-form-for-and-form-tag) so if anything we should be converting everything over to use form_with.


[ ] Formulierung Text für den Tooltip (Scoping)

[ ] Implementierung Tooltip (Gordon)

ad 1 - der standardisierte Name findet sich z.B. im maschinenlesbaren Bereich des deutschen Personalausweises.
TBD - wie wird der SN bei Nicht-Deutschen / Nicht-EU-Bürgern ermittelt?

Wozu benötigt man ihn?  Das ist mehr als ich an das Gesundheitsamt melde, wenn ich einen positiven PCR-Test habe. Kickt doch mal eure Juristen aus dem Projekt.

@dideldei
If you want to get your concerns addressed I suggest to open an issue in the documentation repository.
I don't understand how a tooltip would help with getting more data, it only explains where one can find the required infos.

You are right. It is the wrong location. But it is rather frustrating to see where this meaningfull project is going. If we did not used the "standardisierter Name" we would not need a tooltip. I think it is about to lose track to create sth helpful. It is becoming a UX nightmare and a lawyers dream.

Okay, I don't have access to a quick test portal so I can't tell. If you found UX issues I suggest to open a new issue here.

@dideldei @Ein-Tim
Thanks for your input.
We are talking about two different topics here:

The actual quicktest process. The Schnelltestportal interacts with the Corona-Warn-App (see 2. below) but it is a completely separate system.  If you want to do a so-called Bürgertest at a Point of Care you are required by law to provide a minimum set of personal data - Vorname Nachname, Date of Birth, address, phone number... that is needed e.g. to contact you to compile a test certificate, deliver the result and to inform the Gesundheitsamt if your test result is positive. Some PoC have their own systems to collect this data and issue test results, some use the Schnelltestportal the CWA-team is building for BMG/RKI.
We are not collecting additional data here but just adding a different encoding of the pre-existing fields Vorname and Nachname. "Standardisierter Vorname/Nachname" are mandatory fields in the specification for the EU Digital COVID Certificates we are currently integrating into the CWA ecosystem. AfaIk they are meant to ensure interoperability between covid test certificates from different countries as names can contain language-specific letters like umlauts, ß, accents etc. that could cause problems with systems that use other languages. (For example we have already collected the values "Renée Schüßler" and just add the encoding "Renee Schuessler".)
The tooltip is just meant to help the people entering the data into the Schnelltestportal to transcribe the patient's name into the standardized format.
The additional processing of the test result in the Corona-Warn-App is always optional. The patient that visits a PoC to do a test can choose to get their test result only as a printout or via eMail / download. If they want to receive it additionally in their Corona-Warn-App they can choose to get a certificate that meets the EU requirements or simply the result without any personal data. In that case the PoC will generate a QR-code (e.g. using the Schnelltestportal) that the patient scans with their CWA to get the test result.

Long story short - there is still the possibility to import your test result into the CWA without any further personal data.
For the actual quicktest, however, you will always have to provide personal data. The Standardisierter Vor/Nachname are not additional data but just different encodings to ensure European interoperability.

Dear @BrittaTSI , please see https://github.com/corona-warn-app/cwa-quick-test-frontend/issues/185#issuecomment-875038144

Prefarably https://github.com/corona-warn-app/cwa-quick-test-frontend/issues/185 should be implemented so the standardised name is generated automatically and the tool tip will no longer be necessary.

Obsolete as soon as https://github.com/corona-warn-app/cwa-quick-test-frontend/issues/185 is implemented


Error when running head_pose_estimation.py

I have an error when running head_pose_estimation.py. How can I fix it? Thanks for reading.

Uninstall OpenCV and then reinstall it with 4.6.0 version by this command,
pip install opencv-python==4.6.0


Paypal express for woocommerce  websites

Please take a look at this website for example https://celticlife.com/

and this is the breadcrumb on the landing page

This would be the checkout page and its references  (https://celticlife.com/checkout/)

Done!


Suggested dataset page does not open

If we go to https://www.gbif.org/dataset/b46569c1-4237-41be-b35f-7da37d18ef51 and we click on the suggested dataset that appears in the suggestions section nothing happens.
If I open the console of the dev tools of chrome I can see this error:
Failed to load resource: the server responded with a status of 404 ()
I understand that If the dataset doesn't exist it shouldn't appear in the suggestions.

thanks. it isn't exactly a good suggestion either. It simply does a free text search for the url and takes whatever comes up. it kind of works for urls with a seo friendly name. But for UUIDs it doesn't make sense


Ssl hello osib

Torsten's diff, in working order
Hey @sslHello  I've fixed your diff and merged it to the project structure.
Can you please provide a detailed code review to make sure that I haven't messed up the structure?
My next pull request will be a converter between CRE and OSIB which should allow seamless import/export of OSIB documents from/to the database.
todo:

[x] Test: osib2cre
[x] Test: cre2osib
[x] Test: parse osib file 2 osib structure
[x] Test: write osib struct 2 osib yaml
[x] add osib2cre
[x] add cre2osib
[x] write a cmd that parses from osib yaml to CRE db
[x] write a cmd that exports CRE db to osib yaml

Hi Spyros (@northdpole),
Thank you so much for implementing an import/export interface CRE <-> OSIB. A great job!
As discussed we are going to cross-check the interoperability on base of the OSIB-YAML structures.
Thank you and cheers!


Unable to create a pipeline

Describe the bug
I am creating a pipeline to ingest data.
What happened?
I am creating a pipeline to ingest data. I kept clicking on the new pipeline a lot of time and nothing happened.  I waited each time but nothing happened. With the blank screen it becomes non-respondent to any mouse clicks as well.
What did you expect to happen?
I expected for input box to take the name of pipeline.
How would you reproduce the bug?

In the Data Engineering tab , create a new lakehouse
Then click on new data pipeline
And the bug arrives

Did this happen via Desktop and/or Smartphone?
Desktop
Operating System
Windows 10
What browsers are you seeing the problem on?
Chrome
Version
latest
Device
DELL Latitude E7250
What is your current role?
Student
What technical topic is this bug related to?
AI/Data Science/Machine Learning
Relevant log output
It's an image and I do not have option to give image here.

### Tasks

It got created after the second login

I had to select Student Ambassador and accidently selected student.

@marwashahid  can you confirm this issue has been resolved?

@vivsridh4  yes it got resolved and the pipeline worked smoothly afterwards.


Modals: move modal-specific css out of apostrophe-ui into apostrophe-modal module

This is how we've set up our modal-specific less in 0.6, closing issue.


Instalation manual unclear

Hi There,
I have a Proxmox environment running and of course Frigate. In Home Assistance OS I integrated Frigate via HACS.
I was reading about the optional Lovelace Frigate Card but I'm stuck at this line in the manual.
Lovelace YAML users
If Lovelace is in yaml mode. I don't understand what is this Lovelace yaml mode? where can one check this...Isn't Lovelace the default view/template nowadays?
Why is the card not automatically added?

If you don't understand it, you're not using it ;-) Is there a reason you cannot just use the HACS install .

Why is the card not automatically added?

Home Assistant does not automatically add custom cards to a dashboard (and in my experience, automatically generated HA dashboards are never especially useful -- people always want to select what is shown).

If you don't understand it, you're not using it ;-) Is there a reason you cannot just use the HACS install .
I used the HACS install but learned via Youtube that you sometimes need to clear cache.
I had to manually add a resource for the card.

Why is the card not automatically added?
I was talking about the resource adding inside Home Assistance OS
This could be added inside the manual.
I love the card it's very nice, and the manual is very good. It's just a pity that I was stuck in the very beginning of the install process
Thanks for reading.

I was talking about the resource adding inside Home Assistance OS
This could be added inside the manual.

Ah, I don't use Home Assistant OS. Can you clarify what you needed to do?

I had to add manually this line:
/hacfiles/frigate-hass-card/frigate-hass-card.js

I had to add manually this line:

HACS adds a line like this automatically, I'm not sure why it didn't do that for you. I just verified this behavior on a fresh install, with no manual addition:

I don't know either...
I'm using Promox where frigate is running in a separate LXC and Home Assistant is on a VM. Both have of course different IP addresses.
So maybe a dding a warning that if after install the card can't be added, That one should  add the above line.
I find this important, because if it doesn't work out of the box, people will continue with the manual and change to yaml configuration.


[Bug] Loading an Image by URL fails with AWS S3 presigned URLs

The tokenizer module seems to be incorrectly modifying AWS S3 presigned URLs. The request made in the browser (via Network dev console) does not match what was input into the field.  Same presigned URL works with the normal Foundry tokens and secenes. Note, the examples below have the exact domain changed for privacy reasons, but are otherwise exactly what was put in when the error was observed. This happens every time. The result of the issue is that the request fails and the image cannot be retrieved.
Request in Browser Dev Console: https://s3.mys3domain.com/mybucket/f0a0df09fbe7a176.jpg?1731185930981
Actual URL: https://s3.mys3domain.com/mybucket/f0a0df09fbe7a176.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=PGEZShe9NRieoZZ9HTGZ%2F20241109%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20241109T205105Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=e3c68d939a6508d0c998cbc38bc24ee87c5f931de19ade9d01b70d27b81acb3e

Please explain your problem a bit more.
When are you seeing this?
As far as I understand Foundry can't generate presigned URLs for S3. So when do you see this problem?
How can I replicate it?

If you put the URL i have above into the globe icon on the attached image with the developer console open, you'll see the URL that is used to try to retrieve the image does not match what is put in. It is modified/truncated.


Programmatically ScreenShot of Camera View After frame Processing❓

Question
I am using React native vision camera for pose detection and I want to take a screenshot programmatically after pose detection is done with the landmarks visible on the camera view
Need to know How can I do that
What I tried
I tried taking a screenshot in react native using react-native-view-shot but this gives me a black screen in the camera view
I took screenshots of just the camera view and the entire screen too

VisionCamera Version
2.15.2
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

The Camera View is rendered on the GPU so it's not in the Android view hierarchy. You can use takePhoto() (with runOnJS) to take a photo or write a Frame Processor Plugin that converts a Frame to a file


tests: starknet js tests

Is there an existing issue?

[X] I have searched the existing issues

Description of bug
We should have some test cases that test compatibility with starknetjs. Basic transfers, declares and deploys. We already were using this - https://github.com/ocdbytes/madara-scripts. We can do a few changes and integrate this with Madara.
Steps to reproduce
No response

H

This has been resolved as of #284


4.2.0 prep

The "Add host parameter to postgresql_psql type (MODULES-661)" ticket is still under active discussion, I'd like to get this release to include the stable API change. Rather than adding a new parameter that may very well be deprecated in the next release.
What sort of timescale are you looking at/ expecting for the 4.2.0 release?
(Maybe slightly controversially, if we don't have time to complete the API discussion for MODULE-661 then I'd prefer it's commit to be reverted and skipped for this release)

@tomhey the release is going out tomorrow.

^^ @petems could you give a :+1: :-1: for including host in a release going out tomorrow, since you implemented that?

I'm ok with it being yanked, with the view to it being eventually re-implemented using the connection_hash @tomhey mentioned, saves having something that would be quickly deprecated.
:-1:


I907068: Update to latest Java 17 image

https://internal.almoctane.com/ui/entity-navigation?p=131002/6001&entityType=work_item&id=907068
Prior to a recent Java update, the /usr/lib64/jvm/java-17-openjdk-17/conf/security/nss.fips.cfg file had the following property:
nssDbMode=readOnly

and the /etc/pki/nssdb dir has the following perms:
drwxr-xr-x. 1 root root    37 Mar  8 13:35 .
drwxr-xr-x. 1 root root    32 Apr  8 08:40 ..
-rw-r--r--. 1 root root 28672 Mar  8 13:35 cert9.db
-rw-r--r--. 1 root root 36864 Mar  8 13:35 key4.db
-rw-r--r--. 1 root root   421 Mar  8 13:35 pkcs11.txt

However, in newer versions of Java (such as build 17.0.10+7-suse-1504<IP_ADDRESS>-x8664), this has changed to:
nssDbMode=readWrite

which means services running as non-root can no longer access the NSS db, so I have changed the permissions to:
drwxr-xr-x. 1 root root    55 Mar  8 13:35 .
drwxr-xr-x. 1 root root    32 Apr  8 08:40 ..
-rw-rw-rw-. 1 root root 28672 Mar  8 13:35 cert9.db
-rw-rw-rw-. 1 root root 36864 Mar  8 13:35 key4.db
-rw-rw-rw-. 1 root root   421 Mar  8 13:35 pkcs11.txt

CI Build Link:
http://sou-jenkins2.swinfra.net:8080/job/CAFapi/job/CAFapi~opensuse-opensearch1-image~I907068-perms~CI


feat(apl): promote 'apl' -> 'query'

.github/workflows/test_examples.yaml#L34 and
.github/workflows/test_examples.yaml#L51
Just need to be updated for the tests to be correct, everything else looks good!


Theme warning breaks MacVim?

On last update, I did git pull in the vim-airline directory. MacVim opened as usual because it is the editor associated with git, but it was blank. Now whenever I start MacVim I can't open a file because it's still trying to warn me about airline themes being moved to a new repository? See attached. Tried reinstalling MacVim and git using brew, but it's still broken. Never seen MacVim do this before. Thanks for any help.

please clone vim-airline/vim-airline-themes
and the warning will disappear.

Now that's service! Thank you, Christian. Love the improvements to wordcount and whitespace extensions.


[C++][Parquet] Provide API to check the presence of complex data types

we need functions like
hasMapType()
hasArrayType()
Reporter: Zherui Cao / @czxrrr
Assignee: Zherui Cao](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=czxrrr) / @czxrrr
PRs and other links:

GitHub Pull Request #5490

Note: This issue was originally created as PARQUET-1663. Please see the migration documentation for further details.

Wes McKinney / @wesm:
I assume you're referring to the C++ library. I added context

Zherui Cao / @czxrrr:
Yeah. Thanks.

Wes McKinney / @wesm:
Issue resolved by pull request 5490
https://github.com/apache/arrow/pull/5490


Added capability to set alt property when Image is used in MudAvatar

Description
Resolves #2893
Added Alt property to MudAvatar so that when an Image is used, it is possible to set the alt property of the img element.
Motivation and Context
Lighthouse accessibility test
How Has This Been Tested?
Types of changes

[X] New feature (non-breaking change which adds functionality)

Checklist:

[X] The PR title is no longer than 64 characters.
[X] The PR is submitted to the correct branch (dev).
[X] My code follows the code style of this project.
[x] I've added relevant changes to the documentation (applies to new features and breaking changes in library)

@JonBunator - docs updated :)


Instantiate shaft from excel file

I created a function to instantiate a shaft from a table, either xlsx or csv. It was based on a similar function in the BearingElement class and a function from an old version of ross.
The input table should contain a header with column names equal to parameter names in the ShaftElement class, except for a few optional ones, which can be given when the function is called. It returns a list of shaft elements, one per row in the table. I will create the PR now.


Moving code snippet with the word configuration fast by keep pressing enter/backspace will cause an extension exception

The exception message in ActiveLog.xml:

721
2015/02/05 23:28:22.022
Error
Editor or Editor Extension
    System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: span
   at Microsoft.VisualStudio.Text.SnapshotSpan..ctor(ITextSnapshot snapshot, Span span)
   at PowerShellTools.Classification.PowerShellOutliningTagger.<GetTags>b__0(TagInformation`1 current)
   at System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
   at PowerShellTools.Classification.PowerShellOutliningTagger.GetTags(NormalizedSnapshotSpanCollection spans)
   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.<GetTagsForBuffer>d__5.MoveNext()

@bmoore-msft Was running into this too.  Potentially more often now.

@ChrisLynchHP was running into this now too.

This should have been covered in the fix for colorization race condition


docs(qwik-v-react): fix array key consistency in docs

What is it?

[ ] Feature / enhancement
[ ] Bug
[x] Docs / tests

Description
Fixes array key prop docs. Rendering showed key is required but qwik vs. react did not have key.
Use cases and why

One use case

Another use case

Checklist:

[x] My code follows the developer guidelines of this project
[x] I have performed a self-review of my own code
[x] I have made corresponding changes to the documentation
[x] Added new tests to cover the fix / functionality

thanks


--ignore flag doesn't work

See: https://github.com/Zamiell/racing-plus/actions/runs/4086934691/jobs/7046832174

This is fixed now. i had to disable the glob support for the ignore file string, though. sorry

Yeah, that's expected, because in bash the glob would get expanded before it ever hit any Python.


#0 9.445 cgo: C compiler "gcc" not found: exec: "gcc": executable file not found in $PATH

I am running this inside a docker and it gives me this error however if I put gcc -v it says that I have the version 10.3

Solved with #19

Merged. Thank you


update lidar_centerpoint

Description

change densifiation to more efficient method
bug fix that no pedestrians and bicycles are detected when using the x2 model

Review Procedure

Remarks

Pre-Review Checklist for the PR Author
PR Author should check the checkboxes below when creating the PR.

[ ] Read pull request guidelines
[ ] Code follows coding guidelines
[ ] Assign PR to reviewer

Checklist for the PR Reviewer
Reviewers should check the checkboxes below before approval.

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code follows coding guidelines
[ ] (Optional) Unit tests have been written for new behavior
[ ] PR title describes the changes

Post-Review Checklist for the PR Author
PR Author should check the checkboxes below before merging.

[ ] All open points are addressed and tracked via issues or tickets
[ ] Write release notes

CI Checks

Build and test for PR / build-and-test-pr: Required to pass before the merge.
Build and test for PR / clang-tidy-pr: NOT required to pass before the merge. It is up to the reviewer(s). Found false positives? See the guidelines.
Check spelling: NOT required to pass before the merge. It is up to the reviewer(s). See here if you want to add some words to the spell check dictionary.

@yukke42 Can you also share the results of how the CPU load changed before and after the change?

Before:

Loads except libcuda.so = About 2.1 Bil.
Stores except libcuda.so = About 0.7 Bil.

After:

Loads except libcuda.so = About 1.0 Bil.
Stores except libcuda.so = About 0.5 Bil.


retry silent renew for fetch timeout

By default a fetch() request timeouts at the time indicated by the browser. In Chrome a network request timeouts at 300 seconds, while in Firefox at 90 seconds.
The implementation is inspired by this blog.

Closes/fixes part of #251
Checklist

[x] This PR makes changes to the public API
[x] I have included links for closing relevant issue numbers

The 8 seconds for the default request timeout is related to the SilentRequestTimeoutInSeconds, which defaults to 10 seconds.
Maybe its better to only use that default for the silent renew request and leave the other requests (code flow, metadata fetch) as is...

The refactor of the argument to object of useRefreshToken has been moved into this MR #340. Which must be merged first, then i will rebase this one...

Lets merge #339 first, such that i do not have to hardcode the 10s default...


Model Builder Error: training artifacts not found.

System Information (please complete the following information):

ML.Net Model Builder: <IP_ADDRESS>1801 (Main Branch)
Windows OS: Windows-10-Enterprise-21H1
Microsoft Visual Studio Enterprise 2019: 16.11.1
.Net: 5.0.303

Describe the bug

On which step of the process did you run into an issue: Training with Azure Environment
Clear description of the problem:

To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio 2019 start window;
Choose the C# Console App (.NET Core) project template with .Net 5.0;
Add model builder by right click on the project;
Select Image classification and Azure environment to start training;
After training a long time, prompt Model builder error: training artifacts not found.

Go to Azure portal, see the training is completed.

Expected behavior
No error during training.
Logs:
Azure+ImageClassification_MLModel1-NAHF3D.txt
Output-MachineLearning-Azure+ImageClassification_MLModel1.txt
Additional context
Affected scenarios: Image classification, Object detection
Also repro on: Microsoft Visual Studio Enterprise 2022 Preview: 17.0.0 Preview 3.1

LGTM on VS2022


Add Search by Repo ( Dropdown Option )

Add Search by Repo ( Dropdown Option )

@joeattardi . Could you approved this merge?

This is a great feature! Thank you!

@joeattardi I am glad that you liked it :-)


[cluster_test] Use slog

We want to have timestamps on messages
We already have env var VERBOSE for some messages that we only want to print sometimes. It's better to use more common LOG_LEVEL

Currently only replacing println! in deployment, main and tx_emitter
So far most of println!'s are replaced with info!, and debug is used instead of if verbose {}

@bors-libra r+

:pushpin: Commit 6c3eb73 has been approved by dmitri-perelman

:lock: Merge conflict

:umbrella: The latest upstream changes (presumably 77674b7016c4a06e6a900feee04799ba0716e4c1) made this pull request unmergeable. Please resolve the merge conflicts.

@bors-libra r=dmitri-perelman

:pushpin: Commit 5f78a90 has been approved by dmitri-perelman

:hourglass: Testing commit 5f78a903629358af5ee0d8c80510c16ceb651b35 with merge 58e622aa90d71d82c7d501a386773303688989a2...

:sunny: Test successful - checks-circle_commit_workflow
Approved by: dmitri-perelman
Pushing 58e622aa90d71d82c7d501a386773303688989a2 to master...


Use composite action for webpack persistent caching

What this PR does / why we need it?
Closes #7076
For each workflow, the webpack persistent caching step is written in the same code:
- name: Enable webpack persistent caching
  uses: actions/cache@v3
  id: build-webpack-persistent-cache
  with:
    path: node_modules/.cache
    key: build-${{ hashFiles('**/webpack.*.mjs') }}-${{ hashFiles('**/yarn.lock') }}
    restore-keys: |-
      build-${{ hashFiles('**/webpack.*.mjs') }}-${{ hashFiles('**/yarn.lock') }}
      build-${{ hashFiles('**/webpack.*.mjs') }}-

If requirements change, we'll need to edit it for each workflow. This makes maintenance difficult and can lead to mistakes.
Duplicate workflow steps can be abstracted into composite action.
- name: Enable webpack persistent caching
  uses: ./.github/actions/webpack-persistent-cache

See also https://docs.github.com/en/actions/creating-actions/creating-a-composite-action

@jongwooo can you fix conflicts?

@snitin315 Sure:)

There are still CI checks failing, can you check? sorry for delay.

There are still CI checks failing, can you check?

@snitin315 Sure. All CI checks are now passed.


Matching on variables results in unreachable code warnings while using literal values does not

Describe the bug
Matching on variables seems to match on the Rust equivalent of the "catch all" variable that is used to exhaustively match instead of first checking if those variables resolve to anything within the contract.
This results in warnings of "unreachable code" - see screenshots below.
How to reproduce
The following code produces errors (screenshot 1)
contract;

use std::{address::Address, chain::auth::{AuthError, Sender, msg_sender}, result::*};

abi MyContract {
    fn test_function() -> bool;
}

const ORACLE_1: b256 = 0x6b63804cfbf9856e68e5b6e7aef238dc8311ec55bec04df774003a2c96e0418e;
const ORACLE_2: b256 = 0x54944e5b8189827e470e5a8bacfc6c3667397dc4e1eef7ef3519d16d6d6c6610;
const ORACLE_3: b256 = 0xe10f526b192593793b7a1559a391445faba82a1d669e3eb2dcd17f9c121b24b1;

impl MyContract for Contract {
    fn test_function() -> bool {
        let sender: Result<Sender, AuthError> = msg_sender();
        let is_one_of_signers = match sender.unwrap() {
            Sender::Address(address) => {
                match address.value {
                    ORACLE_1 => true,
		    ORACLE_2 => true,
                    ORACLE_3 => true,
                    _ => false,
                }
            },
            _ => {
                false
            },
        };
        is_one_of_signers
    }
}

The variables ORACLE_2, ORACLE_3 and the _ are deemed unreachable however it will successfully build.
It's probably because it deems them all equal to ORACLE_1 - not because of the value or the type but because of the variable name used to catch all.
Here is further evidence that it sees the variable and instead of trying to resolve it within the contract it falls back to the "catch all" (screenshot 2)
contract;

use std::{address::Address, chain::auth::{AuthError, Sender, msg_sender}, result::*};

abi MyContract {
    fn test_function() -> bool;
}

const ORACLE: b256 = 0xe10f526b192593793b7a1559a391445faba82a1d669e3eb2dcd17f9c121b24b1;

impl MyContract for Contract {
    fn test_function() -> bool {
        let sender: Result<Sender, AuthError> = msg_sender();
        let is_one_of_signers = match sender.unwrap() {
            Sender::Address(address) => {
                match address.value {
                    0x6b63804cfbf9856e68e5b6e7aef238dc8311ec55bec04df774003a2c96e0418e => true,
		    0x54944e5b8189827e470e5a8bacfc6c3667397dc4e1eef7ef3519d16d6d6c6610 => true,
                    ORACLE => true,
                    _ => false,
                }
            },
            _ => {
                false
            },
        };
        is_one_of_signers
    }
}

Code that works
The following code builds without warnings. Notice how I am hardcoding the b256 in the match.
This is not ideal since we want to use the const declarations (defined in the erroneous codeblocks above) i.e. variables since they may get passed into the function.
contract;

use std::{address::Address, chain::auth::{AuthError, Sender, msg_sender}, result::*};

abi MyContract {
    fn test_function() -> bool;
}

impl MyContract for Contract {
    fn test_function() -> bool {
        let sender: Result<Sender, AuthError> = msg_sender();
        let is_one_of_signers = match sender.unwrap() {
            Sender::Address(address) => {
                match address.value {
                    0x6b63804cfbf9856e68e5b6e7aef238dc8311ec55bec04df774003a2c96e0418e => true,
		    0x54944e5b8189827e470e5a8bacfc6c3667397dc4e1eef7ef3519d16d6d6c6610 => true,
                    0xe10f526b192593793b7a1559a391445faba82a1d669e3eb2dcd17f9c121b24b1 => true,
                    _ => false,
                }
            },
            _ => {
                false
            },
        };
        is_one_of_signers
    }
}

Screenshots
Here is the warning for the first code block that uses 3 ORACLE variables

Here is the warnings for the second codeblock which only uses one ORACLE variable

cc @mohammadfawaz @emilyaherbert @sezna @otrho

Yeah this is coming from a complex analysis that's specific for match: https://github.com/FuelLabs/sway/blob/master/sway-core/src/semantic_analysis/ast_node/expression/match_expression/analysis/usefulness.rs
@emilyaherbert is the best person to comment on this as she's the original author of that code.

Can you clarify what you would like the fix to be for this issue? Would you like support for matching directly on constant values only? Or all values, including dynamic ones?
For example, Rust supports direct matching on constant values, but requires match guards for matching on dynamic values: https://stackoverflow.com/questions/70344352/how-do-i-match-based-on-a-dynamic-variable

The following code produces errors (screenshot 1)

This is definitely splitting hairs, but the example code here only produces warnings. This is expected because the compiler is interpreting each use of ORACLE_X to be a variable binding. The first variable binding in this case binds to any pattern that address.value could be, meaning the rest are unreachable.
So, right now, there is no bug. If we wanted to add the ability to match directly on constant values or dynamic values, we would need to add that as a new feature.

Can you clarify what you would like the fix to be for this issue @Braqzen ? Would you like support for matching directly on constant values only? Or all values, including dynamic ones?
For example, Rust supports direct matching on constant values, but requires match guards for matching on dynamic values: https://stackoverflow.com/questions/70344352/how-do-i-match-based-on-a-dynamic-variable

The following code produces errors (screenshot 1)

This is definitely splitting hairs, but the example code here only produces warnings. This is expected because the compiler is interpreting each use of ORACLE_X to be a variable binding. The first variable binding in this case binds to any pattern that address.value could be, meaning the rest are unreachable.
So, right now, there is no bug. If we wanted to add the ability to match directly on constant values or dynamic values, we would need to add that as a new feature.

As a user I would like to be able to use a match statement without having to think about what I can put in there.
E.g.
fn test(arr: [u8; 4]) {
  const numbers = [1u8, 2, 3, 4, 5];
  let ten = 10; // not sure if I must type this as a u8 too because of the typing
  let five: u8 = 5;

  match ten % 2 {
      numbers[0] => do_thing(),
      numbers[1] => do_thing(),
      arr[3] => do_thing(),
      8 => do_thing(),
      five => do_thing(),
      _ => do_thing(),
  }
}

Hmm, I suppose that it would be possible to do this, although its not clear to me if we should do this. The downside would be that match exhaustivity checking would have to be turned off for any match expressions that contain dynamic values, so the user would be required to add a _ case at the end in those circumstances, even if they had covered all the possible cases.

+1 to don't know if we should do this. If users want to do runtime comparisons that aren't guaranteed to be exhaustive at compile-time, they can always use if-else chains.

We tend to ask WWR(ust)D?  And in your example it wouldn't be happy.  Putting an identifier to the left of a => match assigns the matched value to that name for that arm body.  So you'd be introducing new variables five and one in the above code, AFAIK.  Trying to matchMatching against array members just isn't a thing either.
Matching against a const like ORACLE should be fine.


feat!: upgrade Typescript to v4.1.5 and add converter and typing upgrades

This PR is a combination of multiple other changes that have been in development in feature branches. See the PRs in the commits for the full details.

Since this is a breaking change, where can I find a migration guide?


Verify Correctness of Network Version 10 Implementation

AC

[x] Stay in sync with mainnet for 3000 tipsets (~1 day)
[ ] Pass all network version 10 conformance vectors when available

Conformance tests are not available so closing this issue in lieu of that since we are syncing with mainnet.


Removed files in other languages

Trimming the fat for a concentrated english documentation

Ooops - appologies wrong repo !


Horizon dies

horizon.log
See the debug log attached.
This happened a few times since we started running this.
There's no error messages in the log, it just stopped.
On the VM, only Horizon and Stellar-core. Nothing else.

Any chance you could share that VM privately? Usually you would see an error message when Horizon crashes so it's strange.

Horizon was not started as a service, it was killed by the system (SIGHUP).


Logging

Coverage remained the same at 97.561% when pulling 5851bfa02507f2fe611435b7bccdd415ec2f430a on aaron-tian:logging into 9b98142ab04b679bacca98d0815d8b42a12ad850 on cmu-db:master.


My C# project prompts that libssl is needed after Native AOT compilation, so how can I link libssl into the program?

My C# project prompts that libssl is needed after Native AOT compilation, so how can I link libssl into the program?

It's not possible with PublishAotCross. You can do it with regular .net build but it's not recommend: https://github.com/dotnet/runtime/blob/9fe8c95c890b0e68c77c7970f8413b1375afe18f/src/coreclr/nativeaot/docs/compiling.md#L72


Refresh docs

Adds at least top level documentation for many types, hides some unnecessary re-exports, removes warnings from nightly rustdoc on bad links, and so on.

I'll want to preview this with the #391 in, keeping draft until that.

The docs are still looking ok and now have at least top level module writings. I am bit worried docsrs will decide not to show any docs for ipfs::Ipfs since I hid the ipfs::IpfsInner but we'll just have to see. docsrs is using a more recent nightly than I am... but they must have upgraded overnight.
Trying now with 0da580074 2020-09-22, still looking good, no new warnings.

bors r+


CodeLlama 34B errors out after 3+ completions

Running codellama 34b using latest autoawq (installed from repo):
  File "/home/anton/personal/transformer-experiments/env/lib/python3.10/site-packages/awq/modules/fused/attn.py", line 183, in forward
    self.cache_v[:bsz, :, self.start_pos : self.start_pos + seqlen, :] = values_store
RuntimeError: The expanded size of the tensor (0) must match the existing size (17) at non-singleton dimension 2.  Target sizes: [1, 8, 0, 128].  Tensor sizes: [8, 17, 128]

To reproduce:
from awq import AutoAWQForCausalLM
from transformers import AutoTokenizer

model_name_or_path = "TheBloke/CodeLlama-34B-AWQ"

# Load model
model = AutoAWQForCausalLM.from_quantized(
    model_name_or_path,
    fuse_layers=True,
    trust_remote_code=False,
    safetensors=True,
    max_new_tokens=1024,
)
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=False)

tokens = tokenizer(
    "# Write a python function to loop to 1000\n\ndef", return_tensors="pt"
).to("cuda")

# Generate output
for _ in range(10):
    generation_output = model.generate(
        **tokens,
        do_sample=True,
        temperature=0.2,
        top_p=0.95,
        top_k=0,
        max_new_tokens=512,
    )

    print(tokenizer.decode(generation_output[0], skip_special_tokens=True))

Setting fuse_layers=False seems to work with the same code (though slower generations).

Thank you for this! My best guess is that the number of tokens exceed the cache. Will have to investigate this

I've seen the same with other models.  Thanks for the script @abacaj I'm going to run some other models through their paces to see if I can reproduce.
AutoAWQ=0.1.0, python=3.10, cuda=11.8
I can reproduce the error with any model:

TheBloke/Llama-2-7b-Chat-AWQ
TheBloke/vicuna-7B-v1.5-AWQ
casperhansen/vicuna-7B-v1.5-AWQ

 File "/home/alansrobotlab/anaconda3/envs/textgen/lib/python3.11/site-packages/awq/modules/fused/attn.py", line 183, in forward     self.cache_v[:bsz, :, self.start_pos : self.start_pos + seqlen, :] = values_store     ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: The expanded size of the tensor (0) must match the existing size (24) at non-singleton dimension 2.  Target sizes: [1, 32, 0, 128].  Tensor sizes: [32, 24, 128]

Fixed this now in #75, at least I cannot produce this error anymore even when running for 1000 iterations:
from awq import AutoAWQForCausalLM
from transformers import AutoTokenizer

model_name_or_path = "casperhansen/vicuna-7b-v1.5-awq"
max_new_tokens = 1024

# Load model
model = AutoAWQForCausalLM.from_quantized(
    model_name_or_path,
    quant_filename="awq_model_w4_g128.pt",
    fuse_layers=True,
    trust_remote_code=False,
    safetensors=True,
    max_new_tokens=1024,
)
tokenizer = AutoTokenizer.from_pretrained(model_name_or_path, trust_remote_code=False)

tokens = tokenizer(
    "# Write a python function to loop to 1000\n\ndef", return_tensors="pt"
).to("cuda")

# Generate output
cumulative_tokens = 0

for i in range(1000):
    if cumulative_tokens > max_new_tokens:
        cumulative_tokens = 0

    generation_output = model.generate(
        **tokens,
        do_sample=True,
        temperature=0.2,
        top_p=0.95,
        top_k=0,
        max_new_tokens=512,
    )

    num_tokens = len(generation_output[0])
    cumulative_tokens += num_tokens

    print(i, num_tokens, cumulative_tokens)

    # print(tokenizer.decode(generation_output[0], skip_special_tokens=True))

sure thing.  compiling now.  I'll run your updated script in the background for a couple of models and update this post with the results.

I don't see the expanded tensor error anymore. But model generations using fused=True are different (worse) compared to fused=False

Added fused_true and fused_false samples here. I turned sampling off so it should be greedy generation. For fused=False the output seems good
https://gist.github.com/abacaj/aefb5e9dd85a6fc8b54b5b655a9a632e

Thank you all for testing. The fact that the outputs after resetting the cache are getting weird or not working as expected is not good enough for me to merge the PR. I will have to explore:

How to reset the cache without weird outputs
How to increase allocated cache dynamically as inputs are run through the model

I switched up the approach entirely, and we are rolling over the cache now. This seems to produce correct outputs, and we get as close to HF output with FT modules. They are not meant to be the exact same outputs as slight numerical differences will lead to different outputs in some cases - however, they are very close now.

I have closed this issue as the main error has been solved. However, it seems there is a problem with the fused modules and the CodeLlama models, although it should already be supported as GQA is implemented.


Bug report: SONOFF TRVZB not showing the right status (turned ON or OFF)

Hello,
Currently testing and impresed by this whole solution. Many thanks for the efforts!!
I tested and can control my TRVZB from my radiators but for some reason the status is not updated. I can turn OFF and ON manually and the device works but the status is never updated in HA
Logs report:
Source: custom_components/sonoff/core/ewelink/cloud.py:616
Cloud ERROR: {'error': 411, 'deviceid': 'xxxxx', 'apikey': 'xxxxx', 'sequence': 'xxxxx', 'uid': 'xxxxxx'}
(I hide the uuids just in case is sensible data)

For error 411 see here: https://github.com/AlexxIT/SonoffLAN/issues/1533
Seems an interference issue in your home.
Try to change ZigBee and wifi channel

#1244


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/75826

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85368

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85372

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/85729


Add documentation about auditing to user manual

Brought over from Jira
https://issues.apache.org/jira/projects/ACCUMULO/issues/ACCUMULO-4635
Right now the user manual makes no mention of our auditing capabilities. We should cover operational concerns:
Where does the audit log go? Can I change it?
What Accumulo actions get audited? Can I change it?
What information is included in the audit log entries? Can I change it?

I am going to work on this

This issue should be on apache/accumulo-website instead. Since there's already a PR there, I'm closing this as duplicate of apache/accumulo-website#177


Document the fact that "style" may be an array

Please document the fact that the style property in package.json supports an array of glob patterns. This is useful for packaging CSS files from multiple dependencies residing in different directories.

So documented. thx!


Add support to connect to custom firestore backend.

Please close, merge, or comment. We plan to close stale PRs on November 28, 2023.


Typed Errors for sending transaction

Is your feature request related to a problem? Please describe.
When sending messages fails the error that is returned is directly from the sender, this means its difficult to interpret what the failure.
Describe the solution you'd like
Create errors for the common failure scenarios and map the errors to these. E.g.

Encryption Key
No Funds
Failed to communicate with network
More

Describe alternatives you've considered
N/A
Additional context
Add any other context or screenshots about the feature request here.

@robdefeo @tboeckmann can I have this issue assigned to me?

Assigned @leofofeo 😄  let me know if you need anything

Hi @leofofeo thanks for offering to pick up this issue and create a pull request. I see there has not been any activity for a while. If you have made any progress or have a PR nearly finish please let me know. In the meanwhile I am going to unassign you and open the issue up to the community again.


Remove volatility from schema manifest file

The schema paths written to the schema manifest are full absolute paths. This introduces volatility in the build, makes it non-reproducible and non-relocatable, since the full absolute path to a schema will vary between machines, e.g., between a local user and a CI machine. An additional source of volatility is the timestamp written to the file which will vary between every invocation even on the same machine.
With this change, the schema paths written to the schema manifest are relativized to the base project directory. The relative path to a schema is all that's required locate it and will always be consistent between machines. Additionally, the java-ordered-properties library is used to ensure the properties file is always written in a deterministic order and removes the unnecessary timestamp.

Thanks for the contribution @erichaagdev! I'll take a look tonight and try to release in the coming days.

Thanks so much for addressing this @erichaagdev! This is going to allow us to leverage build caching across over 500 of our repositories!! 😍

@deweyjose I pushed one additional change. It occurred to me the schema-manifest.props file shouldn't even be written to the target sources directory to begin with. This additional change gives the file its own directory.


🌱 bump to cluster-api 1.6.0

Signed-off-by: Anurag<EMAIL_ADDRESS>

upgrade of capi gets done in https://github.com/syself/cluster-api-provider-hetzner/pull/1073