Fix typo in local backend specs log

Small grammatical correction.
This can be further improved by explaining how users can restore their local backend specs to a valid state.

Codecov Report

Merging #29 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   49.64%   49.64%
=======================================
  Files          47       47
  Lines        3108     3108
  Branches      470      470
=======================================
  Hits         1543     1543
  Misses       1299     1299
  Partials      266      266

Impacted Files
Coverage Δ

lib/backend-operations/backend-spec-manager.js
8.37% <0%> (ø)
:arrow_up:

lib/project-backend-builder.js
26.31% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@DanielApt can you update your fork please with the latest and we will get this merged thanks.

@mlabieniec - do you still need me to update my fork? The changes seem merged?

@DanielApt Nope i was able to merge it thanks :)


Edge browser shows all the source code in developer mode

OpenUI5 version:
Browser/version (+device/version): Edge/ Chrome
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible):
Any SAPUI5 application
https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.GenericTileAsLaunchTile/preview
User/password (if required and possible - do not post any confidential information here):
Not required
Steps to reproduce the problem:

Run the application
Go to developer tools
Sources Tab

What is the expected result?
The sources tab shouldn't show the actual code of the application.
What happens instead?
Can see the application code in developer mode
Any other information? (attach screenshot if possible)
Is there any way to control the developer options to not show the actual code. Yes the minified files can help, but the edge  browser is displaying all the files.

Dear @RamkumarKrishnasamy ,
Thank you for your ticket - we appreciate your support!
As for the issue itself - this behavior is actually intentional. Since our demokit serves as the go-to point for application developers, we wanted to make their access to source files as easy as possible.
Best regards,
Georgi

Yeah, completely understand.
My actual concern is how to control it in the production system?
On Thu., 25 Oct. 2018, 7:54 pm Georgi Hristanov<EMAIL_ADDRESS>wrote:

Dear @RamkumarKrishnasamy https://github.com/RamkumarKrishnasamy ,
Thank you for your ticket - we appreciate your support!
As for the issue itself - this behavior is actually intentional. Since our
demokit serves as the go-to point for application developers, we wanted to
make their access to source files as easy as possible.
Best regards,
Georgi
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SAP/openui5/issues/2262#issuecomment-432989386, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AmfDv23hTT42HIeMpgu5Y3GwPZaiEt86ks5uoYpdgaJpZM4X5oN9
.


Select text alignment and hover styles

Fixed a rare bug when Select text may get misaligned vertically due to how line height and borders work together
Added a subtle hover effect

I'll defer to Pedro on stylistic changes to Radix. If it's blocking, I'm sure you can merge it and then discuss further when he's back next week.


LUCENE-9651: Make benchmarks run again, correct javadocs

Thanks Robert. I'll go through these benchmark files and correct them so that they work. It is a bit worrying that nobody noticed they're broken. :) Anybody using these at all?

Thanks Robert. I'll go through these benchmark files and correct them so that they work. It is a bit worrying that nobody noticed they're broken. :) Anybody using these at all?

I've not used this mechanism of the benchmark to do any performance benchmarking: It seems most performance benchmarking from contributors/committers is using https://github.com/mikemccand/luceneutil for this, or writing ad-hoc benchmarks.
Personally, I use this benchmarking package, but via QualityRun's main method,  to measure relevance, and I always write my own parser (because every trec-like dataset differs oh-so-slightly and the generic TREC parser we supply never works), and I just hold it in a minimum way (generate submission.txt, then i run trec_eval etc from commandline myself).
The issue why it isn't used might be the dataset, I'm unfamiliar with this reuters dataset and maybe its not big enough for useful benchmarks? I think in general people tend to use these datasets more often for performance benchmarks, often ad-hoc:

wikipedia english
geonames
apache httpd logs
NYC Taxis
OpenStreetMap

Or maybe its just because perf issues are usually complicated? For example to reproduce LUCENE-9827 I downloaded geonames and wrote a simple standalone .java Indexer (attached to issue) that essentially changes IW's config (flush every doc, SerialMergeScheduler, LZ4 and DEFLATE codec compression) to keep it simple measuring using only a single thread. It ran so slow i had to limit the number of docs to the first N as well.


タイムスタンプの登録

#49

Coverage remained the same at 0.0% when pulling ddcb6b26fbb152e74fccaacdbbb40c6de84e4dba on 26 into 2deddb1247a79cf0fcd5a4ff1bf06a37ddd7b120 on develop.

Coverage remained the same at 0.0% when pulling 66d4412d60ad10b6c98e468b76c017199a54dbce on 26 into 2deddb1247a79cf0fcd5a4ff1bf06a37ddd7b120 on develop.

LGTMです


Modified config to utilize the os.UserHomeDir() vs user.Current().HomeDir

Changed from user.Current().HomeDir to us the go function: os.UserHomeDir()
This change allows users to modify their home directory via environment variables (plan9 on Unix, and %USERPROFILE% on windows), vs mandating the OS-specified "current" user setting be used.  This allows a more "portable" use of your application.
For more info on this function see:
https://golang.org/src/os/file.go?s=14576:14610#L483

Preciate the contribution Zac, will craft a release with some updates later today :hugs:


[qt wallet] qtapp.ico is not in 3.00 format

Windows build qt wallet：
1>F:\repo\bitshares_play_0.0.2_build_3\programs\qt_wallet\resource.rc(54): error RC2175: resource file qtapp.ico is not in 3.00 format
Replace with old bts icon, this error will be gone.

ok so what we'll need now!?

@cassiopaia , It's about this file https://github.com/bitsuperlab/qt_play/blob/master/images/qtapp.ico, we need a icon in 3.00 format according to clar.

@clar please confirm if this icon is OK.  Close issue for now.

the new icon is ok now.


Check/install ckb-cli before using it

When using contract-related functions, it is assumed that ckb-cli is already installed on the user's computer. This assumption increases the usage threshold and adds unnecessary cognitive costs. kuai-cli can detect the environment before calling ckb-cli, and prompt the user with a [yes/no] option to automatically install ckb-cli.

PR: https://github.com/ckb-js/kuai/pull/301


CSV handling not working when empty column header encountered

Handling this issue.csv
ColumnA,,ColumnC
s,,o

with this YARRRML for example
prefixes:
  ex: "http://example.com/"

mappings:
  test:
    sources:
      - ['issue.csv~csv']
    s: ex:$(ColumnA)
    po:
      - [ex:something, ex:$(ColumnC)~iri]

gives an empty output.

Do you errors when you turn on debugging?

I'm not an expert but could it be due to the ~iri? Isn't that a datatype declaration? I don't think the value o in Column C is a valid IRI

@pheyvaer
Was using Matey...
Output from commandline when adding -v option:
08:58:56.277 [main] DEBUG b.ugent.rml.records.CSVRecordFactory.getParserForNormalCSV(89) - Could not parse CSV inputstream
java.lang.IllegalArgumentException: A header name is missing in [ColumnA, , ColumnC]
	at org.apache.commons.csv.CSVParser.createHeaders(CSVParser.java:501)
	at org.apache.commons.csv.CSVParser.<init>(CSVParser.java:412)
	at org.apache.commons.csv.CSVParser.<init>(CSVParser.java:378)
	at org.apache.commons.csv.CSVParser.parse(CSVParser.java:279)
	at org.apache.commons.csv.CSVParser.parse(CSVParser.java:234)
	at be.ugent.rml.records.CSVRecordFactory.getParserForNormalCSV(CSVRecordFactory.java:87)
	at be.ugent.rml.records.CSVRecordFactory.getRecords(CSVRecordFactory.java:46)
	at be.ugent.rml.records.RecordsFactory.getRecords(RecordsFactory.java:136)
	at be.ugent.rml.records.RecordsFactory.createRecords(RecordsFactory.java:70)
	at be.ugent.rml.Executor.getRecords(Executor.java:409)
	at be.ugent.rml.Executor.executeWithFunctionV5(Executor.java:153)
	at be.ugent.rml.Executor.executeV5(Executor.java:140)
	at be.ugent.rml.cli.Main.main(Main.java:318)
	at be.ugent.rml.cli.Main.main(Main.java:40)
08:58:56.280 [main] DEBUG be.ugent.rml.cli.Main               .writeOutputTargets(353) - Writing to Targets: [<rmlmapper://default.store>]
08:58:56.282 [main] DEBUG be.ugent.rml.cli.Main               .writeOutputTargets(368) - Exporting to default Target
08:58:56.283 [main] INFO  be.ugent.rml.cli.Main               .writeOutputUncompressed(470) - 0 quad was generated for default Target
08:58:56.283 [main] INFO  be.ugent.rml.cli.Main               .writeOutputTargets(396) - No results!

@valentinoli ex:o is a valid iri.

A header name is missing in [ColumnA, , ColumnC]

This is the problem. The header of the CSV file is invalid.

Consider it a feature request to make the mapper robust against the absence of a header value for a column.
Skip that column in such cases.
Useful in cases where the CSV file comes from an external source, not under own control.

Is it allowed to have an empty header value according to the CSV spec?

Is it allowed to have an empty header value according to the CSV spec?

Totally allowed https://datatracker.ietf.org/doc/html/rfc4180#section-2

😭  Ok, then this is a bug in the RMLMapper.

This was released in 4.13.0, closing.


fixed undefined context bug and implemented language setting

Hi, I've implemented being able to set up locale as per this request . I've also fixed a bug on Android where the context would be undefined and the tts object wouldn't be constructed.

Thanks for this.
I'm currently on holiday in Spain but will take a look when I get back in just over a week

Any progress on this PR? I would like to see this functionality added.

I don't have the ability at the moment to checkout the PR and test.
Has anyone else pulled it down and made sure everything works as expected?
If anyone can confirm then I will merge it straight in

Sorry, I've just played around with and it looked good. But I never used the version before this PR, so I can't judge on that.

@gaperlinski OK, based on the above I am going to look to merge this in.
I can see the README has been updated along with the code, however before I merge could you please bump the version number in package.json so I can easily checkout and npm publish.
Are users able to continue calling the speak method as they have done in their app up to now? Or is the locale parameter now required in order for the method to be called?
Just finding out whether there is a breaking change here or just a backwards compatible new feature? This will decide what version number to publish.
Breaking change please use 2.0.0 in package.json
Backwards compatible new feature please use 1.2.0
Thanks.

Hi,
I've updated the version to 1.2.0. The locale parameter is optional just like the other parameters except for the first one.
Thanks

merged - thanks all


WIP: Use poetry instead of pipenv & update dependencies

[x] restructure repo to use poetry instead of pipenv
[x] black
[x] add github actions
[x] update dependencies
[x] update documentation
[x] update readme badges

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@47cb064). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #34   +/-   ##
=========================================
  Coverage          ?   90.09%
