Read payload from SCAN_REQ packets (IDFGH-144)

Hello,  for a real LE device I want send sometimes soome data from the Central (i.e. PC/Smartphone) to the peripheral (battery powered ESP32). IMO a typical BLE case.
In the normal case the ESP32 is adverticing and if needed the Central can active scan and response with data (GAP). The most time the ESP is in sleep. A connection (GATT) is not possible. On the ESP side I miss the Event to grab the transmitted data or better an example how to implement this. Any hints ?

@negativekelvin sorry,  It is not a hci event, our ble code has not the event.

@Weijian-Espressif you mean the riverawaves code that handles scan request does not generate hci event, correct?  Is that not fixable?

there is no hci event for ESP_GAP_BLE_SCAN_REQUEST_EVT, so our BLE do not support the EVENT.

Right, so modify the low level stack code and add one.  TI has it:
Macros
--
#define | HCI_EXT_DISABLE_SCAN_REQUEST_REPORT   LL_EXT_DISABLE_SCAN_REQUEST_REPORT
  | Disable.

#define | HCI_EXT_ENABLE_SCAN_REQUEST_REPORT   LL_EXT_ENABLE_SCAN_REQUEST_REPORT
  | Enable.

http://dev.ti.com/tirex/content/simplelink_cc2640r2_sdk_1_50_00_58/docs/blestack/ble_user_guide/doxygen/ble/html/group___scan__req.html

sorry, this is a custom protocol, we need to discuss.

Ok no problem.  If it is disabled by default it should not cause any issue.  If it is optional at least we can experiment.

@all, Sorry, this is not defined by BLE spec, we have no plans to add the event now.

BLUETOOTH SPECIFICATION Version 5.0 | Vol 2, Part E page 1227
Host Controller Interface Functional Specification
<IP_ADDRESS> LE Scan Request Received Event
Description:
The LE Scan Request Received event indicates that a SCAN_REQ PDU or an
AUX_SCAN_REQ PDU has been received by the advertiser. The request
contains a device address from a scanner that is allowed by the advertising
filter policy. The advertising set is identified by Advertising_Handle.
This event shall only be generated if advertising was enabled using the LE Set
Extended Advertising Enable command.
The Scanner_Address_Type and Scanner_Address indicates the type of the
address and the address of the scanner device.

This event shall only be generated if advertising was enabled using the LE Set
Extended Advertising Enable command.

Im guessing esp32 is not supporting this.

Yeah it looks like that is the only way to enable it other than having custom hci command like TI, but it should work with legacy advertising too so it doesn't really need full extended advertising support.  Sad.

The Scan_Request_Notification_Enable parameter indicates whether the
Controller shall send notifications upon the receipt of a scan request PDU that
is in response to an advertisement from the specified advertising set that
contains its device address and is from a scanner that is allowed by the
advertising filter policy.


Computed properties with v-referenced component values?

Is it possible?

Not sure what you mean exactly - like return this.$.ref.computedValue?

Let's move questions like this to vuejs/Discussion. Thanks


[FEATURE] Add EVM popup display

If a user does not have a COA and tries to open an EVM dApp or perform an EVM operation, the wallet should display a popup prompting them to enable EVM.

[ ] internal browser move button
[ ] internal browse connect wallet button
[ ] wc

@zhouxl
I couldn't find the new build. Is there a new package available?

Tested on iOS dev version 2.2.10(9)
EVM pop up display succeed when click move icon in internal browser.
EVM pop up display failed internal browse connect wallet button and wc.
https://github.com/user-attachments/assets/16f11c73-608c-403f-8d08-85daab385d07

Tested on iOS dev version 2.2.10(12)

[ ] internal browser move button

[ ] internal browse connect wallet button

[ ] wc by QR code

[ ] wc in internal browser
https://github.com/user-attachments/assets/d989e7f4-6cc3-4ff2-829f-edbdbd0fa456


[New Feature]: Validation feature for disp_s1_burst_db_tool

Checked for duplicates
Yes - I've already checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
No response
Describe the feature request
Add validation to the database tool. This will go through the entire cmr for each frame to make sure that the data that the database json claims actually exists

Completed


Data disappears if value is higher than axis max-value

How to reproduce?
Hi i've observed another "little" issue after upgrading one of projects from LiveChart 7.08 to the newer 7.14.3 version:
if i have setted the axis max value and some data is higher than the Axis-MaxValue this data will not be drawn!
In my case i have the YAxis with MAxValue 1.1 and Values : 1.12 0.97 1.06 0.84 1.26
so the first and the last one disappears ...
Extra notes
here is screenshot from 7.08 and 7.14.3 versions:of the same chart:
7.08:

7.14.3:

thanks in advance, ... and: Great job!
I am using

Live-Charts version
7.14.3

.Net Version
4.5.1

Windows
Win 7 Pro SP1 (x86)

Las commit fixed it, thanks for the report, this will be included since 0.7.16
thanks again!


Re-export VectorTile from ol/source

It looks like VectorTile is not re-exported from ol/source. This PR fixes that.

welcome back @elemoine


Add eslint-prettier

With similar intentions to #224 this adds eslint-config-prettierand eslint-plugin-prettier to the eslint config, and adds a pre-commit hook which automatically formats all the javascript files for you.

4a534b7 adds the configuration to check for style errors
33592ba adds the pre-commit hook
babb867 is an autoformat of the codebase to make sure this PR passes CI.

This is great, thanks for the PR!
As Perspective is a multi-language project (C++, Javascript and soon Python, plus non-languages like HTML and LESS), I believe it is important to impose at least some basic consistency across the codebase proper where applicable.  We'll make a similar request to #224 when I have time to review the clang-format options in more detail, but for now I believe these overrides to prettier defaults are justified:

bracketSpacing: false IMO the default is not consistent with the rest of the project - it is e.g. not the default for clang-format braced initializers, which they justify under Cpp11BracedListStyle here.
tabWidth: 4 Again, simply for consistency with #224 and the extent LESS, HTML, JSON, etc formatting.
Worth also mentioning that we should probably have consistent printWidth, as I (and I assume any other developer) will not be switching IDEs when implementing changes across several Perspective languages.  I do tend to agree however that #224's printWidth is a bit on the conservative side, so this is probably fine at 200 for now.

Personally, I am disinterested in the details of code formatting outside of consistency - assuming you concur, would you mind amending this commit by adding the above 2 overrides to the prettier configuration in 4a534b7, and redoing babb867 to respect these changes?

Very reasonable request, I'll update the options now and re-run babb867.


Memory issues

Hello,
I am having trouble allocating memory to the program.
I am using the following command:
unitig-caller --call \
--threads 10 \
--pyseer \
--rtab \
--refs refs.txt \
--reads reads.txt

I have tried running this command with 10 cpus and 300gb of memory. It runs for 15h and it is killed due to unsuficient memory allocation. The datset is not large so this seems odd to me. It's only 95 bacterial genomes, each ~3.5Gb long. I can see that the progam is partly written in java and I was wodnering if that could be the issue? I have access to an HPC and increasing the memory is not an issue but I am just wodnering if you have some practical advice as to how many threads is optimal to use.
Also, the default 31 bp for a k-mer seems a bit small to me and I thought increasing it may save on mempry but increasing it generates an error saying it cannot be more than 31.
Cheers,
Martina

Could I ask for a little more information here:

What is the content of refs.txt and reads.txt?
Are you working from reads or assemblies?
What output do you get, if any?
How much memory was reported as used via /usr/bin/time -v or your HPC scheduler?
Does it work on a subset of the data?

None of the program is in java though!
@samhorsfield96 is k=31 the maximum for bifrost?

Hello,

What is the content of refs.txt and reads.txt?
refs.txt is just the path to 1 reference file.
reads.txt is paths to 95 asseblies of bacterial genomes each ~3.8 million base pairs long created with Unicycler
I can use raw reads if you recommend that option

What output do you get, if any?
just an empty .pyseer file

How much memory was reported as used via /usr/bin/time -v or your HPC scheduler?
This is the log file from one of my attempts:

cat unitig_job_17331934.log
Building a DBG and calling unitigs within...
Building coloured compacted DBG...
Calling unitigs within population...
/var/spool/slurmdspool/job17331934/slurm_script: line 15: 54245 Killed                  unitig-caller --call --threads 18 --pyseer --rtab --refs refs.txt --reads reads.txt --out chinese_unitigs
slurmstepd: error: Detected 1 oom-kill event(s) in StepId=17331934.batch. Some of your processes may have been killed by the cgroup out-of-memory handler.

============================
 Job utilisation efficiency
============================

Job ID: 17331934
Cluster: viking
User/Group: mms565/clusterusers
State: OUT_OF_MEMORY (exit code 0)
Nodes: 1
Cores per node: 20
CPU Utilized: 6-11:13:17
CPU Efficiency: 77.82% of 8-07:27:00 core-walltime
Job Wall-clock time: 09:58:21
Memory Utilized: 198.10 GB
Memory Efficiency: 99.05% of 200.00 GB
 Requested wall clock time: 2-00:00:00
    Actual wall clock time: 09:58:21
Wall clock time efficiency: 20.8%
           Job queued time: 03:17:59

Does it work on a subset of the data?
I will try this and report but the data is not large

Cheers,
Martina

