User Group for sharing note to each other

Is your feature request related to a problem?
that would be great for memos to have feature like group users that let users in that group share notes to each other
Describe the solution you'd like
add group for users
Additional context
No response

One memos server instance can be seen as one user group.


[Snyk] Fix for 1 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

649/1000  Why? Has a fix available, CVSS 8.7
Forgeable Public/Private Tokens npm:jws:20160726
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Forgeable Public/Private Tokens

fix


unified_analytics and graphs: cleanup lints, bump pkg deps

I'm about to merge in

https://github.com/dart-lang/tools/pull/95

Which will be bumping the analytics package to 2.0.0 actually. I'll request changes once that is changed.
But I'm curious as to why there were so many changes to how I typed variables? Is that how we want to handle code within dart-lang repos?


correct test name to maximum instead of minimum

This test appears to test the maximum end of the range, as the test before tested the minimum end of the range.

Thanks!


Implement a high-level rust api

We would like to establish a high-level Rust API. I will update the current proposal here, people should feel free to comment to suggest changes. Reacts would be helpful for those who agree with any opinion expressed.
API state space
We have 7 hyperdrive actions:

open long
close long
open short
close short
add liquidity
remove liquidity
redeem withdraw shares

We have 3 hyperdrive units:

base
shares
bonds

We have 2 hyperdrive entities:

user (wallet)

generally communicates in "base" and "bonds"

pool (reserves)

generally communicates in "shares" and "bonds"

We have 3 typical actions:

preview a trade from a user's perspective

output is deltas to be applied to user's wallet

preview a trade from pool's perspective

output is deltas to be applied to a pool's reserves

"action"

actually performs the trade & updates state

Function signatures
We should establish a single convention for how to name functions.
Data structures
Output signatures could have a unified Result data structure that always contains every value (even if it's sometimes zero).
e.g. result.pool.share_delta vs result.user.base_delta

Related to https://github.com/delvtech/hyperdrive-rs/issues/30 where we suggest a higher-level API for the calculate_targeted_* functions.

I like returning deltas in an object that specifies entity and metric/unit.
For now I'm listing every item, but for a high level API it makes sense to group some of these (like combining curve and flat fees). Maybe not show fees at all?

Entity
Base
Bonds
Shares

user
-100
104.95
-100

pool
99.9952
-104.955
99.9952

user_curve_fee
0.0475964
0
0.00475964

user_flat_fee
0
0
0

lp_curve_fee
0.0428367
0
0.0428367

lp_flat_fee
0
0
0

governance_fee
0.00475964
0
0.00475964

governance_flat
0
0
0

really explicit parsing of the return object makes it hard to footgun:
deltas = function(...)
deltas.user.base ...
deltas.pool.bonds ...

I like enabling user-facing functions to take either unit as input:

open long with bonds as input predict_trade_test.py#L111
open short with base as input predict_trade_test.py#L128

maybe instead of saying we have 3 action types, we could simplify to we have 2 action types (calc and execute) with the additional permutation of perspective being a choice (user or pool). this choice can be applied to any amount passed in: user_bond_amount or pool_bond_amount instead of bond_amount.

related to https://github.com/delvtech/hyperdrive-rs/issues/37


[IMPROVEMENT] Don't delete drawing when changing orientation

@Nykolas88 Thanks for raising this issue. Will fix this in next release.

can you write the code to delete images

@AyoubAnbara What do you mean by delete images?

you should add erase function also


⚠ Bofrost.be has degraded performance

In 1d4e208, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1113 ms

Resolved: Bofrost.be performance has improved in 06934af.


[Feat]: Click on a technology to use as a filter

What feature?
It would be nice if users could click on a technology in a user's profile card and then the displayed users on the homepage should be filtered down based on the selected technology. Similar to how GitHub labels work.
The feature could be further enhanced when #240 is completed so users can select multiple technologies and filter based on those.
Add screenshots
Add screenshots
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Oh, seems this one of the features #240 adds.


Simplify create_credential parameters and remove RevocationRegistryId

As far as I understand, there's no such thing as a RevocationRegistryId, since RevocationRegistryDefinitionId covers that usage (for example, see within the Credential structure). Looking at the unit tests they seem to have been used interchangeably. If anything, I think there would need to be a RevocationStatusListId instead. So this PR removes RevocationRegistryId and just uses RevocationRegistryDefinitionId in its place.
When issuing via create_credential, the revocation registry definition ID can be taken from the status list object.
The Python wrapper is updated, but I haven't looked at updating the JS wrappers yet.

Changes to the wrapper seem minimal (besides formatting). @genaris do you have time to update this in the JS wrapper?

I always have time for my beloved anoncreds-rs JS wrapper 😄.

@andrewwhitehead FYI I submitted a PR to this branch updating JS wrappers according to these new changes: https://github.com/andrewwhitehead/anoncreds-rs/pull/1


hat's

This is occasionally useful as a converging function for R.converge: the left branch can produce a function while the right branch produces a value to be passed to that function as an argument.

Could you provide a type signature?


Update GitHub Actions Flow

This pull request introduces an update to the overal GitHub and GitHub actions flow, from the uniformization with the standard YData processes.
The overall process follows the flow expressed in the image below:

Regarding CI/CD:

When there is a Pull Request:

Lint commit message and source code
Execute multi-software tests

When there is a merge to dev:

Create a Prerelease tagged with `major.minor.patch.pre#number"
Execute multi-software tests

When there is a merge to master:

Create a Prerelease tagged with `major.minor.patch.rc#number"
Create a Draft Release
Execute multi-software tests

When there is a Prerelease:

Upload sssets to Release
Publish packages to private PyPi

When there is a Release:

Upload sssets to Release
Publish packages to public PyPi

Codecov Report
Base: 90.91% // Head: 90.91% // No change to project coverage :thumbsup:

Coverage data is based on head (863fa06) compared to base (f0caa4e).
 Consider uploading reports for the commit 91d4d57 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1074   +/-   ##
=======================================
  Coverage   90.91%   90.91%
=======================================
  Files         173      173
  Lines        4930     4930
=======================================
  Hits         4482     4482
  Misses        448      448

Flag
Coverage Δ

py3.8-ubuntu-latest-pandas
90.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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.


Publisher display name

When submitting to Windows Store errors were given to me because the manifest contained value of "Reserved" in the "PublisherDisplayName" rather than a value matching my account publisher name. Looking through issues it seems I'm not the only one affected. This adds an optional command arg to specify a PublisherDisplayName.

:wave: Hey, thank you so much!

...and released as 0.7.2!

Awesome!
On Mon, Jan 9, 2017, 12:03 PM Felix Rieseberg<EMAIL_ADDRESS>wrote:

...and released as 0.7.2!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/felixrieseberg/electron-windows-store/pull/58#issuecomment-271341665,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIKtrfzL9A6SnV5E57dTUO6ysCrpyrDks5rQmhbgaJpZM4LeYIX
.


Tweaks on user roles, builder

@keybase/react-hackers

Bump ^

Things are looking good, however on mobile I'm seeming a double blue badge on Phone and Email service tabs:

I don't think you touched this


[Package Issue]: Microsoft.Office Hash mismatch

Please confirm these before moving forward

[x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[x] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installer hash mismatch.
Brief description of your issue
"Microsoft.Office" WinGet package is downloading version 16.0.18129.20030 of "setup.exe" (InstallerSha256: D6F6FD3FE8EBA8CCEE31A270BA3FC6B6A7A1DE58F4C9B45F40A9F322A84F8B1F)
but WinGet is checking the hash for version 16.0.17830.20162 (InstallerSha256: 335932E68D7A8BFA4FA00BBCDEA09256ED6ECAB2BEDD640E2580B0B43E3B7744)
Which results with an "Installer Hash does not match" error.
Steps to reproduce
winget install -e --id Microsoft.Office
Actual behavior
"Installer hash does not match."
Expected behavior
Installation completing successfully.
Environment
Windows Package Manager v1.9.2507
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.22631.2861
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.24.2507.0
Winget Directories
Logs                               %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\Diag…
User Settings                      %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\sett…
Portable Links Directory (User)    %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User)       %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root              C:\Program Files\WinGet\Packages
Portable Package Root (x86)        C:\Program Files (x86)\WinGet\Packages
Installer Downloads                %USERPROFILE%\Downloads
Links
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting                             State
LocalManifestFiles                        Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride                     Disabled
LocalArchiveMalwareScanOverride           Disabled
ProxyCommandLineOptions                   Disabled
DefaultProxy                              Disabled
Screenshots and Logs

WinGet-2024-10-11-15-04-42.023.log
Edit: WinGet-2024-10-11-15-54-46.987.log
Uploading a fresh log in case the "[CLI ] Failed to remove installer file. Reason: remove: The process cannot access the file because it is being used by another process." line in the original log was throwing anyone. New log doesn't have this but still reproduces the same hash mismatch issue.

Appears to be in the process of being addressed as per https://github.com/microsoft/winget-pkgs/issues/181365

I wasn't able to find PRs to update this package.

I have been using winget upgrade --id Microsoft.Office with no problems until today.
Now I get the following message: No installed package found matching input criteria.
Has this been removed, or is there an alternative id or method to install/upgrade Microsoft 365 in winget?


Add 04_HowTos/CrossmatchTables/How_to_use_pre_crossmatched_tables NB, gals.csv, and join.png

Github won't show the diff for the ipynb file (too long), so my comments here:

"The crossmatch tables at Astro Data Lab are structured as followed:" --> "are named as follows"
Some DL URLs in the NB are noao.edu, others are noirlab.edu; noirlab.edu currently does not work, but we should have the correct SSL certificate any day now. Recommend changing all noao.edu URLs to noirlab.edu
In several places the return value from calling convert(response) is not captured in a Python object, but instead dumped directly into the NB.
--> Recoimmend capturing the return value of convert() to an actual Python object, and then printing it (e.g. df = convert(...))
In several places, replace 'ra' with 'RA', and 'dec' with "Dec" (when referring to 'right ascension' and 'declination'; not when referring to names of columns etc.)
type (morphological model^), and below: ^PSF=stellar, REX=round exponential galaxy, DEV=deVauc, EXP=exponential, COMP=composite, DUP=Gaia source fit by different model.
--> Maybe on the same line?
Where the SQL is written under "Write the query", a sentence or two about the double JOIN could be helpful.
Under "Crossmatch a user-provided data table and a pre-crossmatched table", why is the query run once and the result shown straight in the NB, and then run again and saved to mydb? Better run the query only once (saving to mydb).
The query under "Write a crossmatch query" (the 'qu' query) fails for me with:

"queryClientError: Error: syntax error at or near ";"
LINE 14:             ) as ss on true;

