[superlu] Add new port

What does your PR fix?
Add a Supernodal sparse direct solver library.

Which triplets are supported/not supported? Have you updated the CI baseline?
No.

Does your PR follow the maintainer guide?
Yes.

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

Hi @otakuto thanks for this PR.
I noticed that it failed on windows platform. Some errors like this:
SRC\CMakeFiles\superlu.dir\zdiagonal.c.obj C:\vsts\_work\4\s\installed\x86-windows\debug\lib\openblas.lib m.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib
LINK : fatal error LNK1104: cannot open file 'm.lib'
ninja: build stopped: subcommand failed.

Could you please take a look and try to fix the regressions?

Since this port doesn't support arm, arm64, uwp.
Could you also please update
superlu:x64-uwp=fail
superlu:arm64-windows=fail
superlu:arm-uwp=fail

to ci.baseline.txt?

Thanks.
I will do that.

@ras0219-msft
Thanks for your review.
Comments fixed.

/azp run

ping

Thanks @otakuto :D Looks awesome


Add More Options screen, add step abstraction and common Modal component

adds the More Options screen
abstracts components for different screens into their own components so only one Modal is defined

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#114  👈
#113
#112
#108
#105 : 1 other dependent PR (#107 )
#104
#103
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @bsiaotickchong and the rest of your teammates on  Graphite

Merge activity

Aug 21, 5:14 PM EDT: @bsiaotickchong started a stack merge that includes this pull request via Graphite.


Metamask integration

I like to verify, not trust.
Let's start with the fact that Metamask is the defacto most popular crypto wallet in the world.
10M metamask extension downloads
vs
700k Keplr extension downloads
https://helixapp.com/
Injective across all of their dapps have managed to hook into metmask, keplr and many other wallets.
They are cosmos, cosmwasm, not evm like evmos, incase anyone is wondering.
Unfortunately, they aren't open source about their wallet connect wrapper.
With the possibility of reducing the cosmos boarding friction to a group 10x current the user base, this has to be a strong priority for the team.
Let's make it happen.
Outside of cosmostation, Keplr's mobile is closed source, leap wallet is all closed source (as of writting). Let's make sure we provide users with a fully open source option to the community without having to trust the leap, keplr devs, not that I think they would bring harm to users. But I like to verify, not trust.

https://www.npmjs.com/package/secretjs#metamask
Secretjs has also figured out metamask integration

https://twitter.com/assafmo/status/1593914188845535238

MetaMask demo: https://secret-metamask-demo.pages.dev
From Assaf's tweet:
Fix SIGN_MODE_EIP_191: https://github.com/scrtlabs/cosmos-sdk/pull/183
Use prettified Amino JSON so it'll look good on MetaMask: https://github.com/scrtlabs/cosmos-sdk/pull/194
JS/TS signer: https://github.com/scrtlabs/secret.js/blob/898529e/src/wallet_metamask.ts
SDK discussion: https://github.com/cosmos/cosmos-sdk/discussions/13892

noticed this "issue" from some months ago and wondering if your still considering supporting metamask for chains like injective?


add a small test

(merge after #1)
And this one is similar to https://github.com/ekg/gaffy/pull/2, my comment there:

Adding a small test to serve as example (but it is missing the test data).
I have some in decoct doing more checks (searching for strings in the output, copying test data to tempdir, or reading a generated file and checking for results), if you want to take a look.
dev-dependencies are only installed for some commands (cargo test, for example), and don't increase the binary size for the final application.

OK, this needs more work =]
Main pain point: installing gsl on all three platforms (linux, macos, windows). I'll try to find how to do that.
These CI checks also require cargo fmt and cargo clippy to pass, should I do it in this PR?
On fixing the test per se: do you have some small-ish example data to add to tests/data, and be used to verify the CLI commands?

@luizirber,
I was just looking into the libgsl thing --- haven't figured it all out yet though.  For linux, should be as easy as 1apt-get install libgls`, for OSX, one can install through homebrew or from source.  For windows ... 🤷♂ .
@hiraksarkar : do we have a super-small dataset we could include for automated testing?

I addressed the current clippy complaints and cargo fmt now runs without issue.

@luizirber ,
I got gsl working on linux.  Any thoughts about OSX (or windows, but that is less of a priority)?

Ok, from source works!  Only the linting complains now.

Ci passing, though I disabled windows.  Now we need some test data from @hiraksarkar !


Fixes to /me endpoint and public policies

Proposed changes
Fixing some issues with the way the /me endpoint worked
Types of changes
What types of changes does your code introduce to the project: Put
an x in the boxes that apply

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

Checklist
Put an x in the boxes that apply. You can also fill these out after
creating the PR. If you're unsure about any of them, don't hesitate to
ask. We're here to help! This is simply a reminder of what we are going
to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the Contributor License Agreement
[x] I have updated the RELEASE NOTES
[x] I have added tests that prove my fix is effective or that my
feature works
[x] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in
downstream modules

@Cerfoglg can you rebase on master so we can merge? thanks!!


Data race detected when running ddlproducer ut

What did you do?
pwd
/tiflow/cdc/sink/ddlsink/mq/ddlproducer
go test -race -v -run TestSyncBroadcastMessage

What did you expect to see?
=== RUN   TestSyncBroadcastMessage
=== PAUSE TestSyncBroadcastMessage
=== CONT  TestSyncBroadcastMessage
[2023/05/24 13:49:32.505 -07:00] [INFO] [factory.go:144] ["Kafka DDL client closed"] [namespace=default] [changefeed=changefeed-test] [duration=35.529µs]
--- PASS: TestSyncBroadcastMessage (0.00s)
PASS
[2023/05/24 13:49:32.505 -07:00] [INFO] [factory.go:158] ["Kafka DDL producer closed"] [namespace=default] [changefeed=changefeed-test] [duration=52.935µs]
ok      github.com/pingcap/tiflow/cdc/sink/ddlsink/mq/ddlproducer       0.103s

What did you see instead?
=== RUN   TestSyncBroadcastMessage
=== PAUSE TestSyncBroadcastMessage
=== CONT  TestSyncBroadcastMessage
==================
WARNING: DATA RACE
Read at 0x00c0002a4af0 by goroutine 70:
  github.com/Shopify/sarama.(*Broker).AsyncProduce()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/broker.go:432 +0x69
  github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func1()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:828 +0x152
  github.com/Shopify/sarama.withRecover()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/utils.go:43 +0x48
  github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer.func4()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:793 +0x39

Previous write at 0x00c0002a4af0 by goroutine 65:
  github.com/Shopify/sarama.(*Broker).Open()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/broker.go:178 +0x3b0
  github.com/Shopify/sarama.(*client).cachedLeader()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/client.go:874 +0x2dd
  github.com/Shopify/sarama.(*client).LeaderAndEpoch()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/client.go:468 +0x67
  github.com/Shopify/sarama.(*client).Leader()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/client.go:459 +0x48
  github.com/Shopify/sarama.(*nopCloserClient).Leader()
      <autogenerated>:1 +0x74
  github.com/Shopify/sarama.(*partitionProducer).dispatch()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:631 +0xe7
  github.com/Shopify/sarama.(*partitionProducer).dispatch-fm()
      <autogenerated>:1 +0x39
  github.com/Shopify/sarama.withRecover()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/utils.go:43 +0x48
  github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer.func1()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:599 +0x39

Goroutine 70 (running) created at:
  github.com/Shopify/sarama.(*asyncProducer).newBrokerProducer()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:793 +0x6f9
  github.com/Shopify/sarama.(*asyncProducer).getBrokerProducer()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:1342 +0x127
  github.com/Shopify/sarama.(*partitionProducer).dispatch()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:633 +0x1a4
  github.com/Shopify/sarama.(*partitionProducer).dispatch-fm()
      <autogenerated>:1 +0x39
  github.com/Shopify/sarama.withRecover()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/utils.go:43 +0x48
  github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer.func1()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:599 +0x39

Goroutine 65 (running) created at:
  github.com/Shopify/sarama.(*asyncProducer).newPartitionProducer()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:599 +0x444
  github.com/Shopify/sarama.(*topicProducer).dispatch()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:509 +0x1cb
  github.com/Shopify/sarama.(*topicProducer).dispatch-fm()
      <autogenerated>:1 +0x39
  github.com/Shopify/sarama.withRecover()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/utils.go:43 +0x48
  github.com/Shopify/sarama.(*asyncProducer).newTopicProducer.func1()
      /home/zc/go/pkg/mod/github.com/!shopify/sarama@v1.38.1/async_producer.go:494 +0x39
==================
    testing.go:1446: race detected during execution of test
--- FAIL: TestSyncBroadcastMessage (0.00s)
FAIL
[2023/05/24 13:49:26.447 -07:00] [INFO] [factory.go:144] ["Kafka DDL client closed"] [namespace=default] [changefeed=changefeed-test] [duration=42.328µs]
exit status 1
FAIL    github.com/pingcap/tiflow/cdc/sink/ddlsink/mq/ddlproducer       0.086s

Versions of the cluster
TiCDC version (execute cdc version):
commit eeb6b9f69e4be9ebf8a8b117e30c8cf62da56592

Another one:
=== Failed

=== FAIL: cdc/sink/dmlsink/mq/dmlproducer TestProducerAck (0.01s)

    testing.go:1446: race detected during execution of test

[2023/05/26 04:55:21.564 +08:00] [INFO] [metrics_collector.go:83] ["Kafka metrics collector stopped"] [namespace=default] [changefeed=changefeed-test]

[2023/05/26 04:55:21.565 +08:00] [WARN] [kafka_dml_producer.go:149] ["Kafka DML producer already closed"] [namespace=] [changefeed=]

[2023/05/26 04:55:21.565 +08:00] [INFO] [factory.go:202] ["Close kafka async producer client success"] [namespace=default] [changefeed=changefeed-test] [duration=22.691µs]