Hi Martina,
I'm sorry to hear you're running into issues.
The maximum k-mer value allowed for Bifrost, which is the de-Bruijn graph builder used to generate the unitigs, is 31 base-pairs. This is because this is the maximum size for a k-mer whose hash value can fit in a 64-bit integer. However, this can be increased by compiling Bifrost with a larger maximum k-mer size if you wish (https://github.com/pmelsted/bifrost#:~:text=the Troubleshooting section.-,Large k-mers,-The default maximum). However, we have found 31 base pairs to work well with most bacterial genomes, and increasing this may instead reduce the number of matching unitigs across each genome.
With regards to the memory issue, I would suggest placing the paths to all of your assemblies in the refs.txt file, and do not use --reads reads.txt. This is meant for a list of raw reads files, rather than assembled genomes.
All the best,
Sam

Hello Sam,
I had made an error when describing what the refs.txt and reads.txt files contain. I have edited my answer now. However, did I understand correctly that I should be using the software either with assemblies or raw reads and not with both of them together?
Cheers,
Martina

Hi Martina,
That's right, you don't need to supply both the assemblies and reads for each isolate, you can supply either one or the other. As the assembly process will have removed a lot of erroneous k-mers and increased contiguity, I would always advise using the assemblies if you have them. I predict that you are running out of memory becuase you are using both the assemblies and reads in this case.
Hopefully this sorts your issue, but please let us know if it persists.
Sam

Hello Sam,
Yes, using only the assemblies solved the issue! Thanks very much for your help!
Cheers,
Martina


usb game pad with alvr plug into the quest

i have a USB gamepad i want to uses with my quest with alvr is there a way you can make the c-type port on the quest work as USB on port or something on pc?

No, that's something the android system does. You can connect a Bluetooth controller to the Quest, but alvr does not transfer that input to the PC. If you want to use a controller with alvr, get a wireless Xbox One controller and connect it directly to the PC.


Add atom-finance plugin that shows stock prices in editor

@mehcode

Huh, we dodged a bullet for not including this.
Seems to not be functional for approximately two months: https://github.com/7kfpun/atom-finance/issues/3
I'm willing to accept this if it becomes functional again.


Accessibility issues main navigation (category type folder and flyout not accessible with tab navigation)

When a main navigation item is not also a category link but just a structural element, it cannot be accessed via tab navigation. Therefore the underlying flyout menu cannot be opened.
I suggest to add tabindex=0 to the main-navigation-link div when category.type is folder. And also to add focus event as opening trigger in flyout menu plugin.

[public] Automated response: This issue is linked to the internal issue https://shopware.atlassian.net/browse/NEXT-32669.
[created from NEXT-32669, comment 485404]

[public] Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know. Thank you again for your valuable feedback.
[created from NEXT-32669, comment 492310]


Amplify cli incompatible with aws cli sso credentials

Is your feature request related to a problem? Please describe.
The aws cli's aws configure sso and/or aws sso login is extremely convenient to work with. However, it saves credentials in a different way inside the ~/.aws configuration directory. In particular, it does not create the file credentials but rather uses other files in the ~/.aws/sso subdirectory. The amplify cli currently always expects this file to exist, hence fails with an error when giving it the profile to use.
Describe the solution you'd like
I would like for amplify to correctly recognize and work with a profile configured through sso functionality.
Describe alternatives you've considered
Until this is fixed, our solution is as follows:

go to our aws organization's portal page and login
select the account to assume the role in
click command line or programmatic access
copy option # 2
paste it correctly in ~/.aws/credentials
run amplify init

Additional context
$ aws configure sso
SSO start URL [None]: https://REDACTED.awsapps.com/start
SSO Region [None]: us-east-1
Attempting to automatically open the SSO authorization page in your default browser.
If the browser does not open or you wish to use a different device to authorize this request, open the following URL:

https://device.sso.us-east-1.amazonaws.com/

Then enter the code:

REDACTED
There are 3 AWS accounts available to you.
Using the account ID REDACTED
There are 2 roles available to you.
Using the role name "DeveloperAccess"
CLI default client Region [None]: us-east-1
CLI default output format [None]: yaml
CLI profile name [DeveloperAccess-REDACTED]:

$ amplify init
Scanning for plugins...
Plugin scan successful
Note: It is recommended to run this command from the root of your app directory
? Enter a name for the environment dev
? Choose your default editor: IntelliJ IDEA
Using default provider  awscloudformation

For more information on AWS Profiles, see:
https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html

? Do you want to use an AWS profile? Yes
? Please choose the profile you want to use DeveloperAccess-REDACTED
init failed
Error: connect ENETUNREACH REDACTED:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1141:16) {
  message: 'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1',
  errno: 'ENETUNREACH',
  code: 'CredentialsError',
  syscall: 'connect',
  address: 'REDACTED',
  port: 80,
  time: 2020-08-12T02:29:36.728Z,
  originalError: {
    message: 'Could not load credentials from any providers',
    errno: 'ENETUNREACH',
    code: 'CredentialsError',
    syscall: 'connect',
    address: 'REDACTED',
    port: 80,
    time: 2020-08-12T02:29:36.728Z,
    originalError: {
      message: 'EC2 Metadata roleName request returned error',
      errno: 'ENETUNREACH',
      code: 'ENETUNREACH',
      syscall: 'connect',
      address: 'REDACTED',
      port: 80,
      time: 2020-08-12T02:29:36.728Z,
      originalError: [Object]
    }
  }
}

Closing this as a duplicate https://github.com/aws-amplify/amplify-cli/issues/4488


remove default value for targetarch

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[X] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[X] Does not have any user-facing changes.
This change removes the default value from the usages of ${TARGETARCH} argument in docker files. It's not immediately clear why this is necessary, but on when building on arm64 with make dockerx, this default value prevents Docker from locating the correct binary version. According to Docker documentation, that ARG is always provided when using the Buildkit backend, which I think is the case, but please correct me if I am wrong.

Hi @AWSjswinney. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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

Is it possible to set it only if its not configured by buildx or something?

I'm not sure, but I will look into it to see what I can find out.

I can build the containers with buildx... at some point I may look into fixing the the non-buildkit case.


Fix double fin packets

Don't send Fin packet twice.

This PR had bugs. See newer one https://github.com/canndrew/tokio-utp/pull/16


[sw, dif_spi_device] Proper naming of polarity and phase

The naming of clock polarity and clock phase is not really precise. Change the naming to reflect the underlying options.
This relates to #7136, naming should match the underlying options. The "sampling" notion for the phase makes probably most sense, alternative is probably "shifted/aligned" I think.

@wallento can you apply the clang-format fixes suggested in CI?
@mcy @timothytrippel can you review this PR, please?


[galley] Merge from master

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ozevren: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
4d761794cebc51f5cf2d028ba68a69022f6d9be5
link
/test istio-unit-tests

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


CPython 3.6+ is switching to a 16-bit wordcode format

This is an early heads up that CPython will be switching to a 16-bit wordcode format as of 3.6a2: http://bugs.python.org/issue26647
The change itself is in https://hg.python.org/cpython/rev/3a57eafd8401
In theory this should be a transparent change for any project that interacts with compiled code solely through the dis module, but since VoC transpiles CPython bytecode I figured you may want to take a closer look at the implications.

Thanks for the heads up @ncoghlan. I noticed this go past on python-dev, and assumed it was going to have a pretty big effect, although I hadn't dug into the details yet. Was going to ask around in Portland in a couple of days time.
Are the changes to bytecode format documented, or does this fall into the same "it's documented that it's undocumented, to discourage people from tinkering" hole that the BUILD_MAP change came under?

Worth noting that this will affect Batavia, as well.

There is also a problem with CPython 3.5: the BUILD_MAP code changed the order the operands are processed.


#916 Set-up node tests for Android and iOS

From #936.

[x] Merge vNext_yarong_417_812 with #913/#914

[x] Make sure UnitTest_App.js will run node tests (this really should have been fixed in vNext_yarong_417_812 but just in case be sure)

[ ] ...

[ ] ...

[ ] ...

This PR is not completed yet.
Task list will be updated.

This change is

PR is added to the queue for testing as 3. task. (e824c1c)

Hi @artemjackson, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Test (Fail) 82912030 build is completed (e824c1c)
See https://github.com/ThaliTester/TestResults/tree/82912030e824c1c__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 3. task. (fcfeca2)

Test (Fail) 82912030 build is completed (fcfeca2)
See https://github.com/ThaliTester/TestResults/tree/82912030fcfeca2__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 2. task. (4eb3be2)

Test (Fail) 82912030 build is completed (4eb3be2)
See https://github.com/ThaliTester/TestResults/tree/829120304eb3be2__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 4. task. (629aac4)

Test (Fail) 82912030 build is completed (629aac4)
See https://github.com/ThaliTester/TestResults/tree/82912030629aac4__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 1. task. (d0e406f)

Test (Success) 82912030 build is completed (d0e406f)
See https://github.com/ThaliTester/TestResults/tree/82912030d0e406f__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test 82912030d0e406f(d0e406f) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030d0e406f__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

PR is added to the queue for testing as 1. task. (bdacf14)

Test (Fail) 82912030 build is completed (bdacf14)
See https://github.com/ThaliTester/TestResults/tree/82912030bdacf14__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 2. task. (aa3e545)

Test (Fail) 82912030 build is completed (aa3e545)
See https://github.com/ThaliTester/TestResults/tree/82912030aa3e545__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 3. task. (4df63d9)

Test (Success) 82912030 build is completed (4df63d9)
See https://github.com/ThaliTester/TestResults/tree/829120304df63d9__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test 829120304df63d9(4df63d9) has failed
See https://github.com/ThaliTester/TestResults/tree/829120304df63d9__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

PR is added to the queue for testing as 1. task. (fa224b6)

Test (Success) 82912030 build is completed (fa224b6)
See https://github.com/ThaliTester/TestResults/tree/82912030fa224b6__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test 82912030fa224b6(fa224b6) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030fa224b6__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

PR is added to the queue for testing as 1. task. (9a78d5a)

PR is added to the queue for testing as 2. task. (4bed7b1)

