Python/Jupyter pre-release extension installation fails on Remote SSH

VSCode Version:
Version: 1.67.0-insider (Universal)
Commit: f050b17dacedba13962244b13c70084a473d08f7
Date: 2022-04-06T05:15:27.397Z (8 hrs ago)
Local OS Version: macOs 12.3.1 / arm
Remote OS Version: Centos 7
Remote Extension/Connection Type: SSH
Logs:

Steps to Reproduce:

Start SSH Session
Get the popup, hey Python and Jupyter extensions have pre-release versions or install / switch to pre-release on the extension page
Error (but the extensions shows the pre-release state), but afaik that's not the case

Note: I removed the vs code server on the remote host and did a new installation (starting from locally with the remote extensions versions), but it actually just installs the stable version on the remote and then the switch is not possible. It should actually consider and install the same version that is used locally, shouldn't it?
Can't install pre-release version of 'ms-toolsai.jupyter' extension because it is not compatible with the current version of Visual Studio Code - Insiders (version 1.67.0-insider).
Does this issue occur when you try this locally?: No
Does this issue occur when you try this locally and all extensions are disabled?:No
logs:
[2022-04-06 15:51:45.599] [renderer1] [info] Downloading the 'ms-toolsai.jupyter' extension locally and install
[2022-04-06 15:51:45.626] [renderer1] [error] Can't install pre-release version of 'ms-toolsai.jupyter' extension because it is not compatible with the current version of Visual Studio Code - Insiders (version 1.67.0-insider).: IncompatiblePreRelease: Can't install pre-release version of 'ms-toolsai.jupyter' extension because it is not compatible with the current version of Visual Studio Code - Insiders (version 1.67.0-insider).
at l.checkAndGetCompatible (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3132:5311)
at async l.downloadAndInstall (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3132:4068)
at async l.installFromGallery (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3132:3238)
at async Promise.all (index 0)
at async Object.j [as settled] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:71:22545)
at async Ms.installFromGallery (vscode-file://vscode-app/Applications/Visual%20Studio%20Code%20-%20Insiders.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:3126:22894)

Same issue happends to me.

@firegate22
Can you please try our latest insiders and see if you can reproduce this issue still?

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

@sandy081
Sorry, I had it already solved and thought it wouldn't occur again + I moved away from using Remote SSH whenever I could.
I am now on the latest 1.68 insiders and for whatever reason the jupyter extension reverted to "non pre-release" and the same issue still exists - same error. Same workaround as above fixed the issue for me.

Yeah, it's exactly the same setup, just updated (yesterday's) insider build.
And yes, if I uninstall the extension, install release, try to switch, the same happens over and over again.
I discovered another bug:

switch back to stable is not possible
[2022-05-24 12:03:11.208] [remoteagent] [warning] Overwriting user extension /home/MYUSER/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.4.1021342353 with /home/MYUSER/.vscode-server-insiders/extensions/ms-toolsai.jupyter-2022.5.1001421011.

It always pushes me back to the pre-release. I think this may be related to keep local/remote on the same version/track.

Sorry that you are having this annoying issue and glad that you are able to reproduce it so that we can investigate. If you don't mind, can you please summarise your repro steps?

So, I now understand why it's a bit complex to reproduce this - I guess...
I was even confused myself.
So, currently the only way to reproduce it was for me:

deinstall the server (rm -rf .vscode-insiders-server)
connect/install + install jupyter extensions (local: pre-release) -> pre-release installation successful
switch to release on remote
reload window -> I am then on release try to switch to pre-release -> issue appears.

And now the important part: I realised that I still had the setting   "remote.downloadExtensionsLocally": true, because within our company we had restrictions before... setting this to false also fixes the issue - even when it appeared before.

Thanks for the steps. I can reproduce it now and fixed.
To verify:

Open a remote window and set "remote.downloadExtensionsLocally": true setting
Install pre-release of ESLint extension
Reload window
Switch to release version of ESLint extension
Reload window
Switch to pre-release version of ESLint extension
Make sure switch happens


Notebook diff: locking / unlocking a cell is not shown in diff view

Testing #105770

Open the my-work.github-issues file
Unlock some cell
Notice how the file appears as modified in the Git changes view, however no change is shown

I would expect that my change to unlock / lock a cell is shown in the diff view.

I didn't reproduce it, I'm wondering if it's because the metadata change indicator doesn't stand up

Yeah, the indicator did not stand out...


Add an S3-based directory.

There are so many projects (latest one I've heard of is Nixiesearch, presented at Haystack) trying to read Lucene indexes from S3, let's provide a S3-based (and other object stores) directory in Lucene directly?

Nice idea @jpountz! I'll try spending sometime working on this.

@jpountz Interestingly, I have been spending some time on making this work - if its ok, I will self assign this issue?

@albogdano I'm curious if you have any interest in contributing your https://github.com/albogdano/lucene-s3directory?
@shubhamvishu @atris Thanks for volunteering to help! I'm keen on checking if @albogdano has interest in contributing first, but even if we went that route I'm sure we'll need help to properly support new Directory APIs like IndexInput#prefetch or also support the GCP and Azure counterparts of S3.

@jpountz Yes! How can I help you guys? My knowledge of Lucene internals is quite limited and the goal of the lucene-s3directory was mainly to be a proof of concept.

I'm thinking of a PR that would create a new lucene/directory/s3 module where we'd check in the code.

proof of concept

What is your gut feeling: should we rather start with your code and iterate on it to make it production-ready, or would it be easier/better to start from scratch, just taking inspiration from your existing code?

You will save some time if you iterate on my code as it already implements the boring parts for integrating with the AWS SDK (version 2.x is used btw). All I did was to clone Shay's JDBCDirectory from Compass and make it work with S3. There are no extra features.

Sounds good. Would you like to work on the PR?

Yes, of course! Are there any requirements for the PR? It would be a fairly large chunk of code for a single PR and I'm not sure if that's allowed. Should I just add the code to a new branch and push for review?

No special requirements, you may just need to adjust formatting (running ./gradlew tidy) and make sure it conforms with other requirements that are checked by the build, like forbidden APIs.

I've been thinking about this for a bit. In addition to an S3-based directory, I believe there could be some benefit from defining an S3 (or other object store) codec inspired by Parquet.
That is, the existing Lucene formats are "pure" column-stride (i.e. fields are contiguous). If we split things into "row groups", I believe we could reduce the need for random reads and prefetches. I've been thinking of giving that a try. It's complementary to the object store directory itself, so it can be worked on independently.


[1.21.921] Session persist doesn't trigger if the OS shuts down for an update

Just took the update to 26100, and all by windows and tabs did get restored! But it was all the windows and tabs that were persisted the previous time.  And I didn't have buffer history for any of them. (I haven't quit the terminal manually, so that kinda tracks. I've only had it closed for updates).
I hope this is repro-able outside of the update scenario 😨

IIRC there's a watson floating around that seems to suggest that #13614 regressed after 1.18's process model changes. Maybe that has something to do with it?

I'M THE MURDERER

The try_as<SettingsPaneContent>() in TerminalTav::BuildStartupActions() always returns a settings content for me lol

try_as<> into a non-projected type always returns non-null garbage

Seriously?
Try_as doesn't work for private types? LOL

oh you know what, that explains why I didn't get a buffer on update, doesn't it
cause the SUI panes merged which broke session persisting

#16914 fixes this though!


feature request: subset by index or bool array

Hey!
Would be lovely to have a full-fledged granges clone in python!
How do you feel about implementing sub-setting of ranges objects by indexing into them, and/or with a bool array? Right now I found the workaround is to go via pandas, i.e.
gtf_df = gtf.as_df()
gtf_df_genes = gtf_df[gtf_df.Feature=='gene']
gtf_genes = pyranges.PyRanges(gtf_df_genes)

Would be nice to do this directly on the PyRanges object, no? :-)
Thx,
J.

gr.subset(lambda df: df.Feature == "gene") should work. Strange that I forgot to put it in the docs...
Thanks for reporting!

It is actually hidden away in the docs: https://biocore-ntnu.github.io/pyranges/piping-pyranges.html

In 0.0.47 you can subset on rows using [] too:
import pyranges as pr

gr = pr.data.cpg()
print(gr[gr.CpG > 50])

Thanks for the feature request.


The 'modulate' attribute appears incorrectly when using an AnimationTree

Godot version
Godot v4.1.1.stable
System information
Godot v4.1.1.stable - Windows 10.0.19042 - Vulkan (Forward+) - integrated AMD Radeon(TM) Vega 8 Graphics (Advanced Micro Devices, Inc.; 27.20.11012.9001) - AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx (8 Threads)
Issue description
I created an animation named shot in an AnimationPlayer, which changes the modulate attribute to (100, 100, 100, 1) to make the Sprite2D totally white and then reset it. Then I created an AnimationTree whose tree_root is set to AnimationNodeStateMachine. The bug doesn't appear when there is only one animation shot in the tree. But when I add a new animation idle to the tree, the Sprite2D turns totally black.
https://github.com/godotengine/godot/assets/47471318/0abb971a-24f6-429f-a886-7abecab70bcb
Steps to reproduce
world.tscn is the main scene.
Minimal reproduction project
bug.zip

Maybe I haven't learnt it further, I'll read the documentation carefully and try more times.

Alright, I've fixed the problem just now. The only thing to do is to set up the RESET animation. I'm sorry I opened this useless issue.


PE-43237: Match jobstat error structure and code

Summary and Scope
Summarize what has changed. Explain why this PR is necessary. What is impacted? Is this a new feature, critical bug fix, etc?
Commit Change:

Changed Jobstat error structure and codes

_Is this change backwards incompatible, backwards compatible, or a backwards compatible bugfix?_bugfix
Issues and Related PRs
List and characterize relationship to Jira/Github issues and other pull requests. Be sure to list dependencies.

PR-42104

PE-43237

Resolves [issue id](issue link)

Change will also be needed in <insert branch name here>

Future work required by [issue id](issue link)

Documentation changes required in [issue id](issue link)

Merge with/before/after <insert PR URL here>

Testing
List the environments in which these changes were tested.
Tested on:

Slice
Local development environment

Test description:
Testing:

Tested by deploying new statechecker pod on Slice  and running sat jobstat on laptop

Risks and Mitigations
_Are there known issues with these changes? Any other special considerations?_NA
Pull Request Checklist

[ ] Version number(s) incremented, if applicable
[ ] Copyrights updated
[ ] License file intact
[ ] Target branch correct
[ ] CHANGELOG.md updated
[ ] Testing is appropriate and complete, if applicable
[ ] HPC Product Announcement prepared, if applicable