Weirdly, the very next run of the same query, but writing out to mydb, seems to work.

Under "Speed test", the two queries, in two separate cells (good), would benefit from a clear reminder above each cell, which case this is (i.e. "First, running the cross-match ourselves", and "Now, the same but using pre-crossmatched tables"; or something like that.)
Once all cells have been run, the NB's RAM footprint swells to over 4 GB. I think (and hope) that capturing the results of convert() to objects will improve the NB's garbage collection, and thus reduce the footprint. (alternatively, a del df here and there can take care of large and no longer needed objects)
"Write query to randomly select 5 RA/dec targets" --> To make the sentence clearer, propose: "Write query to randomly select five targets (RA/Dec positions)"
In the "Appendix", suggest to add a sentence of motivation, something like "A clear benefit of pre-crossmatched tables is that they contain the positions of the same objects in two datasets. We can use this to e.g. fetch images of an object from both surveys."
I think plt is not imported.
Appendix A3 needs a few words of motivation. What's happening, what goal, etc.
The functions make_cutout_comparison_table(), and _table2 and _table3 surely look almost identical. Try to make a single function, with whatever changes between them simply being an argument to the function. After all, rule numero uno of good coding is "Thou shall not repeat thyself in thy code" ;-)) (Some suggestions: use img1, img2 instead of sd_img, de_img; make layer an argument to the function; give default None values to the args that are optional (only needed in some calls).
Same with the plot_cutouts() function and its versions.

"The crossmatch tables at Astro Data Lab are structured as followed:" --> "are named as follows"

Changed.

Some DL URLs in the NB are noao.edu, others are noirlab.edu; noirlab.edu currently does not work, but we should have the correct SSL certificate any day now. Recommend changing all noao.edu URLs to noirlab.edu

Changed.

In several places the return value from calling convert(response) is not captured in a Python object, but instead dumped directly into the NB.
--> Recoimmend capturing the return value of convert() to an actual Python object, and then printing it (e.g. df = convert(...))

Good point. In these instances, they have been changed to:
result = convert(response)
result

In several places, replace 'ra' with 'RA', and 'dec' with "Dec" (when referring to 'right ascension' and 'declination'; not when referring to names of columns etc.)

Changed.

type (morphological model^), and below: ^PSF=stellar, REX=round exponential galaxy, DEV=deVauc, EXP=exponential, COMP=composite, DUP=Gaia source fit by different model.
--> Maybe on the same line?

Changed to:
- type (morphological model: PSF=stellar, REX=round exponential galaxy, DEV=deVauc, EXP=exponential, COMP=composite, DUP=Gaia source fit by different model)

Where the SQL is written under "Write the query", a sentence or two about the double JOIN could be helpful.

Done.

Under "Crossmatch a user-provided data table and a pre-crossmatched table", why is the query run once and the result shown straight in the NB, and then run again and saved to mydb? Better run the query only once (saving to mydb).

Changed.

The query under "Write a crossmatch query" (the 'qu' query) fails for me with:

"queryClientError: Error: syntax error at or near ";"
LINE 14:             ) as ss on true;

Weirdly, the very next run of the same query, but writing out to mydb, seems to work.

Just needed to remove the semicolon and it ran!

Under "Speed test", the two queries, in two separate cells (good), would benefit from a clear reminder above each cell, which case this is (i.e. "First, running the cross-match ourselves", and "Now, the same but using pre-crossmatched tables"; or something like that.)

Added.

Once all cells have been run, the NB's RAM footprint swells to over 4 GB. I think (and hope) that capturing the results of convert() to objects will improve the NB's garbage collection, and thus reduce the footprint. (alternatively, a del df here and there can take care of large and no longer needed objects)

"Write query to randomly select 5 RA/dec targets" --> To make the sentence clearer, propose: "Write query to randomly select five targets (RA/Dec positions)"

Changed.

In the "Appendix", suggest to add a sentence of motivation, something like "A clear benefit of pre-crossmatched tables is that they contain the positions of the same objects in two datasets. We can use this to e.g. fetch images of an object from both surveys."

Added.

I think plt is not imported.

Added to imports.

Appendix A3 needs a few words of motivation. What's happening, what goal, etc.

Added.

The functions make_cutout_comparison_table(), and _table2 and _table3 surely look almost identical. Try to make a single function, with whatever changes between them simply being an argument to the function. After all, rule numero uno of good coding is "Thou shall not repeat thyself in thy code" ;-)) (Some suggestions: use img1, img2 instead of sd_img, de_img; make layer an argument to the function; give default None values to the args that are optional (only needed in some calls).

Very true! It has been reduced as such.

Same with the plot_cutouts() function and its versions.

Also reduced as such.

"The crossmatch tables at Astro Data Lab are structured as followed:" --> "are named as follows"

Changed.

Some DL URLs in the NB are noao.edu, others are noirlab.edu; noirlab.edu currently does not work, but we should have the correct SSL certificate any day now. Recommend changing all noao.edu URLs to noirlab.edu

Changed.

In several places the return value from calling convert(response) is not captured in a Python object, but instead dumped directly into the NB.
--> Recoimmend capturing the return value of convert() to an actual Python object, and then printing it (e.g. df = convert(...))

Good point. In these instances, they have been changed to:
result = convert(response)
result

In several places, replace 'ra' with 'RA', and 'dec' with "Dec" (when referring to 'right ascension' and 'declination'; not when referring to names of columns etc.)

Changed.

type (morphological model^), and below: ^PSF=stellar, REX=round exponential galaxy, DEV=deVauc, EXP=exponential, COMP=composite, DUP=Gaia source fit by different model.
--> Maybe on the same line?

Changed to:
- type (morphological model: PSF=stellar, REX=round exponential galaxy, DEV=deVauc, EXP=exponential, COMP=composite, DUP=Gaia source fit by different model)

Where the SQL is written under "Write the query", a sentence or two about the double JOIN could be helpful.

Done.

Under "Crossmatch a user-provided data table and a pre-crossmatched table", why is the query run once and the result shown straight in the NB, and then run again and saved to mydb? Better run the query only once (saving to mydb).

Changed.

The query under "Write a crossmatch query" (the 'qu' query) fails for me with:

"queryClientError: Error: syntax error at or near ";"
LINE 14:             ) as ss on true;

Weirdly, the very next run of the same query, but writing out to mydb, seems to work.

Just needed to remove the semicolon and it ran!

Under "Speed test", the two queries, in two separate cells (good), would benefit from a clear reminder above each cell, which case this is (i.e. "First, running the cross-match ourselves", and "Now, the same but using pre-crossmatched tables"; or something like that.)

Added.

Once all cells have been run, the NB's RAM footprint swells to over 4 GB. I think (and hope) that capturing the results of convert() to objects will improve the NB's garbage collection, and thus reduce the footprint. (alternatively, a del df here and there can take care of large and no longer needed objects)

"Write query to randomly select 5 RA/dec targets" --> To make the sentence clearer, propose: "Write query to randomly select five targets (RA/Dec positions)"

Changed.

In the "Appendix", suggest to add a sentence of motivation, something like "A clear benefit of pre-crossmatched tables is that they contain the positions of the same objects in two datasets. We can use this to e.g. fetch images of an object from both surveys."

Added.

I think plt is not imported.

Added to imports.

Appendix A3 needs a few words of motivation. What's happening, what goal, etc.

Added.