@yaronyg, @evabishchevich and I ran this PR on three Android devices and got success.
See the log for more details.

Test (Success) 82912030 build is completed (9a78d5a)
See https://github.com/ThaliTester/TestResults/tree/829120309a78d5a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test (Success) 82912030 build is completed (4bed7b1)
See https://github.com/ThaliTester/TestResults/tree/829120304bed7b1__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test 829120309a78d5a(9a78d5a) has failed
See https://github.com/ThaliTester/TestResults/tree/829120309a78d5a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

Test 829120304bed7b1(4bed7b1) has failed
See https://github.com/ThaliTester/TestResults/tree/829120304bed7b1__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

PR is added to the queue for testing as 1. task. (cdf6f6e)

Test (Fail) 82912030 build is completed (cdf6f6e)
See https://github.com/ThaliTester/TestResults/tree/82912030cdf6f6e__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 1. task. (d4c3c3e)

Test (Fail) 82912030 build is completed (d4c3c3e)
See https://github.com/ThaliTester/TestResults/tree/82912030d4c3c3e__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 1. task. (8800f9e)

Test (Fail) 82912030 build is completed (8800f9e)
See https://github.com/ThaliTester/TestResults/tree/829120308800f9e__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 3. task. (2824559)

Test (Fail) 82912030 build is completed (2824559)
See https://github.com/ThaliTester/TestResults/tree/829120302824559__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 1. task. (c36b21a)

PR is added to the queue for testing as 3. task. (64a8f9d)

Test 82912030c36b21a(c36b21a) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030c36b21a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

Test (Success) 82912030 build is completed (64a8f9d)
See https://github.com/ThaliTester/TestResults/tree/8291203064a8f9d__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 3. task. (351196c)

PR is added to the queue for testing as 3. task. (aff0b78)

Test (Fail) 82912030 build is completed (351196c)
See https://github.com/ThaliTester/TestResults/tree/82912030351196c__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test<PHONE_NUMBER>a8f9d(64a8f9d) has failed
See https://github.com/ThaliTester/TestResults/tree/8291203064a8f9d__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

Test (Success) 82912030 build is completed (aff0b78)
See https://github.com/ThaliTester/TestResults/tree/82912030aff0b78__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 2. task. (f17cf99)

Test 82912030aff0b78(aff0b78) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030aff0b78__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

Test (Success) 82912030 build is completed (f17cf99)
See https://github.com/ThaliTester/TestResults/tree/82912030f17cf99__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

PR is added to the queue for testing as 3. task. (648592a)

Test 82912030f17cf99(f17cf99) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030f17cf99__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

Test (Success) 82912030 build is completed (648592a)
See https://github.com/ThaliTester/TestResults/tree/82912030648592a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test<PHONE_NUMBER>8592a(648592a) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030648592a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

PR is added to the queue for testing as 1. task. (5478790)

PR is added to the queue for testing as 2. task. (c90465a)

Test (Success) 82912030 build is completed (5478790)
See https://github.com/ThaliTester/TestResults/tree/829120305478790__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test (Success) 82912030 build is completed (c90465a)
See https://github.com/ThaliTester/TestResults/tree/82912030c90465a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test<PHONE_NUMBER>78790(5478790) has failed
See https://github.com/ThaliTester/TestResults/tree/829120305478790__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

PR is added to the queue for testing as 3. task. (9e2869a)

PR is added to the queue for testing as 4. task. (be204d2)

Test 82912030c90465a(c90465a) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030c90465a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

Test (Success) 82912030 build is completed (9e2869a)
See https://github.com/ThaliTester/TestResults/tree/829120309e2869a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test (Success) 82912030 build is completed (be204d2)
See https://github.com/ThaliTester/TestResults/tree/82912030be204d2__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test 829120309e2869a(9e2869a) has failed
See https://github.com/ThaliTester/TestResults/tree/829120309e2869a__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

Test 82912030be204d2(be204d2) has failed
See https://github.com/ThaliTester/TestResults/tree/82912030be204d2__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs

PR is added to the queue for testing as 1. task. (02d4a60)

Reviewed 17 of 17 files at r1.
Review status: 15 of 17 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 2 of 2 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Test (Success) 82912030 build is completed (02d4a60)
See https://github.com/ThaliTester/TestResults/tree/8291203002d4a60__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the logs

Test<PHONE_NUMBER>d4a60(02d4a60) has failed
See https://github.com/ThaliTester/TestResults/tree/8291203002d4a60__916_Set-up_node_tests_for_Android_and_iOS_artemjackson/ for the fail logs


Rolling updates without downtime in preview environments

Could you please stop the automatic security updates from Dependabot so we can handle them manually as needed? These updates occasionally cause the server to be down for a few seconds, which disrupts operations.
Additionally, during our testing today, we encountered two errors:
Argo Server was not accessible for a few seconds (see attached image).

Afterward, we received the following error message:
"Consuming input failed: terminating connection due to administrator command. The server closed the connection unexpectedly. This likely indicates that the server terminated abnormally before or during the request processing." (see attached image).

Could you please advise or suggest solutions regarding these issues? Your help is highly appreciated.

@ralf-berger  Thanks for your infromation.
1- I would like to mention that whenever we try to push changes to Edge, they do not release automatically, and it takes considerable time for the changes to be reflected. Previously, when we pushed changes, it took only a few minutes for them to be released on Edge.
2- Also, in Argo, I can see that it is OutOfSync. What could be causing this?"
3- Is it possible to trigger synchronization by clicking on the 'SYNCHRONIZATION' button as shown in the attachment? Or will this result in an error?

@ralf-berger  we still have some issues with the connection to wikipedia_service in coursemapper-kg/concept-map as given in the attachment.

It is very urgent as we are planing to test the system tommorrow and finalize. Your help is highly appreciated


Bug when trying to toggle all groups.

In the sample ExpandActivity I added the flowing line.
    for (ExpandableGroup g : groups) {
      adapter.toggleGroup(g);
    }

What I was thinking would happen
All the groups would expand.
What happened
Only the Rock group was expanded.

I can confirm this issue, and I only had 2 groups. However I "fixed" it by toggling the groups in reverse (the last group expanded first)

Actually, toggle group accepts flat position of the group view. So if there are expanded groups above then the flat position of that group you are trying to toggle will be different. For more info about flat position read this https://robots.thoughtbot.com/introducing-expandablerecyclerview
By doing it in reverse the group expanded below won't affect the flat position of the group you are trying to expand. So you can use it as trick


Update to sqlutil helpers

In https://github.com/grafana/cloud-data-sources/issues/94 some standalone sql helper functions were copied to sqlutil in the plugin sdk. Use those here instead to deduplicate code.

NOTE: it seems the macros.go in pluginsdk, at the time of writing this comment, corresponds to macros.go in sqlds at commit cd68d26e53cdfd799f700d4623f9f3c946101fb3 : https://github.com/grafana/sqlds/commit/cd68d26e53cdfd799f700d4623f9f3c946101fb3