[2023/05/26 04:55:21.565 +08:00] [WARN] [factory.go:210] ["Close kafka async producer error"] [namespace=default] [changefeed=changefeed-test] [duration=34.059µs] [error="kafka: Failed to deliver 1 messages."]

=== FAIL: cdc/sink/dmlsink/mq/dmlproducer TestProducerSendMsgFailed (10.00s)

    testing.go:1446: race detected during execution of test

/severity major

The bug in question does not impact the regular functioning of TiCDC and only arises when attempting to stop the CDC server. Therefore, the /severity major tag can be removed. Additionally, it is worth noting that this issue exclusively occurs when using the sarama Kafka client version greater than 1.36.0.

/remove-severity major

/severity moderate

/assign @charleszheng44

Close it since it's stale.


Legacy Cleanup

Remove:

legacy database(unplug SQLite)
legacy files in bitcoin/*

Dependency #3819

Closing this issue as discussed with dev.


Add dicarlo.Rajalingham2020orthographic_IT

Regarding the lookup file, I received a warning when pushing changes that the file size exceeded GitHub's recommended max size limit of 50MB. Unsure what the best thing would be for future, but just wanted to let you know.

Yep thanks for the info; @jjpr-mit is already working on getting rid of that file in github (and instead serving it from s3)


⚠ Bofrost.at has degraded performance

In b113368, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1483 ms

Resolved: Bofrost.at performance has improved in 7d33657.


Wrong shortcut keys

Microsoft PowerToys version
0.65.0
Installation method
PowerToys auto-update, WinGet
Running as admin
Yes
Area(s) with issue?
Keyboard Manager
Steps to reproduce

Remap CapsLock to Ctrl(Left), and remap Ctrl(Left) to CapsLock;
Open MS Edge or Firefox;
Test any shortcuts with Ctrl (as Ctrl+C or Ctrl+v) (What is actually pressed is CapsLock);
Will trigger a random shortcut function, but not you pressed.

✔ Expected Behavior
Ctrl+C to copy, Ctrl+V to past, or any other short key I pressed.
❌ Actual Behavior
Random
Other Software
Windows 11 22H2 2262.1.900
Firefox 108.0
Edge 108.0.1462.46

PowerToysReport_2022-12-14-14-48-17.zip

can you verify if this is still an issue with v0.73.0 /needinfo


Update requirements

Context:
Dependencies have not been revisited in a while.
Description of the Change:
Updates version of dependencies. In specific, tensorflow is pinned to version 2.10.1 since version 2.11.0 has changes in the functions stack and concat that break the integration with Mr Mustard.
To unpin it we will have to revisit the new tf api for those functions so that users installing MrMustard with pip install mrmustard won't run into unexpected errors.
Also, since ray is an optional dependency, tests related to ray are now skipped if the package is not installed.
Benefits:
Fixes a lot of security issues in TF as alerted by dependabot and also provides updated versions of the packages.
Possible Drawbacks:
TF is pinned — we should address this for the next release. Also, we should consider moving to a PEP 621 compliant packaging system by either using a pyproject.toml file for dependency specification or a dependency manager like poetry.
Related GitHub Issues:
None

Just  added a conditional dependency on requirements.txt that should at least help devs (but not users). Poetry is the way to go! 💪


question about default blas chosen for windows

according to the documentation, should the default blas chosen for windows be "blas", however, currently is "atlas"?

Not sure if this will help, but I have successfully build up mxnet on windows.
Regarding blas, I download the latest binary package of openblas from http://www.openblas.net/. Once you run Cmake, it will complain about not finding atlas, where you can just set BLAS to be Open; and then using the corresponding include dir and libs.

@hjk41 Could you have a look?

It is caused by the cmake file in MShadow.
I think we should set OpenBLAS as default. More and more people are using
OpenBLAS nowadays.
On Thu, Dec 10, 2015 at 4:02 PM, Eric Junyuan Xie<EMAIL_ADDRESS>wrote:

@hjk41 https://github.com/hjk41 Could you have a look?
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/886#issuecomment-163528256.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

really quick answer :+1:
I can help to change this if you are willing to.

Already pushed to mshadow, you can pull the latest mshadow and clear cmake
cache, then it should try to find OpenBLAS by default.
On Thu, Dec 10, 2015 at 4:42 PM, Teng Cao<EMAIL_ADDRESS>wrote:

really quick answer [image: :+1:]
I can help to change this if you are willing to.
—
Reply to this email directly or view it on GitHub
https://github.com/dmlc/mxnet/issues/886#issuecomment-163534618.

--
HONG Chuntao
System Research Group
Microsoft Research Asia

:+1:


Illumina single-end data

I'd add an extra parameter --illumina-single-end (like --nano and --illumina), so that one can clean single- and paired-end reads in one clean run

Ah yes, that's a good solution!
MarieLataretu<EMAIL_ADDRESS>schrieb am Mi., 20. Mai 2020,
19:55:

I'd add an extra parameter --illumina-single-end (like --nano and
--illumina), so that one can clean single- and paired-end reads in one
clean run
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/hoelzer/clean/issues/4#issuecomment-631630595, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADN2CZ6RIQCSXNXUBPOBRKDRSQKQ7ANCNFSM4KLFRFNQ
.

I just scrolled by - Is the renaming of the reads applicable also for the single-end reads?

renaming of the reads? do you have an example?

We do this, before mapping:
  # this is working for ENA reads that have at the end of a read id '/1' or '/2'
  EXAMPLE_ID=\$(zcat ${reads[0]} | head -1)
  if [[ \$EXAMPLE_ID == */1 ]]; then
    if [[ ${reads[0]} =~ \\.gz\$ ]]; then
      zcat ${reads[0]} | sed 's/ /DECONTAMINATE/g' > ${name}.R1.id.fastq
      TOTALREADS_1=\$(zcat ${reads[0]} | echo \$((`wc -l`/4)))
    else
      sed 's/ /DECONTAMINATE/g' ${reads[0]} > ${name}.R1.id.fastq
      TOTALREADS_1=\$(cat ${reads[0]} | echo \$((`wc -l`/4)))
    fi
    if [[ ${reads[1]} =~ \\.gz\$ ]]; then
      zcat ${reads[1]} | sed 's/ /DECONTAMINATE/g' > ${name}.R2.id.fastq
      TOTALREADS_2=\$(zcat ${reads[1]} | echo \$((`wc -l`/4)))
    else
      sed 's/ /DECONTAMINATE/g' ${reads[1]} > ${name}.R2.id.fastq
      TOTALREADS_2=\$(cat ${reads[1]} | echo \$((`wc -l`/4)))
    fi
  else