The functions make_cutout_comparison_table(), and _table2 and _table3 surely look almost identical. Try to make a single function, with whatever changes between them simply being an argument to the function. After all, rule numero uno of good coding is "Thou shall not repeat thyself in thy code" ;-)) (Some suggestions: use img1, img2 instead of sd_img, de_img; make layer an argument to the function; give default None values to the args that are optional (only needed in some calls).

Very true! It has been reduced as such.

Same with the plot_cutouts() function and its versions.

Also reduced as such.

Looks very good, many thanks!
Final three suggestions:

The first time it's good to do the two-step thing:

result = qc.query(sql=query)
df = convert(result)

But in subsequent occurrences, maybe just use the built-in converter?
df = qc.query(sql=query,fmt='pandas')

Then, regarding the speed test: I think it would be good to tailor the examples a bit with respect to how many rows are being cross-matched / joined, such that in the speed test both queries finish in reasonable time, but it's clear that one finishes in seconds, and the other takes minutes.

In all the Appendix plots: the plotting of image thumbnails works also without converting the pandas entries with .values. I.e. instead of

list_ra1=r['ra1'].values       # ".values" convert to numpy array
list_dec1=r['dec1'].values
list_ra2=r['ra2'].values
list_dec2=r['dec2'].values

img1,img2 = make_cutout_comparison_table(list_ra1,list_dec1,layer1,layer2,pixscale,list_ra2,list_dec2)

you can do straight:
img1,img2 = make_cutout_comparison_table(r['ra1'],r['dec1'],layer1,layer2,pixscale, r['ra2'],r['dec2'])

And please disregard my earlier comment that the NB size was large. What I saw was the total RAM consumption of all my NBs open in JupyterLab! False alarm, sorry.

Looks very good, many thanks!
Final three suggestions:

The first time it's good to do the two-step thing:

result = qc.query(sql=query)
df = convert(result)

But in subsequent occurrences, maybe just use the built-in converter?
df = qc.query(sql=query,fmt='pandas')

Then, regarding the speed test: I think it would be good to tailor the examples a bit with respect to how many rows are being cross-matched / joined, such that in the speed test both queries finish in reasonable time, but it's clear that one finishes in seconds, and the other takes minutes.

In all the Appendix plots: the plotting of image thumbnails works also without converting the pandas entries with .values. I.e. instead of

list_ra1=r['ra1'].values       # ".values" convert to numpy array
list_dec1=r['dec1'].values
list_ra2=r['ra2'].values
list_dec2=r['dec2'].values

img1,img2 = make_cutout_comparison_table(list_ra1,list_dec1,layer1,layer2,pixscale,list_ra2,list_dec2)

you can do straight:
img1,img2 = make_cutout_comparison_table(r['ra1'],r['dec1'],layer1,layer2,pixscale, r['ra2'],r['dec2'])

And please disregard my earlier comment that the NB size was large. What I saw was the total RAM consumption of all my NBs open in JupyterLab! False alarm, sorry.

The first time it's good to do the two-step thing:

result = qc.query(sql=query)
df = convert(result)

But in subsequent occurrences, maybe just use the built-in converter?
df = qc.query(sql=query,fmt='pandas')

Done.

Then, regarding the speed test: I think it would be good to tailor the examples a bit with respect to how many rows are being cross-matched / joined, such that in the speed test both queries finish in reasonable time, but it's clear that one finishes in seconds, and the other takes minutes.

I didn't change this bc of the timecrunch to get out this notebook in time, but this is something I could change in the future.

In all the Appendix plots: the plotting of image thumbnails works also without converting the pandas entries with .values. I.e. instead of

list_ra1=r['ra1'].values       # ".values" convert to numpy array
list_dec1=r['dec1'].values
list_ra2=r['ra2'].values
list_dec2=r['dec2'].values

img1,img2 = make_cutout_comparison_table(list_ra1,list_dec1,layer1,layer2,pixscale,list_ra2,list_dec2)

you can do straight:
img1,img2 = make_cutout_comparison_table(r['ra1'],r['dec1'],layer1,layer2,pixscale, r['ra2'],r['dec2'])

This is true, but in the plot_cutouts function I reference for those list_ra1[i], list_ra2[i] etc and when I tried to change it there it gave me an error for the appendix A3 cells... Again, I can look into this more at a later time but for now I will leave it as it is.

And please disregard my earlier comment that the NB size was large. What I saw was the total RAM consumption of all my NBs open in JupyterLab! False alarm, sorry.

Ok good!

The first time it's good to do the two-step thing:

result = qc.query(sql=query)
df = convert(result)

But in subsequent occurrences, maybe just use the built-in converter?
df = qc.query(sql=query,fmt='pandas')

Done.

Then, regarding the speed test: I think it would be good to tailor the examples a bit with respect to how many rows are being cross-matched / joined, such that in the speed test both queries finish in reasonable time, but it's clear that one finishes in seconds, and the other takes minutes.

I didn't change this bc of the timecrunch to get out this notebook in time, but this is something I could change in the future.

In all the Appendix plots: the plotting of image thumbnails works also without converting the pandas entries with .values. I.e. instead of

list_ra1=r['ra1'].values       # ".values" convert to numpy array
list_dec1=r['dec1'].values
list_ra2=r['ra2'].values
list_dec2=r['dec2'].values

img1,img2 = make_cutout_comparison_table(list_ra1,list_dec1,layer1,layer2,pixscale,list_ra2,list_dec2)

you can do straight:
img1,img2 = make_cutout_comparison_table(r['ra1'],r['dec1'],layer1,layer2,pixscale, r['ra2'],r['dec2'])

This is true, but in the plot_cutouts function I reference for those list_ra1[i], list_ra2[i] etc and when I tried to change it there it gave me an error for the appendix A3 cells... Again, I can look into this more at a later time but for now I will leave it as it is.

And please disregard my earlier comment that the NB size was large. What I saw was the total RAM consumption of all my NBs open in JupyterLab! False alarm, sorry.

Ok good!


Re-write S3StorageDriver & Restore Snapshot

Re-write s3storage driver using transfer manager and re-write restore snapshot using nodetool refresh.
https://dcosjira.atlassian.net/browse/CASSANDRA-31
https://dcosjira.atlassian.net/browse/CASSANDRA-32
By mistake, closed pull request #305, fixed code review comments at the PR.

Can one of the admins verify this patch?

@mesosphere-ci retest this please


Fix double parsing

After test run, parsing test duration fails with "Input string was not in a correct format."

@jaxx Looks like you may have found a bug and added it as a second commit. Best way to deal with that is to file an issue although we'll take a PR if the description has all the info that would normally be in a bug. However, our review process and change log creation all work better if we have issues.
Additionally, PRs should deal with one thing and not get unrelated commits added.
My guess is that you already figured all of the above out yourself, but I thought I would mention it.


doc bug on kapacitor/v1.5/event_handlers/email/

URL for relevant page?
http://docs.influxdata.com/kapacitor/v1.5/event_handlers/email/
What products and version are you using?
Kevins-MBP:~ kevin$ kapacitor version
Kapacitor  v1.5.0 (git:  4f10efc41b4dcac070495cf95ba2c41cfcc2aa3a)
The last example on this page reads:
email_cpu_handler.yaml

id: email-cpu-alert
topic: cpu
kind: email
options:
  to:
    -<EMAIL_ADDRESS>    -<EMAIL_ADDRESS>Add the handler:

kapacitor define-topic-handler email_cpu_handler.yaml

^^ this does not work as written.  If you run this it will output:
Kevins-MBP:~ kevin$ kapacitor define-topic-handler email_cpu_handler.yaml
failed to create handler: unsupported action kind "email"

Thanks @kevinhogan111. Can you try with smtp? If that works, I'll update it.


SLSA provenance missing from releases

What happened: multiple.intoto.jsonl is missing from releases v0.9.14, v0.9.15, and v0.10.0.
What you expected to happen: multiple.intoto.jsonl is available to verify xeol using slsa-verifier.
How to reproduce it (as minimally and precisely as possible): n/a
Anything else we need to know?: n/a
Environment: n/a

hey @karends-cisco sorry about that
the version of the slsa-verifier we were using v1.9.0 stopped working with sigstore and I didnt get around to fixing it. I just upgraded the version to 2.0.0 in https://github.com/xeol-io/xeol/pull/420 and slsa signatures are working again for version 0.10.1 of xeol.
slsa-verifier verify-artifact --provenance-path multiple.intoto.jsonl xeol_0.10.1_darwin_arm64.tar.gz --source-uri=github.com/xeol-io/xeol
Verified signature against tlog entry index 142695588 at URL: https://rekor.sigstore.dev/api/v1/log/entries/108e9186e8c5677ac925a6285e3607c7be343ad97e1d86fa4a1476950b95362d931c02d2e55dcd59
Verified build using builder<EMAIL_ADDRESS>at commit e9923921a3d31388787bb8f876fe3eed8823b206
Verifying artifact xeol_0.10.1_darwin_arm64.tar.gz: PASSED

PASSED: SLSA verification passed


flatjson added

Hi,
subj please.
thanks.

@fffaraz is there any reason not to add flatjson?

@fffaraz hi
a few days ago you accepted this PR, but I still haven't received a response.
could you please explain on what basis you make a decision about which PR to accept and which not?
thanks.


Feature request: please make @Delegate non-experimental

@Delegate was experimental for a long time, and the Lombok page actually slates it for deprecation, partly on the rationale that it is not commonly used. The delegate pattern is very mainstream, and associated concepts like mixins and traits are increasingly becomeing integral to programmin languages. Scala, Kotlin, Groovy, are just a few examples. It is an indespensible annotation if you want to use composition frequently (for instance if you want to to a lot of COP/DCI style coding)
People cannot use @Delegate in any situation where you want confidence that it won't be removed. So "not many using it" is a self fulfilling prophecy.
If the implementation team feels that some of the functionality of the existing @Delegate annotation is unsafe or cannot be made stable, then maybe you can create another annotation that only includes the safe/stable parts. You might call it @Mixin, @DelegateTo or some such name that would preserve compatibility for existing code that uses @Delegate

Note: there are two @Delegate pages. The one you get to through the normal site navigation is under the experimental and has a negative disposition: https://projectlombok.org/features/experimental/Delegate.html
There is another, different page, that does not mention and experimental stuff. So if that is the correct one, then there's no issue other than a broken Lombok site. See here: https://projectlombok.org/features/Delegate.html

To me it looks like the non-experimental stuff is there for backwards compatibility only. In any case,

I assume that both annotations work exactly the same, but it should be stated explicitly
the two pages should link to each other
only one of them should explain how it works
the other should be close to empty (reducing maintenance work and risk of getting obsolete)

I agree that it's a cool feature. As I can't recall any recent related issues, the authors could rethink their decision. Otherwise, please add something like "state 2016-08-18" to the page so that we know the decision is still up to date.

+1
I've recently used it with the popular Visitor pattern (https://en.wikipedia.org/wiki/Visitor_pattern) so that a Visitor can be easily composed of multiple sub-Visitor delegate implementations. This is very convenient to avoid writing tons of annoying visit delegation code and it does the job well for my "simple" use case.


Filter recipes by type

vegan
vegetarian
meat filter
spice
healthy
popular
allergy filter

etc. based on the capabilities of the spoonacular API

All except the meat filter, popular, and allergy filters will be addressed in the linked branch. Meat filter could implicitly be not vegetarian. Popular my be implemented once accounts are set up. Allergy filter is tricky since the intolerances aren't saved with the recipe responses, so it requires more hits to spoonacular.


Investigate alternative databases

Investigate datastores for 2 different usecases:

Replace PG with a more suitable alternative
Keep PG in place and replace Pandas and the counters table on PG with an alternative

Options:

clickhouse - see related issue
https://prestodb.io/
https://druid.apache.org/
https://kylin.apache.org/

We should investigate the adoption of BigQuery

Completed


Statically prevent ZST slices rather than panicking at runtime?

https://github.com/google/zerocopy/blob/07854bc5c12ce4a4a92ebcb44129da3a9cc485fe/src/lib.rs#L1731-L1735
Alternatively, maybe we could just give these types well-defined semantics (e.g., always synthesize a pointer with 0 slice elements or isize::MAX slice elements). Need to be very careful that none of our operations can be round-tripped losslessly; this might break that.
There are also reasons to be skeptical of wanting to prevent this at all:

In theory I like the idea of being able to have code like this fail at compile time. However, what do you do about a user who wants to write code like this?
pub fn do_thing<T: ?Sized + KnownLayout>() {
    if T::LAYOUT.trailing_slice_elem_type == Some(0) {
        // Do workaround thing
    } else {
        // Do other thing
    }
}

As in, you can't say that it's a compile-time error to have code that could trigger this panic because the user might have their own logic that ensures it'll never be encountered at runtime.

As of this writing, per #1149, we intend to use post-monomorphization errors for ZST slice conversions. We can always make our restrictions looser in the future. If we do decide to loosen restrictions, note the following caveats:

We cannot support "exact" conversions since those promise to produce a reference to the entire input byte sequence
We can support prefix and suffix conversions, but we will need to relax their semantics. Currently, prefix and suffix conversions promise to produce the "largest possible" value that will fit in the given byte sequence. While we could in principle argue that a slice with the maximum number of elements satisfies this promise, it clearly violates the spirit. It would likely make more sense to explicitly carve out ZST slices in the documentation.

See also #202, #284, https://github.com/google/zerocopy/pull/349#discussion_r1319185450, #1125, and #1149

I'd quite like to see this code work:
fn main() {
    use zerocopy::*;
    use zerocopy_derive::*;

    #[derive(FromBytes, Immutable, KnownLayout)]
    #[repr(C)]
    struct Zesty {
        leading_sized: u8,
        trailing_dst: [()],
    }

    let bytes = [0u8; 100];

    for count in 0..256 {
        let (zesty, _) = Zesty::from_prefix_with_trailing_elements(bytes.as_slice(), count).unwrap();
        assert_eq!(zesty.trailing_dst.len(), count);
    }
}

...but I don't think that will be achievable until we have Ref wrap a Ptr. Right now, the count provided to from_prefix_with_trailing_elements is only used to length-validate and appropriately slit the byteslice. The count is then discarded. Later, Ref::into_ref attempts to reverse-engineer what the count must have been, based on the length of the byte slice. In the case of DSTs with trailing ZSTs, it cannot possible know the user-intended count.

@jswrenn and I discussed this offline.
Currently, supporting ZSTy types even when an explicit count is given is not possible. In particular, all of our APIs that take a slice element count bottom out in one of Ref's methods that use Ptr::try_cast_into in order to convert the inner byte slice back to a reference (& or &mut) to the target type, T. try_cast_into does not currently support ZSTy types, and so these APIs cannot either.
Eventually, if we can use Ptr directly rather than Ref in the FromBytes APIs, we may be able to lift this restriction for the FromBytes APIs in particular. Lifting that restriction for Ref will likely require having Ref store a Ptr (https://github.com/google/zerocopy/issues/368).

@jswrenn Do we think that this should be closed given our PME strategy?


Integration not working after updating HA to 2021.9.4

Version of the custom_component
1.3.9
Configuration
ourgroceries:
   username: !secret jamie_email
   password: !secret our_groceries_password

Describe the bug
Intergration isnt working after updating the 2021.9.4
Debug log

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 255, in _async_setup_component
    result = await task
  File "/config/custom_components/ourgroceries/__init__.py", line 66, in async_setup
    await og.login()
  File "/usr/local/lib/python3.9/site-packages/ourgroceries/__init__.py", line 80, in login
    await self._get_team_id()
  File "/usr/local/lib/python3.9/site-packages/ourgroceries/__init__.py", line 110, in _get_team_id
    self._category_id = re.findall(REGEX_CATEGORY_ID, responseText)[0]
IndexError: list index out of range

Same here

Ditto, same error message.

Ditto, same error message.

Ditto the report - same error.  I was on 8.8 before upgrade.  Although, I've been on 9.2 at least a whole day or two (and very active in my install, im currently migrating from another system) and I don't remember the error popping immediately after my upgrade to 9.2.  It seemed 'new' to me tonight - thus why I came here to report it.

Same issue and error message.  Best of my memory it started on 2021.9.3 for me.

I can confirm, this does not work in 2021.9.5
I updated from 2021.8.x, so I don't know if this used to work in earlier versions of 2021.9.x

For ne it looks independent from the last HA updates. I only restarted Home Assistent and ourgroceries stopped working. I'm running core-2021.8.8. Error message is the same like the OP. So if the groceries component got no update then ourgroceries itself must have changed anything preventing the login.

This is an issue with the login that changed on the server side of OurGroceries. See the used python libary and corresponding issue over there: https://github.com/ljmerza/py-our-groceries/issues/13
Once that is fixed, this HA integration will work again.

Just want to keep this alive and stave off the stale bot.  :)

OurGroceries Support advises (not unreasonable - though the word 'fishing' is dark)
"Home Assistant was fishing through our code to get information about lists. We can't keep our code unchanged forever, sometimes we want to make improvements. So there's nothing for us to "fix" here -- whoever wrote the Home Assistant code needs to update it, but also be aware that it'll keep breaking as long as they depend on undocumented parts of our code "

Basic answer by a service provider that does not offer a public API and therefore third party code needs to scrape their web content. Unfortunately @ljmerza is not responding. The bug is fixed already and just needs to be merged.

@ljmerza Thank you, that's good news. This is linked to https://github.com/ljmerza/py-our-groceries/issues/13 and https://github.com/ljmerza/py-our-groceries/pull/14

Sorry I never got the notification for this issue until someone tagged me. Will look at today

Good to know for the future! ; )  Thanks as always.