=========================================
  Files             ?       16
  Lines             ?      444
  Branches          ?       52
=========================================
  Hits              ?      400
  Misses            ?       35
  Partials          ?        9

Continue to review full report at Codecov.

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


Disk Encryption Set created using AZ CLI Not available for use in Portal

This is in addition to issue reported in #49499
If I am creating the disk encryption set using az cli commands given in this document, the disk encryption set is not available for use in Azure Portal or ARM/Terraform. It's created successfully but while creating VM through portal in same region as DES, it doesn't shows up in the drop-down.

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

ID: 143bdfce-bcca-f901-c996-e22642a37561
Version Independent ID: 384e5861-97da-a89a-39b2-48e1f992ab61
Content: Server-side encryption of Azure Managed Disks - Azure CLI - Azure Linux Virtual Machines
Content Source: articles/virtual-machines/linux/disk-encryption.md
Service: virtual-machines-linux
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

Thanks for the feedback! We are currently investigating and will update you shortly.

@AjKundnani We did a repro and found the issue you have reported.  It was because of the camel case used in cli for mentioning region.
location=westcentralus
Doc author has updated the document with a note on this.
As a workaround, you can try to create the DES with region mentioning lower case as mentioned in the document from CLI and now you can see it on the portal while creating VM.
However, team is trying to rollout a fix for this for all the regions.
Please let me know if you are still facing issue on this after the work around suggested.

Hello @VikasPullagura-MSFT  - Thanks, will try this workaround.
Meanwhile I used Azure portal to re-create disk encryption set and tried using same in Infrastructure as code (terraform) & Azure Portal using same OS image.
VMs created using Azure portal are able to use Disk Encryption set properly. VMs are able to boot without issue.
VMs deployed through terraform are able to use Disk Encryption Set but not able to come up throwing error ProvisioningState/failed/InternalDiskManagementError for OS disk, even though OS disk is showing healthy.
Not sure if it's related issue or if I shall open separate thread for same.

Hello, after debugging a bit more, found out that DES is not working with Standard DS2_v2 but working with Standard_B4ms. Are there VM SKU restrictions with Disk encryption set?

@roygara Can you please add your comments on this.

@AjKundnani As you are engaged with the PG team over email on this issue, requesting you to continue the discussion over email. However, your comments will remain on this document.
We will now close this issue.
Thanks.


Clear out the notes/ folder and write up User_Documentation.txt, Developer_Documentation.txt, and Architecture_Documentation.txt

Complete


7.2.1 How to customize keyboard fonts

7.2.1 How to customize keyboard fonts
In the previous version I modified the buttonStyle of the custom KeyboardAppearance as style.font = .custom("Chalkduster", size: 18)
But in the new version, the font type is changed to KeyboardFont
KeyboardFont does not seem to be able to set other custom fonts

你好@zkamisama
感谢您强调这一点。澄清一下，这个变化不在 7.2.1 中，而是在即将到来的 7.3 中。
我实际上也只是添加了对自定义字体的支持，因此在 7.3 发布时将支持它。

This is great news, looking forward to the new release

Hi @zkamisama
Thank you for highlighting this. Just to clarify, this change is not in 7.2.1, but will be in the upcoming 7.3.
I was actually just adding support for custom fonts as well, so this will be supported when 7.3 is released.

This is great news, looking forward to the new release

Thank you for testing it out! 🙏

@danielsaidi
Oh, one more question I want to ask you
After setting the buttonImage of the KeyboardAppearance, the background image of the button is overlaid on the letters of the button. Is this a bug or is this by design?

This is by design, although a better name would probably be buttonIcon. The appearance either sets the text or the image of a button, for instance the arrow or "return" text used by the return key.
There is currently no way to set a background image with the appearance, but it's a good feature! You currently have to customize the SystemKeyboard and use a custom button view builder.

SystemKeyboard

I tried to use SystemKeyboard to customize the buttonView, but I can't seem to get the button click action

@zkamisama Oh, the idea with the buttonView is to get a completely custom view, in case you want to add other views that don't behave like buttons. But I realize now that if you use the buttonContent initializer, you still get the border and the insets so that will perhaps not work for you.

@zkamisama I have pushed a new commit to master with support for custom fonts. Can you test if this works for you?

I have pushed a new commit to master with support for custom fonts. Can you test if this works for you?

Thanks, I tried the latest master and the custom fonts are working

Hey, that's great to hear! :D
I'll try to release the 7.3 in the beginning of next week.

@zkamisama Due to the massive changes in 7.3 and me going on vacation for a few days, I am creating a release candidate in which you will be able to test all of this.
Just use the upcoming 7.3-rc1 tag to try it out and feel free to reopen this issue if you think that there's still things that need to be done.


 Thanks.
I will publish a new release soon.
Fixed by https://github.com/RazrFalcon/resvg/commit/cd7f66bcb3d3ac7078adc0bec8c63c0ca15839cc

sweet, thanks!


No file ever locked

Hello,
I am trying to use this asset mainly for the locks but no locks are ever requested. I traced it down until I figured that at this point https://github.com/NibbleByte/UnityWiseGit/blob/master/Assets/DevLocker/VersionControl/WiseGit/Editor/LockPrompting/GitLockPromptDatabase.cs#L337, statusDatabaseData contains 0 entries. I can perform other git operations with the plugin so I think nothing is globally broken or setup wrongly. Lock requests are enabled in the settings. I'd appreciate some help.

The locks prompt uses the statuses retrieved by the GitStatusesDatabase. If it doesn't retrieve anything, it won't know what to lock. In order for this to happen, you need to enable overlay icons in the WiseGit preference window. Also make sure remote changes are fetched, and the refresh interval is a sensible number (in seconds).

If fetching remote changes is set to "Same As Project Preference", then check in the "Project" tab.