it contains the quick exit from the loop comment that was added in that comment
it does not contain the when we are inside an argument comment that was added in the next macros.go-touching commit ( https://github.com/grafana/sqlds/commit/6cccadd0867f24e02cf64131f2bf2fd252fc1530 )

since that commit in sqlds, there has been changes done to macros.go in sqlds, so those changes will have to be applied to the pluginsdk version too.


double slash followed by any char after domain causes infinite page reloading

Reproduction
Add double slash followed by any char after domain (e.g. https://example.com//foo), then Enter.
System Info
System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M1
    Memory: 59.33 MB / 8.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 21.7.1 - /opt/homebrew/bin/node
    Yarn: 1.22.21 - /opt/homebrew/bin/yarn
    npm: 10.5.0 - /opt/homebrew/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 126.0.6478.127
    Edge: 126.0.2592.81
    Safari: 17.5
  npmPackages:
    @remix-run/dev: ^2.9.2 => 2.9.2
    @remix-run/node: ^2.9.2 => 2.9.2
    @remix-run/react: ^2.9.2 => 2.9.2
    @remix-run/serve: ^2.9.2 => 2.9.2
    vite: ^5.1.0 => 5.2.13

Used Package Manager
npm
Expected Behavior
404 Not Found
Actual Behavior
Infinite reloading with this console error log:
"Initial URL (/) does not match URL at time of hydration (//foo), reloading page..."
Some web sites listed on https://remix.run/showcase are affected.

This should be resolved via #9695 and available in the next release 👍

Bug persists on 2.11.0-pre.0.
When navigating on //foo path :
On 2.9.2 :
On client :

On server :
Empty
On 2.11.0-pre.0 :
On client :

On server :
Empty
When navigating on /foo//bar path :
On 2.9.2 :
404 Not Found
On 2.11.0-pre.0 :
On client :

On server :

When navigating on //foo//bar path :
On 2.9.2 :
On client :

On server :

On 2.11.0-pre.0 :
On client :

On server :


doc: Add user documentation for view the list of installed bots feature

Automated message from Dropbox CLA bot
@anirudhjain75, it looks like you've already signed the Dropbox CLA. Thanks!


[ALLUXIO-1739] Implement UFS operations in the worker

https://alluxio.atlassian.net/browse/ALLUXIO-1739

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9732/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9731/
Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9733/
Test PASSed.

Merged build finished. Test PASSed.

a bunch comments left. Thanks !

@apc999 @ifcharming Thanks for taking a look, I've addressed your comments.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9745/
Test PASSed.

Merged build finished. Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9751/
Test PASSed.

LGTM

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9791/
Test PASSed.

LGTM


Adding stub project for the API Design Activity for SDK Training

See related PR: https://github.com/Azure/azure-sdk-pr/pull/360

Hi @annelo-msft.   Can you help me understand if this work is still active or we should close out the PR?


Unable to use copy_objects on Glue: InvalidRetryConfigurationError

Describe the bug
I have a Glue job that copies some files from a folder to another:
wr.s3.copy_objects(filtered_files, s3_src_dir, s3_dst_dir)

The job runs perfectly locally. I can confirm that by checking the folder on s3: the files are where they should be.
However, when I deploy this job and run it on Glue, I get the following exception:
File "/glue/lib/installation/okra_datalake/scraping.py", line 235, in copy_files
    wr.s3.copy_objects(filtered_files, s3_src_dir, s3_dst_dir)
  File "/glue/lib/installation/awswrangler/s3/_copy.py", line 187, in copy_objects
    _copy_objects(batch=batch, use_threads=use_threads, boto3_session=session)
  File "/glue/lib/installation/awswrangler/s3/_copy.py", line 19, in _copy_objects
    resource_s3: boto3.resource = _utils.resource(service_name="s3", session=boto3_session)
  File "/glue/lib/installation/awswrangler/_utils.py", line 78, in resource
    retries=
{
    "max_attempts": 10,
    "mode": "adaptive"
}
, connect_timeout=10, max_pool_connections=30
  File "/usr/local/lib/python3.6/site-packages/botocore/config.py", line 158, in __init__
    self._validate_retry_configuration(self.retries)
  File "/usr/local/lib/python3.6/site-packages/botocore/config.py", line 205, in _validate_retry_configuration
    retry_config_option=key)
botocore.exceptions.InvalidRetryConfigurationError: Cannot provide retry configuration for "mode". Valid retry configuration options are: 'max_attempts'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/runscript.py", line 142, in <module>
    raise e_type(e_value).with_traceback(new_stack)
TypeError: __init__() takes 1 positional argument but 2 were given

This seems to point back to this line:
https://github.com/awslabs/aws-data-wrangler/blob/6b61cdbd19fad65011fce75597d7293722dbb57b/awswrangler/_utils.py#L78
It seems that the botocore version that runs on Glue doesn't support this retry configuration, while the one that I run locally does. I naively thought I was running the same dependencies locally and on Glue, but apparently I was wrong.
Without going into too much details, when I deploy a job to Glue the dependencies I use in my virtualenv are packaged into a zip file, and uploaded to a s3 bucket. When a deployed job runs on Glue, it's supposed to use the dependencies coming from this zip file. It works (more or less), since I can access libraries like aws-data-wrangler and others, but it seems the botocore version that then runs on Glue comes from AWS, not from my zip file.
Apparently I'm not the only one to have this issue: https://github.com/boto/boto3/issues/2566
All this led me to believe that I can't use wr.s3.copy_objects from aws-wrangler 1.9.3 on Glue at the moment. I haven't tested other functions, but since it's the _utils.resource function that is affected, I assume other functions wouldn't work either.
Versions I run locally:

boto-2.49.0
botocore-1.17.44
awswrangler-1.9.3

To Reproduce
I haven't tried to isolate this issue into a minimum running example, but I imagine a simple job deployed to Glue with a call to wr.s3.copy_objects would trigger the error. aws-wrangler would need to be attached to the glue job (and potentially all dependencies needed by aws-wrangler :/ )
Please let me know if you have an idea on how to solve that. I'd also be happy to provide more information for debugging.

Hi @JPFrancoia,
You are right, that's why we've removed this adaptive mode from the boto3 client instantiation, but seems that the boto3 resource is still needing to be fixed.
We will fix it and release this weekend as version 1.9.4. Thanks for reporting it.

Thank you very much for your quick answer, as usual.
Great that it will be fixed soon.
That said (and it's not aws-wrangler's fault), this reveals a deeper problem: the dependency management is a bit flaky on Glue at the moment.
Now I'm wondering which version of pandas/numpy I'm running on Glue: the ones I'm specifically packaging, or Glue's ones...

Yeah, I will dive deep to troubleshoot this behaviour.
Btw how are you deploying wrangler on glue? Are you using our provided wheel file?

Btw are you using Glue Python Shell job or Glue PySpark job?

We're using the Glue Python shell jobs at the moment. It needed a bit of fiddling to get it to work full speed, but i's more accessible since it doesn't require additional knowledge.

I see.
Why are you using this zip file approach instead of .whl files? Could you describe your deploy strategy a little bit more (I will try to replicate it here)?

Why are you using this zip file approach instead of .whl files (Like here)?

That's because we use several external libraries in our Glue jobs (e.g pendulum), and also some custom ones. We also want some level of automation and control over the versions of these libraries.

Could you describe your deploy strategy a little bit more (I will try to replicate it here)?

Sure, can I come back to you on that? I'll need to have a chat on Monday with my manager to know how specific I can be.

@JPFrancoia oh you don't have to worry about it, we will remove the adaptive mode anyway and it will fix the issue for sure. It was only for the sake of curiosity!

Thanks ;) I'll happily satisfy your curiosity if it helps you make informed decisions for the future of aws-wrangler

Fix released on version 1.9.4

Could you describe your deploy strategy a little bit more (I will try to replicate it here)?

So, this is basically how we do the deployment:

we use poetry to manage our dependencies when developing our glue jobs locally
when we're ready to deploy, we use poetry to generate a requirements.txt
we use pip to install this requirements.txt in an isolated directory. By specifying --target it's possible to choose a directory for the installation of the dependencies
we then zip the directory where we installed the dependencies
we upload the zip archive to s3
at the beginning of every job run, we unzip this archive in the glue installation path:

dependencies_archive = glob.glob("/tmp/glue-python-libs-*/dependencies.zip")[0]
shutil.unpack_archive(dependencies_archive, os.environ["GLUE_INSTALLATION"])

When it comes to deploying all our Glue jobs, we use sam and for each job we just need to specify the path of the zip archive as --extra-py-files. Building the zip archive can be done locally and on codebuild.
With this approach the management of our dependencies is done with poetry and is entirely automated. We also don't install random stuff from pypi/the internet before running every job: we're in control of the zip and when it's built we can re-use it for all the jobs.
However, importing our dependencies is done quite late in the process, basically just before the job's code starts running. I imagine that all modules that were imported before we import our modules will not be re-imported. For example, if we have boto version 2 in our zip, but boto 1 was imported by Glue somehow, we'll end up using boto 1 in the job. Which also means that if Glue doesn't import stuff like pandas by default, we should end up with the version we put in the zip.
I think boto/botocore might be the tricky dependencies.

Thanks for sharing your strategy, it's pretty cool.
The best for me is about avoid the internet access, it also can be useful in situations like this.

I think boto/botocore might be the tricky dependencies.

Yes, I think boto/botocore is probably tied with some internal dependencies like AWS CLI and the script that upload your code from s3 into the job filesystem before it start.

Hi,
Thanks for your help. I have written some steps for people to follow to get the latest AWS CLI and boto3 APIs working. It just combines the reading from multiple sources
The Glue has awscli dependency as well along with boto3
AWS Glue Python Shell with Internet
Add awscli and boto3 whl files to Python library path during Glue Job execution. This option is slow as it has to download and install dependencies.

Download the following whl files from boto3 files and awscli files

awscli-1.18.183-py2.py3-none-any.whl
boto3-1.16.23-py2.py3-none-any.whl

Upload the files to s3 bucket in your given python library path

Add the s3 whl file paths in the Python library path. Give the entire whl file s3 referenced path separated by comma

AWS Glue Python Shell without Internet connectivity
Reference :  AWS Wrangler Glue dependency build

We followed the steps mentioned above for awscli and boto3 whl files.

Below is the latest requirements.txt compiled for the newest versions

colorama==0.4.3
docutils==0.15.2
rsa==4.5.0
s3transfer==0.3.3
PyYAML==5.3.1
botocore==1.19.23
pyasn1==0.4.8
jmespath==0.10.0
urllib3==1.26.2
python_dateutil==2.8.1
six==1.15.0

Download the dependencies to libs folder

pip download -r requirements.txt -d libs

Move the original main whl files also to the lib directory

awscli-1.18.183-py2.py3-none-any.whl
boto3-1.16.23-py2.py3-none-any.whl

Package as a zip file

cd libs
zip ../boto3-depends.zip *

Upload the boto3-depends.zip to s3 and add the path to Glue jobs Referenced files path
Note: It is Referenced files path and not  Python library path

Placeholder code to install latest awcli and boto3 and load into AWS Python Glue Shell. Additional code as per below thread

https://forums.aws.amazon.com/thread.jspa?messageID=954344
import os.path
import subprocess
import sys

# borrowed from https://stackoverflow.com/questions/48596627/how-to-import-referenced-files-in-etl-scripts
def get_referenced_filepath(file_name, matchFunc=os.path.isfile):
    for dir_name in sys.path:
        candidate = os.path.join(dir_name, file_name)
        if matchFunc(candidate):
            return candidate
    raise Exception("Can't find file: ".format(file_name))

zip_file = get_referenced_filepath("awswrangler-depends.zip")

subprocess.run(["unzip", zip_file])

# Can't install --user, or without "-t ." because of permissions issues on the filesystem
subprocess.run(["pip3 install --no-index --find-links=. -t . *.whl"], shell=True)

#Additonal code as part of AWS Thread https://forums.aws.amazon.com/thread.jspa?messageID=954344
sys.path.insert(0, '/glue/lib/installation')
keys = [k for k in sys.modules.keys() if 'boto' in k]
for k in keys:
    if 'boto' in k:
       del sys.modules[k]

import boto3
print('boto3 version')
print(boto3.__version__)

Check if the code is working with latest AWS CLI API

Thanks,
Sarath


Closing success modal on Free mint freezes page

goes after:

https://github.com/kodadot/nft-gallery/pull/9564