fixed in v1.3.10

Working well again. A huge thank you.

@ljmerza could you please release 1.3.10? It's currently just a tag and latest_release still points to 1.3.9. HACS doesn't show an update to 1.3.10.
Thank you
Sep 27, 2021 06:29:37 163Albert @.***>:

Working well again. A huge thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub[https://github.com/ljmerza/ha-our-groceries/issues/23#issuecomment-927521287], or unsubscribe[https://github.com/notifications/unsubscribe-auth/ABSN4E6WTMWICNL27KBPME3UD7XK5ANCNFSM5DU5WYUA].
Triage notifications on the go with GitHub Mobile for iOS[https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675] or Android[https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub].  [data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD8AAAA/CAYAAABXXxDfAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAmSURBVGiB7cEBDQAAAMKg909tDwcUAAAAAAAAAAAAAAAAAAAAJwY+QwABivJx1AAAAABJRU5ErkJggg==###24x24:true###][Verfolgungsbild][https://github.com/notifications/beacon/ABSN4E6L4BCUE2E2LW2PZNDUD7XK5A5CNFSM5DU5WYUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG5ENUBY.gif]

could you please release 1.3.10? It's currently just a tag and latest_release still points to 1.3.9.

OK, so it's not just me...  I thought maybe there was an upstream dep that wasn't ready yet because I tried doing it manually and while the error went away, I didn't get a sensor.  Hopefully I just installed it wrong or something and HACS install will solve this.

could you please release 1.3.10? It's currently just a tag and latest_release still points to 1.3.9. HACS doesn't show an update to 1.3.10.

I second this as an issue! Still seeing 1.3.9 as the latest.

As an interim measure I copied and  extracted the v1.3.10 zip file, and copied the contents of Our Groceries folder into the same named folder found in Config/Customer_Components.   It works....

When I did that, the error notification went away, but I didn't get an our groceries sensor.   Been using HA since a few months after it's initial release, so I'm experienced with manual install method.  I figured that possibly the upstream library wasn't released yet, but apparently this isn't the case if it's working for you.  😕

BTW, @ljmerza - I don't know why it didn't work for me when I installed it manually, but my HACS update solved my issues after a reboot.  Maybe I needed another reboot or two to get the dependency filled?  Anyways, I thought I would add that.  Thanks again!


Do we have plan to support OpenAPI for other languages(Java, Python)?

We have following statement in the documentation.

The OpenAPI and API Management integration featured in this article is currently in preview. This method for exposing a serverless API is only supported for C# class library (.NET Core 3.1) functions. All other language runtimes should instead use Azure API Management integration from the portal.

Do we have plan to support OpenAPI for other languages(Java, Python)?

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

ID: bdb35bea-163c-aed4-abf1-e0e99224d19f
Version Independent ID: 345a75d5-d038-e280-a0ae-e7ae3ff499d8
Content: Create serverless APIs in Visual Studio using Azure Functions and API Management
Content Source: articles/azure-functions/openapi-apim-integrate-visual-studio.md
Service: azure-functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

Hello @fhzhang - Thank you for your feedback! We will review and update as appropriate.

Cant wait to use this feature for Java based azure functions.

In lieu of this being supported as part of the package from @justinyoo, I've created an extension for JavaScript Azure Functions - https://github.com/aaronpowell/azure-functions-nodejs-openapi


[ZF-11920] DOCUMENTATION

Sync example in DE quickstart-create-form.xml with (correct) EN version
SVN sync r24566 r24567

This doesn't look like a ZF2 code example?

No, but this part of the manual isn't updated for ZF2 yet, so my thinking was that for the minimal effort it takes we might as well keep them synchronized until that day comes...or is it just a waste of my time?

Not a bad idea. Merged :)

Thanks!


Implement numeric and reversed sorting

@BurntSushi Added them and rebased the branch

Awesome, thank you so much!


Read-only file system running 1.5.0 in Singularity

This worked in 1.4.1, but fails in 1.5.0.

Okay, sorry we've been experiencing so many problems with TemplateFlow and the read-only execution of Singularity that we missed the original cause of this.
So I introduced this issue in #1715.
As @rwblair suggested elsewhere, you can workaround the problem by binding some writable directory into /home/fmriprep/.cache.
You can use this issue to follow up on a fix. Thanks for reporting and your patience!

BTW, alternatively, you could check whether your Singularity installation could be configured to automatically bind $HOME (and make sure it updates the environment variable within the container).

@oesteban this is the version check.

Yup

Does this being closed mean that the container's /home/fmriprep/.cache/fmriprep no longer needs to be bound?

Either way (bound or not) it won't crash or complain. /home/fmriprep/.cache/fmriprep is used to keep a cache of the latest fMRIPrep version, so not writing it out is totally fine.
So yes, you don't necessarily have to bind it anymore.

Adding
-B /some/scratch/dir:/home/fmriprep

avoids this problem, but that wasn't necessary in 1.4.1.

You saved my day :)

