Fix fosshub.com url handler and add fosshub hash mode

Fix broken fosshub.com url handle function. It can handle urls like https://www.fosshub.com/Calibre.html/calibre-64bit-3.39.1.msi or https://www.fosshub.com/Audacity.html?dwl=audacity-win-2.3.0.zip and get the right download link.
Add fosshub hash extraction mode.

This acts like clicking download link on the webpage, and during code testing, about 10 calls per sec hasn't meed the limit, so it should be sufficiant for daily use.


   Let's just cd into the folder when we're done.

Problem with this is, you have to wrap our cli in a shell script.  This will make it have issues with windows out of the box.
I can't think of good way to do this.  Would love to hear some ideas.

o yeah... we can't cd because we're a separate process from shell.
No way to cat/pipe a cd in there eh?

Nope.  Not without sorcery™.

I think this is perfectly fine. react-native init requires cd afterwards too.
I wouldn't like to see anything jump folders for me anyway.


Graphviz not installable on OSX Mojave

It looks like a key dependency of your package is graphviz. It looks like they've still not created an installer for OSX Mojave: https://graphviz.gitlab.io/download/
i wish I could help solve this problem, but, I am unfamiliar with the nuances of homebrew installs.
-Tor

Not sure if its been recently updated, but brew install graphviz worked for me.

am closing this due to inactivity


MSID: 91666 Version: 1 DOI: 2<IP_ADDRESS>0355

"msas": "Developmental Biology"
"msid": "91666"
"preprintDoi": "10.1101/2<IP_ADDRESS>0355"
"Reviewed Preprint posted": "2023-11-20"
"Sent for peer review": "2023-09-12"
"Posted to bioRxiv": "2023-10-01x" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>0355v1/")
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=91666)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[ ] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/91666/v1)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>0355)
[x] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/91666/v1/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/91666)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/91666

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/91666

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/91666/v1/91666-v1.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/91666)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

Author Zhiming Li has wrong email address assigned - should be<EMAIL_ADDRESS>(present on bioRxiv)


[FEAT] clear out old APK SourceStamp residue (stamp-cert-sha256)

edit: this has been resolved. but I need to simplified my description here.
in the APK installation verification phase,
if the APK has a SourceStamp file,
an additional check will be done to make sure it match a SourceStamp block in the APK signing block as well.
when reverse-engineering APK-file,
a user must delete the file (/stamp-cert-sha256) from the unknown folder,
and remove the entry from apktool.yml's unknownFiles: section.
a better way to to avoid copying the SourceStamp file back (or to keep it under /original/ folder).

there are very few resources regarding this,
but the Android Open-Source Project has some basic code that explains how this works:
https://android.googlesource.com/platform/tools/apksig/+/master/src/main/java/com/android/apksig/ApkVerifier.java#320
https://android.googlesource.com/platform/frameworks/base/+/master/core/java/android/util/apk/SourceStampVerifier.java#89

this is what you'll see in the APK:

if you'll run:
java -jar apksigner.jar verify --print-certs --verbose --in "Google_googletts.google-speech-apk_20210914.01_p4.398601325.apk" (for example),
you'll get something like this:

(full)
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): true
Verified using v3.1 scheme (APK Signature Scheme v3.1): false
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: true
Number of signers: 1
Signer #1 certificate DN: CN=Android, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Signer #1 certificate SHA-256 digest: f0fd6c5b410f25cb25c3b53346c8972fae30f8ee7411df910480ad6b2d60db83
Signer #1 certificate SHA-1 digest: 38918a453d07199354f8b19af05ec6562ced5788
Signer #1 certificate MD5 digest: cde9f6208d672b54b1dacc0b7029f5eb
Signer #1 key algorithm: RSA
Signer #1 key size (bits): 2048
Signer #1 public key SHA-256 digest: 2b06490d2d24305c6a90dbf74cc42f50183d207d572f8079e5d92fb2c2a0cda1
Signer #1 public key SHA-1 digest: b2da9ef7ec0f4474117fb0cba4dca3b795c0eab7
Signer #1 public key MD5 digest: a90ce510a96aa09bee6bf8d9da9b258b
Source Stamp Signer certificate DN: CN=Android, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Source Stamp Signer certificate SHA-256 digest: 3257d599a49d2c961a471ca9843f59d341a405884583fc087df4237b733bbd6d
Source Stamp Signer certificate SHA-1 digest: b1af3a0bf998aeede1a8716a539e5a59da1d86d6
Source Stamp Signer certificate MD5 digest: 577b8a9fbc7e308321aec6411169d2fb
Source Stamp Signer key algorithm: RSA
Source Stamp Signer key size (bits): 4096
Source Stamp Signer public key SHA-256 digest: 4c53c1d28f2ecceadcb1351603f0b702615b3454b6e30070de759359f241b802
Source Stamp Signer public key SHA-1 digest: 188b067a9ee881bde55dabe0f8f7ecb320b1a091
Source Stamp Signer public key MD5 digest: 965afac83f033aa037a54482eb6922d5
WARNING: META-INF/services/com.google.protobuf.GeneratedExtensionRegistryLoader not protected by signature. Unauthorized modifications to this JAR entry will not be detected. Delete or move the entry outside of META-INF/.

a little more information.
Google Play uses it.
it is best to make sure it will not return to the APK,
delete the file, and its entry in apktool.yml.
the alternative is to change the the package identification.

https://github.com/BlueWallet/BlueWallet/issues/3219
https://support.google.com/googleplay/android-developer/answer/9842756?hl=en#zippy=%2Capp-signing-key-requirements%2Cinstructions-for-apps-created-before-august%2Cupload-key-requirements%2Cupdate-keystores
https://www.exceptionlife.com/android/question/6517/installing-google-play-services-from-apkmirror-by-command-line

edit:
do a known issue part like this one:
suggest delete if user won't bothered by it..
I've recently discovered assets/ysh/hook.apk and https://wws.lanzoux.com/i5zOghl94ab so for the price of doubling the size of the apk, signatures no longer bothers me.
making it as won't fix seems accurate.
good journey.

Probably fair to copy those files into original, but it appears the filename is not consistent. So gotta research a bit more.

PR is up to handle this like original files.

a little more information.
Google Play uses it.
it is best to make sure it will not return to the APK,
delete the file, and its entry in apktool.yml !
the alternative is to change the the package identification.

I see. So its injected by GooglePlay during signing, so not needed if you are resigning and should be removed - not copied. Re-opening.

injected by GooglePlay

one of the possibilities, yes,
a user can also generate it.
it can make it easier for Google Play "scan" feature
to identify a modified apk.
the code to validate it is present in the AOSP android,
and there was very few information regarding it.
I don't get absolute 'block' when I install an APK with
old stamp file, as when I will try to upgrade an APK
with a different signature, for example.
but sometime I do...
well.. live and learn I guess..
(there is so very little information regarding it,
that everytime I google search it I keep finding this entry.. Ha! :]
);

Was going to revisit this, but with Apktool that wants to maintain original apk as close as possible - unsure what to do about this. Since it breaks down to basically deleting a file we know is in the original apk.

I'm curious about this topic as well...
My intent was to take a stock ROM, and drop-in Google's GSI, then make whatever alterations I need (such as adding IMS to get ESIM working).
I managed to re-sign the images (without changes) for AVB, and that worked.
But once I start messing with re-signing the apks in the system partition, booting hangs (or loops if I re-sign apks in the other partitions too).
I noticed SourceStamp is false when I sign them (and I never deleted the stamp file, nor changed the yml), but don't know if it's relevant to getting a successful boot.


Feature/dark mode

Fixes #13

@vstirbu Great work. Is this released yet?

@vstirbu Nevermind, I had reloaded but just needed to fully close and open VS code to get the update working, again thanks for sorting this :-)


[bug]: Sheet has no style

Describe the bug
I installed the component and when I call it I have only the overlay without the element shown??
Why this happend?
We should copy / paste and have a working component
I need to add top-0 class to make it work... WHY ?
Affected component/components
Sheet
How to reproduce
Copy / Paste component
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
ARC
NextJS
Typescript

Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues

Can you provide an example codesandbox/reproduction link?

All good something was duplicate between Shadcn and NextUI Thanks 👍


Add note about Homebrew for Linux

The Homebrew distribution only includes a Darwin (Mac) binary so won't work on Linux.

(@tanema is there anything that would prevent distributing Theme Kit as source through Homebrew?).

It would just make installation a lot larger, it would require adding Go as a dependency and then building themekit

I think it might be possible to detect the OS running Homebrew and change the executable to download based on that.

Here's how Hugo does it, binaries for Mac then falls back to building with go:
https://github.com/Homebrew/homebrew-core/blob/master/Formula/hugo.rb


Fix issue with grafana-specific data not persisting

Using /var would remove grafana-specific data whereas using /var/lib/grafana as per the official Dockerfile reference states, it works as expected after pod deletion(s).

Weird that github drags comments in as if I was the author ...


Upgrade dev dependency to react-redux v7

This breaks a lot of the tests, and I'm not certain why. Many of the redux-form tests focus on how many times stuff gets rerendered, and something about that has changed with react-redux@7.
🤔

That's... odd.
I would have expected the number of re-renders to be pretty consistent between v6 and v7.  The number of times mapState is called would likely have changed, but actual re-renders shouldn't (much).

Shouldn't react be updated as well? I see that v7 requires > 16.8.4.
In my project i've put redux-form 8.1.0, react-redux v7 and 16.8.4 and seems to run fine.

Thanks for your continued work on this @erikras , many people still love and rely on Redux-Form!

Hi!
I have done some investigation and I think that I know what one of the issues is (quite possibly the main issue). I think that I have some ideas on how to fix it, but it's getting late and I want to go to bed. So, I will keep looking at this in another moment.
In the meanwhile, I will explain here what I have found, in case someone else wants to have a look at it before I get back to it:
The issue that I have found is that when a Field registers itself to the reduxForm a dispatch takes place (this.props.registerField(name, type)). However, when that dispatch happens, there are no listeners registered into the store yet :open_mouth:

When exactly in the component lifecycle is that action being dispatched?
One thing that did change in v7 is that we're subscribing in a useEffect(), which will run just a bit async after the component is ready.  In v5, we subscribed in componentDidMount (which is equivalent to useLayoutEffect()).