https://github.com/kodadot/nft-gallery/assets/36627808/7d562e8a-5ddb-4575-a1d0-02c6d6bbd7d2
edit: same happens when you click list
it appears to be related with loading list button

i tried it on fix-free mint branch on localhost
could not reproduce the bug but
it reloads when closing the modal, which is odd
https://github.com/kodadot/nft-gallery/blob/0cc08b130c38e390976661c90d79a6dfc9756d42/components/collection/drop/modal/PaidMint.vue#L139
@Jarsen136  why?

it reloads when closing the modal, which is odd
https://github.com/kodadot/nft-gallery/blob/0cc08b130c38e390976661c90d79a6dfc9756d42/components/collection/drop/modal/PaidMint.vue#L139
@Jarsen136 why?

Because it would cause lots of incorrect status issues once you mint again. ref #9453


OpenLand Multi Biome Support

Here we allow users to create biomes manually & we provide some nodes to do it.

Auto material node, which takes care of 4 layer auto material
Above node accept slope maker params
Introduce height blend direction
Simplify grass setup (maybe)
A way to run smart masks over a specific layer or auto layer.
Provide an altering layer to the smart mask. So, it can use that to fill inside the mask.

Will the slope be HF Blend ready? So you can create a similar look like Fortnite.
How can you control noise from Slope to e.g. Grass -> so it looks more organic like Fortnite
Base Layers that come to my mind. Ground/Dirt, Grass, Grass Dry, Desert, Beach, Beach with Wet Effect!, same for river beds.
You also have different material in river beds depending on the biome.
In general, cold/alpine, lush/grasslands, tropical/subtropical, desert, beach/wet slopes!

Thanks, @christiangruber for the feedback. Let's discuss.

Base Layers that come to my mind. Ground/Dirt, Grass, Grass Dry, Desert, Beach, Beach with Wet Effect!, same for river beds.
You also have different materials in river beds depending on the biome.
In general, cold/alpine, lush/grasslands, tropical/subtropical, desert, beach/wet slopes!

I'm not going to add these biomes (auto layers) by default. We will have one or two biomes. (auto, beach)
But then, OpenLand exposes some simple material functions to create these biomes.

Yes, noise can be added in between layers. That's a good suggestion.

I'm not sure about the heightfield blend, could you tell me a bit more about it.


Add Profile shortcuts to taskbar right click menu

Add Profile shortcuts to task bar right click menu. When i right click the taskbar icon i am only presented with the option to launch Window Terminal.

I would be cool if I could right click the menu and get a list of my non-hidden profiles to launch and this would override launching the default profile. Something like this where it has recent sessions but instead lists the profiles.

👍

This is a /dupe of #576. Thanks for the request! :smile:


UserInfoTokenServices hardcodes authority to "ROLE_USER"

Hi there,
Having an issue with the UserInfoTokenServices. I've got a Resource Server configured using @EnableOAuth2Resource and I've setup the 'spring.oauth2.resource.userInfoUri' property to point to the '/me' endpoint on my separate Auth Server. From the logs, I see that the request, the 'OAuth2AuthenticationProcessingFilter' processes, successfully authenticates but with the 'Granted Authorities: USER_ROLE' even though my user doesn't have that role.
In my 'HttpSecurity' on the 'ResourceServerConfigurerAdapter' class, I restrict access to my API based on 'ROLE_ADMIN' and as such I always get an 'Access Denied' response.
Had a look at the UserInfoTokenServices and when the UsernamePasswordAuthenticationToken is created in the extractAuthenticaton() method, the Collection is always set to: AuthorityUtils.commaSeparatedStringToAuthorityList("ROLE_USER")).
I had a go at implementing a method to extract the authorities from the 'userInfoEndpointUrl' response map:
private String[] getAuthorities(Map<String, Object> map) {
    @SuppressWarnings("unchecked")
    List<Map<String, String>> authorityList = (List<Map<String, String>>) map.get("authorities");

    List<String> authorities = new ArrayList<>();
    for (Map<String, String> authority : authorityList) {
        authorities.add(authority.get("authority"));
    }
    return authorities.toArray(new String[] {});
}

This seems to work when I feed that into the UsernamePasswordAuthenticationToken:
UsernamePasswordAuthenticationToken user = new UsernamePasswordAuthenticationToken(getPrincipal(map), "N/A", AuthorityUtils.createAuthorityList(getAuthorities(map)));

Is this an issue with the UserInfoTokenServices? Or am I just missing something in the configuration?
Cheers,
Nuno

Thanks. This code moved to Spring Boot. Can you open an issue there please?


Non-manifold objects generated from union

Expected Behavior
Output a manifold STL file
Actual Behavior
The generated STL file reports errors in various 3d programs. I imported to blender to inspect the non-manifold vertices. It looks like the issue is splitting faces at different sets of edge vertices:

Steps to Reproduce the Problem

Generate STL from:

const { cube, cylinder } = require('@jscad/modeling').primitives
const { union } = require('@jscad/modeling').booleans

function main() {
  return union(
    cube({size: 6}),
    cylinder({radius: 10, segments: 5})
  )
}
module.exports = { main }

Specifications

Version: 2.2.0
Platform: Linux 62
Environment: Node.js 14.3.0

Thanks for the example.
This is a know issue. Also see #696
Things have improved but not perfect.

I enjoy these kinds of issues as every application has a different take on what manifold means. Here's what MeshLab says about those 'non-manifold vertices'.


Further vagrant reliability improvements.

PR makes the following reliability improvements:

Ensures systemd has a restart policy on all kubernetes components
Ensures kubelet starts after docker
Ensures network closure is run to establish the network after a vagrant halt and re-up

LGTM


fix(openai): Fix with_raw_response redirect crashing span

Fixes #535

[x] I have added tests that cover my changes.
[ ] If adding a new instrumentation or changing an existing one, I've added screenshots from some observability platform showing the change.
[ ] PR name follows conventional commits format: feat(instrumentation): ... or fix(instrumentation): ....
[ ] (If applicable) I have updated the documentation accordingly.

Liked the TDD 😀


Can't install Deis-cli

It seems that the bintray link is broken.
curl -sSL http://deis.io/deis-cli/install-v2.sh | bash
There doesn't seem to be a version of deis avaiable at https://bintray.com/deis/deisci/deis/_latestVersion

curling https://bintray.com/deis/deisci/deis/_latestVersion seems to be giving a 302 so it looks like we just need to follow the link.

That didn't work either. I'll look further into this.

The problem is that we do not have any dev builds due to clearing them out to unblock bintray rate-limiting us last week. We're using their service incorrectly (not allowed to use bintray for dev builds) so we're going to have to move back to S3. For now I just filed #72 so we can get at least one dev version up on bintray until we do the migration.


Change LOG response format

Currently, the LOG is returned as a single encoded string.
This can cause memory problems when we have very large logs.  It is also problematic to parse within certain instances of SAS.
Instead, we should send the log in an array (ie, line by line).
This affects the following endpoints:

There is likely to also be an impact on the adapter / cli, which ingests the log int the request history.
example format:
{
  log:{
    "1":"reallyh long ",
    "2":" log|",
    "3":"sasoasdfasdfasdfasdf"
  }
}

new format:
{
  log: [
    { "1": "line 1 of log content" },
    { "2": "line 2 of log content" },
    { "3": "line 3 of log content" },
    { "4": "line 4 of log content" },
  ]
}


Game Capture Issues

I found a bug where if you change the Bitrate, scrcpy will no longer be picked up by OBS's Game Capture and you need to switch to Window Capture to hook on to scrcpy

That's very weird, the bitrate is just an encoder parameter on the device-side.

I did nit break anything else

Do you still have the problem?
I'm pretty sure the bitrate is unrelated to your problem.

Nope, all cleared up, i forgot about this issue. Thank you


can not stop job

Expected Behavior
When the job stops, the transformation stops.
Actual Behavior
Hello, the version I used is <IP_ADDRESS>-342. At present, I have encountered problems in the process of using it. I use a database-based resource library. After defining the transformation and job, when performing repeated jobs, when stopping the job, the transformation is still in progress and can not stop.

Thank you so much for reporting an issue!
Can you attach kjb/ktr files that can reproduce this issue?

Yesterday I tested again, and found that the reason for the bug is that after defining the job that is executed repeatedly, such as every 10 seconds, the stop button is clickable without closing the job TAB, which can stop the job and the corresponding transition is also stopped.However, if the job is opened after closing the current job TAB without stopping the job, and the stop button is in the gray non-clickable state, the job task started before cannot be stopped, and the transition is still executed every 10 seconds, which cannot be stopped.

Does this happen on Spoon?

I haven't tested the spoon of cs, I will test it and give you feedback.

Yes, the same for spoon

As this happens on Spoon too hence it is not a bug of webSpoon, I'm afraid that I won't fix it.
You could find a similar issue at https://jira.pentaho.com, or report one if it's not been reported yet.


Can we get a version of SqlCLient released that doesnt have CVEs

Building the following
<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <OutputType>Exe</OutputType>
        <TargetFramework>net8.0</TargetFramework>
        <RuntimeIdentifier>win-x64</RuntimeIdentifier>
        <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
        <NuGetAuditMode>all</NuGetAuditMode>
        <NuGetAuditLevel>low</NuGetAuditLevel>
    </PropertyGroup>

    <ItemGroup>
      <PackageReference Include="Microsoft.Data.SqlClient" Version="5.2.0" />
    </ItemGroup>

</Project>

Reports 3 CVEs
Severity	Code	Description	Project	File	Line	Suppression State
Error	NU1903	Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-xhfc-gr8f-ffwc	ConsoleApp1	C:\Code\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj	1
Error	NU1902	Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g	ConsoleApp1	C:\Code\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj	1
Error	NU1903	Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-5f2m-466j-3848	ConsoleApp1	C:\Code\ConsoleApp1\ConsoleApp1\ConsoleApp1.csproj	1