Adding
-B /some/scratch/dir:/home/fmriprep

avoids this problem, but that wasn't necessary in 1.4.1.

You saved my day :)

Adding
-B /some/scratch/dir:/home/fmriprep

avoids this problem, but that wasn't necessary in 1.4.1.

This is it! I was stuck for hours. You literally saved my day. Thank you!


Empty PR to test swift 28440 (second take)

This an elaborate way to test apple/swift#28440 with the preset used for llbuild PR testing

Please test with following pull request:
apple/swift#28440
@swift-ci please test

Tests have passed, so (after approval) merged https://github.com/apple/swift/pull/28440 and closing this dummy PR.


[AutoPR cognitiveservices/data-plane/ImageSearch] typo: cognitiveservices/data-plane/ImageSearch

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/4652

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/3974


Add Open In TextEditor button

Add Open In TextEditor button
This button just allows you to switch back to the raw texteditor in vscode.

Stack created with Sapling. Best reviewed with ReviewStack.

-> #1142
#1141
#1140

Seems a bit weird to couple this vs code specific UI within the editor component. Thoughts on alternatives:

rendering the button above the editor component in VSCodeEditor (similar to hf token input in gradio, or source/download buttons in lastmile readonly)
setting an id on the button group containing the top bottoms and using react portal to inject the button from VSCodeEditor into the button group

Hmmm, this isn't that different from the other callbacks which, if undefined, won't render for the other editors. For local editor implementation, "open in text editor" button could toggle to a JSONEditor component for the entire config.

Seems a bit weird to couple this vs code specific UI within the editor component. Thoughts on alternatives:

rendering the button above the editor component in VSCodeEditor (similar to hf token input in gradio, or source/download buttons in lastmile readonly)
setting an id on the button group containing the top bottoms and using react portal to inject the button from VSCodeEditor into the button group

Hmmm, this isn't that different from the other callbacks which, if undefined, won't render for the other editors. For local editor implementation, "open in text editor" button could toggle to a JSONEditor component for the entire config.

Ah, ok. If we want to use it in local as well it makes a bit more sense to be here. My comment was more about unnecessarily adding vs code-specific code to the component. Seems it's not vscode-specific if we'll support that in local as well, so lgtm


Support const key construction and fix pattern bug

Attempt 2 of #8, now based on #6 for the __private module. We can define a separate constant for every permutation of ctrl alt and shift, and this has two effects:

const key! creation now works.
It fixes the bug that key!(ctrl-shift-c) is matched by the pattern key!(ctrl-c).

Wow... the pipe in pattern matching can be very nasty...

made a simplified example, just in case: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=2e7349dbb5bb371a773cbd4c3a41beb5


Micro Queue is already full

Current Behavior
At random times, the script will stop reading data from a 1756-L81E ControlLogix.  The script also reads from a 1769-L32E and that data continues to read normally.  This error occurred before the introduction of the controller manager, too.
From my PM2 log:
0|plc      | 2023-08-29 07:26:16: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:16: Reading Error - Analog_Inputs[6] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:17: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:18: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:18: Reading Error - Discrete_Outputs[35].Out - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:19: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:20: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:21: Reading Error - F8[41] - TIMEOUT occurred while writing Reading Tag Group.
0|plc      | 2023-08-29 07:26:22: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:23: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:23: Reading Error - Discrete_Outputs[35].Out - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:24: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:25: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:26: Reading Error - F8[41] - Micro Queue is already full at size of 100!!!
0|plc      | 2023-08-29 07:26:26: Reading Error - Analog_Inputs[6] - Micro Queue is already full at size of 100!!!
Expected Behavior
Should continue reading PLC.
Possible Solution (Optional)
Context
Steps to Reproduce (for bugs only)
Unable to reproduce.  Will work fine for days or weeks before throwing these errors.
Your Environment

Package version (Use npm list - e.g. 1.0.6): 2.6.1
Node Version (Use node --version - e.g. 9.8.0): 12.21
Operating System and version:  4.4.180+
Controller Type (eg 1756-L83E/B): 1756-L81E
Controller Firmware (eg 30.11): 30.11

You must be doing lots of reads and writes and not waiting for them to complete before doing another one.
You could try to increase the max queue size. This will double it:
const {Controller} = require('st-ethernet-ip');

const PLC = new Controller()

PLC.workers.read.max = 200;
PLC.workers.write.max = 200;
PLC.workers.group.max = 200;

I would have to see some of you implementation to help further

No writes, but about 80 total reads.  Most of those occur once per minute, with about 10 of them at once per 5sec, and 3 of them occurring once per second.  Didn't think that would be enough to make it barf.
I'll start with changing the queue size and if still an issue, share the code with you.