Note: when fetching remote changes is enabled, this means WiseGit will regularly call "git fetch" in the background, downloading any remote changes to your local ".git" folder (this won't affect your working copy). If there are a lot of remote changes (added assets) it may take some time to download. Check if everything was fetched correctly.
Hint: use the context menu Git / Refresh Icons & Locks to manually refresh the icons. At the bottom right corner of the Unity window, you'll see the progress bar "Git Refresh" indicating that is working. Check if it manages to finish or it remains stuck forever.
As a last resort, can you type in cmd from your root folder the command git status --porcelain and post the output here.

Hi, sorry for coming back to this late and thanks for your response.
The problem was indeed that I did not have the overlay icons activated because I didn't need them. Now auto locks are attempted but result in an error:
/usr/bin/git lfs lock "Assets/Scenes/ShopScene.unity"
Locking Assets/Scenes/ShopScene.unity failed: exit status 255

UnityEngine.Debug:LogError (object)
DevLocker.VersionControl.WiseGit.WiseGitIntegration/ResultConsoleReporter:Dispose () (at Assets/DevLocker/VersionControl/WiseGit/Editor/WiseGitIntegration.cs:266)
DevLocker.VersionControl.WiseGit.LockPrompting.GitLockPromptDatabase/<>c__DisplayClass17_0:<LockEntries>b__1 (DevLocker.VersionControl.WiseGit.GitAsyncOperation`1<DevLocker.VersionControl.WiseGit.LockOperationResult>) (at Assets/DevLocker/VersionControl/WiseGit/Editor/LockPrompting/GitLockPromptDatabase.cs:312)
DevLocker.VersionControl.WiseGit.GitAsyncOperation`1<DevLocker.VersionControl.WiseGit.LockOperationResult>:Update () (at Assets/DevLocker/VersionControl/WiseGit/Editor/GitAsyncOperation.cs:127)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions () (at /home/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:381)

However, running /usr/bin/git lfs lock "Assets/Scenes/ShopScene.unity" in a terminal does not result in a code 255, it results in a code 0.
The project explorer marks changed files with a red circle with a white exclamation mark. Running "get locks" on one of them doesn't seem to do anything, not even on the file that I locked from the terminal.

This looks like an error within git lfs itself. I'll need more information about your setup.
What operating system and git version are you using? For git type in git version and git lfs version. How are they installed (by the OS, homebrew, MacPorts), where is the git binary and where is the lfs binary?
Did you specify binary path (i.e. "Git CLI Path") in the preferences? Can you try leaving it empty?
If you're using MacOS (or Linux?), note that the Terminal is using more environment variables than Unity started from the UnityHub. In other words, the Terminal PATH variable contains /usr/local/bin while running Unity does not. This may be the reason you see different results in the Terminal.
In the WiseGit plugin I have accounted for this and included the default binaries paths, but I may have missed the ones from your installation.

Running "get locks" on one of them doesn't seem to do anything, not even on the file that I locked from the terminal.

This is because context menus of WiseGit just forward your request to other software with better GUI. For Windows that would be TortoiseGit, for OSX that is SnailGit, for Linux is RabbitVCS.  The only viable option is to go to the preferences and switch the "Context menus client" to "CLI" which is a poor man's terminal in Unity window - a crude fallback.

git version is 2.46.1, LFS version is git-lfs/3.5.1 (GitHub; linux amd64; go 1.22.1). This is on Manjaro Linux so they were installed using pacman. Both git and git-lfs executables reside in /usr/bin.
Git CLI Path was /usr/bin/git. Leaving it empty changed nothing.
Regarding the context menu, I set the client to CLI (which is sufficient for me), which resulted in a CLI popping up in Unity as you described which showed a "Failed" at the bottom for the "Get locks" context menu action - as expected, as auto-locking also does not work.
If it helps, I can send you the test project I used to reproduce the issue. It is rather crude because I copied together some files from other projects to have something to mess with, it's not a functioning Unity project, but I guess that's not relevant as I only care about the files.

No need for a project. I've tested WiseGit under Ubuntu and it seemed to work. But your distro seems to have different setup. I'm 80% that this is the same issue as on OSX. Can you try enabling the "fix" for OSX to compile for Linux as well?
Go to GitPreferencesManager.cs file, scroll down to the CheckGitSupport() on line 333. The first line of the function is a #if preprocessor for OSX. Please change it from
#if UNITY_EDITOR_OSX
to
#if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX

Also make sure that the "Git CLI Path" remains empty.
Restart Unity after that to take effect.
This will make sure that default binary paths are included in the PATH environment variable (only for the running Unity), so shell commands can find git & lfs executables.

Please change it from
#if UNITY_EDITOR_OSX
to
#if UNITY_EDITOR_OSX || UNITY_EDITOR_LINUX

That did not have any effect. The code there however does not add my binary folder, which is /usr/bin. I added another if block to add /usr/bin, too, but that also did not help.
However, I noticed that when I now add my CLI path to the settings and try to save it, the dialogue complains that it could not find the executable in that folder, even though it's clearly there and the path was accepted before.

Ah yes, /usr/bin wasn't on the list, as it wasn't needed on OSX.  When you added it, did you restart Unity? As recompile won't refresh it (I'm doing some neat tricks to avoid initializing every time on recompile).
Don't add Git CLI Path in the preferences, I'm quite sure it wouldn't work. I need to remove that preference. :(

As far as I remember, setting CLI path to use, didn't work well with lfs and maybe some other functionality. It may run /usr/bin/git with absolute path, but git itself won't find the lfs executable.
The best fix is to make sure it runs naturally as it does in the Terminal. Can you echo your PATH variable in the Terminal? Maybe we're missing something. You may even try to copy the output and set it directly in the code with Environment.SetEnvironmentVariable(...);

I figured it out. It was indeed an issue with my system configuration and SSH.
Git uses ssh-add to get and remember the ssh key. ssh-add uses ssh-askpass to get the password from the user via a convenient dialogue. I, however, use Manjaro KDE. KDE uses ksshaskpass instead and the Manjaro packagers forgot the recommended symlink, so ssh-add could not find ssh-askpass. I did not notice in my terminal because I use terminal-specific SSH helpers because I had trouble to get the terminal to remember the password.
I added it and now your plugin works as expected. The workaround you use for Mac OS is not required. Maybe I even fixed my terminal problems.

If I may ask for help again... it's alright if you don't want to bother. I was initially trying to figure out if your asset works with Unity 2021, too, when I stumbled upon the issue we talked about above. Everything works fine now in Unity 2022 and 2021, too - with fresh projects, that is. With my project I currently work on, assets still are not locked.
The thing is - I can lock them from the context menu. When I go to a terminal, they will show up. I do, however, not get a lock icon in the project manager, and lock prompts and auto-locking do not work.
I figured out that in this line https://github.com/NibbleByte/UnityWiseGit/blob/master/Assets/DevLocker/VersionControl/WiseGit/Editor/LockPrompting/GitLockPromptDatabase.cs#L345 newEntries is empty. I also figured out that PostProcessAssets is called correctly, so something has to happen in between that is somehow broken for my project. I'd appreciate support if you have time and thank you very much for your help so far.

That is great. I'll add proper message if error 255 occurs, although I'm not sure what to say 😄
About the other issue: do you have any overlay icons visible (modified, unversioned)? Note that modifying an asset may show icon briefly, but disappear in a few seconds after that (when the check actually happens).
The lock prompt is triggered when modified assets are detected. GitLockPromptDatabase asks the GitStatusesDatabase for it's knowledge for all the statuses (which is used for the icons). The GitStatusesDatabase runs regularly (on another thread) git status --porcelain at the root of the project, to gather this info for all the assets.
You can see this in the WiseGitIntegration.GetStatuses() method. Can you run this in the terminal, show me what you get?
If only lock icons are missing, the same function checks for locks as well: git lfs locks --verify --json. Can you check that one as well, at the project root?

I have "modified" icons that show up when I save a scene and disappear after a few seconds.
git status --porcelain shows something similar to:
M Unityfolder/Assets/Scenes/GameScene.unity
?? Unityfolder/notaddedfile.txt
?? irrelevantfile.txt

git lfs locks --verify --json
{"ours":[],"theirs":[]}
and after locking one asset via context menu (which then still does not show the lock icon):
{"ours":[{"id":"..","path":"Unityfolder/Assets/Prefabs/ModuleList.asset","owner":{"name":"WildRikku"},"locked_at":"2024-11-21T22:30:41Z"},{"id":"..","path":"Unityfolder/Assets/Prefabs/ModuleList.asset.meta","owner":{"name":"WildRikku"},"locked_at":"2024-11-21T22:30:41Z"}],"theirs":[]}```

I think I know what is happening. Your Unity folder is not the root of the git repository, so the paths returned by git commands don't start with "Assets/...". I suspected this would be a problem, but didn't have time to test and fix.
I need to fix this properly everywhere, which would take time. Apologies for the inconvenience.
For hack-fix, you can do this:
Go to WiseGitIntegration.cs inside ExtractStatuses() replace the line
statusData.Path = currentSubmoduleRoot + line.Substring(3);
with
statusData.Path = currentSubmoduleRoot + line.Replace("Unityfolder/", "").Substring(3);
Go to WiseGitIntegration.cs inside GetStatuses() find this line
locksJSONEntry.ExcludeOutsidePaths(path);
and add this code after it
locksJSONEntry.ExcludeOutsidePaths(path);
for (int i = 0; i < locksJSONEntry.ours.Count; i++) {
	var our = locksJSONEntry.ours[i];
	our.path = path.Replace("Unityfolder/", "");
	locksJSONEntry.ours[i] = our;
}
for (int i = 0; i < locksJSONEntry.theirs.Count; i++) {
	var their = locksJSONEntry.theirs[i];
	their.path = path.Replace("Unityfolder/", "");
	locksJSONEntry.theirs[i] = their;
}

This is a partial fix and I'm not sure if it works, but you could try.

Thank you so much! It helped, I can now permanently see the "modified" icons and locks are registered and performed, but they are somehow performed twice, throwing an error the second time because the lock already exists, and yet there is no lock icon. It looks like this is also related to the base folder. I get:
GitLockPromptDatabase Operations:
git lfs lock "Assets/Scenes/GameScene.unity"
Locking Unityfolder/Assets/Scenes/GameScene.unity failed: Lock exists

and
Locking failed with result LockAlreadyExists for assets:
Assets/Scenes/GameScene.unity.

and right before that the success message:
Locked assets:
Assets/Scenes/GameScene.unity

Would it help to just put Unityfolder/Assets in the settings in target folder instead of just Assets?

That is why I suspected my quick hack-fix won't work - all the code need to be reviewed and fixed. :(
Not sure which settings you're referring to. But if git starts returning Assets/... paths, everything will work.

I looked into it again and got it to work. There was an error in the workaround here: https://github.com/NibbleByte/UnityWiseGit/issues/1#issuecomment-2493207329
Replace has to be called on locksJSONEntry.ours[i].path, not path.
Now locks are recognized correctly so I can use auto-locking, WiseGit will not try to lock again and the lock icon shows. :)
You are right that there are more places. I can see that it's tricky though. There is Application.dataPath which would give you the correct Unity folder to work on but it's only available on the main thread. There is also the option to give a working directory to the git commands but that does not help with LFS commands.
Anyway, thank you so much for your help, for now, I can live with the workaround, and if you ever got time to rework the code it will be much appreciated. I will rename this ticket accordingly. Feel free to ping me if you need someone to test something.

Oh, and for reference, here is my workaround for WiseGitIntegration.GetStatuses():
		if (m_IsApplicationQuitting)
			return StatusOperationResult.UnknownError;

		locksJSONEntry = JsonUtility.FromJson<LocksJSONEntry>(result.Output);

                // hack begin
                for (int i = 0; i < locksJSONEntry.ours.Count; i++) {
                    var our = locksJSONEntry.ours[i];
                    our.path = locksJSONEntry.ours[i].path.Replace("GDTVJAM2023/", "");
                    locksJSONEntry.ours[i] = our;
                }
                for (int i = 0; i < locksJSONEntry.theirs.Count; i++) {
                    var their = locksJSONEntry.theirs[i];
                    their.path = locksJSONEntry.theirs[i].path.Replace("GDTVJAM2023/", "");
                    locksJSONEntry.theirs[i] = their;
                }
                // hack end

                locksJSONEntry.ExcludeOutsidePaths(path);

I think I've fixed the code everywhere. You can download the fix from the #upm branch. Haven't released new version or published it yet anywhere, as I want to do some more fixes.

Hey great! As far as I can tell, it works. I removed the source files and used UPM and without any changes, auto-locking and status detection and icons worked. Thank you!


359 fe implement add tag functionality

Implement AddTag component

rename AddTags to TagManagementControls for clarity
move ToastContainer from ContactForm to layout.tsx
minor UI modifications for better UX

Conflicts resolved. Will create another branch for tags functionality and rebase this once it is ready.

Base branch changed to feature/base-branch


Two Hubs - One Disappeared

I have two hubs configured with static IPs and a simple config (like the multiple hub example) and one disappeared from HomeKit in the last couple of days. I can't seem to get it back. I've restarted homebridge multiple times, tried downgrading homebridge-harmony (and upgrading it back to the latest) but nothing has worked. I can see normal log files about the missing hub and it appears and works in the homebridge UI, but it doesn't appear in the home app anymore. I have a lot of scenes tied each hub so I'd prefer a solution that would get the missing one back as opposed to nuking all hubs and recreating them if possible. Any clues appreciated.

Hi,
was harmony plugin on a dedicated bridge or the main bridge ? When you say it disapeared from homekit, You mean from home app right ?
What was published  ? only a tv accessory or also switches ? If it is the tv accessory that disapeared, di you try adding it back with its id (external accessory) ?

I had tried to add it back but it didn't appear. Your answer prompted me to look around more in homebridge and using the "Unpair Bridges/Cameras/TVs/External Accessories" to unpair the problem HarmonyHub allowed me to re-add it. Thanks.


Add workflow to check presence of DO-NOT-MERGE

Explanation

The DO-NOT-MERGE label is designed to prevent other people from merging a PR (perhaps because it is blocking another PR or for some other reason). In reality, however, this is merely an alert, and it is still possible for a PR which has this label to be merged.
This commit adds a GitHub workflow which runs when opening a PR or changing the labels for a PR and fails if the PR has a DO-NOT-MERGE label. Once this workflow is in place, the
ensure-block-pr-labels-absent check can be added to the branch protection settings to truly enforce that a PR cannot be merged while the label is in place.
References

The extension has a similar check: https://github.com/MetaMask/metamask-extension/blob/275523a24e4f496384943f107369810cd93aa86e/.github/workflows/check-pr-labels.yml. I simplified the workflow.
Changelog

(N/A)
Checklist

[x] I've updated the test suite for new or updated code as appropriate
[x] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
[x] I've highlighted breaking changes using the "BREAKING" category above as appropriate

Here is a run of the workflow when this PR did not have the DO-NOT-MERGE label: https://github.com/MetaMask/core/actions/runs/8011369082/job/21884449638?pr=3960
Here is a run of the workflow when it did: https://github.com/MetaMask/core/actions/runs/8011481478/job/21884809981?pr=3960


New branch

What does this PR do?
(Provide a description of what this PR does.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines?
(Write your answer here.)
yes, I have read the Contribution Guidelines.
This PR for adding one more App into Android/Android Apps Folder

This PR for adding one more App into Android/Android Apps Folder

@geekgodgagan The readme file should contain Concepts used, Documentation and resources used and Future Aspects of the app

@kunal299 ok sir I will update it

@kunal299 sir please check it now


Android vs iOS chart pie

Hello. I have a problem with pie chart. Here is the data i have [ [ 0, 128 ], [ 128, 42 ], [ 42, 17 ], [ 17, 16 ] ]  and here is the result i have https://monosnap.com/file/lZyY0b4hOvtwSsmwBFTPMl1Ie3riaF
left screen is iOS, right screen is Android
package.json is :
 "react": "~15.2.1",
 "react-native": "^0.31.0",

Can anybody tell me what am i doing wrong?

Same for a bar chart. here is the data [['first', 122], ['second', 44], ['third', 17], ['fourth', 16]]
here what i got https://monosnap.com/file/vYb2xje6irIWK68KyMaMN2Brrjlr4x
the third bar's height is wrong.

I'm having the same issue with well.

@daikini for bar chart i found only one way how to fix that issue. But it still looks weird.
          data={preparedData}
          verticalGridStep={1}
          color={'black'}
          type="bar"```

I'm having the same issue

Any updates on this?

The pie chart error originates from a bug in the react native art implementstion on android. Basicly there is a problem when you want to draw wedges which cover more than 180 degrees. as a quick fix try to replace every dataset with three copies of the dataset. So that instead of one wedge it will draw three wedges with a third of the area and give them all the same color

Anybody know how to fix the pie problem? here it always uses the same color.

As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.


Iavl rollback: not ready for merge

This is an experimental script to undo the last few blocks of an sdk store.
Useful when you have the wrong version of the software and get
ERROR: Error during handshake: Error on replay: Wrong Block.Header.AppHash. on startup.
Usage:

Compile script
Look for the abci app database (it should be data/application.db, you need the full path)
Stop your blockchain daemon
Check we can read the application db
Roll it back
Check it was updated
Restart application daemon.

This was inspired by issues with regen network's upgrade... so some info my be regen specific.
Details
Compile Script:
git clone https://github.com/confio/iavl
cd iavl
git checkout iavl-rollback
GO111MODULES=on go install ./cmd/iaviewer

# this should show a just built binary
ls -l `which iaviewer`

Check state: iaviewer stores <PATH TO application.db>
You should see the last height and all stores
Roll back two blocks: iaviewer rollback <PATH TO application.db>
Check state again: iaviewer stores <PATH TO application.db>
You should see the latest height is 2 less, but all stores still listed
Once this is valid, restart xrnd v0.4.0 and wait for it to hit the upgrade block (953626).
Then you can stop it, upgrade to v0.4.1 and continue with no more consensus issues

Very cool, I opened an issue for this on the tendermint repo a while back: https://github.com/tendermint/tendermint/issues/3845
Glad to see other people have been thinking about adding the same functionality. I have two questions:

My understanding of this issue is that the IAVL already has the Rollback function. We just need to use it in a tm command and also roll back the rest of tendermint state that isn't stored in IAVL. Is the Rollback function in mutable_tree.go not sufficient to rollback AppState by one block?
Why do we need to roll back more than one block in your example above. If the AppHash is unexpected at height H, why would we have to rollback beyond height H-1?

I agree with @AdityaSripal here - we may already have the basic functionality in IAVL (I'd have to check), and this should be handled higher up in the stack (e.g. Cosmos SDK or Tendermint) in order to handle application-specific rollback logic. Since I believe this script is coupled to the Cosmos SDK (by reading the StoreInfo stuff) it's not really appropriate to merge this as is, so I'll close this for now.

Yeah, I never wanted to merge, but was here to share some scripts I worked on, that were necessary for some other postmortems.
The fact we have no cli tooling for this pops up many times when there are errors on updates, consensus somehow lost when syncing, etc. It would be great if someone priortized a real solution to this and linked the issue/PR. The PR was more a demo of a one-off tool I did with the hope it would move forward to better tooling.

Totally, the issue to follow would be https://github.com/tendermint/tendermint/issues/3845 I suppose.


How to specify caching directories

I was wondering how I can specify (a) path(s) where I can cache "things" in order to speed up the building process. I did not find anything about this in the documentation.
One can specify the caching directories for Conda and pip, but I was wondering if there are extra options that are Pybuilder specific.

So, I'm working on enhancements and face with the same question right now. Basically, if you're caching for specific project it MUST be in that project's target dir. If you're caching per pyb install, it should be somewhere identified by the path to pyb (probably sha1/sha256 hash of an absolute normalized path), i.e. ~/.cache/<pyb path sha hash>/....
Along those lines.


[#632]fix: respect volumes in rss spec

What changes were proposed in this pull request?
respect volumes for rss coordinator and shuffle server
Why are the changes needed?
This is a bug fix
Fix: #632
Does this PR introduce any user-facing change?
Admin of rss cluster could specify the volumes which could be used to configure
hadoop conf for example
How was this patch tested?
Added UTs.

Codecov Report

Merging #634 (4bcfe6f) into master (b31a5c9) will increase coverage by 2.29%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #634      +/-   ##
============================================
+ Coverage     60.90%   63.19%   +2.29%
  Complexity     1799     1799
============================================
  Files           214      200      -14
  Lines         12381    10410    -1971
  Branches       1042     1042
============================================
- Hits           7541     6579     -962
+ Misses         4437     3488     -949
+ Partials        403      343      -60

Impacted Files
Coverage Δ

...tor/pkg/controller/sync/coordinator/coordinator.go

...pkg/controller/sync/shuffleserver/shuffleserver.go

...oy/kubernetes/operator/pkg/controller/util/util.go

deploy/kubernetes/operator/pkg/webhook/manager.go

deploy/kubernetes/operator/pkg/utils/config.go

deploy/kubernetes/operator/pkg/utils/rss.go

deploy/kubernetes/operator/pkg/utils/certs.go

...rnetes/operator/pkg/webhook/inspector/inspector.go

...bernetes/operator/pkg/controller/controller/rss.go

deploy/kubernetes/operator/pkg/utils/util.go

... and 4 more

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

Is it duplicated with this pr? https://github.com/apache/incubator-uniffle/pull/466

merged master & branch-0.7


Time Range not getting selected when we include 12Am

If we include 12Am from label it is not working properly. For example if i pick a range from 10pm/22 to 1am it is not working, gives wrong time interval. If i disable the time 12am to lets say 2. Everything is working fine. Please fix this issue as soon as possible.

Please elaborate, what you mean. I could not find any issue, but maybe I did not understand your problem correctly.

if i select a time range for a day (e.g 6th of july). if i select time range from 10pm to 1am it is not working because at 12 am next day starts( that will be 7th of july but i selected 6th of july only). Either you should not let users choose a time range from pm to am because it will be confusing.

If you set the start time to 10pm and the end time to 1am, you should get exactly this result:
A TimeRange  with start set to 10pm and end to 1am
It does not matter that it's another day. This picker only cares about time, dates are not covered. It's up to you to interprete the results in your code and choose a date according to your app logic.
Something like:
if endTime < startTime
endDate.add(1,'days')
Did this answer your question?
Otherwise I'd recommend you post your code snippet either here or on stackoverflow.

Thanks, yeah my question is answered now.


feat(compiler): Improve type inference for parameters compared to constants only

What do you want to change?
We would like to improve the type inference of parameters compared to constants only.
Currently, it is absolutely inferred that interface{}.
https://play.sqlc.dev/p/9ba65e1196da80daf0543327f12974275bf7d83b6ae5ce32a0c0f75034d2528d
query:
-- name: Many :many
SELECT id FROM foo WHERE @param = 'foo';

generated:
func (q *Queries) Many(ctx context.Context, param interface{}) ([]int64, error) {

What type of param should be inferred, sql.NullString or string?
What database engines need to be changed?
PostgreSQL, MySQL, SQLite
What programming language backends need to be changed?
Go

In this case I think string would be the correct option, but it's not always going to be the right answer. It depends on a query-by-query basis.

What is the case of a constant-only comparison where the parameter type is sql.NullString?
What is the difference between sqlc.narg and sqlc.arg?


ECONNREFUSED when starting Omnisharp

Hi, I'm on

Omnisharp version: RC2 release candidate for 4/15 #2
Dotnet version: 1.0.0-rc2-002397
Code insiders

When I try to open a sample (c#) it refuses to start Omnisharp with this error:
[INFO] Starting OmniSharp at 'c:\Users\germansak\cli-samples\HelloMvcApi'...
[ERROR] Error: connect ECONNREFUSED <IP_ADDRESS>:443
Could it be that I'm behind a proxy?
Thanks!

it may be, once you install the new version it needs to connect internet and download de new debugger. <IP_ADDRESS> listen for api.github.com

Thanks BeelzeBu, is there any way to solve it? Maybe setting somewhere my proxy address (already did it on Code, but no luck)
Cheers!

Unfortunately, there's no way to set this today, but I've capture this issue as a feature request.
You can get this working by downloading and unpacking the appropriate OmniSharp release for your operating system from here. (If you're on Linux, it's best to grab the release that matches your distro.) Then, in VS Code, select Preferences->User Settings from the menu and add the following to settings.json:
"csharp.omnisharp": "/path/to/the/omnisharp/executable/you/just/downloaded/and/unpacked"

Hi Dustin, thanks for the reply!
I've verified that the error is the proxy. It tested it at home (no proxy) and it worked perfectly. There's no need for me to apply this workaround because I'm just testing stuff. I can wait for it to be fixed.
Thanks again
Germán

Did you intend to close this issue? We won't take a look at it if there isn't an active issue.

Ooops!! Sorry

This is now fixed with this PR: https://github.com/OmniSharp/omnisharp-vscode/pull/350.


Feature/slate generator tweaks

Firstly, love the slate generation.  Totally awesome.
Here are some tweaks to fix up formatting of sections, explanation and curl to be more idiomatic 'slate'.
I found I couldn't run rake spec without making those changes in the Gemfile for 'activesupport' and 'thin' - let me know if this is not needed or there's another way and I can remove the commit from the PR.

@oestrich any feedback?

You shouldn't see to alter the Gemfile, it's already in the gemspec that gets loaded. I was able to get it running without any Gemfile edits but with the require 'bundler/setup' line in spec_helper.
With that update and the write method I would call this good to go.

Thanks for the quick feedback, appreciate your time.
I've made the changes made to PR.

Sorry about taking a while to get to this. Looks good now.

Awesome thanks!


Update email.service.ts to allow unauthorized mail server certificates

Allow unauthorized mail server certificates if mail server port is 25. Usefull for self hosted internal mail servers like MS Exchange Server.

I'm not a SMTP expert but isn't it a bit dangerous to generally allow invalid certificates on port 25 because of MITM attacks?

yeah, that could be a problem. I'll think about that... Maybe an extra checkbox for allowing this is needed on the configuration page.

We could add an option to disable TLS. Would that be sufficient, or do you need TLS with a self-signed certificate?

No, I would like it to be possible to use a self-signed certificate. Self-Signed is way better than nothing at all.

Yeah, you're right. Do you want to try to implement a toggle in the settings in this PR, or do you want to create a feature request?


Codec plugin not regenerating headers

I'm using ELK 7.6 and trying to export to an s3 bucket using the csv codec. So far things work, but there's an issue because I'm uploading files every 5 mins, but only the first "part" has the headers attached to it and ideally every part has the headers attached to it. Am I missing something? I've tried adding :
codec => csv {include_headers => true }
and
codec => csv {include_headers => true autodetect_column_names=>true}
but they aren't adding the headers after the first part is imported.
Thanks for the plugin btw!

I am experiencing the very same problem.
My configuration is:
input {
  syslog { port => 42 }
}

filter {
  grok {
    match => {
      "message" => '\very_cool_regex\'
    }
  }
}
output {
  webhdfs {
    host => "very_cool_host"
    path => "/very/cool/path.csv"
    user => "hdfs"
    codec => csv {
                 autodetect_column_names => true
                 autogenerate_column_names => true
                 include_headers => true
             }
  }
}

But still csv generated files do not have headers.

:thinking: There are two parts to this.
As reported, for encoding operations, the output needs to be able to instantiate a new codec per destination, because otherwise, the codec has no way of knowing that an encode operation is the first aimed at that destination (and therefore has no way of knowing that it needs to also output the headers).
Separately for decoding operations, even inputs that do instantiate a codec per source must not reuse the codecs, since a codec with autodetect_column_names enabled is stateful. For this problem, I have found a way to reliably hook the eviction of the codec from the file input's codec identity map, but need to come up with a more graceful solution: https://gist.github.com/yaauie/0bbcb0ef92c14c060c0d7175af1399fb


AwaitableDelegateCommand added. can execute with a key and can be awaited by that key.

A awaitable command  that can awaited by code by execution key string

Show me the usage syntax.

    public class VMMock
    {
        public VMMock()
        {

            MyAwaitableCommand = new AwaitableDelegateCommand(
                async cmdParameter =>
                {
                    await Task.Yield(); //<-- some async work
                },
                cmdParameter => !IsBusy);

        }
        public bool IsBusy { get; set; }

        public AwaitableDelegateCommand MyAwaitableCommand { get; set; }

        public async Task Run3TimesInARow()
        {
            var commandParams = new[] { "exe1", "exe2", "exe3" }
            .Select(x=>new AwaitableDelegateCommandParameter { InnerCommandExecutionParameter ="whatever", ExecutionKey=x})
            .ToArray();

            foreach (var param in commandParams)
            {
                MyAwaitableCommand.Execute(param);
                await MyAwaitableCommand.AwaitByKey(param.ExecutionKey);
            }   //<--  can execute multiple commands in a row  and  use async/await avoid block ui thread.

        }
    }

And the AwaitableDelegateCommandParameter can be contained in  a  resource dictionary to get datacontext and  bind  "ExecutinKey"  and "InnerCommandExecutionParameter"  to datacontext

The problem in simple ICommand  and delegate implementation is  "Execute" leave no awaitables in return, the delegate is  void (object)  means  you can only waited in ui thread and this will kill your UX if you want to run long-life executing  combined command (Prism ->CombinedCommand).
if we use command like this, can solve the problem.  If you have mind in syntax please improve it.

Seems like this syntax would be easier, no?
Task ExecuteAsync(T obj);

sure it could be ·Task ExecuteAsync(T obj);·  I will add that.
but await by key is still needed if the ui fired the command and await is called in VM.

I don't know.


Disabling auto muting in conference calls

Hi everyone,
Is there a way to disable the auto muting of non-speaking participants in a conference? I'm seeing that this can be irritating in some scenarios, specifically when only two people are on the conference.
I'm interested in the other features of conferencing, specifically the ability to announce something into a conference, so I would like to keep using the Twilio conferencing system, but the auto muting is a no-go because it irritates our users and prevents a natural conversation flow to develop in the named two people scenario.
Thank you!
Leonard

Hi @nxz91
Thanks for reporting the issue. Although the mobile SDK has nothing to do with the mute behavior of the <Conference> TwiML, but this is still an odd experience. Do you mind providing us a Call SID so I can ask the experts of the Twilio Voice service team to have a look?
Thanks
bobie

Hi @bchen-twilio
Thank you! A conference where this happened was CF1563ae1c5b5499edb67f8b562b206299 and the call legs were CAa885c681ac1d76f0a99be050ae9989e4 and CAbd6b697166804ff265bb980039b8c8f1
Any idea what happened?
Thank you!
Leonard

Thanks @nxz91 for providing us the SIDs. We will get back to you soon as we have any findings from the service team.

Did you already find something out? It's happening constantly – we've just had this call:
CFae9f677aba9cfda74fcad46e89642025 and CFe9c13cc71a8afdcee01f1229fe3e6b19
with these calls:
 CA1d2eb2f399dbcb00306d41ab2ce3e6e4 CA717683868a99f1c10366fc450ceb5683 CA99812bc1b99b889c8ddb068c8f27ea96 CA91dd16ab8c632062968b4ae41a101c25


Add type config option and possibility to use pedals

The pedals only provide 3 axis values and no buttons. I replicate the results obtained with TT robots on the main WalkingJoypadModule. In essence;

To command the linear velocity, one needs to press both pedals equally.
To command lateral Velocity, one needs to press one more than the other with the pressed one corresponding to the desired direction :warning: this also allows diagonal commands!
To command the angular velocity one needs to push one pedals forward with the pushed pedal corresponding to the desired rotation direction

:warning: I need to test with the robot and also to check if I didn't break the other options (gamepad and keypoard). In theory It should be ok.

The modifications were tested on the robot, and the PR is ready for review.

One final comment. Then we can just try once again on the robot and go forward!

This was done in 936cdbe and the modifications were tested both for pedals and keyboard.

We can test it on the robot today


feat: sigma-compact sets

Define sigma-compact subsets of a topological space and show their basic properties.

compact sets are sigma-compact
countable unions of (sigma-)compact sets are sigma-compact
closed subsets of sigma-compact sets are sigma-compact.

Relate them to sigma-compact space: a set is sigma-compact iff it is a sigma-compact space (w.r.t. the subspace topology).
In a later PR, we'll show that sigma-compact measure zero sets are nowhere dense.

[x] depends on: #7528

Similar to compact sets and spaces, we define sigma-compact subsets first, and relate sigma-compact spaces to them later.

@eric-wieser CI passes, so making the lemma you mentioned simp works. I presume Homeomorph.isCompact_image should also be a simp lemma then, and have PRed this as #7594.
I've also added the analogous version for preimages.

I have addressed all your comments. (Let me know if you think the last golfs are hurting readability.)

Updated again. Thanks for the fast turnaround!

(Cancelling the build as this will need a rebase due to #7628 anyway.)

I have addressed all the comments, and also included some last touch-ups of related doc comments (in the last commit).

Thank you for the patient review.

bors r+


vscode.TextDocumentContentProvider is undefined

For my extension I am not using TypeScript so I do,
const vscode = require('vscode');
console.log(vscode.TextDocumentContentProvider); // undefined

I see it's used like vscode.TextDocumentContentProvider in this line of previewhtml-sample, however I cannot access it. previewhtml-sample's vscode engine is 0.10.7 and current engine is 1.19.0. Is this a breaking change or am I missing something?
Thanks.

Oops. I didn't realised that it's an Interface.


i18n(fr): Update some files from #9344

Description (required)

i18n(fr): Update guides/migrate-to-astro.mdx from https://github.com/withastro/docs/pull/9344
i18n(fr): Update guides/troubleshooting.mdx from https://github.com/withastro/docs/pull/9344
i18n(fr): Update recipes/modified-time.mdx from https://github.com/withastro/docs/pull/9344
i18n(fr): Update reference/api-reference.mdx from https://github.com/withastro/docs/pull/9344
i18n(fr): Update reference/api-reference.mdx from https://github.com/withastro/docs/pull/9344
i18n(fr): Update reference/directives-reference.mdx from https://github.com/withastro/docs/pull/9344
i18n(fr): Update tutorial/4-layouts/2.mdx from https://github.com/withastro/docs/pull/9344

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
guides/migrate-to-astro.mdx
Localization changed, will be marked as complete.

fr
guides/troubleshooting.mdx
Localization changed, will be marked as complete.

fr
recipes/modified-time.mdx
Localization changed, will be marked as complete.

fr
reference/api-reference.mdx
Localization changed, will be marked as complete.

fr
reference/directives-reference.mdx
Localization changed, will be marked as complete.

fr
tutorial/4-layouts/2.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


Nextcloud send share problems

From Vincent Lee via cs3org/OCM Matrix chat :
Hello, I'm a Seafile developer and currently working on integrating Seafile and Nextcloud via OCM.
I encountered some issues during development. Let me first describe the problems in detail.
The Seafile server I'm using is https://test.seafile.com
Accessing https://test.seafile.com/ocm-provider/ returns the following:
{
  "apiVersion": "1.0-proposal1",
  "enabled": true,
  "endPoint": "https://test.seafile.com/ocm-via-webdav/",
  "resourceTypes": {
    "name": "file",
    "protocols": {
      "webdav": "/seafdav/"
    },
    "shareTypes": [
      "user"
    ]
  }
}

The Nextcloud server is https://nextcloud.seafile.top, deployed on Ubuntu 22.04.4 LTS, using the snap-installed version 29.0.4snap2.
I can successfully log in to Nextcloud, but when I try to share a file remotely with lian<EMAIL_ADDRESS>(where<EMAIL_ADDRESS>is a user on test.seafile.com), the page displays "Error creating the share" and the admin-logs page shows the following error.

I also checked the Apache log on test.seafile.com, and only got one log:
<IP_ADDRESS> - - [15/Aug/2024:10:04:06 +0000] "GET /ocm-provider/ HTTP/1.1" 200 2997 "-" "Nextcloud Server Crawler"

Replicating that in dev-stock is successful.
Nextcloud version v29.0.4 trying to send a share to lian<EMAIL_ADDRESS>shows this error in logs:
{
  "reqId": "WQSVctaCCBSqOYCUITNc",
  "level": 3,
  "time": "2024-08-17T07:45:20+00:00",
  "remoteAddr": "<IP_ADDRESS>",
  "user": "einstein",
  "app": "no app in context",
  "method": "POST",
  "url": "/ocs/v2.php/apps/files_sharing/api/v1/shares",
  "message": "OC\\OCM\\Model\\OCMResource::import(): Argument #1 ($data) must be of type array, string given, called in /var/www/html/lib/private/OCM/Model/OCMProvider.php on line 189 in file '/var/www/html/lib/private/OCM/Model/OCMResource.php' line 103",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0",
  "version": "<IP_ADDRESS>",
  "exception": {
    "Exception": "Exception",
    "Message": "OC\\OCM\\Model\\OCMResource::import(): Argument #1 ($data) must be of type array, string given, called in /var/www/html/lib/private/OCM/Model/OCMProvider.php on line 189 in file '/var/www/html/lib/private/OCM/Model/OCMResource.php' line 103",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/html/lib/private/AppFramework/App.php",
        "line": 184,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/html/lib/private/Route/Router.php",
        "line": 338,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/html/ocs/v1.php",
        "line": 66,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/html/ocs/v2.php",
        "line": 23,
        "args": [
          "/var/www/html/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
    "Line": 170,
    "Previous": {
      "Exception": "TypeError",
      "Message": "OC\\OCM\\Model\\OCMResource::import(): Argument #1 ($data) must be of type array, string given, called in /var/www/html/lib/private/OCM/Model/OCMProvider.php on line 189",
      "Code": 0,
      "Trace": [
        {
          "file": "/var/www/html/lib/private/OCM/Model/OCMProvider.php",
          "line": 189,
          "function": "import",
          "class": "OC\\OCM\\Model\\OCMResource",
          "type": "->"
        },
        {
          "file": "/var/www/html/lib/private/OCM/OCMDiscoveryService.php",
          "line": 98,
          "function": "import",
          "class": "OC\\OCM\\Model\\OCMProvider",
          "type": "->"
        },
        {
          "file": "/var/www/html/lib/private/Federation/CloudFederationProviderManager.php",
          "line": 121,
          "function": "discover",
          "class": "OC\\OCM\\OCMDiscoveryService",
          "type": "->"
        },
        {
          "file": "/var/www/html/apps/federatedfilesharing/lib/Notifications.php",
          "line": 395,
          "function": "sendShare",
          "class": "OC\\Federation\\CloudFederationProviderManager",
          "type": "->"
        },
        {
          "file": "/var/www/html/apps/federatedfilesharing/lib/Notifications.php",
          "line": 320,
          "function": "tryOCMEndPoint",
          "class": "OCA\\FederatedFileSharing\\Notifications",
          "type": "->"
        },
        {
          "file": "/var/www/html/apps/federatedfilesharing/lib/Notifications.php",
          "line": 90,
          "function": "tryHttpPostToShareEndpoint",
          "class": "OCA\\FederatedFileSharing\\Notifications",
          "type": "->"
        },
        {
          "file": "/var/www/html/apps/federatedfilesharing/lib/FederatedShareProvider.php",
          "line": 229,
          "function": "sendRemoteShare",
          "class": "OCA\\FederatedFileSharing\\Notifications",
          "type": "->"
        },
        {
          "file": "/var/www/html/apps/federatedfilesharing/lib/FederatedShareProvider.php",
          "line": 191,
          "function": "createFederatedShare",
          "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/Share20/Manager.php",
          "line": 748,
          "function": "create",
          "class": "OCA\\FederatedFileSharing\\FederatedShareProvider",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/apps/files_sharing/lib/Controller/ShareAPIController.php",
          "line": 805,
          "function": "createShare",
          "class": "OC\\Share20\\Manager",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 232,
          "function": "createShare",
          "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 138,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/lib/private/AppFramework/App.php",
          "line": 184,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/lib/private/Route/Router.php",
          "line": 338,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::"
        },
        {
          "file": "/var/www/html/ocs/v1.php",
          "line": 66,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->"
        },
        {
          "file": "/var/www/html/ocs/v2.php",
          "line": 23,
          "args": [
            "/var/www/html/ocs/v1.php"
          ],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/lib/private/OCM/Model/OCMResource.php",
      "Line": 103
    },
    "message": "OC\\OCM\\Model\\OCMResource::import(): Argument #1 ($data) must be of type array, string given, called in /var/www/html/lib/private/OCM/Model/OCMProvider.php on line 189 in file '/var/www/html/lib/private/OCM/Model/OCMResource.php' line 103",
    "exception": {},
    "CustomMessage": "OC\\OCM\\Model\\OCMResource::import(): Argument #1 ($data) must be of type array, string given, called in /var/www/html/lib/private/OCM/Model/OCMProvider.php on line 189 in file '/var/www/html/lib/private/OCM/Model/OCMResource.php' line 103"
  }
}

Just like the one Vincent has reported.

The problem is on the Seafile ocm-provider endpoint JSON.
based on the OCM-API documentation
resourceTypes property should be an array of objects, but in seafile JSON this isn't the case:
"resourceTypes": {
    "name": "file",
    "protocols": {
      "webdav": "/seafdav/"
    },
    "shareTypes": [
      "user"
    ]
  }

correct format would be:
"resourceTypes": [
    {
      "name": "file",
      "protocols": {
        "webdav": "/seafdav/"
      },
      "shareTypes": [
        "user"
      ]
    }
  ]

full ocm-provider JSON:
{
  "apiVersion": "1.0-proposal1",
  "enabled": true,
  "endPoint": "https://test.seafile.com/ocm-via-webdav/",
  "resourceTypes": [
    {
      "name": "file",
      "protocols": {
        "webdav": "/seafdav/"
      },
      "shareTypes": [
        "user"
      ]
    }
  ]
}


Expected parent IDs to be set when ordering by parent ID.

Hi Prisma Team! My Prisma Client just crashed. This is the report:
Versions

Name
Version

Node
v16.16.0

OS
debian-openssl-1.1.x

Prisma Client
4.3.1

Query Engine
c875e43600dfe042452e0b868f7a48b817b9640b

Database
mysql

The logs in this case were a useless red herring. There were some of our queryRaw included, but not the problem which was "Invalid prisma.letting.findMany() invocation:Expected parent IDs to be set when ordering by parent ID. This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic."
I can work on a minimal replication, but this is what we have so far.
Client Snippet
    const lettings = await this.context.prisma.agency(agencyid).letting.findMany({
      include: {
        lettingSchedules: {
          where: { iswithdrawn: false },
        },
      },
      orderBy: [
        { lettingid: 'asc' },
      ],
    })

Client Snippet 2 minimal
await prisma.letting.create({
  data: {
    lettingid: 'UPPERCASE',
  }
})

await prisma.lettingSchedule.create({
  data: {
    lettingid: 'uppercase',
    contid: 'some-contid',
  }
})

const lettings = await prisma.letting.findMany({
  include: { lettingSchedules: true },
})

Schema
model Letting {
  lettingid     String    @id @db.VarChar(45)
  lettingdate   DateTime? @db.Timestamp(0)
  lettingSchedules LettingSchedule[]

  @@map("letting")
}

model LettingSchedule {
  lettingid        String    @db.VarChar(45)
  contid           String    @db.VarChar(45)
  callorder        String?   @db.VarChar(45)
  iswithdrawn      Boolean?
  letting Letting @relation(fields: [lettingid], references: [lettingid])

  @@id([lettingid, contid])
  @@map("lettingschedule")
}

I've cut out some extra where clauses and edited the schema for brevity.
Prisma failed to recognize the link between the tables when lettingid was "29apr11" in letting and "29APR11" in lettingschedule.
I had to log in to the production database and change production data to get the cases to match to stop the error.

Reproduced on Prisma 4.5.0 w/ Node v16.17.1, MySQL 8, macos -- repo
-- schema.prisma

model Letting {
  lettingid        String            @id @db.VarChar(45)
  lettingdate      DateTime?         @db.Timestamp(0)
  lettingSchedules LettingSchedule[]

  @@map("letting")
}

model LettingSchedule {
  lettingid   String   @db.VarChar(45)
  contid      String   @db.VarChar(45)
  callorder   String?  @db.VarChar(45)
  iswithdrawn Boolean?
  letting     Letting  @relation(fields: [lettingid], references: [lettingid])

  @@id([lettingid, contid])
  @@map("lettingschedule")
}

-- index.ts

const populate = async () => {
  await prisma.letting.create({
    data: {
      lettingid: "UPPERCASE",
    },
  });

  await prisma.lettingSchedule.create({
    data: {
      lettingid: "UPPERCASE",
      contid: "some-contid",
    },
  });
};

prisma:query BEGIN
prisma:query INSERT INTO `prisma`.`letting` (`lettingid`) VALUES (?)
prisma:query SELECT `prisma`.`letting`.`lettingid`, `prisma`.`letting`.`lettingdate` FROM `prisma`.`letting` WHERE `prisma`.`letting`.`lettingid` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query BEGIN
prisma:query INSERT INTO `prisma`.`lettingschedule` (`lettingid`,`contid`) VALUES (?,?)
prisma:query SELECT `prisma`.`lettingschedule`.`lettingid`, `prisma`.`lettingschedule`.`contid`, `prisma`.`lettingschedule`.`callorder`, `prisma`.`lettingschedule`.`iswithdrawn` FROM `prisma`.`lettingschedule` WHERE (`prisma`.`lettingschedule`.`lettingid` = ? AND `prisma`.`lettingschedule`.`contid` = ?) LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `prisma`.`letting`.`lettingid`, `prisma`.`letting`.`lettingdate` FROM `prisma`.`letting` WHERE 1=1
prisma:query SELECT `prisma`.`lettingschedule`.`lettingid`, `prisma`.`lettingschedule`.`contid`, `prisma`.`lettingschedule`.`callorder`, `prisma`.`lettingschedule`.`iswithdrawn` FROM `prisma`.`lettingschedule` WHERE `prisma`.`lettingschedule`.`lettingid` IN (?)
[ // console.log
  {
    lettingid: 'UPPERCASE',
    lettingdate: null,
    lettingSchedules: [ [Object] ]
  }
]

-- index.ts/populate()
...
await [prisma.lettingSchedule.create({](url)
    data: {
      lettingid: "uppercase",
      contid: "some-contid",
    },
  });

prisma:query BEGIN
prisma:query INSERT INTO `prisma`.`letting` (`lettingid`) VALUES (?)
prisma:query SELECT `prisma`.`letting`.`lettingid`, `prisma`.`letting`.`lettingdate` FROM `prisma`.`letting` WHERE `prisma`.`letting`.`lettingid` = ? LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query BEGIN
prisma:query INSERT INTO `prisma`.`lettingschedule` (`lettingid`,`contid`) VALUES (?,?)
prisma:query SELECT `prisma`.`lettingschedule`.`lettingid`, `prisma`.`lettingschedule`.`contid`, `prisma`.`lettingschedule`.`callorder`, `prisma`.`lettingschedule`.`iswithdrawn` FROM `prisma`.`lettingschedule` WHERE (`prisma`.`lettingschedule`.`lettingid` = ? AND `prisma`.`lettingschedule`.`contid` = ?) LIMIT ? OFFSET ?
prisma:query COMMIT
prisma:query SELECT `prisma`.`letting`.`lettingid`, `prisma`.`letting`.`lettingdate` FROM `prisma`.`letting` WHERE 1=1
prisma:query SELECT `prisma`.`lettingschedule`.`lettingid`, `prisma`.`lettingschedule`.`contid`, `prisma`.`lettingschedule`.`callorder`, `prisma`.`lettingschedule`.`iswithdrawn` FROM `prisma`.`lettingschedule` WHERE `prisma`.`lettingschedule`.`lettingid` IN (?)
[ { lettingid: 'UPPERCASE', lettingdate: null, lettingSchedules: [] } ] //console.log

@sdkuck Could you please verify

if this still happens for you on v4.5.0
which version of MySQL you're using?

Yes, this still happens with 4.5.0
We are using MySQL 5.7
You didn't include the prisma.findMany query you used, but in trying to replicate this locally we found that the problem goes away if you have a where: {...} clause. Just do the findMany with an include and nothing else.

My teammate Jason prepared a PR for your repo that replicates the issue.

Yep! I've taken a look and have confirmed your teammate's reproduction @sdkuck

I have a tables
  id                String  @id @default(cuid()) @db.VarChar(255)
  userId            String  @map("user_id")
  googleMeetingId   String  @map("google_meeting_id")
  email             String
  responseStatus    String? @map("response_status")
  displayName       String? @map("display_name")
  user              User    @relation(fields: [userId], references: [id], onDelete: Cascade)
  contact           Contact @relation(fields: [userId, email], references: [userId, email], onDelete: Cascade)
  meeting           Meeting @relation(fields: [googleMeetingId], references: [googleMeetingId], onDelete: Cascade)

  createdAt DateTime @default(now()) @map("created_at")
  updatedAt DateTime @updatedAt @default(now()) @map("updated_at")

  @@unique([userId, googleMeetingId, email], name:"meetingAttendeeUniqueness")
  @@fulltext([email])
  @@map("meeting_attendees")
}

model Contact {
  id                      String               @id      @default(cuid()) @db.VarChar(255)
  email                   String
  attribution             ContactAttribution
  userId                  String              @map("user_id")
  displayName             String?             @map("display_name")
  firstName               String?             @map("first_name")
  lastName                String?             @map("last_name")
  photoUrl                String?             @map("photo_url")
  userEmail               String              @map("user_email")
  tracked                 Boolean             @default(false)

  meetingAttendee         MeetingAttendee[]
  providerAccount         ProviderAccount   @relation(fields: [userId, userEmail], references: [userId, userEmail], onDelete: Cascade)
  user                    User              @relation(fields: [userId], references: [id], onDelete: Cascade)
  createdAt DateTime      @default(now()) @map("created_at")
  updatedAt DateTime      @updatedAt @default(now()) @map("updated_at")

  @@unique([userId, email], name:"contactUniqueness")
  @@fulltext([displayName, email])
  @@fulltext([displayName])
  @@fulltext([email])
  @@map("contacts")
}```
and have spent hours trying to debug the error:

Invalid `prisma.meetingAttendee.findMany()` invocation:

`Expected parent IDs to be set when ordering by parent ID.`

This error appears to randomly occur - on 2 out of 5 uploading tests.

Hey guys, just wanted to share what was the issue in my case, because I've spent like 12 hours on this and might help someone.
I had simple call like this:
await this.prisma.product.findMany({
        include: { availability: true },
      });

Which sometimes worked, sometimes it throwed the error Expected parent IDs to be set when ordering by parent ID., after hours of investigation I've found out that among the data in the availability table, there was an ID with spaces after it, so the ID was like MY_ID       instead of MY_ID. MySQL seems to be ok with this, as I can even SELECT * FROM Availability WHERE ID = 'MY_ID'; and it finds the id with white spaces, but Prisma fails on it.
I realize that this is most likely data issue, but perhaps Prisma could .trim string ids before working with them?
Anyway, hopefully this helps someone.

Hi @sdkuck! We have added support for MySQL 8.0.14 and newer to the relationJoins preview feature in Prisma 5.10.0, which we expect to resolve this issue thanks to the database comparing the IDs itself when joining the data.
Does enabling the relationJoins preview feature fix this problem for you?
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["relationJoins"]
}

Thank you in advance for following up 🙏

Hi @aqrln , I tried your suggestion of adding the relationJoins feature but that didn't solve my case. I'm working with Microsoft SQL though.

@mel-habip if you are using MS SQL Server then it's a different problem than this one. Please open a new issue with details for reproduction. Thank you.

@RodolpheGohard you save my time! Thanks. Yes, we have keys "ADDRESS" and "Address" and MySQL works fine, but Prisma falls in panic.
Resolves with UPDATE `table_name` SET `field_name` = UPPER(`field_name`);

Hi @sdkuck! We have added support for MySQL 8.0.14 and newer to the relationJoins preview feature in Prisma 5.10.0, which we expect to resolve this issue thanks to the database comparing the IDs itself when joining the data.
Does enabling the relationJoins preview feature fix this problem for you?
generator client {
  provider        = "prisma-client-js"
  previewFeatures = ["relationJoins"]
}

Thank you in advance for following up 🙏

Hii, thank u very much, u helped me so much


Add input_boolean reload service

Description:
Implements input_boolean.reload service. There's no reason to restart the entire HA instance, only to add or remove a few boolean inputs which I use for automations.
If this is a correct approach, I'll implement similar changes for the rest of the input platforms unless the goal is to move these into config entries. In this case I'd need an example platform as a model. Zones???
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[ ] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

Any hints how to modify config[DOMAIN] in  test after component was loaded via await async_setup_component() ?

new_config = {
  "input_boolean": {
    "ib1": {"name": "input 1","initial": True},
    "ib2": None,
  }
}

await homeassistant.config.merge_packages_config(hass, config, {})

can I just do?

Check how we do it for groups: https://github.com/home-assistant/home-assistant/blob/52926f19618ce8049bb184c30a839a5c04f479a1/tests/components/group/test_init.py#L421-L435

Added test. I guess it is ready for  the final review?

Addressed comments and ready for the Final-Final review...


Add Ceph storage driver

This issue is tracking the addition of the Ceph driver.

👍  for getting a ceph driver
this should be very useful for people/companies that want to build a distributed storage solution, with purely open source, but without openstack/cinder!

Any updates un this? Thanks in advance!

Hello,
Recently RedHat added the rbd storage driver to Kubernetes, perhaps the code could give some guidelines how to implement this in Rexray. I am not the author of this code, but during a talk with a Rexray member at the Mesoscon the EMCcode member mentioned that code examples were welcome.
https://github.com/kubernetes/kubernetes/pull/31251

@a-nldisr Thanks for the heads up. I will be working on the Ceph driver very soon, and I will be sure to take a look at what was done in k8s.

An ETA on this? Thanks!

@tobilg - We are actively working on it and the progress can be seen https://github.com/codedellemc/rexray/issues/527 and https://github.com/codenrhoden/libstorage/tree/feature/rbd.
We are targeting the first few weeks of December for release

Ceph RBD driver is available in v0.4.0. https://github.com/codedellemc/libstorage/releases/tag/v0.4.0


mode argument

Added ability to set initial mode via command line argument.

Merged. Commit c27c612 modifies this slightly so that commandline arguments take precedence, mimicing bitcoind's behaviour (this is probably just good practice).


Retire @claude-2

Description

Rename CLAUDE_DEFAULT_MODEL_CONFIG to CLAUDE_2_DEFAULT_MODEL_CONFIG
Remove @claude-2  from default list of global agents (won't be visible for builder/admin and won't be in list of assistant for users)
Still support @claude-2 to render past conversations
Remove Claude 2.1 as option to create assistants

Risk
N/A
Deploy Plan

deploy front
Run migration

npx tsx ./scripts/update_assistants_models.ts --fromModel claude-2.1 --toModel claude-3-opus-20240229

Yep confirmed past convo work :+1:

Assistants all migrated. Tested one of our old Claude 2 assistants now transiitioned. All good


Try out in Postman downloads a collection with 3.2.0 as name

Description:
Try out in Postman downloads collection with 3.2.0 as name

https://apim.docs.wso2.com/en/4.0.0-dev/reference/product-apis/publisher-apis/publisher-v2/publisher-v2/#section/Authentication
Suggested Labels:
API-M-4.0.0
Affected Product Version:
API-M-4.0.0

This has already been fixed, hence closing issue


npm WARN The package typescript is included as both a dev and production dependency.

Running npm install produces this warning:
npm WARN The package typescript is included as both a dev and production dependency.
I looked in package.json and saw that different versions of typescript are loaded in the dependencies and devDependencies sections.  The former loads version ^2.3.4 and the latter loads version 2.0.10.
It should be OK to remove the package from devDependencies, right?  My understanding is that all the packages in the main dependencies section always get installed, and the ones in the devDependencies section get installed as additional packages when the dev environment is specified.  I'm not positive that's how it works, though, so I figured I should ask before making any changes.
I realize it's just a warning, but I'm concerned that the development environment may be using a different version of typescript than the production one.  That could cause some serious hiccups, I would think.

Yes, not sure why it is in both.  Probably just an oversight.  I will remove it from the devDependencies.

FYI, this was fixed in the last release.  Just doing a little house cleaning.


web: display job label in targets page

#4526 incidentally changed the layout of the targets page as targets are now grouped by scrape configurations instead of jobs (see https://github.com/prometheus/prometheus/pull/4526/files#diff-73cbd2009b0e4f156e8ca0f47e95b016L677). From discussions on IRC with @beorn7 and @brian-brazil, this isn't a bad thing but the job label shouldn't be filtered anymore.
cc @brancz

After the change:

Are you sure that's the right image? There's no job label there.

@brian-brazil oops my bad! I've updated the comment.

:+1:

lgtm :+1:


Invalid request body keywords accepted and token issued

Hi,
I am using .NET Core 2.1 with Identity Server 4.
/connect/token end-point requires request body in format:
"scope=" + scopes + "&grant_type=client_credentials"
While testing I replaced keyword "scope=" with "blah blah blah=" and IDS issued valid token.
i.e.
"blah blah blah=" + scopes + "&grant_type=client_credentials"
Not a security problem but feels weird.
Regards
Mariusz

Spec says the sts should ignore unknown parameters.


How to get selected videos?

Hello!
If I enable selection of videos, I can select them, but how can I get them in result?
I can see there's only function to get images:
List<Image> images = ImagePicker.getImages(data);
Specifications

Image Picker Version: 2.1.0

The video file is returned inside the object Image
You can create a extension function for this object to check if the file is a video:
fun com.esafirm.imagepicker.model.Image.isVideo(): Boolean {
    return this.name.endsWith(".mp4")
}

/c @esafirm


Slightly more informative debug message when DefaultPersistentDirecto…

…ryCache content changes

Hi @mathjeff ,
Would you mind signing the CLA? http://gradle.org/contribute-to-gradle/#CLA

(Signed!)

Any update/feedback? The Task.isCurrentlyUpToDate part of this pull request will be particularly important to us in a few months. Is there anything I can do to help?

@mathjeff Can you please split this into 2 PRs.
We've recently hired @pioterj who will be working to process some of the outstanding pull requests.

The first commit is something we can merge without too much discussion.
The second commit involves changes to the public API of Gradle, and we will almost certainly not be applying it as-is.

To make this sort of substantive change to Gradle, we'd need to have an initial discussion on the Gradle developers list, and probably will require a formal design specification. More details on contributing to Gradle are here: http://gradle.org/contribute-to-gradle/

Thanks @bigdaz
Opened updated pull requests at https://github.com/gradle/gradle/pull/539 and https://github.com/gradle/gradle/pull/540
I also moved the task-planning discussion to https://groups.google.com/forum/#!topic/gradle-dev/XGTjFIRr96E


ValueError: Invalid header value b'***' (PACMAN-506)

When trying to use this in a github action, I'm getting the following error:
Processing 1 components
Processing component "esp_ghota" at .
Saving archive to "/github/workspace/dist/esp_ghota_0.0.1.tgz"
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.10/site-packages/idf_component_manager/__main__.py", line 58, in <module>
    main()
  File "/usr/local/lib/python3.10/site-packages/idf_component_manager/__main__.py", line 49, in main
    getattr(manager, str(args.command).replace('-', '_'))(vars(args))
  File "/usr/local/lib/python3.10/site-packages/idf_component_manager/core.py", line 305, in upload_component
    versions = client.versions(component_name, spec='*').versions
  File "/usr/local/lib/python3.10/site-packages/idf_component_tools/api_client.py", line 196, in versions
    body = self._base_request(
  File "/usr/local/lib/python3.10/site-packages/idf_component_tools/api_client.py", line 158, in _base_request
    response = self.session.request(
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 398, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 239, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/local/lib/python3.10/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.10/http/client.py", line 1323, in _send_request
    self.putheader(hdr, value)
  File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 224, in putheader
    _HTTPConnection.putheader(self, header, *values)
  File "/usr/local/lib/python3.10/http/client.py", line 1260, in putheader
    raise ValueError('Invalid header value %r' % (values[i],))
ValueError: Invalid header value b'***'
An error occurred while uploading the new version of fishwaldo/esp_ghota.

The upload works fine from my desktop though. Any idea whats happening?

You can see the full action log here:
https://github.com/Fishwaldo/esp_ghota/actions/runs/3559279267/jobs/5978530322

@Fishwaldo Thank you for the issue, we will try to reproduce and fix it.

@Fishwaldo Do you still have this issue? I tried to reproduce it, but it works fine even with the fork of your repo:
https://github.com/kumekay/esp_ghota/actions/runs/4055950556/jobs/6979837162
Since this action was updated in December, could you please try restarting the job to check if the problem is still there?

@Fishwaldo
I will now close this issue, but if you encounter it again, please don't hesitate to reopen it.


Support TLS/SASL enabled clusters

This PR add configuration options for security protocol, SASL mechanism and JAAS configuration for the clusters.

@terjesannum LGTM.  Thanks.
Apologies for the delay.  I didn't have my notification settings correctly defined.


fix: Missing messages for ttfi and ttci

It fixes a part of the #148 issue. No more errors about missing messages for ttfi and ttci.

You're welcome! ✊

@denar90 Do you know when the next release will be out?

I was expecting to land it with #162
Let's wait a bit, if we get no progress there I'll publish release tomorrow.
@GuillaumeAmat is it good for you?

It is perfect, thanks @denar90

Thanks for the info!  o/


Fix spacing between parameter and parameter type in the API docs

This can be quite confusing: e.g. it looks like the parameters are queuestr and projectstr in this screenshot:

this is related to a change in sphinx 2. This was reported here in numpydoc: https://github.com/numpy/numpydoc/issues/215
there has been a sphinx fix in https://github.com/sphinx-doc/sphinx/pull/5976
that sphinx_rtd_theme does not use basic.css. Since dask_sphinx_theme does extends sphinx_rtd_theme we are not benefitting from the sphinx fix. Hopefully this will get merged eventually https://github.com/readthedocs/sphinx_rtd_theme/pull/747

The simplest fix I found was to add basic.css through setup(app) in conf.py
cc @TomAugspurger since i saw he had similar problems in dask-ml which he fixed by pinning sphinx < 2 (except that we can not do that on RTD, which is another story by itself ...)
This is the same screenshot as above from a locally generated doc:

I am going to merge this one, let me know if you spot problems in the doc that may be related to this PR.

Thanks @lesteve! Noticed this too, this caused some missunderstanding in some issues. It's really nice to have it fixed!


Set the PRISMA_CLIENT_ENGINE_TYPE env var to use dataproxy

The Prisma Data Proxy requires users to set the env var  PRISMA_CLIENT_ENGINE_TYPE to use the value dataproxy.
The value of dataproxy refers to the PDP Data Proxy, and *can be used in the schema (if the schema is for a PDP project) to define the engineType, but we do not recommend defining it in the schema; instead use the env var.
SMEs are Jakub, Daniel, Alberto.
Pages impacted include(they might be others):
-- https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_client_engine_type
--https://www.prisma.io/docs/concepts/components/prisma-engines/query-engine#defining-the-query-engine-type-for-prisma-client

Just getting back to this. Seems the user will need to add a new line in the .env file, for the PRISMA_CLIENT_ENGINE_TYPE environment variable.

The user needs to set an environment variable, using the .env file is one of multiple supported ways to do that. The current Data Proxy documentation for example sets it manually in the command when running prisma generate.


[MINOR] Null is replaced by KyuubiSQLException.featureNotSupported()

Why are the changes needed?

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #3297 (9008737) into master (a0c69a0) will decrease coverage by 0.03%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #3297      +/-   ##
============================================
- Coverage     51.40%   51.37%   -0.04%
  Complexity       13       13
============================================
  Files           469      469
  Lines         26229    26229
  Branches       3630     3630
============================================
- Hits          13482    13474       -8
- Misses        11467    11470       +3
- Partials       1280     1285       +5

Impacted Files
Coverage Δ

...ache/kyuubi/operation/KyuubiOperationManager.scala
82.19% <0.00%> (ø)

...uubi/engine/spark/events/SparkOperationEvent.scala
88.88% <0.00%> (-5.56%)
:arrow_down:

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
74.07% <0.00%> (-0.93%)
:arrow_down:

...yuubi/server/metadata/jdbc/JDBCMetadataStore.scala
89.27% <0.00%> (-0.70%)
:arrow_down:

...n/scala/org/apache/kyuubi/engine/ProcBuilder.scala
82.60% <0.00%> (-0.63%)
:arrow_down:

...rc/main/scala/org/apache/spark/ui/EnginePage.scala
78.93% <0.00%> (-0.30%)
:arrow_down:

...a/org/apache/kyuubi/service/TFrontendService.scala
91.17% <0.00%> (-0.30%)
:arrow_down:

...g/apache/kyuubi/operation/BatchJobSubmission.scala
74.40% <0.00%> (ø)

...apache/kyuubi/engine/JpsApplicationOperation.scala
77.41% <0.00%> (ø)

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

Thanks, merging to master/1.6


Why does inference.py load first the whole dataset in memory?

If I do 'Classify Many' using a big dataset, I get memory issues. The issue is the inference.py first loads all image files into the memory. Is there a way to avoid this behaviour?

Hello, thanks for the report. There was an attempt at fixing this with https://github.com/NVIDIA/DIGITS/pull/616 but this was closed due to other priorities...
I'll close this as a duplicate of #611