Actually there is one more item that would be helpful to do here if you don't mind - last week I added some unit tests to tests/apiclient/test_jobstat.py. Now that we don't have the extra error handling code, one of the tests started failing. Would you mind also deleting this test case? It's lines 104-112 of tests/apiclient/test_jobstat.py.


Port to new Kotlin multiplatform plugin

We lose JS tests, but those can be added back later...

Ahhhhhhhhh right. Fun
On Tue., Oct. 9, 2018, 8:41 a.m. Jake Wharton<EMAIL_ADDRESS>wrote:

@JakeWharton commented on this pull request.
In api/dac/build.gradle
https://github.com/JakeWharton/SdkSearch/pull/134#discussion_r223682457:

-dependencies {

implementation deps.kotlin.stdlib.common
implementation deps.kotlin.coroutines.common
implementation deps.kotlin.serialization.common
+// TODO work around https://youtrack.jetbrains.com/issue/KT-27170
+configurations {

compileClasspath
+}

+kotlin {

sourceSets {
commonMain {

 dependencies {

   api deps.kotlin.stdlib.common

I have to disable metadata or coroutines doesn't work. As a result I have
to do this dance manually until I can rely on the .module.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/SdkSearch/pull/134#discussion_r223682457,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABmQwGcaWWJFUjN-DH-cEr_uxaFLB-VFks5ujJmUgaJpZM4XQ0CL
.


No internal linking in footer

Contact Us
Our Teams
Our Aim
Events
does not have internal linking i have added that please assign this issue to me

Ok it's very minor changes we can't accept it sorry

I have one more pr regarding adding link to logo should i combine both of ot then will you approve it?


License, Travis and Scrutinizer

Having all of these parts would greatly increase user's faith in this library.
May i recommend looking at https://github.com/thephpleague/skeleton and following how they do these?
Should be an easy fix. You already have tests, but i also think PSR-2 would be a good fit.

Good Idea.
It's suppose to be PSR-2. Where it isn't?

Not saying it isn't but there is nothing checking it, might be worth mentioning also.

Ok, will use the template, looks good.
Are you willing to send the PR?

I would not be able to test it all, all you need to do is copy the files and adjusts paths. The travis/scrutinizer side of it has to be done by the repo owner.

Ok no prob


GitHub Dark Blue

Description
Created github dark blue theme. Since the current github dark theme is green, I made a blue one.
Fixes #
Type of change

[x] New theme

How Has This Been Tested?

[x] Tested locally with a valid username
[x] Tested locally with an invalid username
[x] Ran tests with composer test
[ ] Added or updated test cases to test new features

Checklist:

[x] I have checked to make sure no other pull requests are open for this issue
[x] The code is properly formatted and is consistent with the existing code style
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

Closes #218

Looks good
Maybe you can use the preview image since it seems the screenshot is cropped a bit off-center.

https://user-images.githubusercontent.com/20955511/156907315-6141c035-91dc-4cd6-be41-24c130a971dc.png

Maybe you can use the preview image since it seems the screenshot is cropped a bit off-center.

Good catch, thanks! Updated that for you.

Looks great! Thanks for the contribution :tada:


Plugin errors in webpack 2

Because there is a change in Chunk api, this plugin errors with webpack 2. There error is:
ERROR in chunk vendor [entry]
app-9148709000831c41a110.js
Chunk.entry was removed. Use hasRuntime()

I have a simple fix in a fork. I know webpack 2 is beta but would you accept a PR?

@brandondoran could you please open a PR with your fork? It'd be good to get a look at that and discuss fixing/merging :)

I opened a PR with your fork @brandondoran.

@kentcdodds thanks. I wasn't sure the plugin was being maintained so thought I'd just submit an issue first.

I have exactly the same problem.

Any updates on this?

Need this

@kentcdodds do you know when this is going to be merged? I need it as well ...


Add support for Development Containers

Description:
This pull request proposes the addition of a devcontainer.json file to streamline and standardize the development environment setup using Visual Studio Code's Remote - Containers extension.
Changes Proposed:

Added a .devcontainer directory to the project root.
Created a devcontainer.json file within the .devcontainer directory to define the development environment configuration.
Configured the devcontainer.json file to install necessary tools and dependencies during container creation and startup.
Added a postCreateCommand.sh file within the .devcontainer directory to define post creation commands.
Documented the setup process and requirements in the project's README.

Why is this Change Needed?
A devcontainer.json file brings several advantages:

Consistency: It standardizes the development environment, reducing configuration discrepancies among team members.
Onboarding: It simplifies onboarding for new contributors, ensuring they have a consistent development environment.
Isolation: It isolates project dependencies and tools, preventing conflicts with the developer's local environment.
Automation: It facilitates automated testing and continuous integration.

Testing:

Not tested, due to lack of time.

Related Issue:
#184

Can we use the same docker image as the actions (docker://asciidoctor/docker-asciidoctor:latest) for consistency?

Requesting an update on this.

Requesting an update on this.

There are no updates 🙃
Remind me to do this in catchup


FYI: New response code for notifications marked as "read" in bulk

GitHub Developer API announcement:
https://developer.github.com/changes/2019-03-26-new-response-code-for-notifications-marked-as-read-in-bulk/
As far as I can tell, this should require no changes to this repo, and I've posted the announcement here for informational and discussion purposes only.
My plan is to create it and immediately close it, so those watching the repo (or searching for the issue) will find the announcement, and then we can reopen is anyone thinks there is a need to discuss it here.

Closing. See initial description above. We can re-open if necessary.


A route control profile cannot be added under the External EPG

The module should allow the configuration of a route-control-profile on the External EPG.
Two variables need to be configured under the class "l3extRsInstPToProfile":
    "tnRtctrlProfileName" = var.<name.of.routemap>
	"direction"           = var.<direction.of.routemap>

Example:
resource "aci_rest_managed" "l3extRsInstPToProfile" {
  dn         = "uni/tn-${var.tenant}/out-${var.l3out}/instP-${var.name}"
  class_name = "l3extRsInstPToProfile"
  content = {
    "tnRtctrlProfileName" = var.<name.of.routemap>
	"direction"           = var.<direction.of.routemap>
  }
}

The route-control-profile in question has to be created  under the L3out DN, class rtctrlProfile.

Support has been added to nac-aci module.
https://github.com/netascode/terraform-aci-nac-aci/commit/fcd7d00fa2d4378e1912757f8c469974f662792a
https://github.com/netascode/terraform-aci-nac-aci/commit/e1aee8f78ca5646ecfd84c4910806ab213bc64e5


Installed and having so many errors using latest version of JTAppleCalendar 7.1.4..

IMPORTANT - BEFORE CREATING YOUR ISSUE PLEASE READ THE FOLLOWING:

PLEASE STATE THE VERSION NUMBER you are using.
Are you using the latest version of JTAppleCalendar? Latest version is currently 7.1.4
PROVIDE ENOUGH INPORMATION SO I CAN RECREATE THE PROBLEM.

@danishiq Please provide the answer to above questions. It's really important for the developer of this library to understand your issue.

@danishiq yes, please make your question developer friendly.
Saying that you have many errors doesnt tell us anything.

closing this issue until user provides more information.
but i'll leave you with this link in case you are experiencing the same issue as this guy -> https://github.com/patchthecode/JTAppleCalendar/issues/659#issuecomment-352059382


WIP: Sync rco

What this PR does / why we need it?:

To sync up RCO pipeline's functionality with that of WLO

Does this PR introduce a user-facing change?

[ ] User guide
[ ] CHANGELOG.md

Which issue(s) this PR fixes:

Fixes #

@davco01a PR #452 has added the make targets/scripts referenced by the changes in this PR. Is anything more required?


Client for file-based apps does not open the right URL

Method PjFileBasedBrowserBridgeClient>>#openWebBrowserOn: does not use the URL provided as parameter though it should

Fixed by PR #95


Add "releaseCompile" to gradle

Is it possible to add some dummy library for release stage to gradle? Like Stetho has 2625 methods so something like in leakcanary may be useful - to enable Stetho just for debug stage like so:
debugCompile 'com.facebook.stetho:stetho:1.4.1'
releaseCompile 'com.facebook.stetho:stetho-no-op:1.4.1'

Looks like there is simple solution for that - to create module and provide noop methods for yourself, check this post. Still hoping it will be added 'officially'.

Yeah see #232 for a conversation on this.  Depending on what your configuration is it is possible to do this even without the post you linked to recommends.
We would take a PR for this but don't really have cycles right now.

Directly linking to #16 which shows how its possible, this is what the stetho sample app does.

Recently came across a production app which forgot to disable stetho. Can we update README to convey that devs should use it the way sample app does instead of just directly copying the string compile 'com.facebook.stetho:stetho:1.5.0' as recommended by current README?


Shipping a patched version of pywal for use in wal_steam?

First of all sorry for spamming in an issue I wasn't quite sure the best way to contact you. Basically I'm currently working on version 1.2.0 of wal_steam and one of the big features is adding windows support due to the massive request for it. Now obviously you don't support seem to support windows with pywal, but wal seems to work and on reddit /u/reeBro managed to patch pywal for windows support. I was wondering if you would be apposed to me possibly shipping wal or pywal with wal_steam for our windows users. It could be done either via downloading it on their request or simply packaging it in the windows download for wal_steam.

I'll look into adding Windows support to pywal, it shouldn't take much work. (I'm not hard-coding many paths at all.) I've got a Windows machine at home so I'll work on this tonight.
That comment on reddit is a big help too though it gets a number of things wrong.
Yeah, feel free to package pywal for your Windows users. The licence permits it so long as you include the LICENCE.md file with your package. :)

Thanks a bunch that sounds great.


typo in 'check' output on windows

Output of restic version
restic 0.12.0 compiled with go1.15.8 on windows/amd64
How did you run restic exactly?
restic.exe --repo %repo% --password-file %pwdfile% check
What backend/server/service did you use to store the repository?
Backend for repository: VeraCrypt-container stored on local HDD
Expected behavior
no typo: typo is in the 'Actual behavior' section below in the second to last line, the last word:
'foundapshots' instead of just 'found'
Actual behavior
using temporary cache in C:\Users\ABCDEFGH\AppData\Local\Temp\restic-check-cache-269911643
repository 73d0ac3a opened successfully, password is correct
created new cache in C:\Users\ABCDEFGH\AppData\Local\Temp\restic-check-cache-309920683
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
no errors were foundapshots
[0:00] 100.00%  12 / 12 snapshots
Steps to reproduce the behavior
just run the above mentioned command
Do you have any idea what may have caused this?
no
Do you have an idea how to solve the issue?
no
Did restic help you today? Did it make you happy in any way?
great tool and so easy to set-up
way faster than my previous backup-solution (https://schinagl.priv.at/nt/ln/ln.html)

I don't see this typo on my systems when using CMD or PowerShell on Windows 10 20H2:
using temporary cache in C:\Users\aj\AppData\Local\Temp\restic-check-cache-025776715
repository 3fda17a2 opened successfully, password is correct
created new cache in C:\Users\aj\AppData\Local\Temp\restic-check-cache-025776715
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
no errors were found
[0:00] 100.00%  2 / 2 snapshots

Can you provide more information about your environment?

Probably a duplicate of #3344.

@dimejo: Thanks for your quick reply.
@greatroar: I think you are right.
I made some further tests on Windows10 (same Laptop / environment as above. I did the following:

created new repository ('init' command)
backup a tiny folder (restic.exe --repo %repo% --password-file %pwdfile% backup --verbose=1 "D:\testfolder")
run 'check' command (restic.exe --repo %repo% --password-file %pwdfile% check)
I did 'backup' -> 'check' -> 'backup' -> 'check' until I had 26 snapshots

The outcome is: sometimes the typo occurred, sometimes not. With snapshot 26 I run the 'check' command several times (one check after the other). Here the same: Sometimes the typo occurred and sometimes not. See below the output:
using temporary cache in C:\Users\ABCDEFGH\AppData\Local\Temp\restic-check-cache-325945315
repository 41feec73 opened successfully, password is correct
created new cache in C:\Users\ABCDEFGH\AppData\Local\Temp\restic-check-cache-325945315
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
no errors were found snapshots
[0:00] 100.00%  4 / 4 snapshots

no errors were found0 snapshots
[0:00] 100.00%  10 / 10 snapshots

no errors were foundapshots
[0:00] 100.00%  11 / 11 snapshots

no errors were found20 snapshots
[0:00] 100.00%  20 / 20 snapshots

no errors were foundapshots
[0:00] 100.00%  23 / 23 snapshots

no errors were found26 snapshots
[0:00] 100.00%  26 / 26 snapshots

no errors were foundapshots
[0:00] 100.00%  26 / 26 snapshots

I'm closing this as a duplicate of #3344, thanks for the report!


Unknown property: DTS\eBaySDK\Trading\Types\ReviseInventoryStatusResponseType::ItemID

Hello there, I'm trying to make a call to update the quantity and price, but I'm getting the following warning
Unknown property: DTS\eBaySDK\Trading\Types\ReviseInventoryStatusResponseType::ItemID

$request = new Types\ReviseInventoryStatusRequestType();

$request->RequesterCredentials = new Types\CustomSecurityHeaderType();
$request->RequesterCredentials->eBayAuthToken = $token;

$item = new Types\InventoryStatusType();

$item->ItemID = "111111111111";
$item->StartPrice = new Types\AmountType(array('value' => 1.00));
$item->Quantity = 10;
$item->SKU = "1000";

$request->InventoryStatus[] = $item;
$response = $this->service->reviseInventoryStatus($request);

/vendor/dts/ebay-sdk/src/DTS/eBaySDK/Types/BaseType.php - 413
The strange thing is, the price and quantity is updated just fine.

Do you have any code after the below line that is not shown in the example?
$response = $this->service->reviseInventoryStatus($request);

The error is coming from the $response object. For example the following would produce the same error
echo $response->ItemID;

Hi @davidtsadler sorry for the late reply, yes you were right.
The issue was on the response.

@diego-vieira i would suggest to use phpstorm with a nearly perfect autocomplete feature... because the SDK is so well php-documentated, with phpstorm you won´t do so many mistakes because you get a warning with every property that does not exist....

@michabbb yeah I do use phpStorm, for some reason I thought there would be a ItemID in the response.
Thanks


Copying Image to G Drive

I believe to have setup g drive correctly, I can see good output of $gdrive files list
I get email when there is motion, so motion detection and all that works fine. I am wondering though when detected pictures are store on gdrive?

Do you see the settings? And have you applied the right ones?

It works now after I changed to
recording = 1


Highlights/notes organized by books. Master notion page only contains titles read.

First of all, amazing work here. Worked like a charm on my MacBook. I was wondering, is it easy to import the highlights in a fashion that each book gets a new page created for itself? Essentially, during the import, the master Notion page (that is linked to within the script) becomes an index/TOC for the books one has read. When you click on one of the entries in this page (title of a book), the "sub" page would contains the highlights/notes for that particular book?

In a perfect world should it be just organised by books or by author with a subpage which has all the book?

And yes it is definitely possible, although not so easy

In a perfect world should it be just organised by books or by author with a subpage which has all the books?

Agreed.
Author List -> Book List -> Book #n Notes


Storage Explorer reports: "Download of Blob Successful" Despite "0 items Transferred"

After having established a connection to my Azure Storage Container using a SAS URI, I am able to browse the container but cannot download any blobs/files. I am trying to download JPG files specifically which are about 4 MB in size.
After clicking "download" on a single file and specifying the location, Storage Explorer reports Transfer of '....<file URI>...' complete: 0 items transferred (using SAS, discovery completed)
Why is Storage Explorer reporting a 'successful' download despite no objects actually being transferred to my local machine? I can copy the AzCopy command to Powershell and recreate the same issue. I'm at a loss as to how to actually download these objects.
Thanks in advance!

It was an oversight on my part that the SAS URI pointed directly to a single file instead of to the account or container. In other words:
Original SAS URI: https://myaccountname.blob.core.windows.net/mycontainername/20190529_092026.jpg?sv=2019-12-12&ss=b&srt=sc&sp=rlacx&se=2020-11-21T13:23:58Z&st=2020-11-11T05:23:58Z&spr=https&sig=UEzg%...
Better SAS URI: https://myaccountname.blob.core.windows.net/?sv=2019-12-12&ss=b&srt=sc&sp=rlacx&se=2020-11-21T13:23:58Z&st=2020-11-11T05:23:58Z&spr=https&sig=UEzg%...
I believe the URI being specified at the account level actually gave me the permissions to download the files I need.


[Bug] SVG loaded with registerMap is black

Version
5.4.1
Link to Minimal Reproduction
No response
Steps to Reproduce
There is an img : https://lashermes.com/wp-content/uploads/map2.svg
This img has colors.
if I load this image with registerMap: all element in the svg is black
$.get(
  'https://lashermes.com/wp-content/uploads/map2.svg',
  function (svg) {
    echarts.registerMap('a', { svg: svg });
    option = {
      geo: {
        map: 'a',
        roam: true,
      },
      series: [
      ]
    };
    myChart.setOption(option);
  }
);

Current Behavior
The content of svg is black. But this SVG is normally in color

Expected Behavior
The svg could be in color

Environment
echarts: 5.4.1

Any additional comments?
No response

The style defined by CSS is not supported. You have to set the color with fill / stroke attribute.

this problem still exists. can someone open it again?

@krabouilleur have you solved this problem?

@krabouilleur have you solved this problem?

Nope

this is so wierd. I tried those examples that echarts provided. it works well online, but it broke when I copied those code to my project locally. I'm so fucked.


After sign-up check for possible duplicate Persons

This relates to #78, but in terms of gift cards, we need to check this before we mail the gift card. As described in this comment https://github.com/smartchicago/kimball/issues/78#issuecomment-131968277, I currently check multiple pieces of information before deciding to send a gift card:

Last name (sometimes duplicate last names are used because they are common names or because they are the same family)
Address (usually in excel I search by house number and direction and quickly go through the sheet to find duplicates)
Email address
Phone number

Here is an example of a search for duplicate: If a new sign-up shares a common last name but no other matching information (address, email, phone number), this person is unique.
If a new sign-up shares the same last name plus other matching information (address, email, phone number), then if the other pieces of information are different (and there are not many repeating instances of this happening) then this person is unique.
Example: John Smith signs up in January 2016 and Jane Smith signs up in February 2016 and both live at the same address but have different emails and phone numbers this is valid.
Another example: If two sign-ups do not share the same last name but the same address, then other information like email and phone number need to be different for this to be a valid ID.
Task
This is a very manual process and I like to check and email testers if something does not seem right. Therefore, I want to accept all new sign-ups but within Patterns designate if duplicate or not.
At this add gift card stage I want a notification that a person might be a duplicate and who the duplicate might be.

What is currently on staging is a great start to checking for duplicate records especially with recent gift card sign-ups. I think that we will need to refine the address duplicate check because addresses can be the same but be entered differently (1234 West Belmont Ave vs. 1234 W Belmont are the same address).
I am going to add that this is Waiting on Merge, but keep future work in mind for this.

This works well now, and as we go through our gift cards processes, I expect that we will come up with more ideas for improvements. Closing this issue and opened #204 related to the last comment in this thread.


Copying a directory with 100000 empty files is very slow

reproduction steps
$ juicefs  format redis://localhost:6379/1  test1
$ juicefs  mount     "redis://localhost:6379/1"  /tmp/t1 -d
$ mkdir /tmp/t1/createfile
$ cd /tmp/t1/createfile
# create 100000 empty files
# you can load this json file https://zhijian-dev.oss-cn-hangzhou.aliyuncs.com/test10w.json

$ time cp -r /tmp/t1/createfile /tmp/t1/createfile2
  cp -r createfile createfile2  2.57s user 56.47s system 8% cpu 11:23.81 total

I tried this in my mac, it finished in 4.3 minutes,
time cp -r ~/jfs/createfile/ ~/jfs/t3

real	4m21.729s
user	0m1.681s
sys	0m24.506s

The juicefs profile reports 4xx files/seconds, and 45% time spent in lookup.
So it look normal here. You redis could be slow (flush every second?)

It's because my redis is too slow.


Improve support for OBX

Describe the bug
Many parts of OBX are complete, but there are gaps.
This issue adds support for:
CWE type records
Ranges with only a maximum value
Performer, referenced to both Practitioner and Organization
New resource Practitioner
Additional Performing Organization details such as ContactPoint
New resource ContactPoint
Support for Device
New resource Device
Expected behavior
Missing support identified above should be supported for OBX

Support added as described above

In Release 1.0.11


TGG Viewer: Authorization is required, but Google oAuth has not been initalized. Contact your site administrator for assistance.: undefined

TGG Viewer: Authorization is required, but Google oAuth has not been initalized. Contact your site administrator for assistance.: undefined
It's not a SpliceAI issue, but i didn't find any topics for TGG Viewer issues.

I think that is wrong behavior

I'm not sure which Google Storage file paths are triggering that error.
Let's see if we can troubleshoot.
What url does TGG-viewer show in the "Initial settings" box?
If it's not https://tgg-viewer.broadinstitute.org/default_config.json , can you set it to that and hit "Apply"?
Also, if you open https://tgg-viewer.broadinstitute.org/default_config.json directly in your browser, it lists all the metadata and file paths that TGG viewer uses to populate the left side-bar. If you're getting that error when trying to load one of the IGV tracks listed in the sidebar, you can find the underlying data path in the JSON file and see if/why you get an error when accessing the data file directly outside TGG-viewer.
Another thing to check is, when you're logged with that gmail account, are you able to go to your Google Storage Console @
https://console.cloud.google.com/storage/browser  and see any files there?


Test it on SCCSimulator(LISVendors)

Thank you for your great work...
I tested your LIS system but it doesn't work as expected, The SCCSimulator(LISVendors) is the simulator for Abbott Standard Interface
devices like ARCHITECT i4000SR. If you can do a test on it If I am missing something? I will provide links for the app and docs.
SCCSimulator(LISVendors).zip
Abbott Standard Interface.pdf

Sure, I'll take a look.
From: Safaa Abbas @.>
Sent: Saturday, November 25, 2023 1:41 AM
To: roy-harmon/UniversaLIS @.>
Cc: Subscribed @.***>
Subject: [roy-harmon/UniversaLIS] Test it on SCCSimulator(LISVendors) (Issue #12)
Caution: This is an external email and may be malicious. Please take care when clicking links or opening attachments.
Thank you for your great work...
I tested your LIS system but it doesn't work as expected, The SCCSimulator(LISVendors) is the simulator for Abbott Standard Interface
devices like ARCHITECT i4000SR. If you can do a test on it If I am missing something? I will provide links for the app and docs.
SCCSimulator(LISVendors).ziphttps://github.com/roy-harmon/UniversaLIS/files/13463288/SCCSimulator.LISVendors.zip
Abbott Standard Interface.pdfhttps://github.com/roy-harmon/UniversaLIS/files/13463294/Abbott.Standard.Interface.pdf

Reply to this email directly, view it on GitHubhttps://github.com/roy-harmon/UniversaLIS/issues/12, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABZRRG7QAH6UC6QHSFLY65TYGGOH7AVCNFSM6AAAAAA7Z5LBYSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAYTANJRGU3TAMQ.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>


Update correct usage of copyright for PostgreSQL

Description
The first occurrence of the name "PostgreSQL" on a page always has to have a copyright (PostgreSQL®)
In order to help find occurrences, we added a style rule in our Vale config (first-postgresql-registered.yml)
Todo:

in the Vale style config, set the level to "error" (level: error)

run npm run spell:error

This will give you a report of errors and help you find occurrences of the wrong use in the text.

Note:  The error will list all findings for the use of "PostgreSQL" without the trademark. You need to add the ® to the first  occurrence on the page.

update the usage to correct trademarking

The npm run spell:error should be green before making a PR.

Hey @programmiri  I would like to work on this issue please

Hi @morgoth9808  I assigned you. Thank you! 🎉


input image validation

input of upload image, can upload any file from this input so i think need more validation for image extensions

Thanks @mohamedhafezqo for filing. We'll be addressing this soon

Hi,
I would love to work on this as a first contribution to Manshar.
Here is what i have in mind, thought to share before jumping in:

Use http://markevans.github.io/dragonfly/models/#validations
Models with photo attachments are: (User -> [avatar] / Article -> [cover] / Category -> [icon, image] / Image -> [asset])

I am not so sure about front-end and testing?


Add instructions for getting Gerrit HTTP password to contributing.md

This will help contributors who only read one level of docs, like
myself!

Thanks for the contribution!  We'll merge it in.

This was merged


BENCH: fix benchmark imports for optimize_linprog.py

Reverts gh-11443 and fixes gh-11441.
[ci skip]
How this works is already explained in benchmarks/README.rst.

This issue is preventing running benchmarks against anything but master, so I'll merge this.


IOS 11 will support NFC and Scan code

So how about homebridge, do we build the two funtions insteand of the pin nums?

Any thoughts on how can we present the QR code to user?
Sent from my iPhone

On Sep 2, 2017, at 10:21 AM, kevinkm<EMAIL_ADDRESS>wrote:
So how about homebridge, do we build the two funtions insteand of the pin nums?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

https://github.com/fumiyas/qrc/blob/master/README.md

is there any documentation on what information the QR code should contain?

The QR Code seems to change depending on device's User ID (MAC Address) and device type. I assume the  PIN is in there as well.
A bridge device called test35 with a User ID of A4:2F:A7:E0:02:CE and a PIN of 453-59-204 produces a QR code containing "X-HM://00247XRHGBZBQ".
I can't control the MAC and Pin closely enough to increment them and see what is happening in the HomeKit Accessory Simulator.

I dug in to the HAPAccessoryKit.framework from the latest version of the accessory simulator, and it looks like these X-HM URI's are built from a set of flags, a category, version, some sort of reserved bit, and the PIN, along with something referred to as a setupID.
So either we'll need to dig in to exactly how this works more, or hope that apple releases a noncommercial HAP specifications R2 that includes how to generate these codes.

It's already in.


Add test coverage and code analysis reports with Codacy

This adds Jacoco test coverage to the build file.
Developers can use the HTML reports are generated in build/report/html by ./refine server_test. XML reports are submitted by Travis to Codacy and can be viewed on their interface.
I have changed the Travis script to run ./refine server_test instead of ./refine test because the browser tests are broken (they rely on Windmill, which is abandoned: see #733). This saves a few seconds of build time.
I have added a Codacy badge to the README.md : .
There is another badge that displays coverage () but we need to merge this into master before adding it.
I have also enabled Codacy integration on GitHub, so this PR will be reviewed by Codacy (and I hope it will be happy with it! I suspect it will not find any issue because I did not touch the Java code at all).
@thadguidry I have seen your Gradle file, but it seems easier to me to add Jacoco in the ant build - this way, it works both with your new Gradle setup and with the current build system.

Hmm, Codacy did not find anything to say here. It did find issues for this one though: https://github.com/OpenRefine/OpenRefine/pull/1216
By the way, this closes #1224.

Following the discussion on #1216 I merge this first.

@thadguidry @jackyq2015 I need admin rights to add a GitHub hook for Codacy integration (so that the dashboard gets updated when we push things on master). I've sent you an invite link for Codacy if you want to do it yourself.

@wetneb I did install the webhook for Codacy manually.  Looks like their auto-install ON/OFF switch for it is a bit buggy even for an admin.  no one online in their chat at this hour to talk to about it.  Regardless, it looks like its setup for PUSH monitoring now.  I've given you admin access, and your now part of the CORE team.  We know where you sleep. :)  Welcome to CORE !


Add a permanent class: add class [class name]

As a user, I can add permanent classes to the list that I can assign students to so that I can have an overview of which classes students are attending.

I think we should change the format to make it easier to parse, like #11

It would make it slower to type though.

We can make it a shortcut and use #11 as the initial implementation. What do the rest think? @AY2122S2-CS2103T-W11-3/developers


Handling incorrect number of arguments differs in JRuby

Please let me know if you need more detail than this:
$ rbenv shell 1.9.2-p290
$ rbenv version
1.9.2-p290 (set by RBENV_VERSION environment variable)
$ foreman export
"export" was called incorrectly. Call as "foreman export FORMAT LOCATION".
$ rbenv shell jruby-1.6.4
$ rbenv version
jruby-1.6.4 (set by RBENV_VERSION environment variable)
$ foreman export
ArgumentError: wrong number of arguments (0 for 1)
         send at org/jruby/RubyKernel.java:2092
          run at /Users/hector/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/task.rb:21
  invoke_task at /Users/hector/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/invocation.rb:118
     dispatch at /Users/hector/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor.rb:263
        start at /Users/hector/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.8/gems/thor-0.14.6/lib/thor/base.rb:389
       (root) at /Users/hector/.rbenv/versions/jruby-1.6.4/lib/ruby/gems/1.8/gems/foreman-0.22.0/bin/foreman:7
         load at org/jruby/RubyKernel.java:1063
       (root) at /Users/hector/.rbenv/versions/jruby-1.6.4/bin/foreman:19

Yep, verified. Patches welcome.


Support for tooltips

Could we add support for tooltips? I would like to be able to display a tooltip when my form boxes are hovered over?
Perhaps a form field similar to htmlClass could be added for a title.  For example htmlTitle

Thanks for your idea — I'm not sure we should add a field specifically for tooltip, but having a "metadata" field could be of use I guess. Happy to accept a PR if you have the time to give it a try !

Ok, I've submitted a pull request.  I'm only learning javascript, so please bear with me if I have done something unconventional. I've tested my changes and they seem to work nicely though. So fingers crossed it's good to go

I've seen it, thanks a lot for that. Will merge sometime soon


Added Uiwidgets.store

https://www.uiwidgets.store Collection of tailwind components

Hello, I'm sorry but I don't think this should be added to the list.
I'm reticent to add paid products even if they have a free tier, but this one also doesn't feel polished and I don't think it should be promoted in its current state.


add composer.lock & update travis config

as per zendframework/zendframework#7660
also entails these changes:

bump minimum php version to 5.6
add composer scripts entries
fix travis.yml env variables to not be affected by travis-ci/travis-ci#1444
remove obsolete phpunit bootstrap

Thanks, @stefanotorresi!


Pulumi Command Hangs During failed  Execution in Windows 11 Environment

What happened?
Description
When executing a Powershell command  that fails, in a Windows 11 environment using Pulumi Command, the command enters a hung state, effectively blocking the completion of the process. This issue persists even with varied local configurations. I have tested with python 3.12.7 and 3.10.7.
Below is a detailed trace of the problem:

Environment:

OS: Windows 11
Shell: PowerShell

Observed Behavior:

The Vscode version Command hangs  pulimi up during execution, appears to be when the powershell command fails.

The Git version command completes succesfully and does not hang the pulimi up

Process does not complete, requiring manual intervention, have to kill the python process for the pulumi command to terminate.

Steps to Reproduce:

Example __main__.py in section Example
Run Pulumi command in PowerShell (parts of command  line and  log anonymized for security reasons).

# in Powershell Win 11
# env config
$env:TF_LOG = "TRACE"`

#Execute
pulumi up --logtostderr --logflow -v=10 2> out-p3-10-7.txt

Logs/Trace:
An anonymized trace log is available to demonstrate the issue. Please find it attached in example

Expected Behavior
The Pulumi command should execute successfully without entering a hung state.
Additional Context
This is a critical issue as it disrupts workflows involving Pulumi commands in a Windows 11 environment.
Example
# pyproject.toml
[project]
name = "iac-wsl-ai-24q4a-u2204"
version = "0.1.0"
description = "Add your description here"
requires-python = ">=3.10"
dependencies = [
    "pulumi-command>=1.0.1",
    "pulumi>=3.139.0",
]

# __main__.py

import pulumi
import pulumi_command as command

# Command to get Git version
git_version_cmd = command.local.Command(
    "getGitVersion",
    create="git --version",
    delete="echo 'No cleanup needed'",
)

# Command to get Visual Studio Code version
vscode_version_cmd = command.local.Command(
    "getVSCodeVersion",
    create="& 'C:\\Program Files\\Microsoft VS Code\\bin\\code' --version",
    delete="echo 'No cleanup needed'",
)

# Export the results
pulumi.export("git_version", git_version_cmd.stdout)
pulumi.export("vscode_version", vscode_version_cmd.stdout)

LOG export
**SEE ATTACHED log out-p3-10-7-anonOMIZED.txt
**
Output of pulumi about
CLI
Version      3.139.0
Go Version   go1.23.3
Go Compiler  gc
Plugins
KIND      NAME     VERSION
resource  command  1.0.1
language  python   unknown
Host
OS       Microsoft Windows 11 Pro
Version  10.0.22000 Build 22000
Arch     x86_64
This project is written in python: executable='C:\Users\USER\operations\IaC-wsl-ai_24q4a_u2204.venv\Scripts\python.exe' version='3.10.7'
Current Stack: USER/IaC-wsl-ai_24q4a_u2204/dev
TYPE                      URN
pulumi:pulumi:Stack       urn:pulumi:dev::IaC-wsl-ai_24q4a_u2204::pulumi:pulumi:Stack::IaC-wsl-ai_24q4a_u2204-dev
pulumi:providers:command  urn:pulumi:dev::IaC-wsl-ai_24q4a_u2204::pulumi:providers:command::default_1_0_1
command:local:Command     urn:pulumi:dev::IaC-wsl-ai_24q4a_u2204::command:local:Command::getGitVersion
Found no pending operations associated with dev
Backend
Name           pulumi.com
URL            https://app.pulumi.com/USER
User           USER
Organizations  USER
Token type     personal
Dependencies:
NAME            VERSION
arpeggio        2.0.2
attrs           24.2.0
debugpy         1.8.8
dill            0.3.9
grpcio          1.66.2
parver          0.5
protobuf        4.25.5
pulumi          3.139.0
pulumi-command  1.0.1
pyyaml          6.0.2
semver          2.13.0
six             1.16.0
Pulumi locates its logs in C:\Users\USER\AppData\Local\Temp by default
Additional context
have reviewed #201 , but this is  is powershell and the failed powershell command should not be waiting on user input
have reviewed #79 is about a remote command, and was closed as completed but no apparent resolution
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

I have further refined to a Minimum reproducible code, see Trace Debug section below for config attribute to set for Failure or Success
When set to fail the and the following hung state is shown

If i Kill the python process i then get

followed by logs and the final output of the pulumi up command
Minimum reproducible code
# __main__.py
import pulumi
from pulumi import Config
import pulumi_command as command

# Load the configuration
config = Config()
fail_flag = config.get("failFlag")  # Get the FAIL flag from configuration

if fail_flag == "true":
    # Logic for when the FAIL flag is set
    pulumi.log.info("FAIL flag is set to true.")

else:
    # Logic for when the FAIL flag is not set
    pulumi.log.info("FAIL flag is set to false.")

get_time_cmd_failure_exit1 = command.local.Command(
    "getTime_fail_exit1",
    create="echo Current Time: %time%"
    if not fail_flag == "true"
    else "echo Current Time: %time% & exit /b 1",
    delete="echo 'No cleanup needed'",
)

pulumi.export("get_time_cmd_failure_exit1", get_time_cmd_failure_exit1.stdout)

EXECUTION with Trace logging
$env:TF_LOG = "TRACE"
# TO NOT FAIL, set failFlag=false in the config
pulumi up -y --refresh --config failFlag=false --logtostderr --logflow -v=10 2> up-SUCCESS.log
# TO FAIL, set failFlag=true in the config
pulumi up -y --refresh --config failFlag=true --logtostderr --logflow -v=10 2> up-FAIL.log

LOGS
attached is the up-FAIL.log

One possible lead, it appears to work with toolchain set to poetry,  the above is using toolchain UV defined in my pulumi.yaml  as
name: .....
runtime:
  name: python
  options:
    toolchain: uv
.....

I have setup the Min. Reproducible Code above in https://github.com/pulumi/pulumi-command/issues/563#issuecomment-2481539075 as an  IaC instance using uv toolchain and another IaC instance as poetry tool chain, the poetry  executes both failing commands and functioning commands and updates the stack.
The UV toolchain hangs on the failing command, as already described and logged, 🤔

Thanks for the detailed reproduction case and follow ups; I'm still trying to get an environment setup to try to repro on my end, but just wanted to  let you know that we're looking into it!

Ok, I was able to reproduce this on a windows 11 VM. In fact, it seems to not be specific to pulumi-command at all. Any program where the provider returns an error seems to cause a hang when using uv for the python runtime.
Eg. a simple resource name collision will also hang:
import pulumi
import pulumi_random as random

r = random.RandomString("random", length=16)
r2 = random.RandomString("random", length=16)

As @auphof noted, it seems that killing the python process allows the pulumi command to finish.
This is probably specific to uv on Windows, but I did not get a chance to verify that it does not occur on mac or linux environments. (I would be surprised if it does though since we have lots more testing in those environments.)


terror: add terror api to support add and product error workaround automaticly

What problem does this PR solve?
TiDB has a lot of error with error code, writing workaround toml file manual will be a huge work.
So we need an api which can add workaround easily and produce toml file by code.
What is changed and how it works?
In TiDB, error registered in this form:
errAccessDenied  = terror.ClassServer.New(errno.ErrAccessDenied, errno.MySQLErrName[errno.ErrAccessDenied])
To add workaround, just append behind the New function.
errAccessDenied = terror.ClassServer.New(errno.ErrAccessDenied, errno.MySQLErrName[errno.ErrAccessDenied]).SetWorkaround("this may caused by incorrect password")
Check List
Tests

Manual test (add detailed scripts or steps below)

Code changes

Has exported function/method change

Side effects

Increased code complexity

Related changes

Need to cherry-pick to the release branch

@SunRunAway @cfzjywxk @bb7133  all comments have been addressed, PTAL

@SunRunAway  addressed.

Please fix gofmt.
gofmt (simplify)
terror/terror.go
make: *** [Makefile:25: fmt] Error 1

/merge

LGTM

/merge


FAI-529: Score Cards: Data Dictionary: Remove duplication of delete icons

See https://issues.redhat.com/browse/FAI-529
@sjamboro What type of tests would you like to see for what is largely a CSS related change?
Characteristics are covered by the predicate.ts integration test.
I'll see if I can put together some form of unit test.

Reminder: Our CI doesn't run on draft PRs.

@sjamboro @kelvah I've added unit tests. This PR is ready for review. Thank-you.

@manstis I am going to check that the delete button is visible and accesible via cypress test. I want to create new JIRAs (DD, Mining, Outpust, Characteristics). Your tests are ok. It would be nice to check the content of the row ("field1" and "field2") and missing icon without hover or focus.

@tiagobento @ederign This PR is ready for your eyes now :+1:


Updates Package Dependencies to latest versions

Details

Switches dependency matching strategy to from to allow for more aggressive updating to occur. (Simply monitor Package.resolved for version updates triggered by "Update to Latest Package Versions")
Updates the following Packages to latest versions.

Packages
CryptoSwift

1.3.3 -> 1.4.2

ArgumentParser

0.3.1 -> 1.0.3

Hi @spydercapriani , can you please look into the merge conflicts? ArgumentsParser was updated to 1.2.0 in a previous PR. Thanks!


x509 ssl certificate jenkins not responding

Hello Support,
i setup jenkins with windows server and try to setup SSL using third party provider certificate.
i follow this steps for ssl certifcation configuraration https://stackoverflow.com/questions/5313703/how-can-i-set-up-jenkins-ci-to-use-https-on-windows
Having issues with x509 certificate for Jenkins SSL port.
Here are my steps

generate key
keytool -genkey -keyalg RSA -keystore Jenkins.jks -alias example.com -keysize 2048
certificate request
keytool -certreq -Keystore jenkins.jks -alias example.com -file jenkins.csr -keysize 2048
sent Jenkins.csr to my provider ad got the return  cert with PKCS#7 cert .
import
keytool -import -trustcacerts -file jenkins.p7b -keystore jenkins.jks -alias example.com

Getting error related P7b not supported while import, so i requested x509 and received the file .
I have imported x509 and keystore created, however the jenkins is not responding to the https port but jenkins is up and running.
Any thought or help.
BR,
Rushi.

This is the issues area for one particular Jenkins plugin (Github Issues Plugin), not for Jenkins itself. Please use the Jenkins mailing list or bug tracker.

can you provide the location jenkins mailing  list or bug tracker.

https://jenkins.io/mailing-lists/
https://wiki.jenkins.io/display/JENKINS/How+to+report+an+issue


Bound change and blur to dispatch

Fixes #1696 and its dupes.

Current coverage is 100% (diff: 100%)

Merging #1767 into master will not change coverage

@@           master   #1767   diff @@
=====================================
  Files          52      52
  Lines        1118    1251   +133
  Methods         0       0
  Messages        0       0
  Branches        0       0
=====================================
+ Hits         1118    1251   +133
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 7df2527...bf5ab86

Published in v6.0.3.


Day or night mode

I would like to add a python script.
Here, it will autodetect whether to click a click in day or night mode.
Input will be a grid of pixels and output will be day or night

Not adding Python Scripts only adding CV NLP and Detection model


Plotly.js?

In your example, you use charts.js to create the graphs. Does your library currently support plotly.js (https://plot.ly/javascript/)? I am asking because my current graphs come out blank when shown using your dashboard....

Dazzle does not rely on any visualization library. It will render any react component you provide in a widget. If plot.ly works as a stand-alone component if your app, then it should work with dazzle too.

I see. The graphs work fine on their own, and I made sure that the data is being passed correctly to the objects in the dashboard by printing out the data in the class constructor. Do you have any suggestions to debug why the graphs are not being rendered properly by the Dashboard?

Would you be able to create a sample repo with the issue? I would be happy to take a look at it.

I think I figured it out. The issue was that it looks like the DOM has to look for the graphs themselves to render, so in the render() function, I had to include both the dashboard as well as the JSX Plot elements themselves.

Closing this for now. Feel free to re-open.


How to use coco2017 dataset

Hi.
I am trying to train faster rcnn using coco2017 dataset.
However, I don't understand what symbolic links I need to make.
Can someone explain the directory structure expected by the code and related symbolic links?

https://stackoverflow.com/questions/1951742/how-to-symlink-a-file-in-linux
Your answer is there

@EMCP thanks

Have you successfully trained coco2017? I don't know how to train without changing the directory structure of the original dataset.


Type errors in unix::WindowExt for X11

The get_xlib_window returns a value that is defined by the X11 API to be Wffi::indow (which is a typedef to c_ulong), but casts it to *mut c_void.
Likewise, get_xlib_screen_id returns a value defined by the X11 API to be a c_int, but casts it to *mut c_void.
My understanding of the X11 API is very light, but this seems wrong to do so, especially given depending on the architecture, these types are not guaranteed to even be the same size.
Do you have some insight regarding this @Ralith ? (pinging you as you seem to have a fair amount of knowledge of X11)

When get_xlib_window is used by glutin, it's either cast right back to ffi::Window (here) or used as ffi::EGLNativeWindowType to later be passed to eglCreateWindowSurface (here). Looking at the official example, that function does expect the window ID, so casting the value itself into a pointer does seem to be correct, albeit unintuitive, since it's being used for type erasure.
While ffi::Window isn't guaranteed to be pointer-sized, I can't imagine it will ever be larger, and as far as I can tell Rust treats these pointer conversions just like it would any ordinary integer cast. In other words, this should always work.

Sorry, this must have slipped through the cracks. I don't know of any reason why we shouldn't be using the proper C types here; it seems we're only getting away with it by coincidence.


Use BasicObject for cleanroom

BasicObject has following methods:
>> BasicObject.instance_methods
=> [:!, :==, :!=, :__send__, :equal?, :instance_eval, :instance_exec, :__id__]

BasicObject has been added since Ruby 1.9.

Thanks

I'm not sure about that. I've created new issue on bugs.ruby-lang.org.
https://bugs.ruby-lang.org/issues/13204

nobu said:

Top level constants are constants defined in Object, but BasicObject does not inherit Object.

Hmm... could you revert it?

ah, wait. easy to revert via web. I will do it.


Improvement in footer Section of  blogs

Footer Section of Blogs is not Looking good. please Assign this issue to me

i can work on this. Please assign me this issue under GGSoC'23

please assign this issue to me

please assign this to me  under Gssoc 23


Deduplicate ipex initialization code

This PR moves the repeated IPEX/XPU initialization code to a single place in library/ipex_interop.py.
cc @Disty0

Don't change the init name to init_ipex or don't cahange the return values.
I use my IPEX library with multiple projects. Unless you want to change it in every single project i use this library on, don't rename it or don't cahange the return values.

I am not sure if ipex will work with importing it in a submodule instead of the main file.
This need testing when i get back to home.

Thanks for the comments!

Don't change the init name to init_ipex and don't cahange the return values. I use my IPEX library with multiple projects. Unless you want to change them in every single project i use this library on, don't change them.

Fair, I can change those back – you could consider packaging your library as an actual Python package, though. If you need a hand with that, please let me know.

I am not sure if ipex will work with importing it in a submodule instead of the main file.

It shouldn't have any technical difference. All this PR does is move the same code into a function and call it.

This change makes it that if there is an issue with the ipex libs, entire script will error out.

I don't think so. The exact same exception handling is in the new initialization function, although in a slightly different form. Anyway, I'll change this a little more to avoid touching library/ipex at all :)

Other than the logging i mentioned, this pr is good to merge.


pytest functional failing

I've been trying to set up HAMLET on MacOS and RedHat but have been getting errors on both systems that some files cannot be found. I double checked these and they are included in the HAMLET directory.
fun.out.txt
redhat.out.txt
So I tried the frankenstein test on MacOS:
snakemake -rp --snakefile Snakefile --configfile test/data/config/test-hamlet-frankenstein.config --use-singularity
Multiple include of /Users/schaunr/software/HAMLET/includes/qc-seq/Snakefile ignored
Multiple include of /Users/schaunr/software/HAMLET/includes/qc-seq/Snakefile ignored
Multiple include of /Users/schaunr/software/HAMLET/includes/qc-seq/Snakefile ignored
Multiple include of /Users/schaunr/software/HAMLET/includes/snv-indels/Snakefile ignored
Multiple include of /Users/schaunr/software/HAMLET/includes/qc-seq/Snakefile ignored
localrules directive specifies rules that are not present in the Snakefile:
        plot_sfstar_fusion_cp

Building DAG of jobs...
MissingInputException in line 50 of /Users/schaunr/software/HAMLET/includes/snv-indels/Snakefile:
Missing input files for rule align_vars:
/Users/schaunr/software/exports/sasc-testing/fixtures/HAMLET/deps/data/gmap-genome-index/GCA_000001405.15_GRCh38_no_alt_analysis_set

What am I missing?

Can you verify that the reference file is indeed located on /Users/schaunr/software/exports/sasc-testing/fixtures/HAMLET/deps/data/gmap-genome-index/GCA_000001405.15_GRCh38_no_alt_analysis_set on your system? Otherwise, you will have to update the configuration file of the test to make sure it points to the correct folder.


fix: use available CTs instead of only readable

The way reference field works, it will take the available CTs for the field - via validations - filter out the ones that user has no permissions to read and pass the remaining list to the Entity Search modal. If an empty array of CTs is provided Entity Search will render all CTs of the environment.
When a user has partial access to content types e.g. via tags these content types will not appear in the list of readable CTs and will result in an empty array to be passed to Entity Search which will then result in all available CTs to be listed overriding the field validations.
If instead we pass the available CTs then Entity Search will still respect the validations and is smart enough to filter out individual entities the user might not have permissions to read.
See the following example:

fields allows only Component:Text entries to be linked via validations
the user has access to some entries of the Component:Text via tags but cannot read any entry of that CT

Before all CTs would be listed:

After, only the Component:Text is listed and only the entries that user can read:

Related tickets:

https://contentful.atlassian.net/browse/ZEND-4455
https://contentful.atlassian.net/browse/ZEND-4432

Sorry to block but just want to make sure I understand this. it seems readableContentTypes are only ever used in the places you changed in this PR, so does that mean we should remove them from the reference editor props?

Good point, I didn't notice they are not used anymore, we could remove them in this case.

Also, any reason why not to fix this on the app level?
Do you mean the web app here? This logic is all encapsulated inside the field-editor itself, it essentially determines the CTs to show based on field validations and permissions, they cannot be overridden from the outside atm and introducing new parameters seemed that it would complicate the logic even more. Do you have another suggestion?

Do you mean the web app here? This logic is all encapsulated inside the field-editor itself

You're right @SofiaMargariti , I was under the impression that the list is passed down from the host app but I was wrong. In that case, let's remove please the readableContentTypes related logic and 🚢


ENH: add axis parameter to between_time, at_time

from SO

+1 for this functionality

@antonymayi want to contribute a patch?


Write validator errors to System.err

Closes #120
Fixes #112

@svanteschubert, please, merge this pull request... Thank You!

@svanteschubert, please, merge this pull request... Thank You!

I just talked to Michael Stahl (aka mistmist), he will take a look upon it.
The ODF validator is his "kingdom" and I am still in the middle of improving code-generation for ODFDOM using the MultiSchemaValidator...
But thanks for the patch and for the reminder!
Svante


HTTP(s) - Browser Engine (Chrome/Chromium)

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
I am trying to setup - HTTP(s) - Browser Engine (Chrome/Chromium)
I have installed chromium via - "sudo apt install chromium-browser" but still I am getting an error saying - "Chromium not found, please specify Chromium executable path in the settings page."
I am unable to find the same in settings. Can you help me fix  this ?
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
Ubuntu 24.04
🌐 Browser
Google Chrome Version 126.0.6478.127 (Official Build) (x86_64)
🖥 Deployment Environment

Runtime: pm2
Database: default

Sorry found it -settings/general


Add docs for several different packages.

I added some simple docs explaining an example for annotation and a markdown table for properties similar to what Material-UI has for it's docs.
Since working with markdown tables is kind of annoying, I did two things. First I got the markdown-table-editor package for Atom. Then I wrote a python script to take the function call params and fill out the name, type, and defaults of the table so there was less busy work.

👏 Looks great, thank you!

❤


Accessing specific KOs

Hello,
Would there be a way to provide the specific predicted KO's rather than the general pathway within the output? It is difficult to make predictions based on the pathways alone.

Hello, thank you for using our tool. Unfortunately, if you make predictions more detailed, the risk of false prediction will increase. To avoid this, we return predictions only at the 3rd level of the KEGG hierarchy
hao can i like picurst2 to show the function abundance in sample, not only one OTU function component?


Fix LanguageAdapterException

Fixes the following launch exception on Fabric.
Caused by: net.fabricmc.loader.api.LanguageAdapterException: Class com.unascribed.ears.EarsMod cannot be cast to net.fabricmc.api.ModInitializer!

Oh right Gitea... How to I make this PR on Gitea?

I still watch GitHub, but this project has been on soft-hiatus and I haven't gotten around to this yet.

I see you figured out the Gitea PR; it is more convenient for me to handle this there, so I'll close this after all.


Add stackprof and configure to profile CPU

Context
We'd like to understand high CPU usage from the Apply load test plan.

Changes proposed in this pull request

Guidance to review

Link to Trello card

Things to check

[ ] If the code removes any existing feature flags, a data migration has also been added to delete the entry from the database
[ ] This code does not rely on migrations in the same Pull Request
[ ] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[ ] If this code adds a column to the DB, decide whether it needs to be in analytics yml file or analytics blocklist
[ ] API release notes have been updated if necessary
[ ] Required environment variables have been updated added to the Azure KeyVault

Closing, investigation on load test application complete


⚠ Website Unmer has degraded performance

In 9ff2a41, Website Unmer (https://unmer.ac.id/) experienced degraded performance:

HTTP code: 200
Response time: 12169 ms

Resolved: Website Unmer performance has improved in dabeae9.


Modulator: Envelope Generator

Control register modulator that generates curves of various shapes, instead of the usual linear ramps built into (most) control registers.
Parameters:

target - Target level (ramped control; durations optionally overridden by 'time')
time - Ramp time override (ms; 0 means ramp timing follows 'target' ramping)
mode - Output function for positive changes (step/linear/quadratic/cubic/inverse quadratic/...)
down - Output function for negative changes (linked to 'mode'/step/linear/quadratic/cubic/inverse quadratic/...)

Depends on #51.

(Description updated to reflect the current state of the prototype in the wip-260 branch. It was originally in the wip-51 branch, as it was used as a pilot case for the control output API design.)
A remaining design issue is that plain x^N exponential curves beyond cubic aren't all that well suited for long decay/release envelopes, as they're too slow initially, and then get too close to the target level too early - so in practical terms, higher degrees just sound like faster envelopes.
The higher degree curves should behave more like natural decays. IIR filters multiplied with linear ramps, to actually hit the target...?
Also, for quick level changes with minimal transient artifacts, it would be nice to have one or two spline modes, both starting and ending with near-zero derivates.

TODO:

Use mode/down 0 for LINK. (STEP is pretty useless, and can be performed via @/set anyway).
Use -1 (current LINK code) for SPLINE.
Investigate further what to do about the higher degree curves.

Also affected by #267, both directly when "forwarding" linear ramping, and through the internal ramper.


Use Completable.fromCallable() instead of Copletable.create()

Overview (Required)

It is safer

👍 fromAction is better?

👍


[V3-RC4] PIXI.Loader is undefined

Hello,
Did I miss something  (like a new name for the asset loader) or is there a bug with the RC3 and RC4 ?
I can't call "new PIXI.Loader()" anymore.

https://twitter.com/rolnaaba/status/580372751073951744
https://github.com/GoodBoyDigital/pixi.js/issues/1565
Also mentioned it on other chat sources and IRC as well lol. Plugins moved into their namespaces. If you want to create your own loader it is in the loaders plugin: PIXI.loaders.Loader.  There is also a pre-made loader that pixi is nice enough to export for you at PIXI.loader.

Ok then, thanks ! There is an IRC channel ?
Anyway, it should be added to "deprecation.js" I guess.

https://gitter.im/GoodBoyDigital/pixi.js
Is a chat channel we use often.

Also the docs are up now, so it is easier to find what you need:
http://pixijs.github.io/docs/


Save and retrieve user-info based on email alone

This will avoid hitting the registration rate-limit if kube-cert-manager is
initially set up to request certificates for many different domains.

How does this behave when deploying on an already running db? I assume it will resolve the challenge on the next refresh seeing as they were previously bound to domains ?

any update on this? I'm hitting rate limits on creating new accounts a lot..

thanks @ean thanks for the response. cert-manager does seem like the preferred solution now days


SAD issue time check lacks time skew tolerance configuration

The SADValidator at se.swedenconnect.opensaml.sweid.saml2.signservice.SADParser.SADValidator has a problem in the check of issue time at row 200
The current check:  (long)sad.getIssuedAt() > now
This check does not allow any time skew. If the sign server clock is behind the IdP clock by just a few seconds, this check will fail. In test environments this will fail if time skew is a fraction of a second.
This check should have a configurable time skew margin.

Moved to https://github.com/swedenconnect/opensaml-swedish-eid/issues/16


Where can I map PV1 account status in FHIR?

I have the following HL7 PV1 segment field 41 as account status "CURRENT". Where can I map it in FHIR?
PV1|1|O|HOSPICE OF EDMOND, INC.^^^HEP&HOSPICE EDMOND^2^PATIENT'S HOME/RESIDENCE^^^GREEN|NEW ADMISSION|||1900038389^REEVES^BOB^^^^MD|^^^^^^|1538112198^G^LOUIS^^^^MD|||||||||HOSPICE|16364||||||||||||||||||||||CURRENT|||20210622000000

Recommend posting this question on chat.fhir.org under v2 to FHIR stream.

Hi,
http://www.hl7.org/fhir/account.html has terminology bindings to
Account.status
If you expand the valueset
https://www.hl7.org/fhir/valueset-account-status.html#expansion you are
probably looking for the value active
https://www.hl7.org/fhir/codesystem-account-status.html#account-status-active
On Tue, Jun 29, 2021 at 5:18 PM jchen75006 @.***> wrote:

I have the following HL7 PV1 segment field 41 as account status "CURRENT".
Where can I map it in FHIR?
PV1|1|O|HOSPICE OF EDMOND, INC.^^^HEP&HOSPICE EDMOND^2^PATIENT'S
HOME/RESIDENCE^^^GREEN|NEW
ADMISSION|||1900038389^REEVES^BOB^^^^MD|^^^^^^|1538112198^G^LOUIS^^^^MD|||||||||HOSPICE|16364||||||||||||||||||||||CURRENT|||20210622000000
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/FHIR-Converter/issues/262, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWIVSI65QXY2V3MSHVXTATTVHP5XANCNFSM47QL5ZFQ
.

--
Gustav


JP - Provides additional runtime information

This PR provides additional runtime information in the response.
Please @raulraja could you review? Thanks.

LGTM


Metadata editor - creation from scratch

Hi,
When you add microdata from scratch through the web inteface, the xml file doesn't seem to be created.
The study is visible on the repository, but all the functionalities link to the DDI aren't working.
Administration side
Survey options menu

The link "generate DDI" makes an error 500.
The link "refresh DDI" creates the error "DDI_NOT_FOUND"
The link "export DDI" makes an error 404

When I try to upload a thumbnail, the error IDNO-NOT-FOUND occurs, even if an ID is set on the page (Reference No).

Moreover, when I go back to the Metadata tab and I modify some information, I can't save my modification. The button "save" doesn't react.
Public side
The export of the DDI makes an error 500

Thank you

@ceracine - Can you please provide information on the version of NADA you are using?

Hi, I'm on the version 5.3

I have tested a fresh installation of 5.3 and I cannot regenerate the errors you are running into. Can you please try these and share the details:
To find out what is causing the 500 server error, you need to enable "development" mode so you can see the actual error:

Edit index.php file and change the environment from "production" to "development" on line number 66:

define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production');

To:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'development');

In the same file, go to line number 79 and change:

error_reporting(-1);

To:
error_reporting(E_ALL ^ (E_DEPRECATED));

Save the file
Now try to Generate the DDI and you should see the actual errors instead of the 500 server error.


Add a new 'lines' text format

Also adopt ion-rs 0.14.0
Description of changes:
This adds support for the new lines() formatter in ion-rs: https://github.com/amzn/ion-rust/blob/main/src/text/raw_text_writer.rs#L34-L52
This is helpful for working with line-delimited text-oriented tooling (sort, grep, uniq etc.).
Testing:
Comparing the various text formats.
❯ cat c.json | cargo -q run dump --format text

[1, 2, 3] [4, 5, 6]

❯ cat c.json | cargo -q run dump --format lines

[1, 2, 3]
[4, 5, 6]

❯ cat c.json | cargo -q run dump --format pretty

[
    1,
    2,
    3
]
[
    4,
    5,
    6
]

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks! Side question: do we have a unit test somewhere that guarantees that text values written by the lines writer always escape their return lines?

No... I didn't think of this, so I have not looked into it.

Thanks! Side question: do we have a unit test somewhere that guarantees that text values written by the lines writer always escape their return lines?

No... I didn't think of this, so I have not looked into it.

Offhand, I don't think any of the text writers emit multiline strings yet, so we're probably ok for now.


Create better networking example plugin

The current plugin used for testing (https://github.com/docker/docker/blob/23ea9e45fd6281e82c389e6112457a7bb70f8d89/integration-cli/docker_cli_network_unix_test.go#L773-L795) tiborvass/test-docker-netplugin does not offer any functionality.
We should have a better example plugin
/cc @mavenugo @anusha-ragunathan

@thaJeztah i have that as a todo in my list.


model: local resource should support serve

Just setting aside the names for the two different types of commands that local resources will be able to have going forward:

UpdateCmd - is what we have been referring to as a LocalResource.Cmd today
ServerCmd - this is something like rails s: a long running command that we want to keep running after the UpdateCmd has completed.

@maiamcc I just wanted something to differentiate the two commands.
Updates aren't necessarily builds, so the word build is out. A local resource could be:
local_resource("drop everything", "mysql -u user < ./drop_all_tables.sql")
local_resource("enable JIT", "echo JIT_ENABLED=1 > php.conf && systemctl restart apache)

It feels wrong to me to refer to those as builds


Fix the failing test

The last merge caused a test failure before of a function that changed in master.

LGTM


yolov9-c.pt not found

Hello,
I was trying to use your pip installation to fine-tune the v9 model, however it threw an error saying first that requirements.txt was not found, as well as yolov9-c.pt not found.
How can I fix this? Or is this an issue with the package?

https://github.com/kadirnar/yolov9-pip/issues/4#issuecomment-1961582903


Add hidden attribute to VisibilityAttr AST node. Fixes #759

Fixes #759

This change is

Reviewed 2 of 2 files at r1.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable


Cocoapods Support for Multiplatform

Description of the feature request:
I am trying to integrate Gemini into my Compose Multiplatform application. However currently Kotlin Multiplatform only supports iOS libraries as cocoapods.
What problem are you trying to solve with this feature?
Use this library for the iOS side of my multiplatform app.
Any other information you'd like to share?
No response

Beyond just CocoaPods, it looks like KMP also needs an Objective-C API. Based on https://kotlinlang.org/docs/native-objc-interop.html#usage, Kotlin does not support Swift language integration and relies upon Objective-C APIs.


ENH: Bump CMake and checkout GitHub actions versions

Bump CMake and checkout GitHub actions versions.
Fixes:
cxx-build-workflow / build-test-cxx (ubuntu-22.04)
The following actions uses Node.js version which is deprecated and will be forced to run on node20:
<EMAIL_ADDRESS>For more info:
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

and
python-build-workflow / build-macos-py (8)
The following actions uses Node.js version which is deprecated and will be forced to run on node20:
actions/checkout@v3.
For more info:
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

raised for example in:
https://github.com/InsightSoftwareConsortium/ITKAnalyzeObjectMap/actions/runs/10012233814

There are a number of other warnings related to installing dependencies on the OS that we should address in the build referenced in the commit message:
https://github.com/InsightSoftwareConsortium/ITKAnalyzeObjectMap/actions/runs/10012233814


No Elasticsearch 2.0 support

Unable to install discovery-ec2 and repository-s3 plugins in Elasticsearch 2.0:
bin/plugin install --verbose discovery-ec2 results in:
-> Installing discovery-ec2...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/discovery-ec2/2.0.0/discovery-ec2-2.0.0.zip ...
Failed: FileNotFoundException[https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/discovery-ec2/2.0.0/discovery-ec2-2.0.0.zip]; nested: FileNotFoundException[https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/discovery-ec2/2.0.0/discovery-ec2-2.0.0.zip];
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

bin/plugin install --verbose repository-s3 results in:
-> Installing repository-s3...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/repository-s3/2.0.0/repository-s3-2.0.0.zip ...
Failed: FileNotFoundException[https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/repository-s3/2.0.0/repository-s3-2.0.0.zip]; nested: FileNotFoundException[https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/repository-s3/2.0.0/repository-s3-2.0.0.zip];
ERROR: failed to download out of all possible locations..., use --verbose to get detailed information

The split is in 3.0, there are no discovery-ec2 and repository-s3 plugin.  Try to use cloud-aws.
If you try this with 3.0, you could try to download and build from the Elasticsearch source, and install them via files : /bin/plugin install file:[path-to-repository-s3-3.0.0-SNAPSHOT.zip]
Close this.

@xuzha bin/plugin install cloud-aws worked in Elasticsearch 2.0, thanks!

Out of curiosity, why did you think at the beginning that repository-s3 was a correct plugin name?
I mean: where did you get this information?

@dadoonet - As a follower of the project, I've been a bit unclear myself from the readme (https://github.com/elastic/elasticsearch-cloud-aws) and from many of the recent comments here on this plugin's repo about the two subdivided plugins under the elastic branch. Is there a FAQ somewhere that details how the split of cloud-aws is going to take place and when? Thanks!

Of course ! The first line of the README!
I need to fix that because it's confusing.
Thanks.
The split has been done in master branch (3.0.0-SNAPSHOT). https://www.elastic.co/guide/en/elasticsearch/reference/master/_plugins.html#_cloud_aws_plugin

So I just updated the README.

Thanks for doing that! Now I know not to worry about the plugin architecture changing radically in the immediate future. :smile:

@dadoonet it was indeed the first line of the readme that led me to believe instead of cloud-aws, I needed to install discovery-ec2 and repository-s3 plugins. Thank you for fixing the readme. :+1:

The wrong reference to the repository-s3 plugin is still mentioned here too: https://www.elastic.co/guide/en/elasticsearch/plugins/master/repository-s3.html

@floretan Why do you think it's wrong? In master branch, it looks correct to me.

@dadoonet Sorry, it is indeed correct for the master branch. The different plugin names are quite confusing though, it would be helpful to make sure that every version of these instructions specifies what version of elasticsearch they apply to, most people won't reach them through the readme file.

Is there something we should change at the beginning of the README file?


feat(Response): add fromDiskCache/fromServiceWorker info

Fixes #1551
I tried to use one-style.html for the test but it would require additions to sw.js and the test server doesn't support caching AFAIK.

I'm not able to run all the tests b/c of https://github.com/GoogleChrome/puppeteer/issues/1600. Any idea why Travis is unhappy?

I wasn't able to push in this branch, so closing in favor of #1971.


Add LGOS and LSVS acc. to IEC 61850-6 and IEC 61850-7-1

As a user of OpenSCD I want the tool to handle the LGOS and LSVS behavior acc. to the IEC 61850-6 2007B4. that is
Background
It is very easy for the tester of IEC 61850 communication to test if a GOOSE or Sampled Value Stream is published on the network as expected, as both are multicast messages that can be received on any port and compared to its setting in the SCD file. Testing of supervision is not so easy. With edition 1 it was a bad trial and error process until the IED did use the signal and the tester could see either measured values or some binary information triggering something....for that reason the logical node classes were introduced with edition 2: LGOS and LSVS. They allow per GOOSE and Sampled Value instance to supervise the subscription status.
As all logical nodes LGOS and LSVS are allocated in the data model. In this case, in the receiving IED. With it the question arise who is responsible to put the data into the data model. With Ed2 this question was not answered fully and this lead to the discussion in Tissue 1401. With the newest part of the 61850-6 this is clarified to an extent that we can be confident enough to implement it. See Table 11 in IEC 61850-6 for SupSubscription element for the wording of the -6.
Requirements

only relevant for >= Ed2(2007B)
Triggered on each newly subscribed GOOSE/SampledValue: no information from the GOOSE/SampledValue has been subscribed in the subscriber IED yet (query ExtRef[iedName="sendingIED"][srcCBName="name of GOOSE/SampledValue"] in the subscribing IED returns null)
first try to add the control block reference to an existing but not used LGOS/LSVS
if this is not possible, try to add new LGOS/LSVS to the subscribing IED

NOTE: There are two possible scenarios that can happen and the requirements differ a bit: 1. There are already pre-defined LGOS/LSVS in the data model, and we need to instantiate the DOI[name="GoCBRef"]>DAI[name="setSrcRef"] or DOI[name="SvCBRef"]>DAI[name="setSrcRef"], respectively. 2. There are no instantiated LGOS/LSVS and we need to instantiated new once in order to set the DOI[name="GoCBRef"]>DAI[name="setSrcRef"] or DOI[name="SvCBRef"]>DAI[name="setSrcRef"], respectively.

Configure existing LGOS/LSVS

check if the subscribing IED does have an unused instance of LGOS/LSVS

get the first element LN[lnClass="LGOS"]/LN[lnClass="LSVS"] that does not have
DOI[name="GoCBRef"]>DAI[name="setSrcRef"]/DOI[name="SvCBRef"]>DAI[name="setSrcRef"]

Add the GOOSE control block reference / the Sampled Values control block reference (e.g. AA1E1Q01MUMod2_MU1/LLN0.MSVCB01) as a value to the DAI[name="setSrcRef"]

NOTE: the control block reference is a pointer to the GSEControl/SampledValueControl element that is strucktured as follows IEDNameLDInst/LLN0.CBName. (the name attribute of the receiving IED followed by the inst attribute of the parent LDevice follow by / follow by LLN0 followed by . followed by the name attribute of the GOOSE/SampledValue control block)

First instantiate than configure LGOS/LSVS

check all the pre-condition for adding LGOS/LSVS further down
if all conditions are met, add a new LN element into the logical device LDevice where all the other LN[lnClass="LGOS"]/LN[lnClass="LSVS"]

NOTE: One pre-codition is that at least one such logical node exist already in the data model

Pre-Condition to add new LN instance of LGOS/LSVS

Check if LGOS instance can be added to the subscriber IED (all checks are related to the subscriber IED!)

Check in the Services element - child of IED or AccessPoint if Services>ClientServices>SubSubscribtion.maxGo is bigger than 0
Check if the subscriber IED has instantiated logical node LN[lnClass="LGOS"]
Check if the lnType attribute of instantiated logical node has a representation in the data type templates section DataTypeTeplates>LNodeType[id="${lnType}"]
check if the number of the already instantiated LGOS is smaller than the allowed subscription for the subscriber IED: querySelectorAll(LN[lnClass="LGOS"]).lenght < Services>ClientServices>SubSubscribtion.maxGo
check if the IED allows instantiating values DataTypeTemplates>LNodeType[lnClass="LGOS"]>DO[name="GoCBRef"]>DA[name="setSrcRef"] has attributes valKind=Conf/RO and valImport=true.

NOTE: valImport defines if instantieted data (instantieted by SCT) will change the data model when re-improrting into the ICT. This is the case here. We want instantiete the setSrcRef data attribute and wan the IED to re-import and use it

Check if LSVS instance can be added to the subscriber IED (all checks are related to the subscriber IED!)

Check in the Services element - child of IED or AccessPoint if Services>ClientServices>SubSubscribtion.maxSv is bigger than 0
Check if the subscriber IED has instantiated logical node LN[lnClass="LSVS"]
Check if the lnType attribute of instantiated logical node has a representation in the data type templates section DataTypeTeplates>LNodeType[id="${lnType}"]
check if the number of the already instantiated LSVS is smaller than the allowed subscription for the subscriber IED: querySelectorAll(LN[lnClass="LSVS"]).lenght < Services>ClientServices>SubSubscribtion.maxSv
check if the IED allows instantiating values DataTypeTemplates>LNodeType[lnClass="LSVS"]>DO[name="SvCBRef"]>DA[name="setSrcRef"] has attributes valKind=Conf/RO and valImport=true.

NOTE: valImport defines if instantieted data (instantieted by SCT) will change the data model when re-improrting into the ICT. This is the case here. We want instantiete the setSrcRef data attribute and wan the IED to re-import and use it

NOTE: see the IEC 61850-7-1 Annex G: LGOS/LSVS engineering. This a very nice overview of the several checks we need to implement to make sure we are conflicting with the ICT (IEC configuration tool)

Additional information

see the tissue database and search for LGOS
see IEC 61850-6 Table 11
see IEC 61850-7-1 Annex G

As part of this (or perhaps as a separate issue or feature?), changes to GOOSE or SMV messages configured by the user should cause an update to the LGOS or LSVS if this information is mapped in them.

Should the LGOS or LSVS element be visible for each subscription? I'd like to see perhaps an icon for supervision and then something like LGOSx or LGOSy
Some options (with monitor_heart for the icon)

I think users (particular for testing and commissioning) will want to readily answer the question, "Which LGOS or LSVS LN should I look at to confirm this subscription is present and active or simulated?".

@JakobVogelsang I would like to know if there are any requirements to check before removing supervision.
Also @dlabordus mentioned you have discussed the idea of also removing openSCD-created LN elements when unsubscribing as well, I would like to know if this is the case and whether you can provide any further clarification into how to do that safely.
Thanks!

Should the LGOS or LSVS element be visible for each subscription? I'd like to see perhaps an icon for supervision and then something like LGOSx or LGOSy

As requested, moving to another issue #1037 to not pollute or unnecessarily extend this great task! :wink:


Add option to suppress readme

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/4420/azure-dev-0.9.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file

@danieljurek Do you know how to get the checks to rerun here? They shouldn't have failed...

They are failing because

Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v2. Learn more: https://github.blog/changelog/2024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

https://github.com/Azure/azure-dev/pull/4471

VSCode Extension Installation Instructions

Download the extension at https://azuresdkreleasepreview.blob.core.windows.net/azd/vscode/pr/4420/azure-dev-0.9.0-alpha.1.vsix
Extract the extension from the compressed file
In vscode
a. Open "Extensions" (Ctrl+Shift+X)
b. Click the ...\ menu at top of Extensions sidebar
c. Click "Install from VSIX"
d. Select location of downloaded file

Merged! Thanks @alexweininger!