[....]```

But I just saw, that we also do this for the ONT data, so I'll implement this also for the Illumina singe-end data!

Ah sorry, I got confused with the rnaseq pipeline ;)
Yeah, I introduced this renaming stuff because I experienced problems with some FASTQ headers. I think what we could also have is a more convenient renaming Python script or so that

renames the reads
saves the mapping between the original and new ids in a tsv
restores ids based on the tsv

see:
https://github.com/EBI-Metagenomics/emg-viral-pipeline/blob/master/bin/rename_fasta.py
So we could have a separate rename step for any FASTQ, then the filtering happens, and then we have a restore module...
maybe that's cleaner?
But I am also happy with any other simple solution

yeah, an extra process for renaming would definitely reduce code redundancy!
I'll go for the copy-paste solution for the moment and open a new issue


Add info about the command palette

Add info about the command palette.
Typo fixes (e.g. "quick-start guide" instead of "quickstart")
Style fix, e.g. we don't have a keyboard key whose full name is "alt+shift+plus".

Docs Build status updates of commit 454d515:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/get-started.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

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

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

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

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 76c73c3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/get-started.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 76c73c3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/get-started.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Thanks @skycommand - merging this in.

Thanks @skycommand - merging this in.


Is there a good reason why nc_def_var_fill() does not work for classic files?

When I use nc_def_var_fill() on a classic file I get error -111, In netcdf.h this is:
#define NC_ENOTNC4       (-111)    /**< Attempting netcdf-4 operation on netcdf-3 file. */
Is there a good reason why nc_def_var_fill() does not work on classic files? Seems like the defining of a fill value should be format-agnostic since it is just defining a _FillValue attribute, right?

This is working now - thanks @wkliao!


Doc Example: Add more example(s) for Edge Label Renderer

Hi I am a reactflow pro subscriber 🙏
What is the suggestion?
Add more example(s) for Edge Label Renderer (<EdgeLabelRenderer>)
Currently there is only 1 example for the  on the docs page for it

Perhaps a few more sandpack code examples for the following common would be good:

Render  at the beginning of edge an path
Render  at the end of an edge path

Motivation for Changes?
<EdgeLabelRenderer> is one of the new powerful APIs introduced in react-flow 11.2 that allows userzs to create custom Edge Labels with React code instead of SVG; since this is becoming a common utility, some more examples would be helpful 🙏
Related References

https://github.com/wbkd/react-flow/discussions/2863
https://discord.com/channels/771389069270712320/1046759869409140748/1046759872907182160

That's a good idea :) I just added a configurable start-end label edge.


Enable test_abi for Foxy: ament_index, rcl, rcl_interfaces, rcpputils, rmw, rosidl

First set of packages to enable ABI on Foxy under the works of quality levels.
//cc @chapulina

Don't have permissions to merge this, @jacobperron we need your superpowers here


Create welcome page

This is a page that is shown on install. This page should show users the shortcuts to trigger search and link to page to change them

Need to figure out if this should be bundled with the extension or should be hosted somewhere else

Could an options page that also lists the shortcuts on it's top side work? If you only have a few key combos and don't end up needing a large options UI they might fit cohesively on the same page.

@andrei-g-git sorry I did't see this before but I just implemented this if you want to take a look. I added the same welcome page as the options page of the extension and I has the commands on them so you use case might be handled. Nice thinking! 🎖

@mohitkyadav We might need to make this in line with the look of the website... How do you feel about taking this on?

@MitchellMarkGeorge this welcome page, can it be hosted on a remote url, let's say https://tabbutler.netlify.app/<some_path>?
Or is it strictly required from chrome extension side to be a static html page?

@mohitkyadav I initally thought is should only be local but using a remote url should be fine 👍


Release The First Dummy Version

We have to release the first version of library as soon as possible

Errors from staging repository:
Invalid POM: /com/github/volodya-lombrozo/jsmith/0.0.1/jsmith-0.0.1.pom: Project description missing


How can I install 7zip software into Azure SSIS

How can I install the 7zip software on to the azure SSIS?

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

ID: 16d4ef48-6270-324e-5821-8557cf332320
Version Independent ID: da6ae67f-4d00-63fb-63b4-b615a78317aa
Content: Customize setup for the Azure-SSIS integration runtime
Content Source: articles/data-factory/how-to-configure-azure-ssis-ir-custom-setup.md
Service: data-factory
GitHub Login: @swinarko
Microsoft Alias: sawinark

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

I think I found a way, this can be closed.

Thanks @Anmolgan81


Uncaught Error: The specified module could not be found./?\C:\ProgramData\Ahmad\atom\app-1.46....

[Enter steps to reproduce:]

...
...

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Unknown Windows version
Thrown From: Atom Core
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\ProgramData\Ahmad\atom\app-1.46.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
At ELECTRON_ASAR.js:160

Error: The specified module could not be found.
\\?\C:\ProgramData\Ahmad\atom\app-1.46.0\resources\app.asar.unpacked\node_modules\keyboard-layout\build\Release\keyboard-layout-manager.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:20:18)
    at customRequire (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:1:721712)
    at get_KeyboardLayoutManager (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:14:2780724)
    at get_manager (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:14:2780826)
    at Object.getCurrentKeyboardLayout (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:14:2780952)
    at e.keystrokeForKeyboardEvent (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:14:1081124)
    at KeymapManager.keystrokeForKeyboardEvent (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:11:1253631)
    at KeymapManager.handleKeyboardEvent (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:11:1251616)
    at WindowEventHandler.handleDocumentKeyEvent (C:/ProgramData/Ahmad/atom/app-1.46.0/resources/app/static/<embedded>:11:284744)

Commands

Non-Core Packages
autocomplete-python 1.16.0
platformio-ide-terminal 2.10.0

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way 😀


Declare session.defaultParams and session.defaultOptions stable

Proposed in https://github.com/lucaswerkmeister/m3api/issues/6#issuecomment-974697411, needed for other packages as well (cf. #20).

There’s also a DEFAULT_OPTIONS in core.js, which are the compile-time default options when neither request nor session default options specify a certain option. Should we export that as well? Then other packages could also use it…
And if we export it – how much do we lock it down? Do we encourage other packages to add their default options to it? (Which would already rule out Object.freeze() and Object.seal().) If yes, do we try to protect our own options (e.g. make them non-configurable or non-writable)?
I think I’m leaning towards exporting these options indeed, and encouraging other packages to add their own default options to it, and strongly discouraging the modification of existing default properties, but without trying to prevent that on a technical level.

(I have no idea what I meant by “compile-time” up there btw. It’s JavaScript.)

Note: once we allow custom options, combine.js will have to compare the options differently than it does at the moment, because JSON.stringify() silently discards functions (compare 12989709daccf17a5e8e29a0823b73835e7d252a). Also, modules should take care to pass through unknown options instead of dropping them when they destructure an options object into known options (this is relevant in some code I’m currently writing for #6).

I think this is done; at some point I’ll add guidelines for extension packages somewhere (including how they should use the options), but that can be part of another issue (maybe #20).

Hm, one thing I didn’t realize until just now is that it’s not obvious how extension packages should import DEFAULT_OPTIONS. Packages that directly depend on m3api could use ./node_modules/m3api/core.js, but for packages that have it as a peer dependency, that doesn’t work.
I think the only viable option is m3api/core.js, which works on Node; people using the packages for the browser will have to configure an import map or use a bundler :/


Fix PropType errors and long title values

https://github.com/buz-zard/netlify-cms-widget-inline-select/issues/6
https://github.com/buz-zard/netlify-cms-widget-inline-select/issues/7
https://github.com/buz-zard/netlify-cms-widget-inline-select/issues/2

:tada: This PR is included in version 1.0.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


⚠ Samsung has degraded performance

In dd5d020, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2775 ms

Resolved: Samsung performance has improved in f7ade3f.


chore(master): release 1.0.8

:robot: I have created a release beep boop
1.0.8 (2023-08-08)
Bug Fixes

deps: update dependency wayofdev/laravel-cycle-orm-adapter to v4.0.47 (#22) (257fc42)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-webhook-client/releases/tag/v1.0.8 :sunflower:


Motion history tree

Fixes #354

Maybe the ">"-arrows are not the best option to display this. As you can see, the meetings' names are breaking ugly.


Is there a Pytorch Lite version?

Thank you for amazing work. I'm in need of a pytorch lite (.ptl) version of the Pytorch (.pt) model. How may I download your .pt or .ptl model somehow? Do you have a torch.hub.load version we can download?

@spinoza1791 we use gdrive to host our checkpoints, and we support autodownload of our checkpoints. But we don't support .ptl format

@spinoza1791 we use gdrive to host our checkpoints, and we support autodownload of our checkpoints. But we don't support .ptl format


Reset refreshTicker instead of stop and create a new Ticker

As the refreshTicker has expired here, we could reset the ticker instead of stop and create a new Ticker.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[X] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

@silenceshell: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Rerun command

lint_istio
e717ecf553028d5bdfc0afd7e650af7946b298dc
link
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test lint_istio


Decompiler "rename" action (bound to "L") for function parameters should accept "empty string"

Is your feature request related to a problem? Please describe.
I occasionally discover that the name I've assigned a function parameter is incorrect, and want to remove the human-assigned name entirely: back to param_{N} for it.
I keep trying to do this by putting point on the parameter name in the decompiler output, hitting L, and then hitting backspace and enter to clear the name from the "Rename Local Variable" dialog that pops up, and save that.
The dialog then tells me "Cannot have empty name", and remains active; I can then hit Y to get the function signature editor dialog, and remove the parameter name there just fine.
Describe the solution you'd like
I'd like to be able to remove paramater names with whatever L is bound to by default in the decompiler.
I'd consider it a big bonus if:

it also worked for "local variables", and restored their "default" naming convention when blank, and
if the "Rename Local Variable" dialog rejected an empty name, it restored the original default to the textbox.

by "default" I mean that the name slot set by a human is null, and they are back to SourceType.DEFAULT for the name slot (if there is one, eg, parameters.)

possibly relevent: the "Rename" action on L in the "Listing" window, when on a struct field in defined data, does accept an epmyt string, and revert to the default name.  not certain exactly which binding it is, but:

define a struct foo
define at least one human-named field (eg: offset 0x0, pointer, named bar) so DataTypeComponent.GetFieldName() ⇒ String("foo")
define data in initialized memory of our struct, foo
put point on the text "foo" representing the field name in the "Listing" window
hit L to trigger the (I'm pretty sure it is default) binding to rename a structure field
clear the name field, hit OK
observe: no error, struct field reverts to field_0x0, because DataTypeComponent.getFieldName()⇒null now.

Observed in the wild with "vftable" types, so the struct contains a pointer to a FunctionDefinition, and the value pointed to is Function.getEntryPoint() for some defined (and named) function in the code.


Bump azure-mgmt-resource to Track 2 15.0.0

Is your feature request related to a problem? Please describe.
Due to the code change in Track 2 SDK, if a user uses pip to install Azure CLI and azure-mgmt-resource==15.0.0 in the same virtual environment. CLI will stop functioning correctly:
> az login
...
AttributeError: 'SubscriptionClient' object has no attribute 'config'

More info: https://github.com/Azure/azure-cli/issues/13995
Describe the solution you'd like
Bump the dependency of azure-mgmt-resource to Track 2 15.0.0.
Describe alternatives you've considered
Install Azure CLI and azure-mgmt-resource==15.0.0 in separate environments.
Additional context
See #15461, #15429, #14716, #13995, #15460, #13995.

Bump azure-mgmt-resource

Is there any preliminary patch for this issue yet?

We are currently working on it, but this migration requires huge amount of effort.
We will vendor a subscription SDK in azure-cli-core temporarily (#15711) in the next sprint so that azure-cli-core doesn't have hard dependency on azure-mgmt-resource, but the migration on command modules will take several sprints.
Thank you for you understanding.

OK, thanks a lot for the explanation. I understand the necessary effort, I just wanted to get a rough estimate so that we can inform our users at SUSE.
Thanks!

It seems that there is another incompatibility with azure-mgmt-resource with azure-cli-core:
glaubitz@suse-laptop:~> az resource delete adriantest
UnrecognizedArgumentError: unrecognized arguments: adriantest
Try this: 'az resource delete --ids </subscriptions/0b1f6471-1bf0-4dda-aec3-111111111111/resourceGroups/MyResourceGroup/providers/Microsoft.Web/sites/MyWebapp>'
Still stuck? Run 'az --help' to view all commands or go to 'https://aka.ms/cli_ref' to learn more
glaubitz@suse-laptop:~> az group delete --name adriantest
CLIInternalError: The command failed with an unexpected error. Here is the traceback:
The operation 'azure.mgmt.resource.resources.v2020_06_01.operations#ResourceGroupsOperations.delete' is invalid.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 829, in get_op_handler
    op = getattr(op, part)
AttributeError: type object 'ResourceGroupsOperations' has no attribute 'delete'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/knack/cli.py", line 215, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 558, in execute
    self.commands_loader.load_arguments(command)
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 478, in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
  File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 315, in load_arguments
    super(AzCliCommand, self).load_arguments()
  File "/usr/lib/python3.8/site-packages/knack/commands.py", line 106, in load_arguments
    cmd_args = self.arguments_loader()
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 787, in default_arguments_loader
    op = handler or self.get_op_handler(operation, operation_group=kwargs.get('operation_group'))
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 834, in get_op_handler
    raise ValueError("The operation '{}' is invalid.".format(operation))
ValueError: The operation 'azure.mgmt.resource.resources.v2020_06_01.operations#ResourceGroupsOperations.delete' is invalid.
To open an issue, please run: 'az feedback'

It seems that there is another incompatibility with azure-mgmt-resource with azure-cli-core:
glaubitz@suse-laptop:~> az resource delete adriantest
UnrecognizedArgumentError: unrecognized arguments: adriantest
Try this: 'az resource delete --ids </subscriptions/0b1f6471-1bf0-4dda-aec3-111111111111/resourceGroups/MyResourceGroup/providers/Microsoft.Web/sites/MyWebapp>'
Still stuck? Run 'az --help' to view all commands or go to 'https://aka.ms/cli_ref' to learn more
glaubitz@suse-laptop:~> az group delete --name adriantest
CLIInternalError: The command failed with an unexpected error. Here is the traceback:
The operation 'azure.mgmt.resource.resources.v2020_06_01.operations#ResourceGroupsOperations.delete' is invalid.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 829, in get_op_handler
    op = getattr(op, part)
AttributeError: type object 'ResourceGroupsOperations' has no attribute 'delete'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/knack/cli.py", line 215, in invoke
    cmd_result = self.invocation.execute(args)
  File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 558, in execute
    self.commands_loader.load_arguments(command)
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 478, in load_arguments
    self.command_table[command].load_arguments()  # this loads the arguments via reflection
  File "/usr/lib/python3.8/site-packages/azure/cli/core/commands/__init__.py", line 315, in load_arguments
    super(AzCliCommand, self).load_arguments()
  File "/usr/lib/python3.8/site-packages/knack/commands.py", line 106, in load_arguments
    cmd_args = self.arguments_loader()
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 787, in default_arguments_loader
    op = handler or self.get_op_handler(operation, operation_group=kwargs.get('operation_group'))
  File "/usr/lib/python3.8/site-packages/azure/cli/core/__init__.py", line 834, in get_op_handler
    raise ValueError("The operation '{}' is invalid.".format(operation))
ValueError: The operation 'azure.mgmt.resource.resources.v2020_06_01.operations#ResourceGroupsOperations.delete' is invalid.
To open an issue, please run: 'az feedback'

I can confirm that downgrading azure-mgmt-resource to version 10.3.0 fixes the problem for me.
So, it seems that the subscription module isn't the only module affected by the API change in azure-mgmt-resource.

I can confirm that downgrading azure-mgmt-resource to version 10.3.0 fixes the problem for me.
So, it seems that the subscription module isn't the only module affected by the API change in azure-mgmt-resource.

@glaubitz Yes, the resource module will also be affected because it is not compatible with the Track 2 SDK.
In Track2 SDK (azure-mgmt-resource==15.0.0), the name of method delete is changed to begin_delete, which leads to the error of type object 'ResourceGroupsOperations' has no attribute 'delete'. code link

@glaubitz Yes, the resource module will also be affected because it is not compatible with the Track 2 SDK.
In Track2 SDK (azure-mgmt-resource==15.0.0), the name of method delete is changed to begin_delete, which leads to the error of type object 'ResourceGroupsOperations' has no attribute 'delete'. code link

I assume you mean, the resource module will be compatible again since currently it is not which causes the errors in resource and subscription modules in Azure CLI.

I assume you mean, the resource module will be compatible again since currently it is not which causes the errors in resource and subscription modules in Azure CLI.


"Download with Knossos" (fso://) link on FSNebula site isn't working

First reported at https://www.hard-light.net/forums/index.php?topic=97879.0
While Knossos was running, I tried installing Awakenings using the "Download with Knossos" link from this page : https://fsnebula.org/mod/awakenings
Nothing happens. I don't see "Awakenings" in Knossos's Home tab.
I'm pretty sure the "fso://" links were working for me in the past.
How can I verify that I have "fso://" Support enabled?
Using Knossos 0.14.3.on Windows 10.
My browser is Chrome Version 95.0.4638.69 (Official Build) (64-bit).

Open regedit.exe, go to HKEY_CLASSES_ROOT and check if it has a fso subfolder. If it's there, fso:// links should work. However, something seems to have changed and the installer doesn't create the keys correctly. This picture demonstrates the issue quite clearly:

You can manually fix this by editing the (Default) key so it matches the Default key (Windows ignores the latter).
I would probably have to update the installer to fix this issue. I'm not sure whether I have to change the script or if updating NSIS itself is enough... either way, this won't be an issue for NuKnossos since it doesn't use NSIS in the first place.


Can't find documentation for what needs to replace AML_USER_MANAGED_ID in the yaml file

The YAML file for creating the config for a User Managed Identity with AML specifies that the <AML_USER_MANAGED_ID> section should be replaced with the AML User Managed ID; however, nowhere is it specified where to find this information.

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

ID: 47e45bd8-edb0-e7a9-e7e0-c338d62062d4
Version Independent ID: d5151ae2-2ee9-ade3-0dcd-319278f42393
Content: Submit Spark jobs in Azure Machine Learning - Azure Machine Learning
Content Source: articles/machine-learning/how-to-submit-spark-jobs.md
Service: machine-learning
Sub-service: mldata
GitHub Login: @ynpandey
Microsoft Alias: yogipandey

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

@shawnmittal
You can find the AML User Managed ID in the Azure portal. Here are the steps to find it:

Go to the Azure portal and navigate to your Azure Machine Learning workspace.
Click on "Identity" in the left-hand menu.
Under "User assigned identities", you should see a list of the user-assigned managed identities that are currently assigned to your workspace.
Click on the identity that you want to use for your Spark job.
In the "Properties" section, you should see the "Object ID" field. This is the AML User Managed ID that you need to use in your YAML file.

Once you have the AML User Managed ID, you can replace the <AML_USER_MANAGED_ID> section in your YAML file with the actual ID.For an issue like this, I'd recommend you create a support ticket since the support team will be able to respond much more quickly and have a conversation with you to figure out what could be going on.

@shawnmittal
We are going to close this thread. if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


unsupported or invalid wheel

pip install django-auth-adfs==0.1.2 fails with django-auth-adfs is in an unsupported or invalid wheel when trying to install on Python 3.6. Installation works fine on Python 2.7.

Could you try installing via PIP with the --no-binary option?
So something like
pip install django-auth-adfs==0.1.2 --no-binary :all:

pip install django-auth-adfs==0.1.2 --no-binary :all: works

The wheel on pypi indeed seems corrupted (it also contains directories form the 1.0.0 version for some reason.
I cannot delete the wheel on pypi and I also cannot overwrite it anymore.
I'll see how to fix this. Else I'll release a new 0.1.3 version.

I managed to delete the corrupt wheel package.
Could you try again to install it in a normal way? You might need to bypass the pip cache by adding --no-cache-dir to the command.

Could you try again to install it in a normal way?

It works now. Thanks!


Improve initial PullItemsAsync for empty local table (IncludeDeleted = false)

Proposal
If a local table is empty, the next pull is an initial pull. In this case I don't think there is a need to pull down the soft deleted records from the backend. So, the { ODataOptions.IncludeDeleted, "true" } could send with false.
If a soft deleted record will be reactivated (in the backend) it will be pulled in the next sync due to a refreshed UpdatedAt.
Con
The consistency of complex business objects spread across multiple tables is at risk.
Request
Expand PullOptions with e.g. NoDeletedForInitialPull for case-by-case use.
Additional context
See #575 for performance issue discussion.

The GetDeltaTokenAsync method returns DateTimeOffset.FromUnixTimeMilliseconds(0L) if the delta token does not exist.  We use this fact to adjust the search - the updatedAt is not checked (everything is pulled) and the __includeDeleted is not set in this case.  In all other cases, the full incremental sync query is used.

Very good! Better than my empty table approach, cause local inserts do not “disturb” your optimization!


Make user-defined repository parameter of ArtifactResolver constructor work

Sometimes the local maven repo may not be ~/.m2/repository .
And In my area, by some network reason we can't connect to the official  maven repo, or the official repo is too slow to use. I have to use a mirror repo to speed up the downloading.
When I construct an ArtifactResolver  Object with user-defined local repository and remote repository mirror, it can't resolve the pom.
    String localRepo = "D:/Maven/.m2/repo";
    String mavenCenterMirror = "http://mirrors.cloud.tencent.com/nexus/repository/maven-public/";
    ArtifactResolver artifactResolver = new ArtifactResolver(localRepo, mavenCenterMirror);
    File pomFile = new File("src/test/poms/maven-core-3.0.4.pom");

Here is a full test code to replay the issue #20
I find this is because, in function MavenProject getMavenProject(File pomFile), it always use the default repository
request.setLocalRepository(lrs.createDefaultLocalRepository());
request.setRemoteRepositories(Arrays.asList(new ArtifactRepository[] {lrs.createDefaultRemoteRepository()}.clone()));

So I make this PR to set the user-defined repositories to the request, and I exchange the order of repositories handle to make sure the user-defined remote repository to use first.

By doing this, we can make below Plugin Config property of presto work.
maven.repo.local
maven.repo.remote

Please take a look @electrum


global semantic resolver for electrical data (I Have a Dream)

(Spawned from https://github.com/Sveino/Inst4CIM-KG/issues/98)
To facilitate semantic resolution of electricity-related URLs, ideally we would have a single harmonized namespace, and a global resolver (operated eg by ENTSO-E) that redirects (delegates) to specific authorities (TSO or other issuers of CIM data).
Such strategies are already used for:

Publishing: DOIs: eg https://dx.doi.org/10.13140/RG.2.2.33957.10729 .
The delegation is done based on DOI prefix, see P1662 on Wikidata.
Eg 10.13140 above designates DataCite (which serves as registrant on behalf of ResearchGate).
The DOI foundation also has registrant pages, eg https://dx.doi.org/10.13140.
IP addresses (IANA and national agencies like ARIN for US, CA).
IPs are a fixed number of bits and don't include a separator, so bigger registrants get shorter prefixes and are allocated bigger network blocks.
Logistics: GS1 Digital Links based on identifiers like GTIN, GLN, GIAI etc: eg https://id.gs1.org/gtin/9506000134352?linkType=all .
The delegation is done based on GS1 Company Prefix, see P3193 on Wikidata.
Eg<PHONE_NUMBER>3 above is one of the prefixes for "GS1 Global Office" (search at https://www.gs1us.org/tools/gs1-company-database-gepir).
GTIN etc are fixed-width, so similarly to IP addresses, bigger registrants get shorter prefixes.
Legal body identifiers: GLEIF delegates LEI issuance to LOUs. But rather than delegating the resolution, it keeps a central LEI database that is synchronized often with LOU data.

What is the situation in electricity:
ENTSO-E has defined Energy Identification Code (EIC, eg see P8645 on Wikidata and Energy Identification Code on wikipedia) and delegates its issuance to LIOs. As of 2024-12-17, there are 62 LIOs3

It has a central database:

https://www.entsoe.eu/data/energy-identification-codes-eic/eic-approved-codes/: lists 59.5k (select "EIC type: All codes" and "Show: 100")
https://transparency.ontotext.com/graphdb/sparql (ask for login): lists 58/6k with this SPARQL query

PREFIX tr: <https://transparency.ontotext.com/resource/tr/>
select (count(*) as ?c) {?x tr:eic ?y}

However, the central database doesn't offer individually resolvable pages per EIC. Furthermore, it is incomplete.
The Wikidata page lists over 20 "source website for the property", and eg for https://iodb.elia.be/en/publiceiclist/indexpartialview the first two 22T20160907---1Y, 22T20160907----1 are missing. These are "Internal Lines" but other Internal Lines are present in the central database
ENTSO-G https://www.entsog.eu/approved-codes refers to the ENTSO-E list, but my impression is that Gas-related codes are more sparsely represented in the central database
The first two EIC chars are the LIO code so potentially could be used for redirecting.
However, LIOs don't have an obligation to publish resolvable pages; https://eepublicdownloads.entsoe.eu/clean-documents/EDI/Library/EIC_Reference_Manual_Release_5_5.pdf#page=8.74 mandates:

to provide a local registry on a web-page accessible by third parties. The LIO publishes the energy sector (gas or electricity or both) and the EIC code types that it covers;
to publish the list of all EIC codes allocated by the LIO in a processable form according to the EIC implementation guide that can be downloaded by third party

CIM/CGMES requires that node URNs are based on UUIDs.

EICs of major resources are recorded as additional identifiers
but the main (canonical) mRID and the URN are UUIDs
UUIDs don't have a prefix that would allow partitioning/delegation, so we need to rely on some URL prefix before the UUID

ENTSO-E could still operate a central resolver and redirect per prefix, eg
https://energy.referencedata.eu/resource/statnett/<uuid> vs https://energy.referencedata.eu/resource/elia/<uuid>

This is a bit better than relying on TSO-specific namespaces, eg
https://data.statnett.no/<uuid> vs https://iodb.elia.be/<uuid>
Of course, it's still up to authorities to serve meaningful data for these URLs

Note: https://energy.referencedata.eu/ currently has a number of important lists, but no per-resource resolution.
It serves whole semantic files, eg https://energy.referencedata.eu/StandardReasonCodeTypeList.ttl
Needless to say, the EIC register https://energy.referencedata.eu/EIC.ttl is pretty huge.

https://github.com/Sveino/Inst4CIM-KG/tree/develop/rdf-improved#cim-uris-and-resolvability


Missing support for Store content

Arch: x86
InstallerType: MSStore
ProductId: 9N0CTDPL6ZC3
PackageFamilyName: 10011IRXON.atBlue_96p6fcx5kk12j
A rest source needs to be able to return a store installer type with a product id.

Administrators are now able to host their own REST source, and include MSStore type apps in their REST source.


Lexer for the D progamming language

(Original issue 241 created by None on 2007-04-25T09:53:31+00:00)
I have created a simple lexer for the [http://www.digitalmars.com/d/ D programming language] to use with Pygments. It is attached under the terms of the MIT license (mostly because I am a fan of the "provided 'as is'" section, heh).
--Kirk !McDonald
Reported by guest

(Original issue was assigned to gbrandl)
(Original issue 241 last updated on 2007-04-25T14:32:59+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by None on 2007-04-25T14:32:59+00:00)
Patch applied in [3454].


Often crash batch saving images -> but only the first time

I currently use this great plugin to backup the daily new Midjourney Showcase, for example. These are mostly 100 images.
Unfortunately, both the standard file pattern and my individually chosen one keep crashing. This is shown by the fact that the tab is simply closed. Then only a handful of images have been saved.
If I then restart the process a few seconds later, batch saving almost always works smoothly.
I also use the two options under "Advanced" in the settings.
My current file pattern: Image Picka/${pageTitle}/${dateString}/${name} - ${alt}${ext}
Im using Firefox 109 on macOS Ventura (13.2)

Before saving, you should be able to see how many images will be downloaded on the "save" button. Does it match the actual number of downloaded images?

No, most of the time it does not match.
It says ie.: "Save (100/115)",
then after saving often (in case of MidJourney) only 97 images saved.

Did you see any error in your downloads history (Ctrl-J)? What about the number in downloads history?

Yes, most of the time with the filename "grid_0_640_N - .webp"
After the dash I have a pattern string for saving the alt tag of the image. So may be it could be an error if two images with the same file name are saved (MidJourney always uses the same filename, only different paths).
I have now added an index variable at the first position. The test batch download after that works flawlessly. But I will observe this and report it in a few days.

Think the problem is solved now, because so far all 100 images in the MidJourney Showcase have always been downloaded without a crash. So it was probably due to duplicate file names, which has now been bypassed in my settings by adding an index. Thanks for your efforts!


feat(router): rework cache key in expressions

Summary
KAG-3032
Checklist

[ ] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Full changelog

move cache key and atc context related code into fields.lua
use hash table (xxx_params) to calculate cache key or add atc context

Issue reference

Fix #[issue number]

@chronolaw Another change we can make that helps with performance. With latest ATC router bump, we can cache context at router object level (the router instance table), and call context:reset() to reuse it. Since we do not yield in between c:add_value and r:execute(c), this can avoid many memory allocations.
See: https://github.com/Kong/atc-router?tab=readme-ov-file#reset

@chronolaw Another change we can make that helps with performance. With latest ATC router bump, we can cache context at router object level (the router instance table), and call context:reset() to reuse it. Since we do not yield in between c:add_value and r:execute(c), this can avoid many memory allocations.
See: https://github.com/Kong/atc-router?tab=readme-ov-file#reset

Sure, could we do it in another PR? In this PR we will focus on cache algorithm.

@chronolaw That's okay.


[C4GT Community]: add a automatic script for validating if the beginer ticket template is valid

Ticket Contents
Description
add a automatic script for validating if the beginer ticket template is valid and if valid merged the PR.
Goals
Goals

[ ] [Goal 1]
[ ] [Goal 2]
[ ] [Goal 3]
[ ] [Goal 4]
[ ] [Goal 5]

Expected Outcome
The beginer ticket PR is merged if it is in correct form
Acceptance Criteria
A demo PR displaying the above changes
Implementation Details
Github action
Mockups/Wireframes
No response
Product Name
Begineer Ticket Validation
Organisation Name
C4GT
Domain
Github Action
Tech Skills Needed
CI/CD
Mentor(s)
Mintu Gogoi
Complexity
High
Category
CI/CD

I would like to work on this

Hello,
I would like to take up this issue and work on implementing the requested GitHub Action for validating Beginner Ticket PRs. Please assign this task to me.
Looking forward to contributing to this project!
@Gmin2

Hello,
I would like to take up this issue and work on implementing the requested GitHub Action for validating Beginner Ticket PRs. Please assign this task to me.
Looking forward to contributing to this project!
@Gmin2


Update the README

#161  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @thisisgoldman and the rest of your teammates on  Graphite

Merge activity

Aug 28, 12:36 AM EDT: @thisisgoldman started a stack merge that includes this pull request via Graphite.


Fix CSS Layout Bugs

References User Story #21
Fix the layout bugs to allow the web page to render properly on larger monitors

Researched CSS layout rules
Fixed graph width and footer placement
{t:30}


Testing trigger for sonar

Testing trigger for sonar

Metric
Value

alert_status
OK

bugs
0

code_smells
3

reliability_rating
1.0

security_rating
1.0

vulnerabilities
0

Metric
Value

alert_status
:white_check_mark: OK

bugs
0

code_smells
3

reliability_rating
A (0 Bugs)Note: A being best, E being worst

security_rating
A (0 Vulnerabilities)Note: A being best, E being worst

vulnerabilities
0


OIDC: Redirect to Original url with error code as login required.

Summary: When using CAS as OpenId Connect Provider and using silent authentication (prompt=none), if the user logged in session is not active, then redirect to original redirect url with error code as login_required
https://openid.net/specs/openid-connect-core-1_0.html#AuthError
When we set prompt=none, then if the user authenticated session is valid, CAS is redirecting to original redirect url with new Auth Code.
If the user authenticated session is not valid, then currently CAS is showing ..\oauth2.0/callbackAuthorize?.. with error code { "error": "login_required" }
But expected behaviour is to redirect back to the service redirect url with error code in url param.
Such as https://www.example.org?error=login_required. This will enable the service to act upon this response further such as redirecting back to login page or any other flow.

[x] Brief description of changes applied
[x] Test cases for all modified changes, where applicable
[x] The same pull request targetted at the master branch, if applicable
[x] Any documentation on how to configure, test
[x] Any possible limitations, side effects, etc: None
[x] Reference any other pull requests that might be related:None

Thank you very much for the contribution. Keep 'em coming!


Define and Document Tensor Layout

Define and document tensor layout
Update the Attribute to better reflect what's going to land in TTNN
Create a simple test that demonstrates multi-core

https://tenstorrent.github.io/tt-mlir/specs/tensor-layout.html


SGM Improvements

Automatically reconnect to the last connected glasses
Begin improving home screen UI
SGMLib update: TPAs now automatically retry command registration when command registration fails

OG behavior: Opening a TPA and then SGM does not register the command
New behavior: Opening a TPA and then SGM should register command seamlessly :partying_face:

TODO:

Registering a command via TPA should automatically start SGM's service
List of commands should display within SGM app
Ability to trigger a command via touch within SGM app

This suckz bro


Introduce app

Description of this change.
Introduced KiiApp class.
Before this change, passing appID, appKey and Site to build API class.
This makes builder constructor argument a lot.
When the argument number increased, it is not easy to call the API and mistake would happens.
Target version
0.9.0
NON Backward compatible changes

ThingIFAPIBuilder#newBuilder argument has been changed. Old API user sees build error when they upgrade SDK.

Prior to 0.9.0
ThingIFAPIBuilder.newBuilder(getContext(), "appID", "appKey", Site.JP, owner);

From 0.9.0
KiiApp app = new KiiApp("appID", "appKey", Site.JP);
ThingIFAPIBuilder.newBuilder(getContext(), app, owner);

New Classes

KiiApp
KiiApp.Builder : Used only when working with private/ dedicated Kii Cloud.

New Methods

KiiSite#getHostName()
KiiSite#getSite(String)
ThingIFAPI#getApp()
ThingIFAPIBuilder#newBuilder(Context, KiiApp, Owner)

Removed Methods

ThingIFAPIBuilder#newBuilder(Context, String, String, Site, Owner)
ThingIFAPIBuilder#newBuilder(Context, String, String, String, Owner)

Builder fix is done in #47


Hotfix bug by publishing another ip-group wheel file for test

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/haroldrandom/azure-cli-extensions.git@hotfix_checksum_ip_group#subdirectory=src/$EXT&egg=$EXT"


Fix tests

Hopefully, this will fix the intermittent false negative on CI. I also removed all the unnecessary async testing (we never really need to use toEventually in our case).
Additionally, I changed the release task to accommodate this issue and cleaned up some matchers.
Fixes #349.
Fixes #259.

Current coverage is 85.20%

Merging #351 into master will not affect coverage as of c92867e

@@            master   #351   diff @@
=====================================
  Files           13     13
  Stmts          473    473
  Branches         0      0
  Methods
=====================================
  Hit            403    403
  Partial          0      0
  Missed          70     70

Review entire Coverage Diff as of c92867e

Uncovered Suggestions

+1.69% via Source/Result.swift#48...55
+1.26% via ...ource/Response.swift#76...81
+1.26% via Source/Result.swift#93...98
See 7 more...

Powered by Codecov. Updated on successful CI builds.

This is an interesting PR (humblebrag) specifically from a unit testing perspective; I'm happy to answer questions or clarify changes made to our use of matchers, etc.
@Moya/contributors this would also be a good "first PR review" if someone out there hasn't reviewed+merged one before.

I wonder if the world would benefit from RAC factoring out the Scheduling library into its own framework.

Open an issue – they seem to be all about small libraries.

Everything looks good aside of a couple syntax fixes. Let's hope it fixes the CI problems.

I think I've addressed all the feedback; GitHub isn't collapsing it since it's on the commits instead of the PR ¯\(ツ)/¯

From what I understood from @orta's comment is that we will be able to set the COCOAPODS_DISABLE_DETERMINISTIC_UUIDS environment variable in the podfile with cocoapods 1.0. So I'll merge this and open an issue to fix the COCOAPODS_DISABLE_DETERMINISTIC_UUIDS issue when cocoapods reaches 1.0.
Good job :100:


WASM Failure on Safari on macOS and iOS

During decryption it fails with this message : Themis: SecureCellSeal: failure
To Reproduce
Steps to reproduce the behavior:

Use libthemis.wasm on a web page to encrypt and decrypt data with an input data size above 48000 bytes
Run '...'
See the following error:

Themis: SecureCellSeal: failure

Expected behavior
Expected it to decrypt the
Environment (please complete the following information):

OS: macOS Big Sur v 11.2.2,  Safari 14.0.3
Hardware: [32-bit/64-bit, or mobile device name and version]
Themis version: [e.g. 0.12.0]
Installation way:

[X ] via package manager
[ ] built from source

Additional context
Happens intermittently with an input data size around 48000 bytes. Larger input sizes happens all the time. Does not happen with much smaller sizes. Runs perfectly well on Chrome on macOS. After encryption if decryption is not done - this exception is thrown - RuntimeError: Out of Bounds memory access (evaluating 'libthemis$2._themis_secure_cell_encrypt_sel')

Hi @CACUser!
Thank you for reporting, that looks interesting :)
I suspect some issues with data size / memory management in wasm wrapper. We will investigate.
Do you see this error every time on any data larger than 48000 bytes? Or does this data have some special symbols inside?

Runs perfectly well on Chrome on macOS.

even with data above 48000 bytes?

Thank you @CACUser! We will investigate this.
It will help a lot if you could send us a test project that reproduces the issue.
Also, we're in the middle of migrating to typescript for WASM themis #792, I'm wondering if this might help..
cc @ilammy

Also, we're in the middle of migrating to typescript for WASM themis #792, I'm wondering if this might help..

Probably it wont as I did not really discover any implementation bugs while converting to ts.

FWIW, I've been testing recently added WasmThemis example with recently released<EMAIL_ADDRESS>with Safari 14.0.3 as well, and it works fine for me. So it does not seem to be failing in isolation.

i think this one is addressed by https://github.com/cossacklabs/themis/issues/928 and https://github.com/cossacklabs/themis/releases/tag/0.14.8

@CACUser, please take a look, if you are still interested. You may update wasm-themis to the latest at the moment 0.14.8.
I have checked twice with different browsers the issue with the code from https://github.com/radetsky/create-react-app-with-themis/tree/big_files_encryption_test
It works fine even with 20 MB of data.


[Task] Anti-Ping / DND system

Task Description
This idea isn't mine, but I will make a take on it for Kumiko. This will be the feature that should convince the ddevs to allow message_content for my bot.
To prevent excess mentions and pings if someone is AFK (or on DND), there is a step on how this works:

Within the on_message event, just like how R. Danny does it, check if the user is the bot, return if so, and then process the message
Check cache (either on Redis or in-memory) to see the user has dnd turned on within the system. If the user is not within cache (they should), add it from the DB and then add to cache.

If so, escape the mention (exclude @everyone or @here mentions bc other bots will either do this or it is disabled) of the user, and throw back a reply at the mention saying that the user is on DND and display an embed for it (customizable)
If not, return the func and stop processing

If the user has speficied they want to ignore the system on a guild, then let that pass and the mention go through.

Now this is a global system where if an user is on DND, that it effectively gets muted. Now in addition to this, we can keep a list of pings (within database), and optionally the user has the option of wiping the pings from the db as well.
The pings would be deleted from the database when the user completes the sesssion.
Now the way it works is each time you turn this system on, you essentially make a dnd session. Each session is generated via a unique UUID, which that is generated by postgres. This way, when there is a ping, it will be stored and then wiped once done
Now here is the stuff that needs to be done:

[x] R. Danny / Sinbad's scheduler implementation
[ ] Include checks to ignore in certain guilds (and store the info)
[ ] Embed builder with no ability to add images bc i dont want people advertising them (technically not needed bc all is needed is to throw back an message with the ping to the author mentioning the op?)
[ ] Allow for scheduled antiping sessions
[ ] Revamped status page
[ ] Allow for collecting pings, throwing them into db and wiping once a session is saved
[ ] Enforce a minimum default time of 1 hour before it can be turned off. There is an optional option to skip this process if needed (or might put it as a different command)

This is one of those issues where I am shoving in more stuff but in reality it's not needed. The rationale is described below:

Kumiko has already a ton of features. Adding more features preemptively without a sturdy base will cause issues. The existing codebase is undergoing a complete redesign, as most major parts such as the economy system and pins are getting a massive facelift for the nth time.
Adding more features is just going to stress me out even further. It's going to put a strain on the existing codebase and break.


Multiple swapchains without primary swapchain?

Hello, we're having great experience using DiligentEngine recently.
There's one tiny thing that we're not really sure if we're doing it wrong, or we should request some addition in DiligentCore itself.
Our requirement is that we sometimes need different swapchains displaying different scenes using the same render device. There's one example in the tutorials. However our requirement is different from it in that the window/swapchain list is dynamically managed, meaning that we can't really set one of them primary.
So we're setting all of their IsPrimary to false. This works fine on dx12 backend (now we call FinishFrame() and ReleaseStaleResources() ourselves for each swapchain after drawing, following the code in dx12 backend).
However this seems doesn't work on dx11 backend. The screen is white (most of the time).  We investigated it a little, and found that the CommitRenderTargets cannot be called anywhere. We're not sure whether this should be considered a bug, or a new API should be added, or our design is fundamentally flawed... We've also not tested this on other backends yet, and not sure about their status.

Your usage scenario is correct. For DX11 backend, there is very little difference between primary and secondary swap chains, so not sure why it does not work in your case. When tutorial 15 is running, CommitRenderTargets is called every frame for every swap chain.
Not sure what the problem is. Do you have any errors/warnings in the debug output?

Thank you for your confirmation and fast reply! I was using the tag version 2.4.c. I found the dubious primary-swapchain-only CommitRenderTargets() call was removed in https://github.com/DiligentGraphics/DiligentCore/commit/71595b9099ad70b474502ca3b16c2da7050cb6a8#diff-602d9ca4cfa20a8c9c584a71c25b45bdL145
So maybe it's time for me to pull recent changes and try again. I'll update with my findings on monday.

Oh, yes. That version is quite out-of-date now and there were some changes to swap chains. Please get the latest version and check if it works now.
In particular, SetRenderTargets(0, nullptr, nullptr) call does not bind the default render targets anymore. The render target and depth stencil must be explicitly requested from the swap chain now.

Also note that an application must bind render targets every frame as present call unbinds all swap chain render targets.

Hooray! I switched to the newest commit and everything works just as expected.
Thank you! Eager to see your next stable release.


Member Group Picker No Longer Works with Archetype

I built a site with Umbraco 7.1.8 that included an Archetype that has a property of type Member Group Picker. I upgraded to Umbraco 7.2.2 a while back and only now noticed that I can no longer picker member groups (well, I can, but the changes are lost when I save/publish the node).
To confirm this wasn't some peculiarity about my install, I tried with a fresh install of Umbraco 7.2.2 and Archetype 1.7.2. Here's an animation that shows the selected member group disappear when I click publish:

Note that the other member group picker that is outside of the Archetype works fine.
Here is my Archetype config model:

I'm getting 404 on both of your images at the moment.
So before getting in and looking at it, Archetype doesn't control anything internal to any data types so if this is happening it's probably due to something changing with the data type itself.
I think you logged a similar issue with the color picker having issues as well (since it was updated).
Wonder if this is the trend and a bit concerned.

Strange, I see the images fine (even in different browsers and operating systems). Maybe GitHub uses a CDN that takes some time to propagate or something.
Yeah, I think it was definitely a change to the Umbraco core that caused the issue, though it seems to only apply when used in combination with Archetype.
My guess is the relevant changes are these two commits, made shortly after the release of Umbraco 7.1.8:

https://github.com/umbraco/Umbraco-CMS/commit/c58a9429e133148de35f4bd3a18cf55d4b762a18 ("Member picker now using standard treePicker and search is working")
https://github.com/umbraco/Umbraco-CMS/commit/f8503b4c687814d6d9843b5798416e8dd0c6799b ("Fixes (and massively simplifies) the member group picker to use the correct way of using checks in tree nodes")

Yea not even avatars are loading at the moment.  I'll have to look tomorrow if I get a chance.
Re: commits...
I'll have to see if I can add some logging in my local version to see what's going on (provided I can replicate your issue).

Cool. I'm doing some troubleshooting too. Here's another relevant commit (more recent than the other two):

https://github.com/umbraco/Umbraco-CMS/commit/e4a8edd64c3ed5e518de07c5c5d884d6150ee850 ("streamlines and simplifies member group picker code")

The first clue I've seen is that the "formSubmitting" handler in memberGroupPicker() gets hit after Archetype's "formSubmitting" handler. I expect the intention is that Archetype's handler would be called last. Not quite sure if that is causing this issue, but it could be important anyway, as it seems Archetype is doing some validation of the values, which at that point may not yet be set (in the case of the member group picker, the model value gets set in the formSubmitting handler). Here's the code I'm talking about:

https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/propertyeditors/membergrouppicker/membergrouppicker.controller.js#L68
https://github.com/imulus/Archetype/blob/42efa1a3d485b0641876b03d5d197064868ce095/app/directives/archetypeproperty.js#L89

I made a very temporary workaround to get this working on a production environment that needs it. I'll leave it to you to investigate the root cause and maybe address it with the Umbraco core team. Basically, I noticed the propertyValueChanged function in Archetype was getting called after both formSubmitting event handlers (I am guessing after the form got submitted to the server). My workaround was to set value in the member group picker when an item is added rather than just when the form submits. Here's the code I changed:

Here's the Umbraco source code that relates to: https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/propertyeditors/membergrouppicker/membergrouppicker.controller.js#L60
Note that there are problems with this workaround (e.g., it doesn't account for removed items). However, since it's hopefully a very temporary workaround, I'm not going to worry too much about it (I'm hoping you or the Umbraco core team can get a fix out).

Seems like this other issue is related: https://github.com/imulus/Archetype/issues/105

I've made a couple comments: https://github.com/umbraco/Umbraco-CMS/commit/e4a8edd64c3ed5e518de07c5c5d884d6150ee850?w=1#commitcomment-10535243
I'm not sure how archetype works but if it works in the core, then Archetype would need to be able to make it work with itself. As mentioned in the comments, i can make the change in the core for this property editor but that's not a 'fix' because any property editor is more than allowed to set it's model based on another value during formSubmitting.

I'll see what I can do in Archetype to try to catch these types of updates.

@Shazwazza I understand the "tail doesn't wag the dog" so I totally understand that the core shouldn't be concerned with how Archetype works.  Thanks for the insight btw :+1:

It's just that there is probably other property editors (maybe even in the core currently) that update it's model during this event, so it just needs to take that into account.

@Nicholas-Westby The quickest fix for you might be to create a Legacy Member Picker by cloning the old code and creating a custom property editor.

@Shazwazza Yep will do, just not sure if/how it's possible :)
@Nicholas-Westby I'll hit this tomorrow.

Cool. By the way, it seems like this scenario should be made to be possible by the Umbraco core. That is, it should be possible for a package like Archetype to be able to intercept values in property editors before the form submits.
Maybe that can be done by watching for changes and immediately responding to them (i.e., before the form submits). That may be tricky, as I would guess any event handlers would be fired after the current event handler (namely, for the "formSubmitting" event) runs. And I assume the next thing to happen would be that the browser would send the request to the server (after which the event to respond to value changes would fire), which would obviously be a problem. If, however, the change event handlers are immediately called (on the change rather than after the current even handler finishes), that could be a workable approach.
One potential alternative would be to attach a priority to "formSubmitting" handlers so that higher priority ones occur after lower priority ones. Not sure if there is an elegant way of handling that, but if there is I'm guessing it'd require an Umbraco core change.
Anyway, just some ideas. Will leave it to you guys to figure something awesome out :-)

Ok, I hope I can explain what I've found and tried.
What Archetype does now...
To update values Archetype implements a watcher on each property under it's control and if a value changes, it updates the parent model.
https://github.com/imulus/Archetype/blob/master/app/directives/archetypeproperty.js#L210-L215
We're using $on("formSubmitting") for validation only.
The problem...
As-is, Archetype doesn't save the value of the member picker because the watcher never fires until it is too late (form has submitted). It is consistent with what @Nicholas-Westby has said.
We are using the formSubmitting event only for the purposes of validation at the moment which leads me to believe we might have some validation issues with properties that update their model during the same event (this is a side problem).
If we have Archetype try to update during formSubmitting, a race condition or ordering issue occurs. i.e.  the value of the child properties aren't set when it tries to update it's main model.
Things I've tried...

I've tried to use formSubmitting and got nowhere.
I've tried to listen to specific events like modal-hide but that event returns empty selection list.
I've tried to see how validation comes into play but the best I can do is to stop the form from submitting, update the values, and then try to resubmit the form; but that got really ugly fast.
I've tried using formSubmitted but by this point updating the Archetype is pointless.

What does work...

Setting the model outside of the final event in the chain formSubmitting.  But as @Shazwazza said, this isn't prohibited to do.
Rebuild a modified version of the property type that doesn't update during the formSubmitting event.
This leads to double work and an eco-system of alternate versions of core data types.

What might work...

Adding an event that is meant for things like Archetype, a last chance update (i.e. $on("noREALLYtheFormIsSubmitting.")).  But this is probably bad form.
Adding a queue or ordering to the formSubmitting.  From what I understand, this is bad form as well for events.  Events aren't supposed to be able to fire in any order.
Create core events that can be captured: i.e. $on('treePickerPickedSomething), $on('pickerListRemovedItem')` and return the payload each time.  Overkill maybe?