Yes i know consumers can work around these. but given these CVEs date back to May 2022, people should not need to work around them

@SimonCropp I just followed your step and was not able to repro the issue. Can you clean your local cache by below command:
nuget locals all -Clear which will delete all your nuget cache or delete Microsodt.Data.SqlClient folder from your .nuget folder and try again? This issue has been addressed long time ago.

@JRahnama i must be holding it wrong??
from my local machine
PS C:\Code\SqlCve> dotnet nuget locals all --clear
Clearing NuGet HTTP cache: C:\Users\SimonCropp\AppData\Local\NuGet\v3-cache
Clearing NuGet global packages folder: C:\Users\SimonCropp\.nuget\packages\
Clearing NuGet Temp cache: C:\Users\SimonCropp\AppData\Local\Temp\NuGetScratch
Clearing NuGet plugins cache: C:\Users\SimonCropp\AppData\Local\NuGet\plugins-cache
Local resources cleared.
PS C:\Code\SqlCve> dotnet restore
  Determining projects to restore...
C:\Code\SqlCve\ConsoleApp1\ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has
a known high severity vulnerability, https://github.com/advisories/GHSA-5f2m-466j-3848 [C:\Code\SqlCve\ConsoleApp1.sln]
C:\Code\SqlCve\ConsoleApp1\ConsoleApp1.csproj : error NU1902: Warning As Error: Package 'System.Private.Uri' 4.3.0 has
a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g [C:\Code\SqlCve\ConsoleApp1.
sln]
C:\Code\SqlCve\ConsoleApp1\ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has
a known high severity vulnerability, https://github.com/advisories/GHSA-xhfc-gr8f-ffwc [C:\Code\SqlCve\ConsoleApp1.sln]
  Failed to restore C:\Code\SqlCve\ConsoleApp1\ConsoleApp1.csproj (in 7.58 sec).
PS C:\Code\SqlCve>

from a build server (in this case appveyor)
Build started
git clone -q --branch=main https://github.com/SimonCropp/SqlCve.git C:\projects\sqlcve
git checkout -qf 20c4f1e9a215cf9c562c963bdab92137fad9dd56
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
./dotnet-install.ps1 -JSonFile global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet'
dotnet-install: Remote file https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.202/dotnet-sdk-8.0.202-win-x64.zip size is 294604293 bytes.
dotnet-install: Downloaded file https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.202/dotnet-sdk-8.0.202-win-x64.zip size is 294604293 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Extracting the archive.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install/windows#dependencies
dotnet-install: Installed version is 8.0.202
dotnet-install: Installation finished
dotnet nuget locals all --clear
Clearing NuGet HTTP cache: C:\Users\appveyor\AppData\Local\NuGet\v3-cache
Clearing NuGet global packages folder: C:\Users\appveyor\.nuget\packages\
Clearing NuGet Temp cache: C:\Users\appveyor\AppData\Local\Temp\1\NuGetScratch
Clearing NuGet plugins cache: C:\Users\appveyor\AppData\Local\NuGet\plugins-cache
Local resources cleared.
dotnet build
MSBuild version 17.9.6+a4ecab324 for .NET
  Determining projects to restore...
C:\projects\sqlcve\ConsoleApp1\ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-5f2m-466j-3848 [C:\projects\sqlcve\ConsoleApp1.sln]
C:\projects\sqlcve\ConsoleApp1\ConsoleApp1.csproj : error NU1902: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g [C:\projects\sqlcve\ConsoleApp1.sln]
C:\projects\sqlcve\ConsoleApp1\ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-xhfc-gr8f-ffwc [C:\projects\sqlcve\ConsoleApp1.sln]
  Failed to restore C:\projects\sqlcve\ConsoleApp1\ConsoleApp1.csproj (in 10.46 sec).
Build FAILED.
C:\projects\sqlcve\ConsoleApp1\ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-5f2m-466j-3848 [C:\projects\sqlcve\ConsoleApp1.sln]
C:\projects\sqlcve\ConsoleApp1\ConsoleApp1.csproj : error NU1902: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g [C:\projects\sqlcve\ConsoleApp1.sln]
C:\projects\sqlcve\ConsoleApp1\ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-xhfc-gr8f-ffwc [C:\projects\sqlcve\ConsoleApp1.sln]
    0 Warning(s)
    3 Error(s)
Time Elapsed 00:00:11.74
Command exited with code 1

here is my code: https://github.com/SimonCropp/SqlCve

if relevant. this is sdk 8.0.202

and same from github action https://github.com/SimonCropp/SqlCve/actions/runs/8415007230/job/23039533364
Run dotnet restore

  Determining projects to restore...
/home/runner/work/SqlCve/SqlCve/ConsoleApp1/ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-5f2m-466j-3848 [/home/runner/work/SqlCve/SqlCve/ConsoleApp1.sln]
/home/runner/work/SqlCve/SqlCve/ConsoleApp1/ConsoleApp1.csproj : error NU1902: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known moderate severity vulnerability, https://github.com/advisories/GHSA-x5qj-9vmx-7g6g [/home/runner/work/SqlCve/SqlCve/ConsoleApp1.sln]
/home/runner/work/SqlCve/SqlCve/ConsoleApp1/ConsoleApp1.csproj : error NU1903: Warning As Error: Package 'System.Private.Uri' 4.3.0 has a known high severity vulnerability, https://github.com/advisories/GHSA-xhfc-gr8f-ffwc [/home/runner/work/SqlCve/SqlCve/ConsoleApp1.sln]
  Failed to restore /home/runner/work/SqlCve/SqlCve/ConsoleApp1/ConsoleApp1.csproj (in 2.17 sec).
Error: Process completed with exit code 1.

and enabling nuget audit on this repo gives the same results https://github.com/dotnet/SqlClient/pull/2427/checks?check_run_id=23039945005

Looks like a false positive to me

@ErikEJ so a bug in nuget?

Not sure, but it does seem suspicious. https://github.com/PowerShell/PowerShell/issues/18424#issuecomment-2010198182

well System.Private.Uri 4.3.0 is in the obj/project.assets.json

and when building my repro it does restore System.Private.Uri 4.3.0

Ah, I was looking for it in the wrong file.

Only appears as a warning with
<RuntimeIdentifier>win-x64</RuntimeIdentifier>

@ErikEJ so with the extra info i provided. is this confirmed as a legit issue in the sql client nuget? and can we get a release that prevents consumers from requiring workarounds?

Do you know which Dependency brings in the vulnerable warning? It is still unclear to me.

I located the vulnerable dependency, if I reduce your repro to this, a vulnerability is still reported:
<ItemGroup>
    <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="6.0.35" />
</ItemGroup>

Doing this removes the warning:
<ItemGroup>
    <PackageReference Include="Microsoft.IdentityModel.JsonWebTokens" Version="7.1.2" />
</ItemGroup>

@ErikEJ this should help highlight CVEs that occur in the future https://github.com/dotnet/SqlClient/pull/2427

@SimonCropp Agree, #2427 should get in as well (after my PR is in 😄 )


Fix for issue #573: duplicate destination folders on move/copy action…

… when permissions are enabled

LGTM, thank you!


add id to EventData class + examples in comments

Addresses issue 4 from: https://github.com/near/multichain-relayer-server/pull/9#issuecomment-2196358433

not currently, but adding it in case we do later and so that the EventData class matches the EVENT_JSON emitted by gas station


issue on changing font size

Challenge Name

Issue Description

Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

don't post a git hub issue, without your code and if you need help ask at  help room

Hi @roboticvr
Thanks for reporting this issue.
Here are some next steps that you should follow before we can help you with your query:

Check these troubleshooting steps first.
Please use the Chat Rooms or try looking through our forum for help with a specific challenge and any coding assistance.

IMPORTANT:
Please NOTE that this tracker is for reporting bugs and enhancements to freeCodeCamp's code base only.
Happy Coding!


Make window object the default parameter instead of forcing it

Related issue: #2
Refactor window into the argument. This allows consumer of this module to use their own websocket client implementation.

thanks guys!

landed in 1.0.4


Update Readmes for better NPM searchability

Hi! I'm the autofix.ci troubleshooter bot.
It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃


Removed the use of the meta package and modernized the code.

Removed the use of the meta package and modernized the code.

Hi @pmundt - I wanted to send you this PR to help modernize the code. Please consider merging this. Thanks for building this nice and useful package.


Feature Request: test:clean

I've been in situations where I've upgraded a library in my project and have received several deprecation warnings. My typical workflow is to fix src/main/scala stuff first, and then tackle src/test/scala.
I refactor the main code by running ~;clean;compile, fixing each error/deprecation warning displayed on the console. Similarly I'd like to tackle the test code by running ~;test:clean;test:compile. However, it appears that test:clean is just an alias for clean because when I run test:compile I see it re-compiling all the src/main/scala classes as well, where I only wanted the src/test/scala classes to be recompiled so as to show all the deprecations/errors remaining in the test classes.
Is it possible to add a true test:clean task to sbt?

+1

I think https://github.com/sbt/sbt/pull/3678 implements exactly what you want. There was some argument about correct scoping for this, so you may want to add your opinion to the discussion.

sbt 1.3.0 implements this.


Syntax diagram

The website and/or documentation should include a syntax diagram.

I think let's merge this into #12 given how intertwined it is, let me add a comment there.