Oh, ok, thanks @markerikson !
So, let describe with more detail what I'm seeing:

Let's debug one of the "simple" tests that are failing:

node --inspect-brk node_modules/.bin/jest --runInBand -t 'should be `false` when `errors` has a `string` property'

In the previous commit, where all the tests are passing, the following line gets evaluated 4 times for that test. Each time with a different state.

In the latest commit that line only gets evaluated once, with the empty state.

I can see that there is a dispatch that gets triggered and that dispatch has no listeners... However, later on, this line of react-redux tries to take care of that. That's cool :smile:

Unfortunately, if I place a debugger here. I don't see that selector being evaluated after that. :thinking: :confused:

Dah! Bingo! I found the issue! It's a problem with react-redux... I will create a fix and send a PR! (It seems that I won't get any sleep tonight :smile: )

More interesting stuff, check this out..
That sandbox does the exact same thing that this test does. However, in the sandbox App the output is the correct one.
That makes me think that the problem probably has to do with the way that the tests are being setup. Either that, or perhaps there is an issue with react-dom/test-utils.

I think we should add calls to TestUtils.act in order to flush the effects in the tested components.
See for example this commit in a hook version of react-redux-promise-listener: https://github.com/mikkom/react-redux-promise-listener-hook/commit/eebee1eafff748d2c8809926a67780124ae704fa

Thanks for your effort on this, guys.

Codecov Report

Merging #4431 into master will decrease coverage by 0.53%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4431      +/-   ##
==========================================
- Coverage     100%   99.46%   -0.54%
==========================================
  Files          74       74
  Lines        1694     1694
==========================================
- Hits         1694     1685       -9
- Misses          0        9       +9

Impacted Files
Coverage Δ

src/createReduxForm.js
96.88% <0%> (-3.12%)
:arrow_down:

src/handleSubmit.js
98.27% <0%> (-1.73%)
:arrow_down:

Continue to review full report at Codecov.

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


404 on jest documentation

🐛 Bug Report
404 on documentation
To Reproduce
Steps to reproduce the behavior:

open https://facebook.github.io/jest/ => 404

Expected behavior
doc available

what happens?

@endiliey @yangshun @JoelMarcey ideas?

https://github.com/facebook/jest/tree/gh-pages are broken.
I suspect this is somehow related to broken build but circleci is passing.
Maybe related: https://github.com/facebook/Docusaurus/issues/805
Sorry, I'm investigating on this !

@SimenB The index.html file got deleted in https://github.com/facebook/jest/commit/88f23134fec278a127131306dbc343a3c4d69e5c. Is it possible to revert gh-pages branch to e40635951590bafe56f87f6418ad49de141974bd?