Scratching my head...

Trying to wrap my head around why a model should be updating only on formSubmitting.  i.e. How does validation see the proper value?

This is probably a conversation for a larger group, but I'm not sure which direction to take this.

A coworker and I have come up with a promising solution, but it will require both an Umbraco core change and an Archetype change. The issue really stems from this line of code: https://github.com/umbraco/Umbraco-CMS/blob/ded1def8e2e7ea1a4fd0f849cc7a3f1f97cd8242/src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js#L53
Umbraco is using $broadcast to notify scopes of the "formSubmitting" events. $broadcast sends event notifications starting with ancestor scopes and working download to descendant scopes. This means that Archetype will always process the "formSubmitting" event before the property editors it contains. However, Angular does provide an $emit function, which sends events out in the reverse order (i.e., from the descendant scope and upward to the ancestor scopes).
So, we'd have to modify any property editors that listen for the "formSubmitting" event so that they emit another event after they are done. This event might be called "formSubmittingProcessed". In particular, we could add a line after this one to $emit that event: https://github.com/umbraco/Umbraco-CMS/blob/ded1def8e2e7ea1a4fd0f849cc7a3f1f97cd8242/src/Umbraco.Web.UI.Client/src/views/propertyeditors/membergrouppicker/membergrouppicker.controller.js#L72
That would look something like this:

Then, in Archetype, you'd listen for that event and update Archetype's model based on the model of the property editor that initiated the event.

Hey all. I've been experimenting with this for some time now, and I think I
have a solution that does not require any core changes and that will work
with any data type.
Unfortunately I've got to take care of some family business for a few days,
but I'll push a PR as soon as I'm back home.
On Apr 3, 2015 3:00 AM, "Nicholas-Westby"<EMAIL_ADDRESS>wrote:

A coworker and I have come up with a promising solution, but it will
require both an Umbraco core change and an Archetype change. The issue
really stems from this line of code:
https://github.com/umbraco/Umbraco-CMS/blob/ded1def8e2e7ea1a4fd0f849cc7a3f1f97cd8242/src/Umbraco.Web.UI.Client/src/common/services/formhelper.service.js#L53
Umbraco is using $broadcast to notify scopes of the "formSubmitting"
events. $broadcast sends event notifications starting with ancestor scopes
and working download to descendant scopes. This means that Archetype will
always process the "formSubmitting" event before the property editors it
contains. However, Angular does provide an $emit function, which sends
events out in the reverse order (i.e., from the descendant scope and upward
to the ancestor scopes).
So, we'd have to modify any property editors that listen for the
"formSubmitting" event so that they emit another event after they are done.
This event might be called "formSubmittingProcessed". In particular, we
could add a line after this one to $emit that event:
https://github.com/umbraco/Umbraco-CMS/blob/ded1def8e2e7ea1a4fd0f849cc7a3f1f97cd8242/src/Umbraco.Web.UI.Client/src/views/propertyeditors/membergrouppicker/membergrouppicker.controller.js#L72
That would look something like this:
[image: example]
https://cloud.githubusercontent.com/assets/5933222/6976350/66351708-d95d-11e4-88d6-ff3d69aa59db.png
Then, in Archetype, you'd listen for that event and update Archetype's
model based on the model of the property editor that initiated the event.
—
Reply to this email directly or view it on GitHub
https://github.com/imulus/Archetype/issues/261#issuecomment-89100523.