Actually #12 is closed.
But this relies on defining a formal grammar which we don't have at the moment, and I probably wouldn't suggest we write yet, given we'd need to keep it up to date, and we're still making changes to the language — at least unless someone wants to write it and commit to maintain it...
We already have 4 grammar definitions (https://prql-lang.org/book/internals/syntax-highlighting.html)!
To the extent we could make something out of an existing grammar —
https://github.com/PRQL/prql/blob/main/prql-lezer/src/prql.grammar is probably the most formal — let's reopen this. Otherwise let's wait until the language changes have mostly come to a halt.
Is that reasonable @vanillajonathan ?

Sure it can be postponed until later, right now might not be the best time, but you can add it on to some "to do" list using some issue tag, milestone or a project.

Good idea — added a label. We can do a search of closed issues with this label in future

I wrote some EBNF grammar for PRQL.
Statements ::= Statement Comment? | (('|' | NEWLINE) Statement)* Comment?
Statement ::= Assignment | FunctionCall
Array ::= '[' SPACE* Name? SPACE* (',' SPACE* Name SPACE* ','?)* ']'
Atom ::= 'true' | 'false' | 'null'
Comment ::= '#' '*'*
Name ::= '_'* ALPHA+ (ALPHANUM | '_')*
Date ::= '@' ((DIGIT+ '-' DIGIT+ '-' DIGIT+) | (DIGIT+ ':' DIGIT+ ':' DIGIT))
Expression ::= 'Table'
FunctionCall ::= '('? Name (Param | Name ':' 'something')* ')'?
FunctionDef ::= 'func' SPACE* Name SPACE* Param? SPACE* '->' SPACE* Expression
IntervalLiteral ::= DIGIT+ ('seconds' | 'minutes' | 'hours' | 'days' | 'months' | 'years')
CmpOp ::= '==' | '!=' | '<' | '>' | '<=' | '>='
MathOp ::= '+' | '-' | '/' | '*'
Param ::= Name | Name '<' ALPHA+ '>'
Range ::= Number '..' Number
String ::= ('"' '*'* '"' | "'" '*'* "'") /* Slicer? */
FString ::= 'f' String /* Slicer? */
RString ::= 'r' String /* Slicer? */
SString ::= 's' String
Number ::= ('+' | '-')? DIGIT ('_'? DIGIT+)*
Assignment ::= 'let' SPACE* '=' SPACE* Expression
/* Slicer ::= '[' Number (':' Number)? ']' */

Copy the EBNF grammar above
Go to https://bottlecaps.de/rr
Click on the Edit Grammar tab
Paste the EBNF grammar
Click on the View Diagram tab

Now you see some pretty diagrams which you can also download.
Note: the diagram is very far from truthful!

Cool @vanillajonathan ! If it's possible to make that accurate we could add it to the repo. It would need to be maintained.
Otherwise we'll have your initial attempt for future travelers as a starting point, still useful.

It would be possible to make it accurate, but I am not all too familiar with the PRQL grammar and no PRQL specification exists, furthermore this is the first time I try to write EBNF so I have no experience with that. Yes, it would need to be maintained as the language evolves. Maybe someone else have a better understanding of PRQL and EBNF than me.
Some issues with the above EBNF grammar.

Many of the classes are declared but not referenced from anywhere.
The Date class only handles date or time, but not date and time, and it only handles one date and one time format.
The FunctionDef class doesn't handle multi-line functions.
Might need some class for the switch in PRQL.
I am unsure if SPACE is a good name or if it should be SP.
I am unsure if "*" is a good.


es6 bundler minify recommendations

Have started transitioning code base to strictly ES6 but when attempting to bundle I get an error when attempting to minify.    I found that this is  due to uglify-js + ES6 only being supported on the harmony branch of this library.
The systemjs-builder (0.15.36) specifies a semantically close dev dependency as "uglify-js": "~2.7.5" but unfortunately the harmony versions are currently 2.8.1 so when npm installs systemjs-builder even if I have an explicit dependency on<EMAIL_ADDRESS>(harmony), NPM will download and use a uglify-js version that is not the desired 2.8.1 version since it's not semantically close.
This may not be a systemjs-builder specific issue but looking for guidance on the best way to possibly override this dev dependency or what the recommended approach may be to perform systemjs bundling + minification with ES6?
Regards

The UglifyJs version was locked for SystemJS 0.15.36 as that release is now in maintenance and we need stability at this point. The issue that cased this was https://github.com/jspm/jspm-cli/issues/2255. If the most recent UglifyJs has resolved this, then we can certainly upgrade, otherwise upgrade to the latest SystemJS Builder rather (although this is only compatible with jspm 0,17 if you are using jspm).


[META] vertical-collection DOM Recycling

The vertical-collection is currently fast enough that the initial render improvements in glimmer 2 should put an end to any noticeable lags.
Even still, we always want to push faster and support more features such as #52 (dynamic height insertions).
This ticket is a ROADMAP that takes the collection through 3 internal revisions.
Revision 1

[ ] Fix issue with <pre-render> returning parent dimensions instead of child dimensions.
[ ] Allow <pre-render> to accept a style object to render into instead of requiring an explicit parent.
[ ] Allow <pre-render> to pre-render multiple items at once.
[ ] Pre-render items in the collection (#52).
[ ] Adjust the scroll position as necessary when inserting an item to preserve scroll position.
[ ] Ensure that margin is accounted for in a vertical-item's Geography

Revision 2

[ ] Create a virtual-item

[ ] A virtual item needs a model property
[ ] A virtual item needs Geography
[ ] A virtual item should act as a Satellite
[ ] A virtual item needs it's index

[ ] Cycle through virtual-item instead of vertical-item, will require linking the two

Revision 3

[ ] Replace (most) vertical-items with virtual-items only
[ ] vertical-item should not output DOM within the collection, but essentially be a tagless pre-render.
[ ] The collection should only add vertical-items for virtual-items that are on screen.
[ ] The collection should add a padding div above and below the vertical-items to match the height of remaining virtual-items
[ ] Ensure we reuse existing vertical-items where possible, but don't rely on pre-calculating the number needed, just use what we have + create new / remove if more items become visible than we had before.

I'm excited for DOM recycling. An instance where DOM recycling would be helpful, such as is my case, is where you are loading images from server that does not have expiration headers set correctly and so the web browser is trying to rerequest the images in the list as the list is scrolled back and forth.
I am not familiar with the terms Geography and Satellite in this context. Is Geography data about where in the list the DOM node should exist, and Satellite that these DOM nodes should be off screen?

Satellite: https://github.com/runspired/smoke-and-mirrors/blob/master/addon/models/satellite.js
Geography: https://github.com/runspired/smoke-and-mirrors/blob/master/addon/models/geography.js
A write up of the analogy in use is going to happen once I fix one of the terminology issues (sky and skyline need reversed from what they currently are in Scroller).
The TL;DR version is that Geography is an element's position and dimensions, cached in a manner that they can be manipulated without new calls to getBoundingClientRect.  A Satellite is an object with Geography that is being tracked by Radar

Good use of metaphor.


SVM Plotting Decision Boundary Function

In the Chapter 5 Notebook, The plot decision boundary function, It is calculating the margin as 1/w[1] shouldn't it be
1/L2norm(w) since the total margin width is 2/L2norm(w).

I have tried with LinearSVC using l2 norm instead of SVC(kernel="linear")   and it gave a reasonable plot, is it that the margin calculation differs when using kernels

Let decision_boundary = -w[0]/w1*x0 - b/w[1], as in the code above. Variable decision_boundary represents the x1 values for x0 at the decision boundary.
At the upper edge of the margin, we have w[0]*x0 + w[1]*x1 + b = 1, so x1 = 1/w[1] - w[0]/w[1]*x1 - b/w[1].
Therefore, if we let gutter_up represent the x1 values for x0 at the upper edge of the margin, we can write gutter_up = 1/w[1] - w[0]/w[1]*x1 - b/w[1].
Refering to the code in your screenshot, gutter_up = decision_boundary + margin, so we have to define margin as margin = gutter_up - decision_boundary = 1/w[1] - w[0]/w[1]*x1 - b/w[1] - (-w[0]/w1*x0 - b/w[1]) = 1/w[1].
In other words, here margin is the vertical distance between the decision boundary and the edge of the margin, not the normal distance (which is 1).

Ohh Thanks @ibeauregard , This made sense.


False positive in version detection from git

In Alpine Linux packaging, git is installed in the build environment and as such meson will find git. The meson.build from Waybar then runs git describe (etc) and will determine the version from it.
Unfortunately this leads to a pretty strange version string in Alpine:
/ # waybar --version
Waybar vv20191219-989-g06c9c19fa9 (Jan  7 2020, branch 'master')

I would propose that the meson.build also checks if git rev-parse --show-toplevel is actually Waybar and not something else (by using relative paths from meson.build). Or provide a build-time options for that can be used by distribution to turn that off.
p.s.: another example when git is installed but Waybar is built from a source tarball:
Waybar v (Jan  7 2020, branch '')

Latest commit fix the issue in my case, do you agree?
d5bd3be8de0f7f20f97628969fb328ffb5822b07

Still an issue on the master branch:
Waybar v (Apr  5 2020, branch '')

Ok so we need to implement git rev-parse --show-toplevel and check current dir.

If you want to give a shot

Done the check in 49ae944d65218ee667de4cbcc86793c5d4d9c5b9


Client timeout 'Connection aborted.', RemoteDisconnected('Remote end closed connection without response')

Hey, guys!
I face with an error while building dbt models. Looks like a timeout or forced socket close:
root@aa7114577c23:/usr/app# dbt build -s lineorder
07:49:58  Running with dbt=1.1.1
07:49:58  Found 5 models, 10 tests, 0 snapshots, 0 analyses, 410 macros, 0 operations, 0 seed files, 4 sources, 0 exposures, 0 metrics
07:49:58
07:49:59  Concurrency: 1 threads (target='dev')
07:49:59
07:49:59  1 of 3 START table model default.lineorder ..................................... [RUN]
Unexpected Http Driver Exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.9/http/client.py", line 1377, in getresponse
    response.begin()
  File "/usr/local/lib/python3.9/http/client.py", line 320, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.9/http/client.py", line 289, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/local/lib/python3.9/http/client.py", line 1377, in getresponse
    response.begin()
  File "/usr/local/lib/python3.9/http/client.py", line 320, in begin
    version, status, reason = self._read_status()
  File "/usr/local/lib/python3.9/http/client.py", line 289, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/clickhouse_connect/driver/httpclient.py", line 228, in _raw_request
    response: Response = self.session.request(method, self.url,
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
07:54:59  1 of 3 ERROR creating table model default.lineorder ............................ [ERROR in 300.27s]
07:54:59  2 of 3 SKIP test not_null_lineorder_LO_ORDERKEY ................................ [SKIP]
07:54:59  3 of 3 SKIP test unique_lineorder_LO_ORDERKEY .................................. [SKIP]
07:54:59
07:54:59  Finished running 1 table model, 2 tests in 300.98s.
07:54:59
07:54:59  Completed with 1 error and 0 warnings:
07:54:59
07:54:59  Database Error in model lineorder (models/staging/lineorder.sql)
07:54:59    Error executing HTTP request https://rc1a-cjvd2g0abalacpl5.mdb.yandexcloud.net:8443
07:54:59    compiled SQL at target/run/clickhouse_starschema/models/staging/lineorder.sql
07:54:59
07:54:59  Done. PASS=0 WARN=0 ERROR=1 SKIP=2 TOTAL=3

dbt-clickhouse Version: <IP_ADDRESS>
root@aa7114577c23:/usr/app# pip show dbt-clickhouse
Name: dbt-clickhouse
Version: <IP_ADDRESS>
Summary: The Clickhouse plugin for dbt (data build tool)
Home-page: https://github.com/ClickHouse/dbt-clickhouse

My profiles.yml looks like this:
clickhouse_starschema:
  outputs:
    dev:
      type: clickhouse
      schema: default
      host: "{{ env_var('DBT_HOST') }}"
      port: 8443
      user: "{{ env_var('DBT_USER') }}"
      password: "{{ env_var('DBT_PASSWORD') }}"
      secure: True
      verify: False
      send_receive_timeout: 1000
  target: dev

According to query log the queries I've triggered via dbt were finished on server's side successfully. Yet, client side is timed out and disconnected resulting in dbt failure.
I've also tried  applying manual setting to this particular model but this had no effect:
settings
      receive_timeout=1000
    , send_timeout=1000
    , send_progress_in_http_headers=0
    , max_execution_time=1000
    , http_send_timeout=1000
    , http_receive_timeout=1000

Which version of clickhouse-connect are you using?

Not sure. One that dbt-clickhouse of Version: <IP_ADDRESS> uses.

In particular you might try setting the receive_timeout and send_timeouts to larger numbers in the ClickHouse default profile.

I don't think this is possible to set with Managed Clickhouse service (Y.Cloud).
However long queries used to work with previous versions (prior to HTTP request)

I recreated this issue connecting to ClickHouse on AWS EC2 using a Mac.  The most recent dbt version 1.1.5 should contain the ClickHouse Connect fix (related to setting keep alive on the TCP socket used by the HTTP connection).
Please reopen if you see continued issues.  In some cases you might need to increase the send_receive_timeout in the dbt profile.


USGPO

This PR uses the USGPO developer API to collect documents published by the USGPO. This will close #64.

What is still "WIP" about this? What do we need to add so it's ready to go?

This PR should be ready to go. I've started a run going back to 1990. So far about 70K document links have been collected with at least a handful of documents coming from each year and no failures.


Tunnel + 2FA : Ability to forward more than one port at same time

Bug description
Since resolution of #422 about enabling 2FA with tunnels, we are unable to launch more than one (1) port redirect at same time with the same tunnel

I need to refactor tunnels to launch multiple direct-tcpip channels from only one SSH authenticated connection.


[WSL2] [feature/question] How to persistently set timezone in Ubuntu 20.04 machine?

Is your feature request related to a problem? Please describe.
My Windows timezone is set to CET.
We're running some software in an Ubuntu 20.04 WSL2 machine that needs the timezone to be set to UTC.
I tried to set the timezone using sudo dpkg-reconfigure tzdata > "None of the above" > "UTC".
Problem: This works, but the timezone is reverted to the Windows timezone after WSL2 reboot.
Describe the solution you'd like
Possibility to persistently & easily configure a timezone in WSL2 that differs from the Windows timezone.
Could e.g. be added to /etc/wsl.conf.
Describe alternatives you've considered
Didn't find any related option here:
https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
Currently using this workaround (to avoid the console-UI tool dpkg-reconfigure):
	echo "Previous timezone: $(< /etc/timezone), $(readlink /etc/localtime)"
	timezone="Etc/UTC"
	zoneinfo="/usr/share/zoneinfo/$timezone"
	echo "Updating /etc/timezone: $timezone"
	echo "$timezone" | tee /etc/timezone
	echo "Updating /etc/localtime -> $zoneinfo"
	rm -f /etc/localtime
	ln -s "$zoneinfo" /etc/localtime

Additional context
n/a

Same here. Debian, latest WSL, and latest Windows 10. I don't need to sync timezone with WIndows, I need a different timezone in WSL. And I can't get WSL timezone permanently set. Even this solution does not help. Windows constantly resets WSL timezone.

Same here.
I use Ubuntu WSL2, change the timezone using sudo dpkg-reconfigure tzdata,
but the timezone always reverted back after reboot.

News! WSL 1.0.0 is available for Windows 10.
We can simply change timezone as usual:
sudo timedatectl set-timezone <TIMEZONE>

I am running wsl.exe --version.
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.47
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1194

@carlocorradini timedatectl --help errors out, what am I missing?
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

nvm guys, figured it out. You need systemd enabled in the WSL config.
Add this to /etc/wsl.conf, then $ wsl.exe --shutdown and restart the VM.
[boot]
systemd=true

This article is a must-read.

@junaga this did not help me. After rebooting wsl it resets the timezone to match Windows :(
did systemd really help you?

@Stalinko i am so sorry, i forgot to update my post. you are correct.
you need to run a shell script on every boot of the VM. check out https://github.com/junaga/windows/tree/main/wsl for a complete solution.

You could use systemd, but I just use this instead:
$ cat /etc/wsl.conf
[boot]
command="sh /etc/rc"

$ cat /etc/rc
#!/bin/sh
ln -fs /usr/share/zoneinfo/UTC /etc/localtime
echo "Etc/UTC" > /etc/timezone

With Systemd, one can create a run-once-at-boot service which runs
sudo timedatectl set-timezone UTC
Worked for me.
Refer to https://gist.github.com/magnetikonline/29263ceed7cd8cee2861b26fb04332da


update resource files with latest enums and translations

Hmm, the diffs are too large to inspect which I didn't expect. Something must have gone wrong. Will check diffs locally and re-share

@Federico-Artioli this is getting closer to being done. But what I think I'd like to do is

Create a job internally that publishes a new nuget packages whenever translations change.
This nuget package would have the resource files embedded.
We could publish these publicly when a release happens or whenever a patch is needed
This library itself would remove the resource files and just take a dependency on the nuget package.
thoughts?

Oh, I didn't expect you to merge this. It was still in draft. Just a note that I have a "better" idea for the future.
There are a small number of conflicts in each resource file. Symbols that only differ in casing are considered duplicates and we have a handful.
I've got a project that consumes the same "resource" files that the MUI client uses. I'd like to publish that and you can then consider using that in your project.


Add load_subject_dynamic_data to PyTorch Dataset class

Summary by CodeRabbit

New Features

Introduced a new method for loading dynamic data slices for subjects, improving data retrieval efficiency.

Improvements

Streamlined the process of retrieving dynamic data by encapsulating it within a dedicated method, enhancing code readability and modularity.

Code quality checks pass locally for me, not sure what's going on with the automated testing
(eq) payal@narsil:.../meds-torch$ git status
On branch payal/load_subject_dynamic_data
Your branch is up to date with 'origin/payal/load_subject_dynamic_data'.

nothing to commit, working tree clean
(eq) payal@narsil:.../meds-torch$ pre-commit run --all-files
trim trailing whitespace.................................................Passed
fix end of files.........................................................Passed
check docstring is first.................................................Passed
check yaml...............................................................Passed
debug statements (python)................................................Passed
detect private key.......................................................Passed
check that executables have shebangs.................(no files to check)Skipped
check toml...............................................................Passed
check for case conflicts.................................................Passed
check for added large files..............................................Passed
docformatter.............................................................Passed
black....................................................................Passed
isort....................................................................Passed
autoflake................................................................Passed
pyupgrade................................................................Passed
docformatter.............................................................Passed
flake8...................................................................Passed
mdformat.................................................................Passed
codespell................................................................Passed
nbstripout...........................................(no files to check)Skipped
nbqa-black...............................................................Passed
nbqa-isort...............................................................Passed
nbqa-flake8..............................................................Passed

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.78%. Comparing base (95824e0) to head (a2e7923).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
+ Coverage   70.74%   70.78%   +0.04%
==========================================
  Files          46       46
  Lines        2868     2872       +4
==========================================
+ Hits         2029     2033       +4
  Misses        839      839

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


catt API seek() is broken

CattDevice.seek(seconds) used to work but now it seems to do nothing.

It turns out I was just doing it wrong, trying to call from incorrect object but no error message. It works now that I actually call the right thing.


Create runner in group

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

#11737

#11735

#11742

#11736

@ASK-long

#9100