I tried yarn build locally and it is actually failing, but it passes on circleci due to non-zero exit code (related to facebook/Docusaurus#805, fixed in https://github.com/facebook/Docusaurus/pull/809)
#6537 broke the website 😢
Error: Cannot find backers.json

A temporary fix is to revert the gh-pages while we work on a PR in jest itself

Please use jest to do a test on the document later  .  -_^

@endiliey open up a pr with the revert, and I'll merge it. Currently on mobile

Yeah true some other pages are working but with no style, I guess the static assets are broken as mentioned by @SimenB

Works now?

Caused by long running circleci.
https://circleci.com/gh/facebook/jest/27171?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link

Yes @SimenB it is now working.

Probably the same as the other "404 during website deploy" issue then...

@SimenB seems so. This is tricky though. The website isn't supposed to go down during deployment. It was down for a whole hour because the deploy website circleci was running for a whole hour.
The search is broken now, I've sent a PR for it #6569

Do we have any idea why deploy-website is taking on the order of an hour? Normally that should be a fairly quick process.

@joelmarcey
It could be circleci. I see another website deploy with docusaurus publish only took ard 6 mins now.
https://circleci.com/gh/facebook/jest/27154
https://circleci.com/gh/facebook/jest/27246
This one (yesterday) took a hour. https://circleci.com/gh/facebook/jest/27171

I wonder if we added a resource_class: large or something like we did with Docusaurus, if that would help?

@joelmarcey
Not really sure, maybe it will help to shorten the build time given that it will increase the cpu & the RAM used on circleci.
But one thing that I notice is that the website went down during merge-spree. (When there are lot of merge). I suspect that subsequent build broke the previous build but publish still got triggered resulting -> broken build being published to gh-pages branch (index.html missing) & the last one is the correct build & will bring it back up.
@simenB do you notice that it usually went down when there is lot of merge happening concurrently ? Or it just broke randomly ..

Yeah, it seems to go down when we merge a lot of PRs at once

Wanna try increasing the Circle resource usage for Jest? We can see if that helps mitigate the problem.
Just add a PR with something similar to https://github.com/facebook/Docusaurus/blob/master/.circleci/config.yml#L31

Worth a try, isn't it? I don't really understand why it goes down, but as it seemingly only does when CI has a lot do, it seems like a fair change to make

@SimenB I'm thinking that maybe we can build a deploy preview in netlify for every PR like how Docusaurus do it. So that next time anyone send a PR there is a netlify (jest website) preview

Yeah, that'd be awesome!

Even better if it could be scoped to detected changes in docs/ dir <3

@thymikee

Even better if it could be scoped to detected changes in docs/ dir <3
I think this is not supported out of the box by circleci yet. We could write some script hack like https://gist.github.com/naesheim/18d0c0a58ee61f4674353a2f4cf71475 but I feel that it's hacky though

Yeah, that'd be awesome!
Unfortunately netlify preview can only be setup by person with write access to facebook/jest though. I've set it up for my own pet project but I can assist you on how to setup if you want. @yangshun setup the preview for Docusaurus.

Example:

I don't think this is hacky. It's a fair way of detecting changes. If CircleCI were to implement this, their implementation would likely be similar. This is actually a good addition to make to Docusaurus - teach people how to do previews only if the relevant dirs changed

👍

Also, I think there's no harm running the preview on all PRs. Prettier generates Netlify previews for all their PRs, just that the bot doesn't comment with the link to reduce noise, but the maintainers know where to find the preview if they need to. It's usually in the form of https://deploy-preview-<PR_NUMBER>--.netlify.com/.

Agree. Usually netlify preview are done in the checks
Example:

The commenting is an additional step that needs to be configured in netlify itself.

I highly recommend adding Netlify previews to help with reviewing website changes.

Based on https://github.com/facebook/jest/pull/6613#issuecomment-402447789
I think the current problem for jest on this part is that you need to an access on facebook organization to grant netlify the permission. (collaborators don't have access to bots or settings)
Example:

As for the command itself to be ran on netlify, we can use netlify.toml
Example:
// netlify.toml
[build]
  command = "yarn build"
  publish = "build"

[build.environment]
  YARN_FLAGS = "--frozen-lockfile"

....

Hopefully fixed


Single and multi style

First, it's look great, thank you.
I'm not sure it it's a bug but I have:

for single=false options looks like ul.tokens > li.token
for single=true options looks like ul.tokens, option name is directly in ul.tokens, so it's not styled.

Example, the same settings and options except single=true on top.

Maybe you could add li.token and add some info about single (.multiselect.single or ul.tokens.single or new added ul.tokens.single). to help styling multi and single select.
If you won't to add li the single class will be very useful too.

Thanks for giving this a try!
The behavior you show in your screenshot is intentional (not a bug) but I haven't thought about it much yet. It could perhaps be improved.
If I understand you correctly, you're suggesting two things?

Use the same markup structure for single and multiple select. I.e. wrap even a single selected token in a list item tag?
Not a fan of that to be honest. Using tags suggests to users that they should be able to select more than one option when they actually can't.
Add a class .single to the top-level div.multiselect based on whether single is true or not.
That sounds like a good idea to me. Happy to add it if that's what you meant?

Thanks for so quick replay.

Single option is already in ul, that suggest list. Of course, instead li it could be in another tag span or div. BTW list with one element is also (a little simple) list. Extra idea, what if you implement max-selected or something similar? And set it to one? Of course it is only idea, not must to have.
Yes, this is enough to apply styles to this case. I'll be happy if you could add it.

Extra idea, what if you implement max-selected or something similar? And set it to one? Of course it is only idea, not must to have.

Having the ability to specify any positive integer number of maximally selectable options is a great idea. I added a new prop maxSelect in v1.1.3. div.multiselect will now have class single if you pass maxSelect={1}.

It's great idea, thanks. I've tested.

single class is present when maxSelect={1} – wonderful
Dialog closes on rich maxSelect – nice. It's doesn't work for maxSelect={1} or I do something wrong.
One thing more, I think it will be better to one-click options change when maxSelect={1}. Now I can select options than I need to clear selection and select another option. I can not directly click another option and I can not deselect option.
I'm new in front-end, could you point me how to set initial value? If I set let channel = 'a'; and use bind:selected={channel} nothing is set. When I set channel on setTimeout it works. The same for multi-select.

Thanks for putting this component through its paces! Lots of good ideas from your side.

Dialog closes on rich maxSelect – nice. It's doesn't work for maxSelect={1} or I do something wrong.

No, that was my fault. I noticed a problem in function add(token) { ... } just a minute after I published v1.1.3. Had already fixed it locally but not republished yet.

One thing more, I think it will be better to one-click options change when maxSelect={1}. Now I can select options than I need to clear selection and select another option. I can not directly click another option and I can not deselect option.

Makes sense. That should work now.

I'm new in front-end, could you point me how to set initial value? If I set let channel = 'a'; and use bind:selected={channel} nothing is set. When I set channel on setTimeout it works. The same for multi-select.

That was due to
$: selected = single ? `` : []

This should fix it:
if (!selected) selected = single ? `` : []

Now you can simply do
<script>
  let channel = 'a';
  const channelList = ['a', 'b', 'c'];
</script>
<MultiSelect bind:selected={channel} options={channelList} maxSelect={1} />

All changes published in v1.1.4. Let me know if it's working for you.

It's perfect now, thanks a lot!
Maybe:

it's possible to add simple <span> around text  single (maxSelect={1}), it will be easier to style and should not break nothing.
switch on (or add flag to enable) to open combobox on click on whole area especially on single text not only on empty space on the right (input). BTW now if selected text is very long it looks strange:

fix backspace behavior. On multi-select I selected test and type 12

then I pressed backspace

it seems that backspace remove one character from input and remove one tag too.

it's possible to add simple  around text single (maxSelect={1}), it will be easier to style and should not break nothing.

Done.

switch on (or add flag to enable) to open combobox on click on whole area especially on single text not only on empty space on the right (input). BTW now if selected text is very long it looks strange:

Didn't add a flag but opening the options on clicking already selected tags is now the default behavior.

it seems that backspace remove one character from input and remove one tag too.

Oops, my bad. Fixed now.
Didn't look at the weird layout for very long texts yet. Will do as time permits.
Also, since this issue has been dragging on, could you open a new one for future bugs/features? Thanks!

Sure, one issue – one issue :-)
Now it's even more awesome, thank you a lot!


Generic Annotation

I think we talked about this earlier, but I'm just going to file an issue to track -- I'd like to have some generic annotation that applies to the entire circuit. That way, I don't need to use my BlackBoxSourceHelper hack to get stuff like targetDir name. (Or input config file location).

Thanks for tracking this. I actually have a related thing in my PR here: https://github.com/ucb-bar/firrtl/blob/9a6a2a05abca97a4ec178112083a036712146d03/src/main/scala/firrtl/annotations/Named.scala#L19
But that only solves the "Named" part. I think the way of dealing with the target transform is to use classOf[Transform] (instead of the class of a specific transform). However, we need to change getMyAnnotations to return these annotations as well.


feat: add congruences of subtypes and sets/finsets.

A congruence about subtypes and sets/finsets.
Related zulip thread

Is congr the right name here? That usually refers to building F A ≈ F B from A ≈ B, not F (G A) ≈ G (F' A). Maybe this is traverse or comm?

@eric-wieser Thanks! I fixed congr to comm.


Links opening in the same tab

All the links in the repo open in the same tab making it troublesome to open another resource simultaneously. We can explicitly open the link in a new tab but it would be better to implicitly have the link open in a new tab when we click it.

surely we can, but what i'm suggesting is that it would be better if it automatically opens in a new tab, just a small enhancement in the user experience

@Saptarshi-Bandopadhyay let me know if you would like to work on this issue

Hey, @Saptarshi-Bandopadhyay you can open one PR for every roadmap. That makes it easy for us as well to review.

Sure, On it.

Hey @kaiwalyakoparkar @siddhant-khisty sorry for the trouble but it seems that github markdowns doesn't suuport this feature at all, even if I use html anchor tag with " target='_blank' " it gets scrubbed off when it's rendered.
Sorry for opening an issue without knowing if there was a possible solution.

No worries @Saptarshi-Bandopadhyay that's alright. Thank you so much for finding the issue and bringing it to the notice :)


Give credit to or mention Stringy

Hey, nice library! Would be great if you could mention where some of this code was taken from, since it was originally distributed under MIT. In particular, your big list of ascii chars: https://github.com/dleitee/strman/blob/master/src/lib/ascii.js Which seem to all be taken directly from: https://github.com/danielstjules/Stringy/blob/master/src/Stringy.php#L1601-L1756
Anyway, great work with it :)

Surely, his library was a great inspiration. Thank you.


Emmet: does not work in php's heredoc nor nowdoc

VSCode Version: Code - Insiders 1.14.0-insider (779a7dfa682e31d870680caea572a11d009ab447, 2017-06-23T05:59:57.891Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author (truncated)
Version

path-intellisense
chr
1.4.2

gitlens
eam
4.1.3

tslint
eg2
0.15.0

LogFileHighlighter
emi
1.1.1

vscode-reveal
evi
0.0.9

php-debug
fel
1.10.1

php-intellisense
fel
1.4.1

auto-close-tag
for
0.4.2

gc-excelviewer
Gra
1.1.15

GitHubIssues
Hoo
0.1.2

composer
ika
0.5.0

smarty
imp
0.2.0

json-to-ts
Mar
1.4.3

vscode-apache
mrm
1.1.1

cpptools
ms-
0.11.4

php-docblocker
nei
1.2.0

vscode-versionlens
pfl
0.19.1

vscode-icons
rob
7.9.0

sharecode
Rol
0.4.1

code-spell-checker
str
1.2.0

vscode-todo-highlight
way
0.5.5

highlight-trailing-white-spaces
yba
0.0.2

(1 theme extensions excluded)

Steps to Reproduce:

Write this php code:

<?php

const TEST = <<< 'TESTHEREDOC'
| // <-- your cursor
TESTHEREDOC;

Write something like html:5 and want to resolve that expression. You need to do it via the command palette, which is annoying.

@vscodebot[bot] Don't make me angry. This is meant for @ramya-rao-a

Does not work in simply echo steps too, nor in variables... Maybe we should consider changing the header, because once we are in php code, we can't do anything.

Pretty funny: It works when it the result would be invalid php.
For example:

Goes to

By default, suggestions are not prompted inside strings and comments. This is a VS Code feature and can be controlled in the below setting
"editor.quickSuggestions": {
		"other": true,
		"comments": false,
		"strings": true
	}

I am guessing (guessing because I don't know much about php) that in php, the TESTHEREDOC part is considered as a string and so you don't get any suggestions.
To get around this either update the above setting and set the strings part to true or hit Ctrl+Space to manually trigger suggestions.
Sample applies to echo statements or variables where you are typing inside quotes and so the context is that of a string.

Regardless, with https://github.com/Microsoft/vscode/issues/28286#issuecomment-310749096 the emmet suggestions will no longer appear until a php extension supports it


reduce memory requirement

Hi, I would like to use optimus workflow for 10x v2 data locally. Each of my fastq R1/2 files are about 20GB. If I run optimus.wdl, even if I allocate 300GB, the pipeline would be killed at the call-StarAlign this step. Is there any suggestion to reduce the memory requirement?
Thanks!

Hi @YOU-k apologies for not getting back to you sooner. STAR aligner notoriously uses a large amount of memory. In benchmarking aligners on other data types we have found that hisat2 is a bit more lightweight and performs very similarly to STAR. We haven't tried the aligner on this data type, so we can't speak to whether the same holds true. But you could try subbing it out. Others in the field favor Kallisto, which does pseudoalignment and is much faster and cheaper, I assume it also uses less memory. I am not aware of a way to lower the memory requirements for STAR outright.
Best,
Kylee


Allow overriding/disabling escapeHandler of Dialog via XML-template in UI5

I know to override in UI5 the default behavior of sap.m.Dialog's escapeHandler via controller, e.g.:
this._oDialog.setEscapeHandler((oEscapeHandler) => {
	oEscapeHandler.reject();
});

The question is it possible to provide an alternative escapeHandler behavior via XML-template without using of setEscapeHandler?
Ideally, it should be something like escapeHandler = "none/customFunction", e.g.:
<Dialog
	id = "authDialog"
	title = "{i18n>DIALOG_TITLE}"
	type = "Message"
	escapeHandler = "%CUSTOM_ESCAPE_HANDLER%">
</Dialog>

Particularly, I want to disable a Dialog closing on Esc button press and to do it in an elegant, declarative manner via XML-template, e.g. escapeHandler = "none".
Probably related issues:

ManagedObject Properties Awaiting a Function Should Have type: function Instead of type: any
escapeHandler not fired if Dialog is defined in XML

I've created an internal incident<PHONE_NUMBER>. The status of the issue will be updated here in GitHub.

Hello @pubmikeb ,
As the documentation states This property expects a function with one parameter of type Promise.  we decided to change the type of the property from any to function. This allows you to set it to a function in the controller, e.g.
<Dialog escapeHandler=".funcInController" />

Done with commit 16fad20e89b7beaf7a4cbe88831f9bea0ea9eabe
Best regards,
Petar


KAFKA-10460: ReplicaListValidator format checking is incomplete

What? :: See https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/server/ConfigHandler.scala#L220 . The logic is supposed to accept only two cases:
list of k:v pairs
a single ''
But in practice, since the disjunction's second part only checks that the head is '', the case where a k:v list is headed by a star is also accepted (and then later broker dies at startup, refusing the value).
JIRA: https://issues.apache.org/jira/browse/KAFKA-10460
@viktorsomogyi Can you please review this?

@viktorsomogyi, the tests are passing after the last commit. Can you please review it?

@mimaison would you please quickly review this?

@ankit-kumar-25 Thanks for the PR. Can you add a test?

Hey @mimaison, Thank you for your input. I have added a couple of test cases to validate this condition.
For some reason the Build Failed. Can you please review the change and re-run the test/build if feasible?

Thanks for the update. The changes looks fine.
I've rekicked the build and I'll merge if it passes

Travis/Jenkins are having issues. I ran all tests locally and they passed.


Table Design: qqqqqklqPP qqqqqqqqjmqqqqqqqqqqq

Hi
Instead of straight lines, I am getting some bizarre characters. And I am also getting them on start of each line as you can see in the image below
Does anyone have any idea what could be causing this?

Perhaps something to do with your terminal encoding?
Depending on the OS, but I'd start here just to get an overview of what this could be about https://www.tecmint.com/set-system-locales-in-linux/


Timeout support for iOS platform?

Is your feature request related to a problem? Please describe.
It seems that the timeout (both connectTimeout and readTimeout) is supported on Android however similar feature is not available for iOS platform.
Describe the solution you'd like
Support timeout for http requests for both, iOS and Android.
Describe alternatives you've considered
The cordova-plugin-advanced-http cordova plugin supports this feature https://github.com/silkimen/cordova-plugin-advanced-http#setrequesttimeout (even though there are some caveats - see https://github.com/silkimen/cordova-plugin-advanced-http/pull/316)
Additional context
N/A

Yes, it should work the same across both platforms. The timeout should be added to iOS

Closing since 1.0.0-alpha.0 is on npm under @capacitor-community/http@next.
Since iOS and Android behave differently (iOS only having a single timeout), connectTimeout is prioritized over readTimeout. If neither are set, the default timeout of 60 seconds is set instead on iOS

The plugin works, however, when running npx cap sync, I'm getting the error:
CocoaPods could not find compatible versions for pod "CapacitorCommunityHttp"


Improvements to GTI sort scripts

Some suggestions by Mike Wolff:

dump to text file the count rate of the selected (optimal) GTIs
show count rate light curve of the (optimal) GTIs

Other improvement:

reorganised the code a bit if possible (@kerrm)

Ah, I promised Mike I'd do this a long time ago but forgot!  Thanks for
putting up an issue.
On Fri, 26 Aug 2022 at 05:16, Sebastien Guillot @.***>
wrote:

Some suggestions by Mike Wolff:

dump to text file the count rate of the selected (optimal) GTIs
show count rate light curve of the (optimal) GTIs

Other improvement:

reorganised the code a bit if possible @.***
https://github.com/kerrm)

—
Reply to this email directly, view it on GitHub
https://github.com/paulray/NICERsoft/issues/91, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3LAG6BFE2BU3D47SF22WLV3CDNZANCNFSM57V74CZQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

The other thing to consider are future upgrades which can do a
non-pulsation test version.  This doesn't necessarily counter the "Essen"
bias, though, unless we also use a model-based estimator for the background
rate in the GTIs, rather than the observed rate.  (That's probably worth
trying, and it might make it easier to make a model-based background for
the full dataset.)
On Fri, 26 Aug 2022 at 05:16, Sebastien Guillot @.***>
wrote:

Some suggestions by Mike Wolff:

dump to text file the count rate of the selected (optimal) GTIs
show count rate light curve of the (optimal) GTIs

Other improvement:

reorganised the code a bit if possible @.***
https://github.com/kerrm)

—
Reply to this email directly, view it on GitHub
https://github.com/paulray/NICERsoft/issues/91, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3LAG6BFE2BU3D47SF22WLV3CDNZANCNFSM57V74CZQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


02c: def pipeline() gives Attribute Error.

AttributeError: module 'google.cloud.aiplatform' has no attribute 'TabularDatasetCreateOp'

This comes from
dataset = gcc_aip.TabularDatasetCreateOp(
Have tried changing to:
dataset = gcc_aip.datasets.TabularDataset.create(
but this gives later error:
TypeError: object of type 'PipelineParameterChannel' has no len()

Hello @JonB451
Apologies for the delay here.  I took at look at issue #51 and reopened it to address the update I just pushed that should resolve the import of the components.  This was due to a shift in the SDK since I originally made the notebook.  This fix should also address the issue you are facing here in #53 .
Thank you for pointing this out!
@statmike

Thanks @statmike . I've had to move onto something else for now, but will let you know when i get back to this. It's still high enough up my priorities that i hope that should be possible in the coming weeks so i will feedback if it worked here too. Thanks again, loads. You are a brilliant teacher, and generours, in material and in spirit it seems!


Version 3.5.3

Landed in https://github.com/metarhia/metautil/commit/58881d348c481d208938b98b06299c394d9bee05


DuckDB gitignore option is not working

Bug Description
When you click to gitignore duckdb files in the settings menu and click save, it doesn't change the .gitignore file in the project.
Severity

[ ] High - I'm not able to use Evidence until this bug is fixed
[ ] Medium - I'm able to use Evidence, but a feature I need to use is not working
[x] Low - I'm able to keep using Evidence as normal, but flagging this for the team to fix

Expected Behavior
On save, it should update the .gitignore file to include .duckdb and .db files

Fixed in #629


feat(pwm): allow specifying OutputDrive for PWM channels

HI everyone,
in an application I'm working on, I need a way to change the driving strength of the GPIO Pins.
Since I did find a safe way to do so on my side, I went implementing it here.
For the SequencePwm I extended the Config with the driving strength, whereas in the SimplePwm I added the function to adapt it similarly to the other parameters set_max_duty. I omitted the getters because personally I think that it's a "YAGNI".
I did not introduce a SimpleConfig because from the code it looks like not to be there intentionally, and I did not want to brake the API.
Happy to change any of this based on your feedback.
Cheers!

@Dirbaio the CI failure looks quite unrelated... possibly a flaky test case?

probably


feat(TFD-1592): API changes for components part 1

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
BigQuery/Pubsub API changes except PipelineOptions change
Elasticsearch/Kafka/FixedFlowInput/FilterRow API changes, IT pass
Please check if the PR fulfills these requirements

[ ] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: failure :x:


add GChat as alert destination

Describe your changes :

Added GChat as alert destination
TODO:

[ ] add icon for GChat destination
[ ] add screenshot at openmetadata-docs/content/developers/webhooks.md

Type of change :

[ ] Bug fix
[x] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Alert Destination drop down

GChat notification

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] All new and existing tests passed.

Reviewers

@rglbr Thanks for the PR. This look great.
Can you please run mvn googleformatter:format@reformat-sources  to fix the styling check

@harshach Thanks for the review.
I do not see any changes after running mvn googleformatter:format@reformat-sources


Move ref (branch or tag) location on issue list page

Before

After (Second Commit)

Codecov Report

Merging #8157 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8157      +/-   ##
==========================================
- Coverage   41.82%   41.82%   -0.01%
==========================================
  Files         482      482
  Lines       64583    64583
==========================================
- Hits        27014    27013       -1
  Misses      34099    34099
- Partials     3470     3471       +1

Impacted Files
Coverage Δ

modules/log/file.go
75.52% <0%> (-2.1%)
:arrow_down:

models/repo_list.go
73.17% <0%> (-0.98%)
:arrow_down:

routers/repo/view.go
43.54% <0%> (+1.01%)
:arrow_up:

Continue to review full report at Codecov.

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

Could you also change that on /issues and /milestone/<id> ?

milestone/{id}
Before

After

issues
Before

After

repo issues page
Last (Order)


How to Add Notes FactBox on Item Card in Business central cloud Based Version

This GitHub repository is dedicated to handling issues and feedback for the latest Developer Preview releases of the AL development tools for Dynamics 365 Business Central.
If you can reproduce the problem on the latest Business Central Developer preview version we will be happy to look further into it. Otherwise please contact the regular support channel.
You can open Support Request to CSS through PartnerSource portal or contact your Service Account Manager (SAM) in the local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also step by step direct you how to open a support request or how to get credentials if this is the first time for you / your company.
For more details please read:
https://blogs.msdn.microsoft.com/nav/2018/05/03/al-developer-previews-multiple-releases-and-github/
https://github.com/Microsoft/AL/wiki/Frequently-Asked-Questions#i-found-an-issue-on-nav-2018-what-do-i-do

Notes FactBox is already existing in the Item Card Page.


Iterable web device mode documentation

What do these changes do?

Added docs on Iterable web device mode and updated the existing structure.

Type of documentation

[x] New documentation
[x] Documentation update
[ ] Hotfix

@ameypv-rudder can we share this image as en example of web push would look for the users

@ameypv-rudder can we share this image as en example of web push would look for the users

@ishachopra0401 can we add this


Cow: Watch unlayer.com

Cow requests the watch of the watch_keyword unlayer\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

unlayer\.com has been seen in 1 true positive, 1 false positive, and 0 NAAs.

Rejected by VLAZ in Charcoal HQ. Reason: 'Unlayer is an existing product and the question concerns it. The answer seems to be on point that what the question asks is a paid feature of the product'


check mark does not shown

Hello @chenyun122
thank you for the effort in this amazing library, I tried to show the check mark after I completed the first step but I couldn't achieve it. screenshot below. Thanks!

I mean the checkmark like your demo

I got same result as @zaidqattan when package is imported via SPM.
Furthermore, this repo seems lack of some SPM support, I need to choose branch to import via SPM.
After imported, the check mark in step circle won't show as import via CocoaPods way.

The .xcassets which contains the mark image is not accessible via SPM yet. Please wait for the new Xcode.


intel_adsp: boot_complete must be done PRE_KERNEL_1

This reverts commit 759e07bebe208f4cc1036a7525a80551e16a465c.
Zephyr boot fails on Intel Meteor Lake with this patch.
UPDATE: instead of revert, fix suggested by @nashif works:
intel_adsp: boot_complete must be done PRE_KERNEL_1

Can we try
diff --git a/soc/xtensa/intel_adsp/common/boot_complete.c b/soc/xtensa/intel_adsp/common/boot_complete.c
index 791590e127..445fd57b06 100644
--- a/soc/xtensa/intel_adsp/common/boot_complete.c
+++ b/soc/xtensa/intel_adsp/common/boot_complete.c
@@ -29,4 +29,4 @@ int boot_complete(void)
        return 0;
 }

-SYS_INIT(boot_complete, EARLY, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);
+SYS_INIT(boot_complete, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEVICE);

instead?

@nashif let me try that

another option:
diff --git a/soc/xtensa/intel_adsp/common/boot.c b/soc/xtensa/intel_adsp/common/boot.c
index 75eed9d63b..5e47a26488 100644
--- a/soc/xtensa/intel_adsp/common/boot.c
+++ b/soc/xtensa/intel_adsp/common/boot.c
@@ -153,6 +153,7 @@ __imr void boot_core0(void)
        lp_sram_init();
        parse_manifest();
        sys_cache_data_flush_all();
+       mem_window_idle_exit();

        xtensa_vecbase_lock();

The simple fix seems to hold up for me. Getting the boot_complete at unexpected time versus other events in the boot, seems to explain the boot fail. The python test harness used in one of the CI systems, seem to be fine with this, but rest of the test benches catch this as an error to boot up correctly. I'll work with @tmleman to test with more setups to be sure.

The simple fix seems to hold up for me. Getting the boot_complete at unexpected time versus other events in the boot, seems to explain the boot fail. The python test harness used in one of the CI systems, seem to be fine with this, but rest of the test benches catch this as an error to boot up correctly. I'll work with @tmleman to test with more setups to be sure.

what about the second option, which should be more or less the previous behaviour.

@nashif wrote:

 mem_window_idle_exit();

This didn't help. I think the problem is related to boot_complete(). i don't have logs working when the failure happens, but I'd guess the "(!device_is_ready(dev)" in boot_complete() is never true and Zephyr boot_complete() does not "win[0] = 5;" in boot_complete() leading to incomplete boot (as observed by the host -> Zephyr OS itself did boot up, it's just it didn't report the status correctly in SRAM).


VEGA-1531 recreate put investigation on hold form

VEGA-1531 #minor

I added a summary table with the info of the investigation to be put on hold, as the original design only contained the radio buttons. This and the "Take investigation off hold" form should be redesigned properly at some point, but this is just a temporary improvement for now. I will check this is okay with Katie when she's back


Update baselines for 3.0.1 release

should have been part of branding change
not causing issues only because $(IsServicingBuild) is temporarily disabled

:up::date;

@JunTaoLuo ?


How can I get code hash from contract ABI or WAST files?

The cleos provides get code subcommand to get code hash of contract under certain account.
> cleos get code <account>

This can work on the premise that the contract is deployed into chain.
Now I want to get code hash from contract ABI and WAST files, in order to know if the contract is the version deployed into chain.

The simplest way is to get the wasm file and abi from the blockchain to verify if they're what you expect. If you really want to get the code hash from the wasm file, you need to do exactly the same as function apply_eosio_setcode in eosio_contract.cpp:
     code_id = fc::sha256::hash( act.code.data(), (uint32_t)act.code.size() );

@taokayan
Got it. Thanks!


how can i cancel process

Pls help me cancel process , thanks you !!!

There's no such method，you can run it in a new thread and ignore it's result

i only use reverse video from your lib, can i run it in min sdk 18 ?

you can try this:
implementation 'com.github.yellowcath:VideoProcessor:2.3.3-api18'
But I don't have the proper machine to test.

pls tell me if it worked correctly

it seem not work ,output video only have audio , but it still the best lib for edit video ,tks u.


Add Technical Indicators

Please add things such as SMA, EMA, MACD, RSI, Bollinger Bands, etc...

Is there any guide to add the indicators?


[Image Request]: Java 20 Images

Does this apply to existing image
No
What's the image for (e.g. NodeJS, Dotnet, Shenandoah, etc)
pterodactyl (?)
Image Request
Petition to add Azul Java 20 to the images
couldnt find it on the docker webstie but it is aviable in azul website
also prepare for GraalVM java 20 CE, dev builds aviable here

Azul Java has been added. GraalVM will be added whenever they publish a docker image upstream, as I won't be maintaining a custom image for each new commit.


tutorial for APIGWv2 HTTP API using resource references

Issue #1207
Description of changes:

tutorial for APIGWv2 HTTP API using resource references

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/lgtm


Fix Message Counter Sync to use group key

TestMessageCounterManager.cpp",

https://github.com/project-chip/connectedhomeip/blob/e169fcf99510c98ea16504e77c7fd8bf86f6b806/src/protocols/secure_channel/tests/BUILD.gn#L15-L20

This issue was generated by todo-issue based on a TODO comment in e169fcf99510c98ea16504e77c7fd8bf86f6b806.

@17622 This PR migrated all test-cases to use async transport, so DrainAndServiceIO may be needed in variety places when re-enable these tests.


Fix API Reference Docs

API Reference docs are rendering in a way that isn't particularly useful.

No navigation links
Missing response object schemas
No JSON examples

We actually have some other rendered HTML docs, using swagger-ui. They aren't perfect either, by more usable that the markdown ones we currently have. Might be worth looking a bit into our options here.

Markdown docs

Swagger-ui docs

We can use static HTML with the new documentation builder, put into the _static directory, and link from there. I recommend we do it that way.


How to specify ElementName.DataContext for MethodBinding

DataContext cannot be specified in a hierarchical Datatemplate or Datatemplate. The target will be inflexible

Please elaborate with an example of what the issue is and/or what you hope to achieve.

I'm going to close this issue for now, but feel free to respond if you still have a problem.


amazon-kvs-producer-sdk fails to create streams due to dependency commitish mismatches

I am building  amazon-kvs-producer-sdk-cpp_3.3.1.bb for Yocto kirkstone. I previously used 3.3.0 with dunfell. That worked fine in that I could create and push video streams from my device.  With 3.3.1 I found that we were no longer able to create streams. We could only publish to streams that had already been created. We are building with gstreamer=ON.
There's a lot of numbers(commits) coming up, so I'll try to be clear.
the meta-aws I am using is 09db18354cfe358e38913754d24b71685f2a3ed3 which is the kirkstone branch.
On that branch, the 3 recipes I need are using the following commits:
amazon-kvs-producer-pic_git.bb
SRCREV = "dc4bc6cb87cf97cd3b1dc3e8027e0c75cdfa13b3"
amazon-kvs-producer-sdk-c_1.4.1.bb
SRCREV = "80c74ac9200b58427a8fcb7782a03b1774020983"
amazon-kvs-producer-sdk-cpp_3.3.1.bb
SRCREV = "70f74f14cf27b09f71dc1889f36eb6e04cdd90a8"
.
Building/installing the above results in the gstreamer kvsssink not being able to create streams.
If we checkout
amazon-kvs-producer-sdk-cpp_3.3.1.bb
SRCREV = "70f74f14cf27b09f71dc1889f36eb6e04cdd90a8"
and look inside the CMake/Dependencies/libkvscproducer-CMakeLists.txt it calls for commit 79da5b6d6ad67560cc08530f967e9187a6d1c594 for the amazon-kvs-producer-sdk-c repo.
If we pull the amazon-kvs-producer-sdk-c repo and checkout the 79da5b commit and look inside the CMake/Dependencies/libkvspic-CMakeLists.txt we see that it calls for commit c8325887faa3a4a296c4367b281c778be69875b6 from the amazon-kvs-producer-pic repo.
If I use a bbappend to override the SRCREV for both the producer-sdk-c and the producer-pic to be consistent with the dependency chain in the CMake files, I can create and push video streams.
I am assuming that we should still be able to create streams from the device on kirkstone and that this is just a version mismatch and not a desired change in behavior?
I'm happy to submit the SRCREV overrides as a PR if that is desired/correct.

Hi,
did check this with the service team responsible for the software and you're totally right.
Will change this asap as you suggested - will keep this issue open till it's fixed.
Thank you for this!

could you please check if my commit fix your problem.
Thank you!

So, the commit looks good.  But I cannot build it to test.  I tried building meta-aws/master-next with kirkstone and it failed to build with a linking error:
aarch64-poky-linux/11.3.0/ld: CMakeFiles/kvs_gstreamer_sample.dir/samples/kvs_gstreamer_sample.cpp.o: undefined reference to symbol 'strtoi32'
I am adding the following in my bbappend since we need gstreamer. It looks like the gstreamer sample is missing an include or a define for STRTOI32.
This is my amazon-kvs-producer-sdk-cpp_%.bbappend
`DEPENDS:append = " curl log4cplus openssl gstreamer1.0 gstreamer1.0-plugins-base "
EXTRA_OECMAKE:remove = "-DBUILD_GSTREAMER_PLUGIN=OFF"
EXTRA_OECMAKE:append = "-DBUILD_GSTREAMER_PLUGIN=ON"
FILES:${PN}:append = " ${libdir} "
FILES:${PN}:append = " ${libdir}/gstreamer-1.0 "
FILES:${PN}:append = " ${libdir}/gstreamer-1.0/libgstkvssink.so "
FILES:${PN}:append = " ${libdir}/libKinesisVideoProducer.so "
do_install:append() {
install -d ${D}${libdir}
install -d ${D}${libdir}/gstreamer-1.0
install -m 755 ${B}/libgstkvssink.so                                            ${D}${libdir}/gstreamer-1.0/libgstkvssink.so
install -m 755 ${B}/libKinesisVideoProducer.so                                  ${D}${libdir}/libKinesisVideoProducer.so
}`

my recent commit now disable building the test and add an option the configure gstreamer via packageconfig. This should make your bbappend obsolete. Please try to confirm.

I built and installed using t08d62031c3db8 on master-next.
All I needed was
amazon-kvs-producer-sdk-cpp_%.bbappend:
PACKAGECONFIG:append = " gstreamer "

ant the resulting binary ran, created streams on the fly, and the video was viewable.
ty!!!

cool, this change will be merged into kirkstone till tmr.
Also be aware of setting PACKAGECONFIG in local.con etc.
https://docs.yoctoproject.org/ref-manual/variables.html?highlight=packageconfig#term-PACKAGECONFIG

Hi there, I'd like to reopen the issue, since I am getting the kvs_gstreamer_sample.cpp.o: undefined reference to symbol 'strtoi32' error with PACKAGECONFIG:append = " gstreamer" on the mickledore branch. Is there a pending patch that I must add to SRC_URI?

Hi,
thanks for reaching out - probably a backport from scarthgap or master is necessary. Can you test if that works for you?
https://github.com/aws4embeddedlinux/meta-aws/tree/scarthgap/recipes-sdk/amazon-kvs-producer-sdk
Also consider switching to a newer Yocto release such as scarthgap, as mickledore release is EOL already and is not actively maintained.

Hi,
thanks for reaching out - probably a backport from scarthgap or master is necessary. Can you test if that works for you?
https://github.com/aws4embeddedlinux/meta-aws/tree/scarthgap/recipes-sdk/amazon-kvs-producer-sdk
Also consider switching to a newer Yocto release such as scarthgap, as mickledore release is EOL already and is not actively maintained.

Hi, thanks for your reply. Bumping yocto and supporting the latest releases is planned, unfortunately the versions to support on our side is determined by the various BSP layers that we depend on, some of them still provide support only for up to mickledore at the moment.
Can you point to me the back port fix you are referring to? If it is cherry-pickable, I can test it and suggest to apply it on the meta-aws mickledore branch, otherwise I'll bbappend the fix onto 3.4.1 on my side.

Hi, meant just copying the whole folder: https://github.com/aws4embeddedlinux/meta-aws/tree/scarthgap/recipes-sdk/amazon-kvs-producer-sdk to mickledore and see if that works.

@thomas-roos what I've done is used the scarthgap branch for meta-aws and force LAYERSERIES_COMPAT_meta-aws:prepend = "mickledore ". The compilation now fails with undefined reference to symbol 'globalThreadSleep'.

Give me 30min - I'm about to backport this.

I do not have any compile issues - this is the backport PR: https://github.com/aws4embeddedlinux/meta-aws/pull/9154
Once merged please test with mickledore-next branch and provide feedback if this solves your issue. Thank you

Merged, and also merged to mickledore branch. Just  do an update. Please provide feedback.

I've used your https://github.com/thomas-roos/meta-aws/tree/2024-07-25_mickledore-next_backport-kvs and this result in the same undefined reference to symbol 'globalThreadSleep' error, as with the scarthgap branch. It does not surprise me if this is a simple backport. It is interesting that you do not have an error though.  Maybe try bitbake -c cleansstate amazon-kvs-producer-sdk-cpp first? Also, do you have gstreamer in its PACKAGECONFIG?

I see now the issue. This is understood. Will dive into this.

This is a Cmake link error as it seems: https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/1197
Patched it here: https://github.com/aws4embeddedlinux/meta-aws/pull/9168
please confirm

libgstkvssink.so is now being built, tested on both mickledore-next and scarthgap-next, feel free to add my Tested-by!


add documentation

What's missing now?

info about Kotlin app, which gonna be added
info about tests
info about download


SUCCESSFULLY ENHANCED THE DONATE BOOKS SECTION AND MADE IT INTERACTIVE

Related Issue #3529
SOLVED ISSUE: #3529 ENHANCING THE DONATE BOOKS SECTION
[“None”]
Fixes:  #3529
Description
Here are the key points outlining the enhancements made to the "Donate Books" section:
Advanced Hover Effects on Cards:
Each card now has smooth scaling and shadow effects on hover, giving them a modern, interactive feel.
Button Styling and Interactivity:
Buttons were improved with rounded corners, color transitions, and scaling effects, making them more visually appealing and responsive to user interaction.
Responsive Layout with Flexbox:
Flexbox was used to ensure the layout is responsive, keeping the cards aligned and well-spaced across various screen sizes.
Semi-Transparent Card Backgrounds:
The card backgrounds were made semi-transparent, creating a sleek and professional appearance while maintaining content readability.
Consistent Button Positioning:
Buttons were aligned uniformly across all cards to create a consistent and polished design.
Improved Card Design:
Cards were enhanced with rounded corners, shadowing, and optimized spacing, giving them a professional and clean look.
Smooth Transitions:
Transitions for hover effects were added, creating a seamless user experience as elements transform smoothly on interaction.
Modern Font and Color Scheme:
A modern, clean font was used along with a consistent color scheme, enhancing the overall aesthetics of the section.
These changes collectively improved the usability, interactivity, and visual appeal of the "Donate Books" section.
SOLVED ISSUE: #3529 ENHANCING THE DONATE BOOKS SECTION
Type of PR

[ ] Bug fix
[ ** ] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Screenshots / videos (if applicable)
https://github.com/user-attachments/assets/c5a33965-1bc3-41f2-ac5a-cde39551f238

Checklist:

[ * ] I have made this change from my own.
[ * ] I have taken help from some online resources.
[ * ] My code follows the style guidelines of this project.
[ * ] I have performed a self-review of my own code.
[ * ] I have commented my code, particularly in hard-to-understand areas.
[ * ] I have made corresponding changes to the documentation.
[ * ] My changes generate no new warnings.
[ * ] I have tested the changes thoroughly before submitting this pull request.
[ * ] I have provided relevant issue numbers and screenshots after making the changes.

RESPECTED SIR, I HAD SUCCESSFULLY RESOLVED MY ISSUE AND MADE IT INTERACTIVE AND EFFECTIVE SO I HUMBLY REQUESTIN G YOU TO PLEASE REVIEW THE CHANGES AND LET ME KNOW ANY ADDITIONS NEEDED. OR MERGE THE PR. PLEASE @anuragverma108

@dnyanesh99borse  , chk the website preview , the donate books section is completely messed up . Fix it , create new pr for it.


When a failure happens inside a within (using Nightmare), all subsequent scenarios retain the selector context

What are you trying to achieve?

Scenario 1 fails inside a within block
Scenario 2 executes with a clean context, and messaging reflects this

What do you get instead?

Scenario 1 fails inside the within block
Scenario 2 executes in the context from the first scenario's within, or at least the messaging seems to indicate as much. Some tests continue to pass, while others fail even though a manual run works fine.
When a subsequent scenario has its own within, the new context is used until that block closes, then we return to the selector context from the failed scenario.

The following examples are contrived, but should demonstrate the issue...
Example Output
 Page Feature 1
 • I am on page "...url..."
 • I see element ".some .selector .on .page"
   Within .some .selector .on .page form:
   • Within .some .selector .on .page form: I see element "label select[name="foo"] option:nth-child(2)"
 ✖ FAILED in 2354ms

 Page Feature 2
   • Within .some .selector .on .page form: I am on page "...url..."
   • Within .some .selector .on .page form: I see element "main > .second .scenario .wrapper"
 ✖ FAILED

Example Code
let url = `...url...`; // actual URL used is internal and cannot be shared, but shouldn't matter

Scenario(`Page Feature 1`, (I) => {
    let WRAPPER = `.some .selector .on .page`;

    I.amOnPage(url);
    I.seeElement(WRAPPER);

    within(`${WRAPPER} form`, () => {
        I.seeElement(`label select[name="foo"] option:nth-child(2);
        I.say(`We never get this far because the above line fails.`);
    });

    I.say(`Likewise we never execute anything down here, due to the earlier failure inside the within`);
});

Scenario(`Page Feature 2`, (I) => {
    // New scenario, obviously not in the previous one's within block
    let WRAPPER = `main > .second .scenario .wrapper`;

    I.amOnPage(url);
    I.seeElement(WRAPPER);
    // why did the above say they were within the previous scenario's form?!?
});

Details

CodeceptJS version:
NodeJS Version: 6.9.1
Operating System: ^0.5.0
Protractor || WebDriverIO || Nightmare version (if related): Nightmare ^2.7.0
Configuration file:

var config = {
    tests: "./lib/functional/run.functional.suite.js",
    timeout: 20000,
    output: "./test-reports",
    helpers: {
        Codecept: {
            require: "./lib/codecept/helpers.js"
        }
    },
    include: {
        I: "./lib/codecept/steps.js"
    },
    mocha: {
        "reporterOptions": {
            "mochaFile": "./test-reports/functional_results.xml"
        }
    },
    name: "test"
};

I suspect https://github.com/Codeception/CodeceptJS/blob/master/lib/within.js#L24
that line can be try-caught so that next lines executes without halt.

Raised a PR #457 to fix this issue

fixed with https://github.com/Codeception/CodeceptJS/pull/584. Will be released in 1.0


[PY] feat: SSO-token-exchange

WIP
Linked issues
closes: #1870
Details
Focuses on token concepts as relates to SSO, as provided in the py-sso branch started by @lilyydu
https://github.com/microsoft/teams-ai/tree/lilyydu/py-sso
Change details

Describe your changes, with screenshots and code snippets as appropriate

code snippets:
screenshots:
Attestation Checklist

[ ] My code follows the style guidelines of this project

I have checked for/fixed spelling, linting, and other errors

I have commented my code for clarity

I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient)

My changes generate no new warnings

I have added tests that validates my changes, and provides sufficient test coverage. I have tested with:

Local testing
E2E testing in Teams

New and existing unit tests pass locally with my changes

Additional information

Feel free to add other relevant information below

OK so, much more familiar with SSO and tokens now.
I see that the primary "exchange" behaviors occur in sso_prompt.py.
Such as acquire_token_from_cache().
Now, this goes through sso_dialog.py as the route to sso.py. (as an init'ed attribute in the SsoAuth class.)
sso_prompt.py has several check style methods such as _recognize_token() , and the concepts around caching.
My question @lilyydu is: Do we need/want to bring any other "checking / verifying" steps to sso.py itself to guard the token acquisition or are needs met?

I believe this is ready for review and closeout. Token exchange may need to be revisited when we consider bots, but there's at least some good coverage now.

interesting, the lint error here is not related to the changed files:

==================================== ERRORS ====================================
________ ERROR collecting tests/ai/planners/test_assistants_planner.py _________
tests/ai/planners/test_assistants_planner.py:535: in <module>
    class TestAssistantsPlanner(IsolatedAsyncioTestCase):
tests/ai/planners/test_assistants_planner.py:650: in TestAssistantsPlanner
    Run(
E   pydantic_core._pydantic_core.ValidationError: 1 validation error for Run
E   parallel_tool_calls
E     Field required [type=missing, input_value={'id': '234', 'thread_id'...hread.run', 'tools': []}, input_type=dict]
E       For further information visit https://errors.pydantic.dev/2.8/v/missing
=============================== warnings summary ===============================
.venv/lib/python3.11/site-packages/recognizers_number/number/extractors.py:37
  /home/runner/work/teams-ai/teams-ai/python/packages/ai/.venv/lib/python3.11/site-packages/recognizers_number/number/extractors.py:37: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if source is None or len(source.strip()) is 0:

.venv/lib/python3.11/site-packages/recognizers_date_time/date_time/utilities.py:552
  /home/runner/work/teams-ai/teams-ai/python/packages/ai/.venv/lib/python3.11/site-packages/recognizers_date_time/date_time/utilities.py:552: SyntaxWarning: 'int' object is not subscriptable; perhaps you missed a comma?
    bias = 0[0]

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

---------- coverage: platform linux, python 3.11.9-final-0 -----------
Coverage HTML written to dir coverage/html
Coverage LCOV written to file coverage/lcov.info

!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 2 warnings, 1 error in 7.13s =========================
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/runner/work/teams-ai/teams-ai/python/packages/ai/scripts/test.py", line 10, in test
    subprocess.run(["poetry", "run", "pytest"], check=True)
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['poetry', 'run', 'pytest']' returned non-zero exit status 2.
Traceback (most recent call last):
------ Package[ai] ------
  File "/home/runner/work/teams-ai/teams-ai/python/scripts/test.py", line 13, in <module>
    subprocess.run(["poetry", "run", "test"], cwd=e.absolute(), check=True)
  File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['poetry', 'run', 'test']' returned non-zero exit status 1.

I'm aware of the TestAssistantsPlanner.py fix, its unrelated to this work, but reflects that py-sso may be out of date with main.
Shall I ignore the lint flow error, or add the TestAssistantsPlanner.py fix parallel_tool_calls=True to this PR?

testing updated branch now.


HIGH PRIORITY: Observation Components in profile are missing valueQuantity

See the IG page for HER2ReceptorStatusISH (url ends in StructureDefinition-oncology-HER2ReceptorStatusISH.html) in ballot IG, generated from may-2018-ballot branch.
Note that valueQuantity is missing from the profile in two of the components. I've looked at the CIMPL spec and it seems ok. Not sure how widespread this problem might be (does it affect other component value types?)

Fixed.

Yes


Write a Python program to print inverted pyramid pattern

Description
Write a Python program to print inverted pyramid pattern
Input   : 5

Output :
1 2 3 4 5
1 2 3 4
1 2 3
1 2
1

Contributed by - @PraaneshSelvaraj

How to contribute

Save the solution in print-inverted-pyramid-pattern.py file
Add print-inverted-pyramid-pattern.py file in program/print-inverted-pyramid-pattern folder

!assign


Bug: duplicate inputs counted multiple times

What it says on the tin. Slapping the same gene in multiple times results in the final count for each term being misleading:

Uniquify the inputs on submission before anything else is done.

This is a not a bug it is a feature :-)
though it is debatable whether it is appropriate and whether imposing uniqueness is better
The tool also accepts GO terms as input,  so you could put in terms such as
GO:0016023
One can even mix symbols and GO terms in the same input list.
some enrichment tools, like G:Profiler may produce GO: terms as output
in those cases the tool will add up the GO terms and produce the counts according to how many times a term was present, so it can be used to summarize GO terms,
thus this behavior has utility and is not a mere oversight

Hmm, perhaps a toggle then to enforce uniqueness? As a user, I don't think this is behavior I'd expect by default, so at least making it a little more clear in the documentation would be helpful.

The behavior has utility so it has been kept as such, but a note is made in the docs about counting repeated elements.


Very unstable behaviour in Visual Studio, suggested completion text keeps refreshing and looks glitchy

I am experiencing strange continued refreshing and displaying behaviour of the suggested text.
Text looks kind of duplicately printed at moments.
The Codeium log output in the Output window also shows repetitive new output quite often.
Messages like "RequestProposalsAsync - Language: C#; Caret: 112; ASCII: False" keep appearing.
(I am not sure if that's actually unusual behaviour though or if it is really normal to be logged that often.)
It's almost like some kind of timer is continuously activated. Maybe there is some kind of repetitive failure on the background?
Although that does not explain why the text looks the way it does.
The text editing experience also seems slow as it seems and I noticed moments of high CPU usage (not fully sure if it's all related however).
I already logged out and logged in again, but that also didn't change anything. Nor do reboots solve anything.
Note that I haven't noticed issues in VS Code yet though. It's really just VS as it seems.

Any news here? Because I am still experiencing this issue.

You need to disable Intellicode.

You need to disable Intellicode.

Thanks for the advice, I have done this, or at least "whole line completions" and "Promote likely items in IntelliSense completion lists", but I still experience issues, maybe a little bit less often, but it's not completely solved.
What am I missing?
And actually the experience is even worse now, because now when pressing the Tab key the normal IntelliSense menu gets precedence over the AI completion, while I am pretty sure that also worked differently earlier. But it's problematic anyway.
Maybe we should have different shortcut keys here. I am not sure if this is already possible.
But I couldn't find any documentation about that yet.


java.lang.RuntimeException: Missing some input keys: {'query'} for source record KafkaRecord.KafkaConsumerRecord

When I try to test my Python processor by entering a question in the LangStream UI, I get this exception.
10:36:14.447 [grpc-default-executor-1] INFO  a.l.r.agent.StandardErrorsHandler -- Handling error java.lang.RuntimeException: Missing some input keys: {'query'} for source record KafkaRecord.KafkaConsumerRecord(record=ConsumerRecord(topic = questions-topic, partition = 0, leaderEpoch = 0, offset = 0, CreateTime =<PHONE_NUMBER>128, serialized key size = -1, serialized value size = 38, headers = RecordHeaders(headers = [RecordHeader(key = langstream-client-session-id, value = [116, 56, 110, 73, 117, 97, 88, 52, 49, 74, 106, 97, 66, 106, 52, 54])], isReadOnly = false), key = null, value = What's a key part of the specified strategy?)), errors count 1 (max retries 0)
10:36:14.452 [grpc-default-executor-1] ERROR a.l.runtime.agent.AgentRunner -- Unrecoverable error while processing the records, skipping
java.lang.RuntimeException: Missing some input keys: {'query'}
        at ai.langstream.agents.grpc.GrpcAgentProcessor.fromGrpc(GrpcAgentProcessor.java:125)
        at ai.langstream.agents.grpc.GrpcAgentProcessor$1.lambda$onNext$0(GrpcAgentProcessor.java:158)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at java.base/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
        at ai.langstream.agents.grpc.GrpcAgentProcessor$1.onNext(GrpcAgentProcessor.java:144)
        at ai.langstream.agents.grpc.GrpcAgentProcessor$1.onNext(GrpcAgentProcessor.java:134)
        at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onMessage(ClientCalls.java:474)
        at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInternal(ClientCallImpl.java:675)
        at io.grpc.internal.ClientCallImpl$ClientStreamListenerImpl$1MessagesAvailable.runInContext(ClientCallImpl.java:660)
        at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
        at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:833)
10:36:15.437 [grpc-default-executor-1] INFO  a.l.k.runner.KafkaConsumerWrapper -- Current position on partition questions-topic-0 is nullquery

I looked at how the message is being sent by the UI, and index.html sends the message like this:
handler.producer.send(JSON.stringify({value: message}))
It's not clear to me what the schema is of the message object, but it doesn't appear to have a query property.
In my pipeline for the chatbot, I tried doing something like this:
pipeline:
  - name: "Transform Query"
    type: "compute"
    input: "questions-topic"
    configuration:
      fields:
        - name: "value.query"
          expression: "value.value"
          type: STRING

but it's not even getting that far before giving the same gRPC exception.
If I remove that snippet, here is the pipeline:
topics:
  - name: "questions-topic"
    creation-mode: create-if-not-exists
  - name: "answers-topic"
    creation-mode: create-if-not-exists
  - name: "log-topic"
    creation-mode: create-if-not-exists
pipeline:
  - name: "Implemented a chat-bot using OpenAI and LangChain"
    id: "chatbot"
    type: "python-processor"
    output: "answers-topic"
    errors:
      on-failure: "skip"
    configuration:
      className: "langchain_chat.LangChainChat"
      astra-db-keyspace: "{{ secrets.astra-langchain.keyspace }}"
      astra-db-table: "{{ secrets.astra-langchain.table }}"
      resources: # This mapping will be replaced by the configuration.yaml in the next release.
        openai:
          access-key: "{{secrets.open-ai.access-key}}"
          provider: "azure"
          deployment: "gpt-35-turbo-16k"
        database:
          token: "{{secrets.astra-langchain.token}}"
          database-id: "{{secrets.astra-langchain.database-id}}"
      environment:
        - key: "OPENAI_API_TYPE" # Required to use OpenAIEmbeddings with Azure endpoint
          value: "azure"
        - key: "OPENAI_API_VERSION" # Required to use OpenAIEmbeddings with Azure endpoint
          value: "2023-05-15"
        - key: "OPENAI_API_KEY" # Required to use OpenAIEmbeddings with Azure endpoint
          value: "{{secrets.open-ai.access-key}}"
        - key: "OPENAI_API_BASE" # Required to use OpenAIEmbeddings with Azure endpoint
          value: "{{secrets.open-ai.url}}"
        - key: "AZURE_OPENAI_API_ENDPOINT" # Required to use AzureChatOpenAI
          value: "{{secrets.open-ai.url}}"
        - key: "AZURE_OPENAI_API_KEY" # Required to use AzureChatOpenAI
          value: "{{secrets.open-ai.access-key}}"

Here is the Python processor:
import os
from langstream import Processor, SimpleRecord
from operator import itemgetter
from typing import Dict, List, Optional, Sequence, Any
from langchain.vectorstores.cassandra import Cassandra
from langchain.chat_models import ChatOpenAI, AzureChatOpenAI
from langchain.embeddings import OpenAIEmbeddings
from langchain.chains import RetrievalQA
import cassio
import logging

class LangChainChat(Processor):

    def init(self, config):
        logging.info("Initializing LangChain Chat with config %s", config)
        # the values are configured in the resources section in configuration.yaml
        self.openai_key = config["resources"]["openai"]["access-key"]
        self.astra_db_token = config["resources"]["database"]["token"]
        self.astra_db_id = config["resources"]["database"]["database-id"]
        self.astra_keyspace = config["astra-db-keyspace"]
        self.astra_table_name = config["astra-db-table"]
        self.deployment = config["resources"]["openai"]["deployment"]

        cassio.init(token=self.astra_db_token, database_id=self.astra_db_id)

        self.embedings_model = OpenAIEmbeddings(openai_api_key=self.openai_key)

        self.astra_vector_store = Cassandra(
            embedding=self.embedings_model,
            session=None,
            keyspace=self.astra_keyspace,
            table_name=self.astra_table_name,
        )

        self.llm = AzureChatOpenAI(
            deployment_name=self.deployment,
            streaming=True,
            temperature=0,
        )
        # ^^ key obtained from env var: AZURE_OPENAI_API_KEY
        # version obtained from env var: OPENAI_API_VERSION

        self.retriever = self.astra_vector_store.as_retriever()

        self.answer_chain = RetrievalQA.from_chain_type(
            llm=self.llm, chain_type="stuff", retriever=self.retriever
        )

    def process(self, record):
        question = record.value()
        response = self.answer_chain.invoke({
            "question": question,
            "chat_history": []
        })
        return [SimpleRecord(response, headers=record.headers())]

Here is the gateway:
gateways:
  - id: "user-input"
    type: produce
    topic: "questions-topic"
    parameters:
      - sessionId
    produceOptions:
      headers:
        - key: langstream-client-session-id
          valueFromParameters: sessionId

  - id: "bot-output"
    type: consume
    topic: "answers-topic"
    parameters:
      - sessionId
    consumeOptions:
      filters:
        headers:
          - key: langstream-client-session-id
            valueFromParameters: sessionId

do you have more logs ? it seems an error in the python runtime.

After upgrading to Langstream 0.4.3, I get slightly different behavior. Now, it just seems to do nothing when I send a message through the UI. Here are the logs:
langstream_rag_logs.log
The code to reproduce it is here: https://github.com/devinbost/langstream/tree/azure-chatbot/examples/applications/azure-document-ingestion
(The readme is outdated.)

Missing some input keys is a langchain error.
The logs could be better to explain where the error comes from.
Do you have unit tests ? It would help you to debug locally.

I think this comes from the prompt template. Since you didn't specify one, it's probably picking a default one but I don't know which one.

See https://python.langchain.com/docs/use_cases/question_answering/vector_db_qa
The param name is indeed named query for the retriever

@cbornet You're absolutely right that was a LangChain issue. I remember now that I ran into this issue with LangChain once before when I tried adding conversational memory to a Q&A chain. It didn't cross my mind because the stack trace threw me off. I applied a change that fixed the issue in a previous project. However, due to the issue below, I can't determine if the change fixed the issue or not.
After I upgraded to Langstream 0.4.3, I'm not getting any logs when I send a message through the UI. What should I check next?

Here's a thread dump:
langstream_jstack.log

I found the issue. This was a clue:
17:39:16.394 [ws-consume-1] WARN  o.a.k.c.c.i.ConsumerCoordinator -- [Consumer clientId=consumer--1, groupId=] Offset commit failed on partition answers-topic-0 at offset 0: This is not the correct coordinator.
I checked the pipeline.yaml input and output topics, and somehow I had inadvertently deleted the input line from the pipeline config.
After setting it back to "questions-topic", it started working as desired.


python310Packages.marshmallow-dataclass: 8.5.13 -> 8.5.14

Diff: https://github.com/lovasoa/marshmallow_dataclass/compare/refs/tags/v8.5.13...v8.5.14
Changelog: https://github.com/lovasoa/marshmallow_dataclass/blob/v8.5.14/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 228600 run on x86_64-linux 1

17 packages built:

home-assistant-component-tests.renault
python310Packages.cairo-lang
python310Packages.cairo-lang.dist
python310Packages.lektor
python310Packages.lektor.dist
python310Packages.marshmallow-dataclass
python310Packages.marshmallow-dataclass.dist
python310Packages.renault-api
python310Packages.renault-api.dist
python311Packages.cairo-lang
python311Packages.cairo-lang.dist
python311Packages.lektor
python311Packages.lektor.dist
python311Packages.marshmallow-dataclass
python311Packages.marshmallow-dataclass.dist
python311Packages.renault-api
python311Packages.renault-api.dist


Multiple parameter functions are miscolored

In version 0.1.2, parameters were uniformly colored, for instance:

In version 0.2.0, the first parameter is colored, but the rest are still white:

I have temporarily downgraded to 0.1.2, which has the correct coloring for parameters.
P.S. --> this is an awesome theme!

Having the same problem. Looks quite annoying, would be great to fix it.
@krrg can you please explain how you downgraded to the previous version?

Should be fixed now! Sorry about that.

Looks good, thanks @silvestreh
@alexbeletsky  --- to downgrade to a specific version, I used the apm command line tool (it should be installed as part of atom).
apm remove atom-material-syntax
apm install<EMAIL_ADDRESS>
The latest update fixes the issue, so you (hopefully) won't need to downgrade.


Update C++ sandbox-build instructions

Context: #997

Codecov Report
Patch coverage has no change and project coverage change: -13.53 :warning:

Comparison is base (a4fd867) 80.36% compared to head (fd0f039) 66.84%.

:exclamation: Current head fd0f039 differs from pull request most recent head 9191dbb. Consider uploading reports for the commit 9191dbb to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1025       +/-   ##
===========================================
- Coverage   80.36%   66.84%   -13.53%
===========================================
  Files          72       42       -30
  Lines        3891     1716     -2175
===========================================
- Hits         3127     1147     -1980
+ Misses        764      569      -195

Flag
Coverage Δ

python
?

r
66.84% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

apis/python/src/tiledbsoma/_exception.py

apis/python/src/tiledbsoma/_constants.py

...hon/src/tiledbsoma/options/_soma_tiledb_context.py

apis/python/src/tiledbsoma/_funcs.py

apis/python/src/tiledbsoma/eta.py

apis/python/src/tiledbsoma/_general_utilities.py

apis/python/src/tiledbsoma/_tiledb_object.py

apis/python/src/tiledbsoma/_factory.py

apis/python/src/tiledbsoma/_dataframe.py

apis/python/src/tiledbsoma/_sparse_nd_array.py

... and 20 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Updated wording @nguyenv @gspowley @eddelbuettel


cron job!!

I added a simple route for cron-job.org to hit every 15 minutes in order to keep heroku awake.

@Luke9389 I believe you have the heroku access for this one. Please deploy new build to heroku when you get the chance.


Computer Vision key versus managed identity

It looks like from the /infra that Computer Vision uses a key whereas the rest of the Azure services use managed identity/service principals/roles.
Is it possible to change away from key for this service to use MI/SP/RBAC roles?

Good question! I am attempting it in this PR:
https://github.com/Azure-Samples/azure-search-openai-demo/pull/1062
It works locally but not with the managed identity on App Service. I am awaiting further advice from vision team (in a teams thread).

Fixed! We use MI now.


FY2020Q3 content refresh & port module to MS Learn

Updated README to point to the new MS Learn module (merged, will go live in next site update) & updated slides to match MS Learn.

updated module to SPFx v1.10
remove lab
lab exercises point to MS Learn module exercises
updated slide deck presenter notes from MS Learn module

thx @andrewconnell, appreciated. Sorry for the delay on processing.


fix default envoy route behavior

envoy route should be enabled by default, unless specified otherwise via dspa CR

A new image has been built to help with testing out this PR: quay.io/opendatahub/data-science-pipelines-operator:pr-687
An OCP cluster where you are logged in as cluster admin is required.
To use this image run the following:
cd $(mktemp -d)
git clone git@github.com:opendatahub-io/data-science-pipelines-operator.git
cd data-science-pipelines-operator/
git fetch origin pull/687/head
git checkout -b pullrequest 67fd52986faf381182dc6fb8148cae2345034109
oc new-project opendatahub
make deploy IMG="quay.io/opendatahub/data-science-pipelines-operator:pr-687"

More instructions here on how to deploy and test a Data Science Pipelines Application.

/hold

/unhold

see below for dspo + dashboard deployment, dspo using the image build from this pr, and dashboard from rhoai 2.11

in this demo, the ds-project + pipeline server is provisioned via dashboard
as you can see, I am able to list executions/artifacts via dashboard

/lgtm
/approve


Solid background color

Hello. Can you guys add option in styling that allow to pick solid background color for visualizer? I'm using your software with OBS. And now I have to use green wallpapers for my desktop to be able to capture visualizer and make background transparent. Maybe I can do this in some ini file?

Hello MeastroMagnifico,
thanks for your feedback! Sadly i have to inform you that i will not implement your feature to the skin because it is really specific and it will probably not be used often.
You can try to create a simple skin with a solid color yourself with the help of the Rainmeter documentation and the official Rainmeter forums.


Clarify docs on HttpRequest.PathBase

(related #17590)

There is some guidance given on the feature interface, but it doesn't mention trailing slashes.
https://github.com/aspnet/AspNetCore/blob/0fd9f27d60f727ad9b769f72de5dfae8f840a456/src/Http/Http.Features/src/IHttpRequestFeature.cs#L31-L42
Here's at least one place I remember writing guidance about trailing slashes:
http://owin.org/html/spec/owin-1.0.1.html#5-3-paths
MUST NOT end with a slash and MUST either start with a slash or be String.Empty.


generate-nfts-sources not working?

Hi everyone,
I've followed the guide from quicknode as well as the documentation from this very repo and after creating a collection and its NFTs, the command yarn update-creator-all-rows works as intended but then yarn generate-nfts-sources, after asking if I want to randomize or not is done in around 1-2 seconds and no outputs can be seen anywhere. They should be landing in the cloned repo folder under nfts-sources correct?
Thanks

Make sure you have published the collection and the nfts associated, had the same issue before I realized.

Hey @Sptz @sdkayy NFT Manager support has been dropped. From now on, use third party tools to create your sources. Creating the candy machine and the web app that connects to it, still remains supported by this repo and is it sole goal from now on. I have suggested some tools for generating sources here https://github.com/kevinfaveri/solana-candy-factory#others-tools


It's not work!

sequence-diagram.js:792 Uncaught ReferenceError: Raphael is not defined
at sequence-diagram.js:792
at sequence-diagram.js:1468


Add crystal tool flags

This is a simple tool to print all macro flag? values. It's useful to compare them with the documentation (https://github.com/crystal-lang/crystal-book/pull/734). Nope, they're currently not congruent (https://github.com/crystal-lang/crystal-book/pull/735).

If this is specific to us, wouldn't it make sense to have it as a separate tool? (or even a sed script?)

No this is not specific for the compiler/stdlib. It should be generally useful for any Crystal program that uses compile time flags.

The thing is that listing the flags without any explanation isn't that useful. There's the documentation for that 🤔

Yeah, the main purpose of the tool is is to support being able to document them. It inform which flags are used so you can make sure they're all documented.

Right, then I don't think it belongs in the compiler

Scrap that last message and sorry for the confusion. This is good, although, can we have tests?


ECMAScript exceptions are interfaces

Sorry, I should have raised this earlier in the discussion, but the exception types should be ECMAScript are interfaces (or there should be interfaces and exceptions defined).
In WebIDL, the literal string "SyntaxError" is defined as an interface:

https://heycam.github.io/webidl/#syntaxerror

"<dfn class="dfn-paneled idl-code" data-dfn-type="exception" data-export="" id="syntaxerror">SyntaxError</dfn>"

The same with the rest.
While, DOMException is the interface of those exceptions.
Similarly, in ECMAScript, I'd argue that that SyntaxError is an interface, for a "SyntaxError" type (SyntaxError has a constructor).

Actually, never mind. The bug is actually, SyntaxError type is not in the data.


The First Prototype

Users can login and take a quiz. There is a student quiz for them to answer and a teacher quiz for the admin to edit. There is also a sign out button. For now, we need to fix the account on the iFrame (doesn't match the login status of the html page). We also removed the API keys and created a "test files" folder which holds our test code. Lastly, servlets are not functional so no need to check them out.

@googlebot I fixed it.

@googlebot I fixed it.

@707090 We deleted the "test files" since they are not needed and purely for testing and we also deleted the servlets since we did not use them. Sorry about that, Kyle and I will keep the PR "ready" to merge into master from now on.