@kjac :+1:

@Nicholas-Westby not a huge fan of the broadcast + re-emit. This all needs to be possible without core changes and suddenly everyone needs to manually emit an event just to make Archetype work which is not what we want.
Potentially archetype could re-broadcast the formSubmitting event from it's own scope which would force all child property editors to receive the event before archetype processes things... but that comes with its own consequences in that there might be a circumstance where a property editor is only ever expecting a single event broadcast during a save event and in some edge cases this might cause an issue with a property editor.

@Shazwazza Thanks for the tips, though @kjac and @kgiszewski already have a solution that requires no core changes. I think the basic idea is that they place a directive directly after the property editor and have that broadcast a new event ("archetypeFormSubmitting") on the "formSubmitting" event. Since it appears after the "formSubmitting" event, the "archetypeFormSubmitting" event occurs later. I didn't look too closely at their code, but I think that's the general idea.


Adding 'final' keyword for private fields where possible

Motivation
Missing 'final' keyword for some private fields.
Modifications
Add 'final' for fields where possible.
Result
More safe and consistent code.

Cherry-picked into 4.1 (0cf3f54a8d284d76726150a72d1b109969f8b72a).
@fenik17 thanks!


Add toneMapping, contrast, and exposure to Viewer

This change primarily adds three new properties (and corresponding attributes) to the viewer: toneMapping, contrast, and exposure. Notes on this:

Tone mapping is set to KHR PBR Neutral by default.
Tone mapping, contrast, and exposure are not applied to the skybox.
When these attributes are explicitly set, they are re-applied when a new model is loaded. If they are not set, then the current property value is retained (similar behavior as some other attributes).

This change includes a few other small fixes as well:

Enable transparency as coverage by default.
Remove the outline from the canvas (otherwise it is clicked it shows a black outline).

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/15773/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15773/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15773/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/15773/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/15773/merge
https://gui.babylonjs.com/?snapshot=refs/pull/15773/merge
https://nme.babylonjs.com/?snapshot=refs/pull/15773/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/15773/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/15773/merge/testResults/webgl2playwright/index.html


Unexpected Token import

When using Other Features im getting
Unexpected token import
Is it using some dependency ?

Can you list what other features and a code snippet so I can verify it please?

im just using plainjquery,mediaelement-and-player.js and trying to add
{
features : ["speed"]
}

in the demo.js file in here https://github.com/johndyer/mediaelement/blob/master/demo/demo.js.
I have included the /src/js/features./speed,js script in index file.
But im getting that error.
I'm not using any other js frameworks . Do i need any dependency ? if so which ones ?

You will need to bundle it. Read the guidelines in the grunt section that will tell you how to include it properly. I'll be preparing a new repo for plugins when you won't need to do this anymore but for now that's the way you may have to