Increased to 200, worked fine since until a power outage yesterday.  One PLC (a CompactLogix) returned communication normally, but the other, a L81 ControlLogix, did not and had this error:
2023-09-22 08:23:41: Reading Error - SolidsTemp - Micro Queue is already full at size of 200!!!
2023-09-22 08:23:41: Reading Error - F8[41] - Micro Queue is already full at size of 200!!!
It seems the connection manager is not working properly in my scenario.
var { Controller, Tag, TagGroup, EthernetIP } = require("st-ethernet-ip"); ... PLC[i] = [new Controller(false), result[i].area, result[i].ipaddress, result[i].slot]; ... PLC[i][0].connect(PLC[i][2], PLC[i][3]).then(async (err) => { PLC[i][0].scan_rate = 1000; PLC[i][0].workers.read.max = 200; PLC[i][0].workers.write.max = 200; PLC[i][0].workers.group.max = 200;

I would try implementing the ControllerManager class when using the library. It automatically reconnects to controllers after disconnect and you don't have to worry about too many write or read requests.
Here is an example of how to implement which I think will work well for your application
const {ControllerManager} = require('st-ethernet-ip');

let cm = new ControllerManager();

//If you want to do something with the value every 1000ms , I would set the rpi to something smaller (500) so your sure to have a new value.
cm.addController('<IP_ADDRESS>', 0, 500);
//Always connect controller after adding it
cm.controllers[cm.controllers.length - 1].connect();
//Add Your tags to the controller (Example is DINT Controller scope tag called 'RATE_TEST99' )
cm.controllers[cm.controllers.length - 1].addTag('RATE_TEST99');
//Add Your tags to the controller (Example is REAL Program:MainProgram scope tag called 'TEST_POINT1' )
cm.controllers[cm.controllers.length - 1].addTag('TEST_POINT1', 'MainProgram');

// READING TAG VALUE EXAMPLE
//Do something with tag values every 1000ms
setInterval(() => {
   //ALWAYS do a fresh cm.getAllValues() before using those values
  let tagValues = cm.getAllValues();

  // Display all tag names and values at controller '<IP_ADDRESS>'
  console.log(tagValues['<IP_ADDRESS>']);
  // Display tag named 'RATE_TEST99' value
  console.log(tagValues['<IP_ADDRESS>']['RATE_TEST99']);
  // Display tag named 'TEST_POINT1' value
  console.log(tagValues['<IP_ADDRESS>']['Program:MainProgram.TEST_POINT1']);

  //Another way to get a current tag value
  console.log(cm.controllers.find(c => c.ipAddress === '<IP_ADDRESS>').tags.find(n => n.tagname === 'RATE_TEST99').tag.value);

}, 1000);

//WRITING TAG VALUE EXAMPLE
//Write a incrementing value to a controller tag after 1000ms
setInterval(() => {
  //Increment value and write to DINT controller scope tag 'RATE_TEST99' at controller '<IP_ADDRESS>'
  let tag1 = cm.controllers.find(c => c.ipAddress === '<IP_ADDRESS>').tags.find(n => n.tagname === 'RATE_TEST99').tag;
  tag1.value = tag1.value + 1;

  //Increment value and write to REAL Program:MainProgram scope tag 'TEST_POINT1' at controller '<IP_ADDRESS>'
  let tag2 = cm.controllers.find(c => c.ipAddress === '<IP_ADDRESS>').tags.find(n => (n.tagname === 'TEST_POINT1' && n.program === 'MainProgram')).tag;
  tag2.value = tag2.value + 0.1;

  //ALWAYS find the tag as shown before doing anything with the tag to insure you are not using a stale tag instance

}, 1000);

Can you still do tag groups using the ControllerManager?

Can you still do tag groups using the ControllerManager?

@skykep did the Micro Queue problem resolve from previous response from @SerafinTech ??

Can you still do tag groups using the ControllerManager?

@skykep did the Micro Queue problem resolve from previous response from @SerafinTech ??

I don't think so because the issue was still occurring after power outages where the PLC went offline.  I am implementing the ControllerManager now, but noticing it is not actually reconnecting on it's own.  I opened a new Issue for that one.

I saw this when I first started using the controller.readTagGroup function. When I looked into it I noticed that in controller/index.js  the code is as follows:
readTagGroup(group) {
        return this.workers.group.schedule(this._readTagGroup.bind(this), [group], {
            priority: 1,
            timestamp: new Date()
        });
    }

you will note that it returns whatever the schedule function does which is happens to be asynchronous call so it returns immediately.  If you look further in the same file you will see the following for the scan function:
async scan() {
        this.state.scanning = true;
        while (this.state.scanning) {
            await this.workers.group
                .schedule(this._readTagGroup.bind(this), [this.state.subs], {
                priority: 10,
                timestamp: new Date()
            })

Notice the await used when calling the same schedule function.  Because schedule is an asynchronous call it returns before the scheduled tasks are completed unless you use await.  Therefore you must use await with the readTagGroup to ensure you are not stacking up reads as SerafinTech pointed out earlier.
That being said, if it is returning a promise you should be able to use the .then functionality to resolve it as well:
controller.readTagGroup(mygroup).then(()=>{
// code to react to group values
});

Can someone confirm that the .then functionality works please?

Hii, facing the same issue, Any Solution?


Not possible to set alt="" for Avatar

I can't set alt to empty string, because it trying to fallback to title
https://github.com/gravity-ui/uikit/blob/733c5b3bd425ee57d660ed176d15bc99084f6d9a/src/components/Avatar/Avatar.tsx#L43

@ogonkov  Images with empty strings in alt attribute are not accessible. Why you want it?

It has presentation role, this is valid usage

It has presentation role, this is valid usage

Has it? We don't allow set this prop

@ogonkov We decided to remove alt prop entirely from the component props


Recent generative nft mints in drop page

some updates, the main one is the look, filters, infinite scroll

design

updated in handoff https://www.figma.com/file/JXNtryaNYhY0XJNArzvPQx/Handoff?type=design&node-id=394-6126&mode=design&t=EmUe59kRyBTfd3zb-11
new heading
new filters
footer removed
infinity scroll
please Reuse Explorer layout
new slightly upgraded card

Bottom section
shares some similarities with profile layout

new heading
filters - please refer to the component page or reuse the same ones as in the profile
default filter is sort by newest - active buy now filter is button active

card

card is small card from explorer with one addition, instead of the network, there is time, there is no"ago" etc. just time.
its the same grey tag we are using next to cursor in partykit:

#9413

thanks!

:wave:

@pbkompasz, are you working on it? we want this one for the release, and someone from internal devs can pick it up. Let me know in 1hour

@yangwao I am working on it, will open a PR shortly.

hey it was >2 hours, any progress?

Almost finished

@yangwao The latestEvents query doesn't have first and offset. Is the infinite scroll necessary in this case given that only 11 events are returned?

👋


Pagination failure

I poked around at the code but wasn't able to pinpoint exactly what was going wrong. Here's the original issue https://github.com/anidl/funimation-downloader-nx/issues/19
For whatever reason, it's unable to get the next batch of parts to download

It looks like maybe there is some sort of race condition here where it decides to queue up key request but in the function if sees the key is already downloaded so instead of returning a future it returns nothing https://github.com/seiya-npm/hls-download/blob/master/src/hls-download.js#L135


Adding Dimension and Configuration to SearchIndex in Azure.Search.Documents

Library name and version
Azure.Search.Documents 11.5.0-bet
Query/Question
When I try to create SearchIndex I use this:
             try
            {
                SearchIndex? searchIndex = null;
                try
                {
                    searchIndex = await mSearchIndexClient.GetIndexAsync(mIndexName);
                }
                catch (RequestFailedException ex) when (ex.Status == 404)
                {
                    Log.Verbose(ex);
                    // If the specified index not exist, 404 is thrown.

                    string vectorProfileFilePath = Path.Combine(InstallDir, mVectorProfileFileName);
                    string jsonStr = File.ReadAllText(vectorProfileFilePath);

                        VectorSearch? vectorSearch = new()
                        {
                            Profiles =
                            {
                                new VectorSearchProfile("my-default-vector-profile", "my-hnsw-config-2")
                            },
                            Algorithms =
                            {
                                new HnswVectorSearchAlgorithmConfiguration("my-hnsw-config-2")
                            }
                        };

                        **searchIndex = new SearchIndex(mIndexName)**
                        {
                            Fields = new FieldBuilder().Build(typeof(SegmentObj)),

                            // Only available starting 2023-10-01 beta version
                            VectorSearch = vectorSearch
                        };
                    }

                    searchIndex = await mSearchIndexClient.CreateIndexAsync(searchIndex);
                }
                catch (Exception ex)
                {
                    Log.Verbose(ex);
                    return;
                }

At the line searchIndex = new SearchIndex(mIndexName) the exception is thrown as shown below, however, I cannot find the way to add 'dimentions' and 'vectorSearchConfiguration' to SegmentTextVector field despite I browsed many of your samples and documentation. So how do I do it?
This field is defined as:
          [SearchableField(IsFilterable = false, IsSortable = true)]
          public IReadOnlyList<float>? SegmentTextVector { get; set; }

Exception thrown:
Azure.RequestFailedException: 'The request is invalid. Details: definition : The vector field 'SegmentTextVector' must have the properties 'dimensions' and 'vectorSearchConfiguration' set.
Status: 400 (Bad Request)
ErrorCode: InvalidRequestParameter

Content:
{"error":{"code":"InvalidRequestParameter","message":"The request is invalid. Details: definition : The vector field 'SegmentTextVector' must have the properties 'dimensions' and 'vectorSearchConfiguration' set.","details":[{"code":"InvalidField","message":"The vector field 'SegmentTextVector' must have the properties 'dimensions' and 'vectorSearchConfiguration' set. Parameters: definition"}]}}

Headers:
Cache-Control: no-cache
Pragma: no-cache
client-request-id: 3340b211-e406-4662-afcc-766c94da724a
x-ms-client-request-id: 3340b211-e406-4662-afcc-766c94da724a
request-id: 3340b211-e406-4662-afcc-766c94da724a
elapsed-time: 123
Preference-Applied: REDACTED
Strict-Transport-Security: REDACTED
Date: Fri, 20 Oct 2023 05:10:16 GMT
Content-Type: application/json; charset=utf-8
Content-Language: REDACTED
Expires: -1
Content-Length: 397

Environment
Win11, .NET 7, VS2022

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

I think I resolved the posted question, but it would be great to confirm.
After this block:
                   `searchIndex = new SearchIndex(mIndexName)
                    {
                        Fields = new FieldBuilder().Build(typeof(SegmentObj)),

                        // Only available starting 2023-10-01 beta version
                        VectorSearch = vectorSearch
                    };`

I added the following:
 `                        SearchField field = searchIndex.Fields[4];
                          field.VectorSearchDimensions = 1536;
                          field.VectorSearchProfile = "my-default-vector-profile";
`

You may ask what is searchIndex.Fields[4]?
Well, the vector field I am interested in is the fourth from the top in my class fields definition. Sounds like a hack, especially if my field definition changes later, but how else I can retrieve the field?
Anyway, that eliminated the exception I was referring in my previous post.  One more thing: remember to mark the vector field as non-Sortable and non-filterable.

Hi @securigy, We've recently released the GA version<EMAIL_ADDRESS>which includes support for Vector Search. To help you get started, please take a look at the sample here. It provides guidance on adding a vector field and performing vector searches.

Just a comment that all your search configuration stuff, both for VectorSearch and SemanticSearch is a mess - very poorly documented, piece here and piece there, in addition to constantly changing... just my 2 cents

Thank you for your feedback, @securigy. I understand that the search configuration for both VectorSearch and SemanticSearch may have seemed fragmented and frequently changing. When your issue was created, these features were in the preview stage and not yet generally available (GA). As per the SDK preview  version guidelines, we can introduce breaking changes based on the feedback we receive about proposed changes and new features introduced by the search service. This is why you may have noticed several updates.
Now that VectorSearch and SemanticSearch are GA, we won't be introducing any new breaking changes via the SDK. Regarding the documentation, we have made efforts to improve it alongside the GA release. Please refer to the service documentation for VectorSearch and SemanticSearch, as well as the SDK usage documentation for VectorSearch and SemanticSearch.
We value your feedback and would appreciate any specific suggestions you may have for further improvements.

Thank you for your response. Whom do I talk to with regards to the responses that I get from the vector search? It seems that when I get 6-8 responses from the vector search and feed them into Azure OpenAI Completion API as a context (RAG) I get quite generic response, instead of specific answer... So, I wonder how I can improve it. Honestly, I am confused by the options:

I realize I can do both Vector and Semantic Search
I am not sure how to use text search, especially when I also retrieve Named Entities using analytics. That is, where to feed those? As Keywords? as Text Search? As additional vector after creating embeddings from them?

Your best path for reporting the quality of results to the Search service team would be to open an Azure support request. Alternatively, you could consider posting to the Azure Search forum of the Azure Feedback site, as that forum is also monitored by the service team.
@mattmsft, @pallavit

@securigy Your best path for reporting the quality of results to the Search service team would be to open an Azure support request. Alternatively, you might consider posting on the Azure Search forum on the Azure Feedback site, as this forum is also monitored by the service team.
For RAG, please refer to the following documentation:

Retrieval-Augmented Generation Overview
Getting Started with App Chat Template

Cc: @mattmsft, @pallavit


examples of usage method mediaDevices

Can you give me a code example of how to use mediaDevices method? please

Please ask in our community forum.

I am new member of github so I don't know the forum, you can help me? when I update library react-native-webrtc new version, I don't know use method mediaDevices.

thank you support me, I knew how to use it.


Lesson 6: IndexError: list index out of range

When trying to run brownie run deploy.py --network ganache-local I get this error:

Here is my deploy.py

and helpful_scripts.py

and my brownie-config

I've tried deleting the build folder and recompiling, and I've tried deleting the ganache-local network and recreating it (setting accounts=10 gives me "ValueError: Unknown field(s): accounts"). No luck with either of those fixes
Any ideas would be greatly appreciated!

Try correctiong deploy_mocks to deploy_mocks() in the deploy.py and retry.


How to deserialize few fields into a subobject?

Let's pretend I have an object:
{
    "field1": "text1",
    "field2": "text2",
    "fieldX": 15
}

Is there a way to parse it into the following structure?
struct S {
    fields: Fields,
    fieldX: u64,
}

struct Fields {
    field1: String,
    field2: String,
}

Unfortunately there's no way to do that with an attribute yet.
This feature is tracked in https://github.com/serde-rs/serde/issues/119 (flattening fields).

@oli-obk okay, thanks!


After modifying the background image and repacking, it is forced to shut down.

After modifying the background, I ran to check the output.
But it is forcibly terminated in the background loading section.
The modified background is "MA069001.pck" in "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma \ 1st".
Here are the original and modified files.
Original: https://www.dropbox.com/s/amqu4y02yb253ny/MA069001~.pck?dl=0
Fixed: https://www.dropbox.com/s/wog041e68qjaj8q/MA069001.pck?dl=0
The size of the capacity increased while modifying the PCK file.
We simply modified the script to see the output.
https://www.dropbox.com/s/h8dmpcq0xhudspy/day07_RINNE1e.bin?dl=0
https://www.dropbox.com/s/v6bic00gaovh418/start01.bin?dl=0
In line 68 of the "start01.bin" script, there is a section called "BgOpen (301, 0)".
Copy the contents of line 68, "BgOpen (0x1010D89, 0)", into the script "day07_RINNE1e.bin" and paste it into line 68 of "start01.bin".
However, the script loads nicely but is forced to exit when the background is loaded.
Perhaps in my opinion, you should modify "BgOpen (0x1010D89, 0)".
But there is no information about this.
I have a lot of things to change these background image files.
https://github.com/thesupersonic16/DALTools/blob/master/FUNCTIONS.md
I checked here, but there was no information on "BgOpen".
Do you know about this?
I need your help.

I just took a look at the code and when BgOpen is called it loads a file from /Data/Bg/BGXXXX.tex XXXX being the number in the in the parameters. I'm not entirely sure what you mean with the Ma files, They are CG files.
Can you please explain what you are doing? because they don't connect.

I want to import the modified "MA069001.pck" in "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma \ 1st".
You can find this image in the "day07_RINNE1e.bin" file.
However, if you modify the file and run the game, it will be forcibly terminated.
To confirm, I renamed "start01.bin" to "day07_RINNE1e.bin" and "day07_RINNE1e.bin" to "start01.bin".

So, simply
I want to modify files such as "MA069001.pck" in the "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma \ 1st" folder.
(I want to modify the files in the "DATE A LIVE Rio Reincarnation \ Data \ Data \ Ma " folder.)
And I want to load in the game.

Sorry my bad, but I still don't know why you would rename the script.
Also I did find an issue in the packer while looking at the file you sent. I haven't tested this outside of the MA file you sent, but it fixed the issue with loading the CG.
PCKTool.zip

Thank you, it work.
so, now I'm gonna check like every those files.
If I find the some issue, I'll tell you.
Thank you very much.

Cool, hope your project goes well.

There are questions.
I want to do a batch job by creating a ".bat" command file.
But I have to drag and drop folders in case of pcktool.
So I don't know how to make
Do you know how to make a command?

For all files:
for %%i in (*.pck) do PCKTool "%%i"

For all directories:
for /d %%i in (*) do PCKTool "%%i"

I have a question.
Can I add a page of a novel?
If you look at the 1ST page of the novel data, it's page 51.
I'd like to add a page. Is it possible?

It appears you can.
ScriptDatabaseEditor.zip
Btw is your previous issue solved? If it is then you can close this issue thread.

D:\Program Files (x86)\Steam\steamapps\common\DATE A LIVE Rio Reincarnation\Kor\PCKTool>PCKTool.exe NovData
처리되지 않은 예외: System.Collections.Generic.KeyNotFoundException: 지정한 키가 사전에 없습니다.
위치: System.Collections.Generic.Dictionary`2.get_Item(TKey key)
위치: DALLib.IO.ExtendedBinaryWriter.FillInOffset(String name, UInt32 value, Boolean absolute, Boolean removeOffset)
위치: DALLib.File.PCKFile.Save(ExtendedBinaryWriter writer)
위치: DALLib.File.FileBase.Save(Stream stream)
위치: DALLib.File.FileBase.Save(String path, Boolean keepOpen)
위치: PCKTool.Program.Main(String[] args)
=======================================
Repacking Error

I want to add the number of novel files.
Because in translation, the number of characters increases, so I need to add a file.
There are 51 files in the 1st folder.
But translating requires more than 51 files.
Can I add more files?

Yeah you can add more files, I have tried it myself and the game loaded them just fine as long as they are sorted which I made a option to do that in the editor. Also for the PCPTool, are you using the one from the release? I used the one from the release and was able to pack them just fine. The one I gave you the other day had a mistake with packing files with folders.

Sorry, I can't understand what u did.
If you have a 'discord', can I ask you here?

I do have a Discord, But I prefer to chat over here for issues with DALTools.
Here is all the updated tools:
DALTools.zip
Anyways, Here is some steps for adding a page to the art book

Add all the page textures to your NovData and NovThumb archives
Open ScriptDatabaseEditor and load the database.bin file
Go to Art Book and right click the list of pages
Click Add Page
Ignore the Page ID as it will automatically be set later on
Set the Game field to whatever game the art book is for
Set the Page number in the Page No field
Enter a name of the page into Page Name
For both Thumb Path and Data Path click on the ... button and select the texture file
Click Save
Right click the list of pages and then click Sort Pages

It work well.
you can close this issue.
thank you very much!

would you please publish current version?

Great, I just published it. Hope everything goes well with your translation project, and feel free to open a new issue if you have any questions or issues. I'm happy to help.
Closing.


[Bug] macOS clang 13 build throw [-Werror,-Wdeprecated-copy]

[REQUIRED] Please fill in the following fields:

open-source from this repo
Firebase C++ SDK version: 8.11.0
Problematic Firebase Component: firestore
Platform you are using the C++ SDK on: Mac
Platform you are targeting: desktop

[REQUIRED] Please describe the issue here:
Build  firestore module from source with Apple clang version 13.1.6 (clang-13<IP_ADDRESS>.3) generate errors:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/core/firestore_client.cc:34:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/core/sync_engine.h:37:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/remote/remote_store.h:29:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/remote/datastore.h:26:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/credentials/auth_token.h:22:
/Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/credentials/user.h:73:9: error: definition of implicit copy constructor for 'User' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
  User& operator=(const User& other) = default;
        ^
/Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/core/firestore_client.cc:134:61: note: in implicit copy constructor for 'firebase::firestore::credentials::User' first required here
      shared_client->worker_queue_->Enqueue([shared_client, user, settings] {
                                                            ^
1 error generated.
make[3]: *** [external/src/firestore-build/Firestore/core/CMakeFiles/firestore_core.dir/src/core/firestore_client.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/core/sync_engine.cc:17:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/core/sync_engine.h:37:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/remote/remote_store.h:29:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/remote/datastore.h:26:
In file included from /Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/credentials/auth_token.h:22:
/Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/credentials/user.h:73:9: error: definition of implicit copy constructor for 'User' is deprecated because it has a user-declared copy assignment operator [-Werror,-Wdeprecated-copy]
  User& operator=(const User& other) = default;
        ^
/Users/awe/qt_projects/firebase-cpp-sdk/build/external/src/firestore/Firestore/core/src/core/sync_engine.cc:95:7: note: in implicit copy constructor for 'firebase::firestore::credentials::User' first required here
      current_user_(initial_user),
      ^
1 error generated.
make[3]: *** [external/src/firestore-build/Firestore/core/CMakeFiles/firestore_core.dir/src/core/sync_engine.cc.o] Error 1
make[2]: *** [external/src/firestore-build/Firestore/core/CMakeFiles/firestore_core.dir/all] Error 2
make[1]: *** [firestore/CMakeFiles/firebase_firestore.dir/rule] Error 2
make: *** [firebase_firestore] Error 2

Thank you for the bug report. This appears to be a problem in the firebase-ios-sdk repository.
Could you please try building that repository directly and see what happens? If you get the same/similar errors, please open a bug report there.
FWIW I ran into a similar build error with Xcode 13.3.1. Downgrading to Xcode 13.2.1 fixed the build error.
Also, please run clang --version and include the output from that command in your bug report, as well as the version of Xcode that you have installed.

Xcode 13.3.1
Apple clang version 13.1.6 (clang-13<IP_ADDRESS>.3)
Target: x86_64-apple-darwin21.4.0
Thread model: posix
Building firebase-ios-sdk directly throw this same error. I created a new report there.
https://github.com/firebase/firebase-ios-sdk/issues/9702

Thank you. I'm going to close this issue and use the other one you created to fix the problem at the source.

The fix has been incorporated into version 9.0.0, released May 10, 2022.


confinedsprite

Added confinedsprite as an extension to movesprite

Looks good, just a few changes that need to be made.

The outfile in make.bat needs to be changed from MoveSprite.gb to something like ConfinedSprite.gb
That new outfile needs to be added to the .gitignore and the old MoveSprite.gb needs to be deleted.

Thanks


Make Quiet mode the default?

Can the default installation mode be changed from Passive to Quiet? Having an UI by default seems counter-intuitive to the intent of chocolatey having a purely CLI experience.

Sounds reasonable. @riezebosch what do you think?

Should there be a package parameter for Passive? Or not worth the effort?

Implemented in the "new" family of packages discussed in #45. The existing "versionless" dotnetcore-* packages will gain this too (probably soon).

Hi maintainers, thanks for these packages,
I don't have a serious need, I'm just letting you know the behaviour I'm seeing: when I choco update, I only get one interactive installer and that's dotnetcore-desktopruntime. So this is just a "me too" for suggesting silent a silent installation should be the default.
I think silent is the expected default for all choco packages. I found this buried in the chocolatey docs for Install-ChocolateyInstallPackage > -SilentArgs

Please include the notSilent tag in your Chocolatey package if you are not setting up a silent/unattended package. Please note that if you are submitting to the community repository, it is nearly a requirement for the package to be completely unattended.

Thanks again for maintaining, I appreciate it.

The existing "versionless" dotnetcore-* packages will gain this too (probably soon).

I've finally made the effort of converting the versionless packages to reference the modern, version-specific ones, which do set /quiet by default. (so it turned out "soon" meant: "in a year or so" 😉 )
The docs about -SilentArgs unfortunately conflate two distinct aspects: visible/invisible installation progress and automatic (unattended) installation versus requiring user input. Of the two of them, the second aspect is much more important - yes, packages on chocolatey.org should be unattended (i.e. not require user input). The other aspect was historically not very regulated and often was the result of personal preferences of a given maintainer.


375 filesystem storage staging

´

please remember to extend LoadInfo and dlt pipeline info. I wrore that in comment in previous review.

I put that in. But what happens now is, that if I run the pipeline with staging, the trace will say staging was used, if I run it again without staging, it still says the staging was used. If I do it the other way round, it's right (first no mention of staging, then staging is mentioned). It seems like the trace info is not updated properly..

Not sure where you want def get_bucket_path(file_path: str) -> str: to be, I moved it into CopyFileLoadJob, but maybe you prefer it to be in the reference job?

Not sure where you want def get_bucket_path(file_path: str) -> str: to be, I moved it into CopyFileLoadJob, but maybe you prefer it to be in the reference job?

yes we should. there's a review comment to do that hanging for some time :)


Cannot Use Prepare For Segue Please Help

The prepareforsegue func doesn't recognise my class I cannot go to other ViewController

@Pradhan10 I think that's not the case for using segues. If you give me some demo project I'll try to configure it for you, it's trivial.


References in pull request "main" review comments do not work.

Gitea version (or commit ref): 1.14.2

Description
If you reference another issue or PR in a main review comment (Approve/Request changes), the reference is not shown in the referenced issue.
This has probably the same root cause as #14567 and  #13394.

I think its no longer reproduce-able or maybe I did something wrong?
reference in 'main' comment

referenced PR:

Yes, I agree.

Why did you close it? It's still a bug, I only wrote a comment to show how to reproduce it

Sorry, I misremembered what this issue was about.


Unexpected Data frame from http request

A single request with no payload into SourceInputStreamFactory is generating 3 nuklei frames.

Begin
Data
End

The Data and End are triggered by a nuklei data frame of : DATA frame <length=0, flags=1, id=1>
I would expect that as there are no headers and no data that a simple End frame would suffice.
Thus also a spec test for this must be missing.

Now resolved.


Move Windows CI to GitHub Action v2

Hi @SteveDiamond, @rileyjmurray, @akshayka
closed the first PR, as it got too cluttered from our deployment investigation.
To get the CI working on windows I had to:

bump scipy=1.1 numpy=1.15 to scipy=1.3 numpy=1.16 on Python 3.6 and 3.7, this fixed the "DLL not found" error
skip two benchmark tests -> They caused the "Error 3" failures during pytest. I found some comments in the codebase there is a known bug affecting some windows/scipy combinations. I suspect it is a similar case here
remove the printing of osqp_version, could be added back with if condition if necessary

Overall the complexity got reduced quite a bit.
Note: seems like one job failed due to the connection error again, so it needs to be retriggered by an admin.
I'll check if other users also have that issue when using setup-miniconda@v2

Once the tests pass this generally looks good to merge to me.

We could skip building wheels and source when we're not uploading to pypi.

LGTM!


feat: add array/base/unary4d-by

Resolves #3174 .
Description

What is the purpose of this pull request?

This pull request:

added functionality for unary4d-by

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #3174

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

@Planeshifter Kindly requesting you to review this PR.


Test: Remove redundant lines

What is the problem that this fixes or functionality that this introduces? Does it fix any open issues?
This PR removes unnecessary calls to pathlib.Path(temp_dir).mkdir(parents=True, exist_ok=True) from various test files. The tempfile.TemporaryDirectory already creates a temporary directory, so these calls are redundant. This PR improves test efficiency and cleanliness.

Give a summary of what the PR does, explaining any non-trivial design decisions
This PR refactors the test setup code by removing redundant directory creation logic. Specifically, it eliminates the pathlib.Path(temp_dir).mkdir(parents=True, exist_ok=True) line from the following test files:

tests/unit/test_event_stream.py
tests/unit/test_ipython.py
tests/unit/test_runtime.py
tests/unit/test_sandbox.py

The use of tempfile.TemporaryDirectory() provides a temporary directory context, making additional manual directory creation unnecessary.

Other references
No related issues or references.

We're doing some cleanup of PRs, and are going to close this one for now.


Update: PhoneGap Build new builder - cli-7/8

This is a simple change to the README to document that PGB's new builder requires the same XML configuration.

Thanks!


CheckboxSelectColumn Plugin: trigger Event for select/deselect all rows

I'm no friend of bad language, but selection support in paginated slickgrids is aehm... lacking.
I've been a slickgrid user for a while now and appreciate the "sacrifice everything for performance"/"slickgrid doesn't handle this, so you can do it in your way" philosophy, but even if a programmer is willing to do the selection bookkeeping on his own, there are a few obstacles that make this task much too complicated.
One is the the CheckboxSelectColumn plugin, which I'm using in this grid. The "Select All" checkbox simply sets all grid rows selected on the CURRENT page, but doesn't emit an event telling "hey datasource, the user just (de)selected all row items!".
So even if I'm willing to play the "selection bookkeeper", i can't. Can the CheckboxSelectColumn Plugin please fire such an event?

I am sorry for the frustration this is causing you.  Designing the components and API in a generic and flexible enough fashion that accommodates all potential use cases, yet is easy enough to use is difficult.  Apart from the performance requirements, an important piece is the separation of grid and data which gives great flexibility but it does come at the expense of having to write more boilerplate code.  I'm continuing to try and make the common scenarios easier.  As such, synchronizing selection, amongst other things, across DataView changes such as filtering, sorting, paging, etc. can now be done in just one line of code (https://github.com/mleibman/SlickGrid/commit/8892f4a3e07c605c3e0b85d2895bd6ff46022191).
The CheckboxSelectColumn plugin is barely over 100 lines of code and, while it isn't very flexible or extensible yet, is easy to adapt to your needs.  I will look into improving its design, but for now I'm moving this out of 2.0b1 milestone.

mleibman, you are my hero. Bless your soul, sir.


How do I pass login information to aria2c if I use the external download command aria2c to download YouTube?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
如果使用外部下载命令 aria2c 下载 YouTube 该如何把登录信息传递给 aria2c？
如果不额外指定 --external-downloader-args 选项的变元，yt-dlp 自动给 aria2c 生成的选项无法进行下载。提示

-> [SocketCore.cc:1019] errorCode=1 SSL/TLS handshake failure: Error: 操作成功完成。

The options that yt-dlp automatically generates for aria2c cannot be downloaded without additionally specifying the arguments for the --external-downloader-args option. Tip.

-> [SocketCore.cc:1019] errorCode=1 SSL/TLS handshake failure: Error: operation completed successfully.

Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

I don't understand the question. Can you share complete verbose output? How can I reproduce the issue? Please elaborate

Downloading YouTube with yt-dlp requires a login, I thought that if yt-dlp calls aria2c then aria2c also needs to be logged in to YouTube, what I don't know is how aria2c logs in to Youtube. Maybe I'm wrong, I couldn't download before maybe it was a proxy server problem, but now I can download again. I'll take another look and I'll add any questions.

yt-dlp passes all necessary information like cookies on to aria2c. You don't need to also pass cookies separately to aria2c.
Since you mentioned using a proxy, yes, this does seem to be a network issue. But you need to share a complete verbose log; otherwise we cannot help you.


Target block jumps on drag and dropped to the wrong position in Chrome 99

Describe the bug
Bug is reproducible in Chrome 99 in official docs - https://react-dnd.github.io/react-dnd/examples/drag-around/naive.
The target dragging element twitches on drag start and drop position is displaced as well.
Reproduction
Live Reproduction

Steps to reproduce the behavior:

Go to official docs
Start drag and drop in live example box.
See an issue

Expected behavior
Smooth and correct positioning of the dragging target.
Desktop (please complete the following information):

MacOS Monterey
Chrome 99

I'm experiencing the same issue, any plans to fix it?

In the updated Chrome v100 the issue is still reproducible

@darthtrevino could you look please? this is super critical, the main library does not work in the most popular browser


Polkadot SDK Update

[x] Add polkadot-sdk as submodule
[x] Remove cumuls as submodule
[x] Update snowbridge pallet dependencies
[x] Make sure tests and Github Action workflows pass
[x] Update snowbridge scripts to use polkadot-sdk, not cumulus
[x] Add snowbridge pallets to bridge hub
[x] Double check dependency versions
[x] Port any config from snowfork/cumulus to snowfork/polkadot-sdk
[x] E2E scripts complete
[x] Parachain block production with pre-opened HRMP channels https://github.com/paritytech/polkadot-sdk/pull/1616
[ ] Asset hub genesis mismatch with Kusama asset hub chain spec
[ ] Smoke tests pass
[ ] Token transfer works
[x] Regenerate benchmarks

Polkadot SDK companion: https://github.com/Snowfork/polkadot-sdk/pull/2

Closing in favour of https://github.com/Snowfork/snowbridge/pull/972.


Appstudio update test-component-pac-dvaz

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-dvaz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
30 seconds
init

✅ Succeeded
24 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
39 seconds
deprecated-base-image-check

✅ Succeeded
40 seconds
sanity-inspect-image

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
29 seconds
sbom-json-check

✅ Succeeded
20 seconds
sanity-label-check

✅ Succeeded
20 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-dvaz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
16 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
32 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
12 seconds
sanity-inspect-image

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
18 seconds
sanity-optional-label-check

✅ Succeeded
18 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary

Pipelines as Code CI/test-component-pac-dvaz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
16 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
32 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
12 seconds
sanity-inspect-image

✅ Succeeded
13 seconds
clair-scan

✅ Succeeded
57 seconds
clamav-scan

✅ Succeeded
18 seconds
sanity-label-check

✅ Succeeded
18 seconds
sanity-optional-label-check

✅ Succeeded
6 seconds
show-summary


Support MinClientVersion <= <IP_ADDRESS>

Fixes https://github.com/NuGet/Home/issues/5156

4.1.0 is out already
4.3.0 is available in the CLI preview builds
Why does the gallery limit this? Just to verify the package is sane?

Perhaps we should make max exclusive and switch to 5.0.0--. For just say the major part must be less than or equal to 4. This seems like an overly strict requirement.

Moved the issue to NuGetGallery repo: https://github.com/NuGet/NuGetGallery/issues/3866

4.1.0 is out already
4.3.0 is available in the CLI preview builds

Unfortunately, there is no 4.1 of any of the client libraries on NuGet.org?

@maartenba , why do we need MinClient version check at all? What was the intent on having it as part of the package validation process? I'm trying to understand if we should have an additional issue to remove this validation all together.