@ricking06 Please take a look at https://github.com/johndyer/mediaelement-plugins.git; you can download the repo and install any of the plugins just referencing in the <script> tag. Hope this works for you. Thanks.

Yes the https://github.com/johndyer/mediaelement-plugins.git; works thanks


java.nio.file.NotDirectoryException: .jar is not a directory

Environment:

Jib version: 2.4.0
Build tool: Gradle
OS: MacOS

Description of the issue:
I'm getting the following error:
 java.nio.file.NotDirectoryException: <some>.jar is not a directory

when I'm trying to copy specific files using extraDirectories.
I want to "translate" the following instruction from Dockerfile:
COPY application/build/libs/my-app-*.jar /usr/src/app/application.jar

with:
extraDirectories {
        paths {
            file("$buildDir/libs/").eachFileMatch(~/my-app-.*\.jar/) { match ->
                path {
                    from = file("$buildDir/libs/$match.name")
                    into = '/usr/src/app/application.jar'
                }
            }
        }
}

Am I missing anything?
Expected behavior:
The image is successfully built, and files are copied successfully.

Hi @MarounMaroun,
It's true that extraDirectories only support directories and not files.
However, I think it's wrong to copy $buildDir/libs/*.jar yourself, because Jib copies it for you. You don't want to translate your Dockerfile line by line. Simply applying Jib to a Java project automatically takes care of everything necessary to create an image, and the point is that you just focus on writing Java doc and forget about anything related to Docker.

Thanks for the answer @chanseokoh. My problem is that in my Dockerfile I have the following line:
COPY ${APPLICATION}/build/libs/dd-java-agent-*.jar /usr/src/app/dd-java-agent.jar

and later on:
CMD ["java", "-javaagent:./dd-java-agent.jar", "-jar", "./application.jar"]

dd-java-agent-* is dynamic and is determined according to the build number.
If I'm understanding Jib correctly, I need to do something like:
jib {
    to {
        def branchName = getCurrentBranch().replaceAll('/', '-')
        image = "org/app:$branchName"
    }
    container {
        jvmFlags = ['-Xms1024m', '-javaagent:./dd-java-agent.jar']
    }
}

Now I have two problems:

dd-java-agent.jar won't be found
how Jib will know to run the Jar I want from the build directory? As there exist 2 Jars there (the agent and the fat Jar for the actual application)

Thanks for the support.

dd-java-agent-*.jar is dynamic and is determined according to the build number.

I'll assume that dd-java-agent-*.jar (whether its name is dynamically determined or not) is not a dependency (whether direct or transitive) of your project and that the agent JAR is not required to compile your project. That is, the agent JAR is basically independent of your project and you just obtain it from an external source during build, for example. (I'm trying to clarify the situation because if it were a dependency JAR of your project, Jib would copy it anyway.)
If so, I think it is right that you need to copy the agent JAR yourself using the jib.extraDirectories feature. But as I said, unfortunately the feature requires you to prepare a directory. For example, you can copy the agent JAR into a new directory, say, $buildDir/jib-extras/dd-java-agent.jar (easily doable in Gradle) and set
jib.extraDirectories { paths = "$buildDir/jib-extras" }

, which will copy all the contents of $buildDir/jib-extras (only dd-java-agent.jar in this case) into the root of the image by default. Alternatively, if you are OK with committing the agent JAR into your source repo, placing it at src/main/jib/dd-java-agent.jar is enough, as src/main/jib is the default extra directory if nothing is configured.
And yes, I think setting jvmFlags as you did will work. Jib will then construct an image entrypoint like
java -Xms1024m -javaagent:./dd-java-agent.jar -cp /app/resources:/app/classes:/app/libs/* your.java.package.and.MainClass

. You don't need to think about constructing an entrypoint or copying an application JAR yourself; Jib will do the right thing. FYI, technically, Jib does not make use of or copy a packaged application JAR; it rather copies individual .class files, all the dependency JARs, resource files, etc. to create an optimized image and runs your application via java -cp <classpath> your.MainClass instead of java -jar. If you want, you can entirely skip packaging an application JAR altogether when using Jib (which will make your image building marginally faster).
Lastly, here's a bit related Jib example that dynamically downloads a Java agent when building an image.

@chanseokoh Thanks again for your detailed response. I'll give that a try.

I don't really know much about Spring Boot. Do you want to bake the YAML and log configuration files into the image at compile-time, or do you plan to dynamically supply them at runtime? (I will assume the former.)
Basically, Jib copies what Gradle recognizes; Jib asks Gradle what are compiled Java source files, project resource files, dependencies, etc. So, for example, if you have src/main/resources/foo/bar.txt, then Jib will copy it to <app root>/resources/foo/bar.txt in an image (where <app root> is /app by default). Similarly, .class files will be copied into /app/classes/... in an image. And both /app/classes and /app/resources will be on the runtime classpath, so normally, Java applications have no problem accessing resource files as long as they are accessed through the usual classpath mechanism.
For example, I had an experience using src/main/resources/application.properties in a Spring Boot project a long time ago. The sample repo in the comment is now gone, but I had no issue retrieving a property value from application.properties in the application.
That said, if your config files are not recognized by Gradle as part of a Java project (e.g., getting it from an external source that Gradle doesn't know about), then you will probably need to use jib.extraDirectories (similar to the Java agent JAR).
Lastly, I think Spring Boot will probably expect to see those config files at a pre-defined location, but I think Spring Boot must have a mechanism to designate a different location at runtime (e.g., setting a system properties or environment variables).

Saw your thumbs-up, so I assume your last Spring-related issue is resolved. Closing.

@chanseokoh Indeed. Your support is highly appreciated, thank you.