feat: Add submit command

This closes #57!
Adds the wxt submit and wxt submit init commands. Not using the word "publish" since npm publish is a built-in command. Naming it submit will hopefully guide people to calling their package.json scripts "submit" as well.

Right now, I have it setup as an alias for publish-extension, and you have to pass the zips you want to upload.
I'm considering including building, zipping, and discovering all the zips in a single command. Like for example, the Firefox sources zip should never need to be passed for Firefox, WXT should know that it exists and is required.

Nope, for now, it'll just be an alias.


Node stats profile log

The first part of stats profile log is Node stats profile log.
Major part of this PR is an update of way how stats entities are rendered to dict/list and from dict.
IncludeLists class was introduced - it's validated and prepared for a fast use entity which is able to answer what fields should be rendered for the specific stats entity class.

https://ocd.appscale.com:8080/job/Daily Build/3234/

https://ocd.appscale.com:8080/job/Daily Build/3239/
Failed hawkeye test:
Python 2.7 tests failed:
    tests.taskqueue_tests.RESTPullQueueTest.runTest ... ERROR (ok was expected)
Java       tests failed:
    tests.taskqueue_tests.DeferredTaskTest.runTest ... ERROR (ok was expected)
    tests.taskqueue_tests.PullQueueTest.runTest ... FAIL (ok was expected)
    tests.taskqueue_tests.PushQueueTest.runTest ... ERROR (ok was expected)
    tests.taskqueue_tests.TaskRetryTest.runTest ... ERROR (ok was expected)

It doesn't seem to be relevant to my changes.

https://ocd.appscale.com:8080/job/Daily Build/3250/


Testing on jdk-17.0.10+1 requires jtreg version 7.3.1 b1 or higher

https://openj9-jenkins.osuosl.org/job/Test_openjdk17_j9_sanity.openjdk_aarch64_linux_OpenJDK17_testList_2/8/console
Error: The testsuite at /home/jenkins/workspace/Test_openjdk17_j9_sanity.openjdk_aarch64_linux_OpenJDK17_testList_2/aqa-tests/openjdk/openjdk-jdk/test/jdk requires jtreg version 7.3.1 b1 or higher and this is jtreg version 6-dev+1.
23:57:05  openjdk version "17.0.10-internal" 2024-01-16
23:57:05  OpenJDK Runtime Environment (build 17.0.10-internal+0-adhoc..BuildJDK17aarch64linuxOpenJDK17)
23:57:05  Eclipse OpenJ9 VM (build master-5c2e7031d83, JRE 17 Linux aarch64-64-Bit Compressed References 20231103_63 (JIT enabled, AOT enabled)
23:57:05  OpenJ9   - 5c2e7031d83
23:57:05  OMR      - 89febafbc23
23:57:05  JCL      - 1cd3f35fa7e based on jdk-17.0.10+1)

The jdk17 repo and branch/sha are OpenJ9 specific but the point is this is trying to test the recently tagged jdk-17.0.10+1 level.
23:58:28       [exec]   Fetch URL: https://github.com/ibmruntimes/openj9-openjdk-jdk17.git
23:58:28       [exec] sha:
23:58:28       [exec] 1cd3f35fa7e8a5aa460ef71888ccf377c4c4334f

@llxia fyi

@annaibm could you update the logic? The code is at https://github.com/adoptium/aqa-tests/blob/master/openjdk/build.xml#L50-L63

Update the if block, so that JDK17 uses jtreg_7_3_1_1 (same as JDK21/22)
Run Grinder using JDK17 to verify the change

This issue should be fixed by https://github.com/adoptium/aqa-tests/pull/4853


Win screen / Lose screen / generic popup

Basic messages are now there, but the highscore should be attached to it as well so I won't close it just yet

message are now less basic, highscores themselves are dealt with in the highscore issue so this one can be closed.


When getDefinition returns more than 1 result, only the first is displayed

When getDefinition returns more than 1 result, we cut a corner and just render the first one in the list. Its rare that you have 2 things named the same, but can occur with smart constructors like in this example from community member Kristian Notari (who reported this issue):

We should just render all definitions that were returned, and focus the first one.

I've been working on this issue.
Please see this branch if you're interested!
https://github.com/yoching/ui-core/tree/fix-multiple-definition


[BEAM-2157] Fix HDFS Test That Failed in Other JDK Versions

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[x] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

Quick fix HadoopFileSystemModuleTest that's failed in JDK 1.7, OpenJDK 7 and OpenJDK 8.

+R: @lukecwik

LGTM

Coverage decreased (-0.003%) to 70.635% when pulling a2364e807e13da5a49027109d78f413c2b96143b on markflyhigh:fix-hdfs-test into b4bafd09282cf66adf121b750d3e2d9e5a0fefbe on apache:master.


how do i build out my sponge plugin.

Hi i have made a sponge plugin do build it out exactly the same as bucket ones or is it a different process?

This is more of a question and belongs on http://forums.spongepowered.org/, so please post this there and close this issue.

k


Incorrect labels generated in train.txt and val.txt?

When creating a new image classification dataset in DIGITS using the "Use Image Folder" option, the "?" besides "Training Images" pops a text box which reads "Indicate a folder which holds subfolders full of images. Each sub-folder should be named according to the desired label for the images that it holds..."
In my current dataset that I have, I have about 26 classes and the images are organized into sub-folders with labels from 0 to 25. I would assume that each image in the sub-folders would assume the label of the name of the "sub-folder" i.e 0 for 0; 1 for 1; ..; 25 for 25. But the train.txt and the val.txt that are generated after creating the "New Dataset" seem to have different labels? Seems like the sub-folders are being arranged as (0,1,10,11,12,...19,2,20,  ..25) with the labels (0,1,2,3,...,25)
So, what are the actual labels for the images in the sub-folders?

Hello, when DIGITS analyses your image folders, each sub-folder is associated with a class ID (i.e. a number). The class name is the name of the sub-folder. The mapping between class IDs and class names can be found in the labels.txt file of your job folder (this file contains the list of class names and the index of each class name is the class ID). During training, the class ID is used (the neural network expect the label to be a number, not a string like 'cat' or 'dog'). The class name is only used for visualization purpose in DIGITS when you click classify one or classify many. In your case, class names are also numbers but DIGITS sees them as strings. When your sub-folders are parsed in alphabetical order it will parse folders named '10','11',... before the folder named '2', hence the somewhat confusing labels you're seeing.
I hope this helps.

If you wanted them to match, just name your sub-folders as 00, 01, 02, ... 09, 10, etc.

Thanks Greg/ Tehoro! That helps.
I ran into this issue while I was trying to use my own labels.txt (0,1,2,3,4,...,11,12,...25) for classification using the example.py script in python and a model generated using DIGITS.
I should be using the labels.txt that was found in the jobs directory instead of my own to get correct classification labels. Thanks!

Thanks, I am closing the issue then.


user activity tracking

Hi, how can I analyze which individual Teams & Channels my users are visiting?
Thanks

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

ID: 81440b2f-391b-5856-a216-15866f37082a
Version Independent ID: cdd15cd4-d4ed-c413-e2b9-ebf6dad8b33b
Content: Use activity reports for Microsoft Teams
Content Source: Teams/teams-activity-reports.md
Service: msteams
GitHub Login: @chuckedmonson
Microsoft Alias: chucked

Go to Teams admin > Analytics and reports > Teams activity report.
@chuckedmonson - can you add a link to your doc please?

@timdvj  Thank you for feedback. We have added a doc "https://docs.microsoft.com/en-us/microsoftteams/teams-analytics-and-reports/user-activity-report" which talks specifically about the teams activity report.
Hope this helps!
Regards
Sri

@timdvj Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


minor: release V2.2.1

Codecov Report

Merging #510 (4a0fa58) into V2.2.X (f272d03) will decrease coverage by 0.02%.
The diff coverage is 77.59%.

@@            Coverage Diff             @@
##           V2.2.X     #510      +/-   ##
==========================================
- Coverage   70.35%   70.32%   -0.03%
==========================================
  Files         270      288      +18
  Lines       19725    20802    +1077
==========================================
+ Hits        13878    14630     +752
- Misses       5847     6172     +325

Impacted Files
Coverage Δ

apps/backend/__init__.py
100.00% <ø> (ø)

apps/backend/api/constants.py
100.00% <ø> (ø)

apps/backend/api/errors.py
100.00% <ø> (ø)

apps/backend/api/gse.py
72.58% <ø> (ø)

apps/backend/apps.py
100.00% <ø> (ø)

apps/backend/celery.py
100.00% <ø> (ø)

...s/backend/components/collections/agent_new/base.py
89.28% <ø> (+1.91%)
:arrow_up:

...onents/collections/agent_new/check_agent_status.py
100.00% <ø> (ø)

...collections/agent_new/check_policy_gse_to_proxy.py
100.00% <ø> (ø)

...end/components/collections/agent_new/components.py
100.00% <ø> (ø)

... and 163 more

Continue to review full report at Codecov.

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


Heatit Z-Temp2 FW 1.2.1: disable Supervision, add warning

Followup to https://github.com/zwave-js/node-zwave-js/issues/6563 - apparently that firmware is just broken

@slappyslap (and @duylong) Try now. Seems to be working for me now, with Z-Wave JS UI 9.12.0 and Z-Wave JS 12.5.6

Yes, I tested yesterday, everything seems to work. I also solved my problem with updating the values: https://github.com/zwave-js/node-zwave-js/discussions/6657, a little slow in modifying the parameters, but it works afterward several tests.
Thank you for all your efforts, too bad it spoils the zwave experience for those who purchased this module.

Working for me too
On Tue, Apr 30, 2024, 16:14 duylong @.***> wrote:

Yes, I tested yesterday, everything seems to work. I also solved my
problem with updating the values: #6657
https://github.com/zwave-js/node-zwave-js/discussions/6657, a little
slow in modifying the parameters, but it works afterward several tests.
Thank you for all your efforts, too bad it spoils the zwave experience for
those who purchased this module.
—
Reply to this email directly, view it on GitHub
https://github.com/zwave-js/node-zwave-js/issues/6780#issuecomment-2085446706,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTZEPYPORBYRZGKBYCL7RLY76RKXAVCNFSM6AAAAABGTGCB56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGQ2DMNZQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Ques about details.

Since PixelShuffle don't work on patch_embed like 2x8, use Rearrange instead of it. Altough look like the working way is very similar, how about it's effect on performance? Eg: Also use Rearrange on 8x8 downsample, shou it better or worser than PixelShuffle? Btw, It looks similar to PatchExpand in SwinUnet.
https://github.com/valeoai/rangevit/blob/4484d35b656f8213d887754780a4aa1e23303ea3/models/decoders.py#L72-L79
I'm not sure the useage of this F.interpolate ops, it's mean that the feature size of encoder-decoder output will be not same as input (in some time)?
https://github.com/valeoai/rangevit/blob/4484d35b656f8213d887754780a4aa1e23303ea3/models/rangevit.py#L229-L231
Since RangeViT only use final layer feature map to upsample and cat with skip connetction, I'm not sure this is the original idea to keep the model simple and efficient. Have you ever tried PUP or MLA structures similar to SETR? Mentioning this since only mentioned segmenter in paper.

By the way, the lantency on Table 10 is test on sliding-window or whole range images?

Hi @huixiancheng! We are sorry for the late reply and we thank you very much for your questions!

As PixelShuffle doesn't work for non-square scale_factor, we use einops Rearrange instead. As it is equivalent to PixelShuffle, it shouldn't affect the performance. Indeed, we could have used Rearrange on a square scale_factor, and it would have been equivalent to PixelShuffle. Yes, it's exactly like PatchExpand in SwinUnet (just the channel dimension is the last dimension in SwinUnet).

We needed the F.interpolate() in the case of the "Linear decoder", which outputs a feature map with spatial dimension [H/P_H, W/P_W], where the patch size is [P_H, P_W]. So, the F.interpolate() bilinearly upsamples the feature map to the same spatial dimension as the input image [H, W]. You are right that we don't need the F.interpolate() in the case of the "UpConv" decoder as the spatial dimension of the output of the decoder is already [H, W]. This is because we use the same scale_factor as the patch_size. However, if someone wants to use a different (smaller) scale_factor than the patch_size, then the  F.interpolate() is necessary to produce a feature map that has spatial dimension [H, W].

Yes, we wanted to keep the model architecture as simple as possible. The "Linear decoder" is inspired by the "Linear decoder" of Segmenter (Sec. 3.2) but we use the "UpConv decoder" in our final model, which is still simple, but more efficient thanks to the PixelShuffle layer and skip connection. We haven't tried different decoder architectures, but it's a good idea for a future direction!

The inference time in Table 10 refers to whole range images.

Thx for your kind reply~!


Market Tab keeps reseting my selected payment and coin option

There is a Bug in the Android version of the app. The Market Tab keeps reseting my selected payment and coin option. And also recently also my country.
So every time I select the Market. I first have to go in to Settings to select COUNTRY, then select Payment option PAYMENT

Bug report OS details


Scala cannot access private inner classes, making Indexes nearly impossible to instantiate [JIRA: CLIENTS-689]

The current recommended way of getting an index is something like:
riakObj.getIndexes.getIndex( StringBinIndex.Name("example") )
Except that the .Name class within StringBinIndex cannot be accessed from Scala, and that is not going to change.
Making the .Name class and constructors on RiakIndexes public would sort this out.

Here is a code snippet we are using in Spark Connector [link link|https://github.com/basho/spark-riak-connector/blob/develop/test-utils/src/main/scala/com/basho/riak/spark/rdd/RiakFunctions.scala#L124-L143]
[posted via JIRA by Sergey Galkin]

Here is a code snippet we are using in Spark Connector [link link|https://github.com/basho/spark-riak-connector/blob/develop/test-utils/src/main/scala/com/basho/riak/spark/rdd/RiakFunctions.scala#L124-L143]. It might be a good idea for me to review 2i java client implementation for the discrepancies
[posted via JIRA by Sergey Galkin]

Hi Sergey, that setup of parameterised getIndex() with the Index.named() constructor (instead of the Index.Name() constructor) was how I managed to get it to work in the end.
However the documentation seems to prefer the Index.Name() constructor.

@TJC What documentation preferred the Index.Name() constructor?  I can put in a fix for that if I can find it.

It's been over a month.. took me a while to find it again.
http://imgur.com/wMDiue1

fix is included on the https://github.com/basho/riak-java-client/tree/scala-improvements branch
[posted via JIRA by Alexander Moore]


determine correct roll value to use when calculating attitude

AKA ask Steven: should we use the most recent roll dataPoint or should we use the point halfway between the current roll and the previous (the average)?
We could also test this ourselves using any 100hz launch data.

Steve's code uses the most recent roll data point. He also noted that we don't need to launch to test this, we can just test by hand.

This may be best tested once we have a few flights of data and good automation set up


An odd visual bug

Hi. I followed your tutorial, and it works very well. But there's a bug. You can't see this bug in your tutorial because of the level set up you have, but you might notice it on a bigger area/forcing smaller resolution.
Essentially, there is a very weird and ugly looking break within the scene, that follows the camera. It is definitely linked to the texture used to display the lidar dots. This break adjusts according to if you are looking up or down, so you can align the camera and not see it all sometimes.
It looks like this:

There are two lines, the top one being easier to see, but the bottom one is still there. It is linked to the resolution of the camera, so say if you use a render texture to force smaller resolutions, it moves those lines closer to the camera. (Which is why you don't see it in the tutorial, and even in a bigger area, you might miss it.)
Without forcing smaller resolution, but in a bigger area, this is what it looks like:

It's pretty far back, but it's still there. (It's right about in the middle) I've tried many things to solve this such as changing the filter mode, anisotropic values, turning off and on mip-maps, but with no results.
I don't know if you can replicate this, because for all I know, it could be just my unity acting up. I'll try it in a new unity project soon and see how it goes.
Granted, I don't have that much knowledge on using textures in this way, so I may be missing something major.
I've also put up a couple post on the unity forums, but no one has replied yet. :(
Anyways, do you know how to fix this?

Well, I wasn't able to figure out any solution for your method of lidar, but I did manage to use graphics buffer.


Performance Issue with Eloquent: Connection Timeout on Delivery::find($id)->first();

Laravel Version
9.19
PHP Version
8.028
Database Driver & Version
Server version: 10.4.25-MariaDB
Description
I'm encountering a significant performance discrepancy when making an API call to retrieve delivery data using Eloquent. The request gets stuck, leading to a connection timeout in Postman. However, when using the Query Builder (DB::table('deliveries')->where('id', $id)->first();), the response is returned within milliseconds.
I have commented all relationships and tried but nothing works.
Note:
I have tried the same query in the Query Builder (DB::table('deliveries')->where('id', $id)->first();) and experienced no issues.
Any guidance or insights into resolving this performance discrepancy would be highly appreciated.
Steps To Reproduce
Make an API call using Eloquent: Delivery::find($id)->first();
Observe the connection timeout in Postman.

Hi there,
Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!
Thanks.

Hey there,
Unfortunately we don't support this version of the library anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!


how to set specific user agent (android/ios)

Tried options like this in new object Agent, configs:
'Mozilla/5.0 (Linux; Android 9; LM-G710 Build/PKQ1.181105.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.92 Mobile Safari/537.36'
if create new Agent() i was taken  error - "TypeError: Cannot read property 'android' of undefined"
if add configuration after create Agent - nothing happened

We don't have any mobile browser emulators at the moment. We will likely add some ability to use an arbitrary UserAgent string, but it would increase your detection surface area.


Benchmark reports

Use pytask and sphinx to create an auto-generated webpage with dynamically generated toctree that contains the following information:

[x] Profile and deviation plots
[x] Convergence report table
[x] Rank report table
[x] Tracebacks, grouped by scenario
[x] Convergence plots of all problems that have not been

Note: We can access the index page by clicking the left arrow.


Four test-cases/example uses for RedWax modules.

Three test cases that show/document use of the RedWax PKI modules. For the timestamping of a document (or software package);  an x509 issueing path and a CRL/OCSP revocation service made (very) easy.
These testcases go a bit beyond a pure test - they essentially illustrate various uses cases.

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[X] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[X] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Replaced by PR82657 - which is against the (now) updated modules.


*Repack algorithm added

Not all optimized, but works for repacking all .DAT partitions with respective files ordering.

Ready to merge?

Now it is ready to merge!


Update tutorials for deprecated circuit draw style

A number of Tutorials have this deprecation warning message. The drawing should be updated to avoid this.
qc.draw("mpl")

/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/qiskit/visualization/circuit/matplotlib.py:266: FutureWarning: The default matplotlib drawer scheme will be changed to "iqp" in a following release. To silence this warning, specify the current default explicitly as style="clifford", or the new default as style="iqp".
self._style, def_font_ratio = load_style(self._style)

These are the tutorials - I just put the number not the full name. There can be multiple places within each that needs fixing.

[x] 01
[x] 02
[x] 02a
[x] 04
[x] 05
[x] 10
[x] 11 (updated by #728)
[x] 12

Fixed by 30aa648b1eb82527a9bfb6be9173c5f526f18b4e for all tutorials: qc.draw("mpl") -> qc.draw("mpl", style="clifford"). This closes also https://github.com/OkuyanBoga/hc-qiskit-machine-learning/issues/11 and the update is available there after syncing the fork.


getting block transactions

hi,
in order to get transactions between blocks, im using the following method
// to get blocks
const blockPromises = [];
for (let i = Number(start); i <= Number(end); i++)
  blockPromises.push(client.getBlockWithTxs(i));

// to get transactions of that block
const blockTransactions = blocks.flatMap((block) => block.transactions);
const transactionIds = blockTransactions.map(
  (transaction) => transaction.transaction_hash,
);

const [transactions, transactionReceipts] = await Promise.all([
  Promise.all(
    transactionIds.map((id) => client.getTransactionByHash(id)),
  ),
  Promise.all(
    transactionIds.map((id) => client.getTransactionReceipt(id)),
  ),
]);

but this creates too many requests, and sometimes i get rate limit reached error.
is there (or will there be) a more optimized way to get transactions of blocks in this manner?
thanks, dante

Just use a rpc without rate limit, like alchemy, infura etc.
Also: Github issues are not a support channel! DYOR


Record type locations for definition files types (AstDeclaredClassProp and AstStatDeclareFunction)

Props in AstStatDeclareClass currently do not record their typeLocations in the property type created, like AstTypeTables do (following on from #802):
https://github.com/luau-lang/luau/blob/e76802f2ce698ca090a793b24c07e336b21ade9f/Analysis/src/TypeInfer.cpp#L1782-L1805
It seems that there is no position stored in the Ast for AstDeclaredClassProp, so that will need to be added first.
Likewise, the FunctionType produced via AstStatDeclareFunction does not record a FunctionDefinition:
https://github.com/luau-lang/luau/blob/e76802f2ce698ca090a793b24c07e336b21ade9f/Analysis/src/TypeInfer.cpp#L1836
These missing locations makes it difficult to find the location in a definitions file where these types are declared.

This will be fixed in next sync or the one after.

Thanks for introducing this!
A couple of things:

It actually looks like loadDefinitionFile accidently discards comment locations, so we lose out on the doc comment aspect of this feature request
I forgot to mention maybe also including location for AstStatDeclareClass. It already has a definitionModule.

I can submit a PR for both of these


Feature/media fdo profile

Added some vocabularies (mediaFormat, linkedDigitalObjectType, primaryMediaObjectIdType, primaryMediaObjectType)
Changed HandleAttribute to a POJO from a record. allows for a much cleaner constructor, but it means there are a lot of lines touched by this change
RFC

What happens when we deploy this? Would the current media processor still work or would these changes break the flow?

Media processor would break, need to make minor changes. That's in the works still.

What happens when we deploy this? Would the current media processor still work or would these changes break the flow?

Media processor would break, need to make minor changes. That's in the works still.

Is this still true, maybe wait with merge until everything keeps working after this change

What happens when we deploy this? Would the current media processor still work or would these changes break the flow?

Media processor would break, need to make minor changes. That's in the works still.

Is this still true, maybe wait with merge until everything keeps working after this change

This branch will work with the PR on the media processor (https://github.com/DiSSCo/dissco-core-digital-media-object-processor/pull/21). They need to be merged at the same time.


CheckWhenObserve mode broken b/c ansible logs are not valid json

What happened?

In CheckWhenObserve mode, reconciliation always fails with observe failed: Error decoding results\n\tinvalid character error. This error comes from provider-ansible attempting to parse ansible logs: https://github.com/crossplane-contrib/provider-ansible/blob/5e0d99269289a6c47b232d829eff424cfa374087/internal/controller/ansibleRun/ansibleRun.go#L363
The function results.ParseJSONResultsStream  expects logs in json format (e.g. something you'd get using json callback. so, when trying to parse "classic" non-json ansible logs it, natually, fails.
How can we reproduce it?

Create any ansiblerun with CheckWhenObserve policy.
Here's my example:
apiVersion: ansible.crossplane.io/v1alpha1
kind: AnsibleRun
metadata:
  annotations:
    ansible.crossplane.io/runPolicy: CheckWhenObserve
  name: example-add-line
spec:
  forProvider:
    inventoryInline: |2
      cluster:
        hosts:
          default-0:
            ansible_host: <IP>
    playbookInline: |2
      - name: add-line-to-file
        hosts: cluster
        tasks:
        - name: Add a line to file
          ansible.builtin.lineinfile:
            path: /root/testfile
            line: added-line
            state: present
    vars:
      ansible_ssh_private_key_file: ./ssh_id
  providerConfigRef:
    name: example

Observe the following status:
status:
  atProvider: {}
  conditions:
  - lastTransitionTime: "2024-01-17T21:57:05Z"
    message: "observe failed: Error decoding results\n\tinvalid character 'P' looking
      for beginning of value"
    reason: ReconcileError
    status: "False"
    type: Synced

Note that the same playbook succeeds in ObserveAndDelete mode.
What environment did it happen in?
Crossplane version:
1.14.0

Was trying to figure out how to get those ansible logs parsed for another issue (extracting failure message for the Ready condition) and not seeing any quick and elegant solutions tbh. Here's what I explored:

Use ansible's json callback to have it output logs in json format that can then be parsed by go-ansible package. Doesn't work cause ansible-runner always sets its own custom awx_display callback, and only one callback can be enabled.
Same as above, but use go-ansible instead of ansible-runner, so that we can have json callback and integrate it nicely with go. Doesn't work cause go-ansible lacks some features that provider-ansible depends on, like executable inventory.
Try to use awx_display output. It's also in json, but a completely different json structure than vanilla ansible json, so there's no package for parsing it, so would require defining all the custom types for parsing json events.

Basically, No.3 is the only option. It's a lot of work for a seemingly small thing, but there's nothing fundamentally wrong with it.
Lmk if I have a green light to work on it :)

@morningspace Since you were looking at my other issues and PRs (thank you!), maybe you could check out this one too?

Hi @d-honeybadger , is there any progress on being able to use CheckWhenObserve policy?  Cheers

Hi @d-honeybadger , is there any progress on being able to use CheckWhenObserve policy? Cheers

There's some progress in parsing  logs in the awx_display format (that's what ansible-runner produces buly default), but it isn't comprehensive, it just extracts a few structs that are relevant for determining success/failure. The solution for this bug should probably build up on that parsing to also extract "changed" field from running tasks in check mode.
I can take a look in a bit now that there's interest in this ticket :) but also if you're at all interested in tackling it yourself I'll be happy to guide you through it

Thanks for the update.  I am pretty swamped right now.  I am interested in figuring out how to construct my role in order to play nicely with CheckWhenObserve mode.  There is only one task in my role that returns different results that I would want to use to trigger another run.   I was hoping that there is someway with the current release that I could achieve that end goal.
cheers

@d-honeybadger please let me know if you can give me some more guidance on fixing this, I want to see if I can take this on, or someone else on my team.  thanks

@dfry Thanks for considering it!
First, to be clear, I think this functionality has never worked in the first place, so look at it as feature work rather than bug fix.
Here's a walk-through:
For CheckWhenObserve to work, we need to

run ansible in check mode
collect logs from that run
parse those logs to determine if there were any steps with changed=1

Provider-ansible is using ansible-runner under the hood, rather than plain ansible. This limits our logging options, b/c ansible-runner is hard-wired to use awx_display logging callback. The logs that are produced are, thankfully, in json, but they are NOT the same as as regular Ansible logs produced with the json callback.
So far I haven't found any libraries for parsing awx_display-structured logs, so I started some minimal parsing in (this PR](https://github.com/crossplane-contrib/provider-ansible/pull/310).  The structure of awx_display logs is documented to some extent here https://github.com/ansible/awx/blob/devel/docs/job_events.md but not comprehensively so we'd need to just inspect a bunch of logs and deduce the structure from there. Or read awx code :shrug:
Although not very well documented, those logs are quite comprehensive, so I'm pretty sure that the changed fields is available for each task, so we'll just need to aggregate all those to determine if a run as a whole leads to any changes.
To explore those logs, I'd just exec into the provider-ansible pod, where, under the ansibleDir directories, there is a directory for each AnsibleRun resource (name of subdirectory is the UID of the AnsibleRun), and under that, there's a directory for each invocation of that AnsibleRun, and under there there is a directory with so called "job_events" - those are the logs to be parsed.
Hope this was enough to give you an idea. I'd start just execing into provider-ansible and poking at ansibleDir. Once you make sense of those so-called "job_events" it should be straightforward to do a bit more parsing.


remove please from QR template

Per MS style guide:
Avoid please except in situations where the customer is asked to do something inconvenient or the application or site is to blame for the situation.

Replaced by #1027


[Feature proposal] push/pull (offset) classes

Hi
in inuit css they have push / pull classes eg
.u-pull-1/6@tablet
.u-push-1/4@desktop
.u-push-reset@wide etc
this allows you to offset grid columns responsively
it would be great if tailwind could do this so i guess something like
md:pull-1/6 lg:push-1/4
pull/push work slightly better than offset since you need to be able to go in both directions
thanks
J

There's no real way to implement fairly intelligent push/pull logic using just utility classes and we try to stay away from providing anything at a high level of abstraction so it's unlikely we'll ever add anything like this to the framework unfortunately.
The only way to do push/pull columns this way as far as I know is with a float-based grid (I could be wrong), and using any flexbox-based approach you can only really do regular offsets.
A better approach to reordering things using a flexbox grid is to create your own helpers for the order property.
Once CSS Grid has better browser support, that will be the best option because you can position columns anywhere you want, see the "Explicit start and end points" example here: https://tailwindcss.github.io/plugin-examples/#css-grid

just leaving the info for anyone looking. this is essentially doable with the margin/negativeMargin in the config file
negativeMargin: { ... '1/6': '16.6666666667%' }
then
class="lg:-ml-1/6" (instead of a custom pull class for eg lg:pull-1/6)

Since offsets are a very common use case, why don't we add the same column-related width classes to margin? Only reason I see against doing this is that it doesn't make a ton of sense for margin-top and margin-bottom. I've been using empty <div>s, which works when combined with a flex wrapper, but it definitely feels wasteful.


AppLauncher: Changes icontext in tile to be consistent with heading

A very trivial issue with an equally trivial fix. The fix isn't
particularly necessary for the project but for the sake of
consistency of the elements and the data displayed by elements,
this commit changes the iconText in one of the examples to make
it consistent with the heading.
Fixes #1907
Additional description

CONTRIBUTOR checklist (do not remove)
Please complete for every pull request

[x] First-time contributors should sign the Contributor License Agreement.  If you haven't before, wait a few minutes and a bot will comment on this pull request with instructions.
[x] npm run lint:fix has been run and linting passes.
[x] Mocha, Jest (Storyshots), and components/component-docs.json CI tests pass (npm test).
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[x] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[x] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

REVIEWER checklist (do not remove)

[ ] TravisCI tests pass. This includes linting, Mocha, Jest, Storyshots, and components/component-docs.json tests.
[ ] Tests have been added for new props to prevent regressions in the future. See readme.
[ ] Review the appropriate Storybook stories. Open http://localhost:9001/.
[ ] The Accessibility panel of each Storybook story has 0 violations (aXe). Open http://localhost:9001/.
[ ] Review tests are passing in the browser. Open http://localhost:8001/.
[ ] Review markup conforms to SLDS by looking at DOM snapshot strings.

Required only if there are markup / UX changes

[ ] Add year-first date and commit SHA to last-slds-markup-review in package.json and push.
[ ] Request a review of the deployed Heroku app by the Salesforce UX Accessibility Team.
[ ] Add year-first review date, and commit SHA, last-accessibility-review, to package.json and push.
[ ] While the contributor's branch is checked out, run npm run local-update within locally cloned site repo to confirm the site will function correctly at the next release.

@pulkonet Nice eye for detail!


LEAN Hash-Array Mapped Tries implementation?

I wonder if you considered implementing some parts of this paper?
CLJS implemenstation: https://github.com/bendyworks/lean-map
It claims to improve performance of access, equality checking and hashing.

Thanks for the links :)


how to restoreSession

hi there, sorry for my newbie issue.
thank you from your works.
if no problem please help me and explain this questions.

[ ] for using restoreSession definition what must we do?  how call it? from whatsapp.py or whatsapp_web_backend.py or web console or something else.
[ ] for storing session requirements (clientid, clienttoken, servertoken) after first login in witch section i must write parameters to file? i need to write loginInfo and connInfo to file and extract my needs.

#325

hi there, sorry for my newbie issue.
thank you from your works.
if no problem please help me and explain this questions.

[ ]  for using restoreSession definition what must we do?  how call it? from whatsapp.py or whatsapp_web_backend.py or web console or something else.
[ ]  for storing session requirements (clientid, clienttoken, servertoken) after first login in witch section i must write parameters to file? i need to write loginInfo and connInfo to file and extract my needs.


upgraded MKDocs build CD action version to fix outdated warning

Description
Outdated action version warning

last MKDocs build workflow warning
Fixed by upgrading outdated actions to newest version
Changes

Upgraded outdated actions to newest version

Tests
Known Issues
Notes
Checklist

[ ] My name is on the list of contributors (CONTRIBUTORS.md) in the pull request source branch.
[ ] I have updated the documentation to reflect my changes.

not going to merge this because this is already contained and even more updated in this PR: https://github.com/C-Accel-CRIPT/Python-SDK/pull/339


add ^ to operators options

the switch case is useless. just use an if switch cases are good for speed with like a lot of things, not just 1 and a default
me when planned expansion :trollface:

whenever they want :bleh


Fix avoidance patterns

Fixing the avoidance patterns issues.

Removing equivalent classes and making subclass assertions for temporary fix of the avoidance patterns.


feature: uvx for github repos

uvx is an awesome feature. It would be very nice to have something like
uvx <github_repo_url>
to run packages/commits that are not on python pypi
Use cases

execute the latest commit of a package without needing to cut a pypi release
execute private github repos that cannot go on pypi
if able to execute specific commits, this would enable an efficient form of git bisect

I believe you can do this with the --from option, for example:
uvx --from git+https://github.com/snth/markdown-crawler@uvx markdown-crawler

In general
uvx --from git+https://github.com/<USER>/<REPO>@<TREEISH> <ENTRYPOINT>


Endpoint does not implement Sync

I've been trying to use DynamoDb with Tide by passing a DynamoDbClient through to the function via the context. However it gives me the following error: (Full error underneath the 'Additional Context' header).
error[E0277]: `(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)` cannot be shared between threads safely
  --> src/main.rs:15:25
   |
15 |     app.at("/card/:id").get(card_handler);
   |                         ^^^ `(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)` cannot be shared between threads safely
   |

At first I thought the Client struct did not implement Sync which Context may have required but looking at the docs, Sync does seem to be implemented.
So what I'm currently thinking is happening is that because the future returned by the client does not implement Sync it cannot be returned.
Question
Assuming the problem is that the future does not implement Sync, how would I go about fixing this problem? Normally I would fix a problem with Sync by wrapping it in a RwLock or a Mutex but I'm not sure if that would work for a future, especially as it would block the thread.
Additional context
Here's a link to the repo: https://gitlab.com/Hiruna/rathe
This is the handler that gets passed in to the route.
This is where client.get_item generates a future that does not implement Sync
This is the full error displayed:
error[E0277]: `(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)` cannot be shared between threads safely
  --> src/main.rs:15:25
   |
15 |     app.at("/card/:id").get(card_handler);
   |                         ^^^ `(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)` cannot be shared between threads safely
   |
   = help: the trait `std::marker::Sync` is not implemented for `(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)`
   = note: required because of the requirements on the impl of `std::marker::Sync` for `std::ptr::Unique<(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)>`
   = note: required because it appears within the type `std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)>`
   = note: required because it appears within the type `std::pin::Pin<std::boxed::Box<(dyn futures_core::stream::Stream<Item = std::result::Result<bytes::bytes::Bytes, std::io::Error>> + std::marker::Send + 'static)>>`
   = note: required because it appears within the type `http_service::Body`
   = note: required because it appears within the type `http::request::Request<http_service::Body>`
   = note: required because it appears within the type `tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>`
   = note: required because of the requirements on the impl of `std::marker::Send` for `&tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>`
   = note: required because it appears within the type `for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5> {tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, for<'_> fn(&rusoto_dynamodb::generated::DynamoDbClient, uuid::Uuid) -> impl core::future::future::Future {dynamodb::card::get_card}, &'r tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, &'s rusoto_dynamodb::generated::DynamoDbClient, &'t0 rusoto_dynamodb::generated::DynamoDbClient, &'t1 tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, &'t2 str, &'t3 str, std::result::Result<uuid::Uuid, uuid::parser::ParseError>, &'t4 str, uuid::Uuid, impl core::future::future::Future, ()}`
   = note: required because it appears within the type `[static generator@src/handler/card.rs:5:51: 13:2 ctx:tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient> for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5> {tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, for<'_> fn(&rusoto_dynamodb::generated::DynamoDbClient, uuid::Uuid) -> impl core::future::future::Future {dynamodb::card::get_card}, &'r tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, &'s rusoto_dynamodb::generated::DynamoDbClient, &'t0 rusoto_dynamodb::generated::DynamoDbClient, &'t1 tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, &'t2 str, &'t3 str, std::result::Result<uuid::Uuid, uuid::parser::ParseError>, &'t4 str, uuid::Uuid, impl core::future::future::Future, ()}]`
   = note: required because it appears within the type `std::future::GenFuture<[static generator@src/handler/card.rs:5:51: 13:2 ctx:tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient> for<'r, 's, 't0, 't1, 't2, 't3, 't4, 't5> {tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, for<'_> fn(&rusoto_dynamodb::generated::DynamoDbClient, uuid::Uuid) -> impl core::future::future::Future {dynamodb::card::get_card}, &'r tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, &'s rusoto_dynamodb::generated::DynamoDbClient, &'t0 rusoto_dynamodb::generated::DynamoDbClient, &'t1 tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>, &'t2 str, &'t3 str, std::result::Result<uuid::Uuid, uuid::parser::ParseError>, &'t4 str, uuid::Uuid, impl core::future::future::Future, ()}]>`
   = note: required because it appears within the type `impl core::future::future::Future`
   = note: required because it appears within the type `impl core::future::future::Future`
   = note: required because of the requirements on the impl of `tide_core::endpoint::Endpoint<rusoto_dynamodb::generated::DynamoDbClient>` for `fn(tide_core::context::Context<rusoto_dynamodb::generated::DynamoDbClient>) -> impl core::future::future::Future {handler::card::card_handler}`

Thank you in advance.

I believe I had this same exact issue, and it took me a bit to figure out. Seems to be related to https://rust-lang.github.io/async-book/07_workarounds/04_send_approximation.html.
Instead of directly getting values from context and passing them to another async function, you'll need to bind them to variables before hand:
use uuid::Uuid;

use super::super::{Context, dynamodb::get_card};

pub async fn card_handler(ctx: Context) -> String {
-    let card = get_card(ctx.state(), ctx.param::<Uuid>("id").expect("Could not understand card id!"))
+    let state = ctx.state();
+    let id =  ctx.param::<Uuid>("id").expect("Could not understand card id!");
+    let card = get_card(state, id)
        .await
        .expect("No card with that id found.");
    format!(
        "Name: {}\nType: {}\nClass {}",
        card.name, card.type_, card.class
    )
}

@dfrankland It works! Thank you very much.


Modification in Hosted Automated Analysis

Hi,
Just want to advise about some tools listed that no longer exist and some that can be added.
In Malicious File Analysis > Hosted Automated Analysis:
No longer exist:
Malwr
MalwareViz
Eureka
Deepviz Sandbox
ThreatExpert Sandbox
Anlyz.io
New one to add:
Intezer Analyze Community Edition (https://analyze.intezer.com/#/)
Sandblast (https://threatpoint.checkpoint.com/ThreatPortal/emulation)
SNDBOX (https://app.sndbox.com/login)
ViCheck (https://www.vicheck.ca/)
MalwareConfig (https://malwareconfig.com/)
OPSWAT Metadefender (https://metadefender.opswat.com/#!/)
VxCube (http://vxcube.com/)
Jotti malware scanner (https://virusscan.jotti.org/en-US/scan-file)

Removed and added what was still free. Thanks!


Apple clang versions 9 and below do not have support for it.

Apple clang versions 9 and below do not have support for it.
Building the vcpkg tool requires support for the C++ Filesystem TS.
Apple clang versions 9 and below do not have support for it.
Please install gcc6 or newer from homebrew (brew install gcc6).
If you would like to try anyway, set VCPKG_ALLOW_APPLE_CLANG.
-- Configuring incomplete, errors occurred!
See also "/Users/ian/GitHub/vcpkg/toolsrc/build.rel/CMakeFiles/CMakeOutput.log".
ninja: error: loading 'build.ninja': No such file or directory
cp: /Users/ian/GitHub/vcpkg/toolsrc/build.rel/vcpkg: No such file or directory

Hi @lauer3912,
You need to install XCode 10 or a recent clang LLVM in order to build vcpkg on OSX. Or are you requesting for it to support older versions of clang?
Cheers
Marco

@mcraveiro
I had installed XCode 10, But problems still exist.

@mcraveiro
ians-MacBook-Pro:~ ian$ clang -v
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
ians-MacBook-Pro:~ ian$ which clang
/usr/bin/clang
ians-MacBook-Pro:~ ian$ /usr/bin/clang -v
Apple LLVM version 10.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.0.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
ians-MacBook-Pro:~ ian$

Ah, most interesting! Well, before we proceed, may I just warn you that @ras0219-msft  told me that the recommended way to build vcpkg itself on OSX is using homebrew's GCC rather than Clang [1] (XCode or otherwise):

Generally, we just recommend users to install a gcc-6 from homebrew to build the vcpkg tool (note that the libraries will still be built with $CXX by default, which is AppleClang). [...]

If you do want to use Clang, once you go past this problem you will likely hit a linking problem, as documented on that ticket.
With all of that said, I am very intrigued now :-) can you send us the complete CMake "configure" from boostrap.sh please?
[1] https://github.com/Microsoft/vcpkg/issues/4476#issuecomment-430231267
[2] https://github.com/Microsoft/vcpkg/issues/4476#issue-370181121

@mcraveiro
Thanks, again.
Uploading CMakeOutput.log…
Uploading CMakeLists.txt…
Uploading CMakeCache.txt…

CMakeOutput.log
CMakeCache.txt
CMakeLists.txt

OK I think I get it, finally! :-) I think the error message is not entirely enlightening; it seems to imply its checking the version of Clang. However, if you look at the actual code, it says:
elseif(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang")
    if(NOT VCPKG_ALLOW_APPLE_CLANG)
        message(FATAL_ERROR
"Building the vcpkg tool requires support for the C++ Filesystem TS.
Apple clang versions 9 and below do not have support for it.
Please install gcc6 or newer from homebrew (brew install gcc6).
If you would like to try anyway, set VCPKG_ALLOW_APPLE_CLANG.")
    else()
        set(CLANG 1)
    endif()
elseif(CMAKE_CXX_COMPILER_ID MATCHES "[Cc]lang")
    set(CLANG 1)

Basically, by default it blocks you regardless of which version of Clang you are using; if you have version 9 and higher and you really want to use it - instead of the recommended Homebrew GCC - then you need to set VCPKG_ALLOW_APPLE_CLANG. I presume its a define job, e.g. -DVCPKG_ALLOW_APPLE_CLANG.
This also explains why I managed to get my vcpkg compiled using LLVM's Clang without setting VCPKG_ALLOW_APPLE_CLANG (see the Clang else which is the path taken by LLVM Clang).

@mcraveiro Thanks.

What is the step that I need to follow to get around this problem? Is it  "brew install gcc6"?


Adding barren plateau video

Website build
Commit: 41494c9ad4c201d9e8bd09583de21677afa80024
Circle build number: 627
Website zip: https://627-214003948-gh.circle-artifacts.com/0/tmp/qml_html.zip
Website url: https://627-214003948-gh.circle-artifacts.com/0/_build/html/index.html
Please double check the rendered website build to make sure everything is correct.


Replace now time with block header time

Replace now time with block header time

Just close this PR and move to #68


Web blog out of date - bad links.

Your wordpress web blog Diagnosing ADO.NET with ETW traces still has links that point to codeplex which was shut down last year.
Just thought I should let you know.
It doesn't seem to want to let me post on that site.

Thanks, I updated the links.


How to tackle: Getting code actions from ESLint

The cause of seeing that dialog can have many reasons. They are in almost all cases not related to the ESLint extension itself.
Typically reasons are:

one of the eslint plugins is slow
VS Code's extension host is busy which is usually caused by an extension different than ESLint

Finding the reason
Before you file an issue please follow the following steps to narrow down the problem:

disable all other extensions except ESLint. If the problem doesn't reproduce anymore use VS Codes extension bisect tool to identify the extension that causes the problem.
run eslint in the terminal with the --fix option on the same file you get the slow saving dialog on. If that runs slow it will reveal the same behavior in the ESLint extension.
open VS Code's process explorer tool (Help -> Open Process Explorer) and look for the extensionHost process. If that has high CPU load than it is very likely caused by an extension. Again use the bisect tool to identify the problematic extension.
eslint itself or one of its plugin is slow: this can best be figured out by running the extension with "eslint.debug": true and inspecting the timings in the ESLint output channel. In these scenarios eslint in the terminal is slow as well.
an eslint plugin uses deasync to make async calls sync. This can lead to complete hangs of the VM especially when used in a Electron node runtime (which VS Code does). A workaround could be to set the node runtime used for ESLint to a locally installed node version using the eslint.runtime setting.

Some tips how to make the dialog less likely

use the setting "eslint.codeActionsOnSave.mode": "problems". This disables ESLints behavior were it runs the validation n times until the last run didn't compute any additional fixes. If that is set to "all" which is the default, ESLint will run n (n >= 2) validation passes for that single document on every save. The side effect of using problems however is that not all fixable problems might be fixed.
Use the new setting (only available in > 2.2.0) eslint.codeActionsOnSave.rules setting to explicitly specify rules that should be evaluated on save. This helps to exclude expensive rules that might not even produce fixes.
Decouple saving in VS Code from running code actions on save. There are two ways to do so:

enabled auto save again in VS Code (this will automatically save the file but not run code actions on save) and trigger code action on save by pressing Ctrl+S (which in this setup will not save the file).
disable code action on save and either use Format Document (Shift+ALt+F) (eslint needs to be configure to format the document) or the separate ESLint: Fix all autofixable problems command (which can be bound to a short cut).

Filing an issue
If you file an issue for this please open a separate issue with steps on how to reproduce it. Please don't add to existing issues since the cause of the hang is very likely unique.

"eslint.codeActionsOnSave.mode" is deprecated, please use "editor.codeActionsOnSave": { "source.fixAll.eslint": true }

I recently switched to Pre-Release versions of Python, Pylance, isort VSCode extensions and only then started seeing this notification. At the same time at least one of those extensions required a restart. Restarting VSCode solves this issue for me.

I just removed this from settings.json, didn't hurt at all
 "editor.codeActionsOnSave": {
    "source.fixAll": "always",
    "source.organizeImports": "always",
    "editor.codeActionsOnSave": { "source.fixAll.eslint": true }
},


Add beginner, advanced, and contributors guide

Putting up PR solely to facilitate discussion tomorrow. No intent to merge at the moment
Preview: https://jax--13285.org.readthedocs.build/en/13285/

hi @jakevdp. At time of commenting theres three levels of reviews for this one, high level, per user profile level, and then technical details in that order. No immediate urgency, just prepping everything to make the most of our time on Friday
Higher Level
Do the overall breakdown and general content of each of the seem amenable? I built them to the meeting we had, but given its been about two weeks just want to ensure I got it correct.
If the user profiles seem correct then
Lower Level
Each page will have its own content, but also tone and style. Within in each page I have questions as well, for instance

In the Advanced Users page some tutorials are more "baked" than others. Should we keep or rearrange all of these?
Should these tutorials then be removed from the front page if they are copied into the advanced users bucket
Are there any that should be added, for instance some "hidden" notebooks that are in this repo but not in the docs

Technical details and typo level
There are technical details to get htis work

Getting responsive boxes added in index.rst to link to each of these
Getting cross link working
Fixing youtube element size etc
Fix up any typos I left behind

I will fix these all after the upper two things are mostly decided.

docs/advanced_guide.rst

...
Advanced Users
==============

Note that you're using "guides" and "tutorials" in the same file. Let's stick to "tutorials" and rename the RST file to avoid future confusion (see "common_gotchas" -> "Sharp Bits" doc).
I'd recommend removing "The following tutorials will provide advanced functionality in JAX" since it's kind of repeating what the title says. A list of advanced tutorials would do IMO.
Is advanced_guide.rst more like index.rst for Advanced tutorials?

docs/beginner_guide.md
...

# Beginner Guide
Welcome to the beginners guide for JAX.
On this page we will introduce you to the key ideas of Jax,
...
## Key Ideas of Jax
At a high level aims to empower researchers with a small, agile,
constantly evolving software system and excellent support.

Specifically Jax does this by providing researchers with

1. **Familiar API**: JAX provides a familiar NumPy-style API for ease of adoption by researchers and engineers.
2. **Transformations**: JAX includes composable function transformations for compilation, batching, automatic differentiation, and parallelization.
3. **Run Anywhere**: The same code executes on multiple backends, including CPU, GPU, & TPU

If you prefer a video introduction here's one from Jake Vanderplas...

## Installing JAX
Installation instructions ...
Alternatively Jax comes preinstalled on[Google Colab](https://colab.research.google.com/)...

## Getting familiar with Jax
For most users starting out the key functionalities of JAX to become familiar with are
* jit
* grad
* vmap

For these topics the (jax-101)[../jax-101/index.rst] and (Jax Quickstart)[../notebooks/quickstart]
provide code examples with greater explanation

This file may appear like a (second) landing page - an short introduction to JAX with high-level information and links to get started. This may introduce an extra layer of information "overload". I'm adding @cgarciae - he's helped with the Flax site. @marcvanzee (also from Flax) is proposing to reorganize the ToC on Flax too.

To solve the "we have 3 beginner guides" issue (cc @skye @jakevdp ) I can assist with combining the main ideas from 1) Quickstart, 2) JAX-101, and 3) Thinking in JAX and putting them in one document (we still keep the other docs to avoid 404s, especially the JAX-101 notebook 1, since it's part of the series of notebooks). Working on something similar for Flax (discussed with @marcvanzee).

docs/contributing.rst

Contributing to JAX
===================

JAX welcomes contributions.
See below for various install guides to get setup as a developer
as well as how to submit Jax Enhancement Proposals for larger proposals.

.. toctree::
   :maxdepth: 1
   :caption: Developer documentation

   contributing
   developer
   jax_internal_api
   autodidax
   jep/index

For "Contributing", it may help external users start opening GitHub PRs/Issues if they can scan through all the instructions on one page. Check out Keras - https://keras.io/contributing/ - they have a lot of external examples submitted by the community via PRs. Also Numpy https://numpy.org/contribute/.
Each of the subsections - such as "Developer", "JAX API", "JEP" - would be on the same page. In Flax, this looks like https://flax.readthedocs.io/en/latest/advanced_topics/contributing.html (We 're moving this doc to a more visible location soon cc @@cgarciae  @marcvanzee )

Great start - thanks for working on this!

Are there any that should be added, for instance some "hidden" notebooks that are in this repo but not in the docs

Hidden 💎 s. Good point. Let's discuss this (and everything else) this week.

@jakevdp @8bitmp3 This is ready for final review.
Regarding CI there seems to be some code checkout issue in the RTD CI runner. There's no errors locally though, so I hope therell be non in CI once it runs properly

That issue should be fixed after #13636, if you sync to main and try again it should build I think

Everything works 🎉

Thanks @jakevdp for finding the Jupyter cards. This brings us really close to the envisioned design. I'm not the best visual designer so I'm sure there's ways we can make these cards look much better, I may be able to ask one of the colleagues on my team or ask someone else internally if they wouldn't mind some light consulting
@8bitmp3 Please do any wordsmithing or title changes for the categories. They're now referenced in a couple of places (filenames, titles, css classes) so it'll be great to align and make the changes once!
Appreciate the support from you both

Reference documentation
https://sphinx-design.readthedocs.io/en/latest/cards.html#cards-options
https://m3.material.io/components/cards/

All comments addressed. Thanks Jake!

Anything else I can do to keep this moving?

To recap the discussion with @jakevdp and @canyon289 :

We can move the three key points from https://jax--13285.org.readthedocs.build/en/13285/beginner_guide.html#beginner-guide to the main index.rst after the "Note: JAX 0.4.1  introduces new parallelism APIs..." banner.
Buttons on the main index.rst: "Getting started", "Guides" (instead of "Advanced..."), and "Developer resources" (what is "advanced" is hard to explain, similar to Flax).
Keep sentences in buttons short (without the second sentences).
The ToC in the main index.rst is the current user journey:

Getting started
- Installing JAX
- JAX Quickstart
- How to think in JAX
- JAX - The Sharp Bits
- Tutorial: JAX 101
- Runtime value debugging

so once more content is added above this in the main index.rst, some users may not be able to view that "learning path".

Thank you so much @canyon289 :+1:

Made the changes though. It now feels like the top section is fairly busy between a paragraph, announcement, and the three additional boxes.
For hte other points

Deleted the sentence
If there is a better word to use than advanced feel free to make the suggested edit in the rst file. I dont have any better ideas
For the last one if thats the case not much more should be added over the user journey. Then itd stay on screen

I'm looking over the flax vs numpy docs I'm realizing whats going on.
The original idea was to add a guide of "where to go" similar to Numpy does, and move links to appropriate areas.
The Flax docs, and these new additions, are now spending more front page real estate telling people "what flax is", and now in this case Jax.
Theres also now this third thing of the note being added as well, warning users of a design change.
Neither idea is wrong, but right now its feeling like this is the subpar combination of the two, and the temporary warning is further muddling things.
https://flax.readthedocs.io/en/latest/
https://numpy.org/doc/stable/

Hey Ravin - it looks like somehow the "Key Ideas" grid is now oriented vertically. Can you take a look?

Thanks for catching that

Looks like a case "But it works on my computer..."
Ill figure it out today and ping this when verified correct in Ci.

Looks great - mind if I share with the dev team for comments this morning?

Looks great - mind if I share with the dev team for comments this morning?

Please do so! Happy to keep moving this forward so we can ensure everyone is happy and this keeps moving forward

I think this is looking pretty good - would you mind squashing and rebasing? I'm leaning toward merging and then iterating more from there.

Looks like readthedocs hit a transitory HTTP error accessing intersphinx resources.

Looks like readthedocs hit a transitory HTTP error accessing intersphinx resources.

Anything I can do to fix it? Doesnt seem like I can restart the job from my end, or at least I can't see how

I've been poking around this, and I have a couple ideas. First, I think the main page could still be cleaned up a bit. I've been playing with some ideas in this branch https://github.com/jakevdp/jax/commit/8411308d6d5743d68a28d40d076bd61a43859a09
In particular, I made the toctrees on the main page hidden, so that the content displays in the left sidebar. I think the fact that the advanced guide material no longer shows up in the sidebar is problematic. We probably don't need it listed in full, but perhaps it could be under a heading that is collapsed by default?
Regarding the new beginner link, I think it needs some work before we can make it live – after all our edits, it's no longer very well organized, and I don't think linking to jit/vmap/grad API docs is useful. Instead, we should focus on using it to guide people to the existing beginner docs
Let me know what you think - thanks!

I've been poking around this, and I have a couple ideas. First, I think the main page could still be cleaned up a bit. I've been playing with some ideas in this branch jakevdp@a4c4544
In particular, I made the toctrees on the main page hidden, so that the content displays in the left sidebar, but not at the bottom of the index page. I think the fact that the advanced guide material no longer shows up in the sidebar is problematic. We probably don't need it listed in full, but perhaps it could be under a heading that is collapsed by default?
Regarding the new beginner link, I think it needs some work before we can make it live – after all our recent edits, it's no longer very well organized, and I don't think linking prominently to jit/vmap/grad API docs is useful to a new user. Instead, we should focus on using it to guide people to the existing beginner docs as appropriate.
Let me know what you think - thanks!

Thanks for these direct edits!

I'm thrilled to see the front page simplified even more, with the links deduplicated. This was going to be my next suggestion, originally didn't want to edit to the main page too much to avoid controversy but hey lets go for it.
In the beginner page having a bunch of taking up for jit, vmap, grad isn't useful. I do think calling out that those three things are the core ideas to start with though is useful. If its a concern of space would putting them into a sentence with inline links suffice, or at a minimum just stating it in plaintext?

I think linking to them is fine (maybe in a paragraph?) My main concern was that the page doesn't offer a very good entrypoint for beginners at the moment – I called those out as examples of why this is the case

I think linking to them is fine (maybe in a paragraph?) My main concern was that the page doesn't offer a very good entrypoint for beginners at the moment – I called those out as examples of why this is the case

Makes sense, Removed the links. In latest set of commits I also

Expanded main page TOC tree on the left
Simplified getting started page some more

I didnt have any strong idea of how to order the TOC tree on the left so its more random than thought out right now. First wanted to check if it was comprehensive first.

Looks awesome. Ping me when you are at the finish line for the last review @canyon289

Thanks! In that case will wait for an LGTM from Jake (or any final edits) and then we can do the final pass to get this in. Appreciate it

Sorry, I'm going to take a look at this but I've been delayed by other things

I suggested some modifications in https://github.com/jakevdp/jax/commit/dbf24d2dbc38f07020f8d916c54e756b7380fc6f The key difference is that now all content appears on the index sidebar, though most is collapsed by default.

Thanks for all the work on this!


Update Favicon

If you need a different size or format to the png below, let me know.

pretty sure this is done now. closing.

pretty sure this is done now. closing.

@JohnDanz reopening because I unless you have the PNG above (logo in white circle) it's not correct. We need it in white to show up on both light and dark mode browsers

@JohnDanz reopening because I unless you have the PNG above (logo in white circle) it's not correct. We need it in white to show up on both light and dark mode browsers


Correction for raw affiliation Department of Physics and Astronomy, UVIC, Victoria, BC V8W 3P6, Canada

Correction needed for raw affiliation Department of Physics and Astronomy, UVIC, Victoria, BC V8W 3P6, Canada
raw_affiliation_name: Department of Physics and Astronomy, UVIC, Victoria, BC V8W 3P6, Canada
new_rors: 04s5mat29
previous_rors:
works_examples: W3098170489
contact: ecb2bc9b51c709dee3c2d7fae3a1890a:b24d69d0 @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


change regex to match full key when removing it

I had wrong key removal when keys have the same prefix like 'http_proxy' and 'http_proxy_request_fulluri' :
'http_proxy_request_fulluri' is removed when matching regex '^http_proxy' if it appears first. Then 'http_proxy' is never matched with regex '^http_proxy_request_fulluri'.
So i modify the regex as '^{{ item.key }}\ ?=' to add an optional space and an equal char in the pattern to match.

THX


doesn't work on swift 3

Any ETA for swift 3 version?
there is a bunch of errors even using the migrator assistant to swift 3, any ETA or help to migrate it to s3 ?

any news about this issue?


No module named sets_ when running rd-start

@ezio-melotti I didn't notice this until now that I'm building the openshift version of bpo, when I run rd-start on a clean fresh repo clone I'm getting this. I didn't catch it earlier beacuse I had sets_.pyc in place, when I removed it I'm getting the exact same error. Looks like we need an update, any ideas?
tracker@ac87f66780bb:/$ rd-start
Traceback (most recent call last):
  File "/home/tracker/bin/roundup-server", line 11, in <module>
    run()
  File "/opt/tracker/roundup/roundup/scripts/roundup_server.py", line 978, in run
    httpd = config.get_server()
  File "/opt/tracker/roundup/roundup/scripts/roundup_server.py", line 633, in get_server
    for (name, home) in tracker_homes])
  File "/opt/tracker/roundup/roundup/instance.py", line 327, in open
    return Tracker(tracker_home, optimize=optimize)
  File "/opt/tracker/roundup/roundup/instance.py", line 102, in __init__
    self.detectors = self.get_extensions('detectors')
  File "/opt/tracker/roundup/roundup/instance.py", line 207, in get_extensions
    self._execfile(os.path.join(dirname, name), env)
  File "/opt/tracker/roundup/roundup/instance.py", line 239, in _execfile
    self._exec(self._compile(fname), env)
  File "/opt/tracker/roundup/roundup/instance.py", line 233, in _exec
    exec(obj, env)
  File "/opt/tracker/python-dev/detectors/autonosy.py", line 8, in <module>
    from roundup.anypy.sets_ import set
ImportError: No module named sets_

A fresh run didn't reproduce this for me; perhaps it's been fixed in the interim?


faster pandas with ray

import ray.dataframe as pd
https://news.ycombinator.com/item?id=16510610

I tried implementing this and unfortunately there is a lot of functions from pandas that haven't been created for Ray including "read_sql" which is one of the main functions we need in table construction since we're using a DB. Maybe we can find another way to implement parallel processing in the meantime, and hopefully ray will add this feature soon.

Why not use the parallel parts from ray and substitute whatever doesn't work with the original pandas functionality?

In my opinion we’re better off just multithreading as needed for all functions.


Wait till TPR is created

After we create the TPR, we go straight to the Informer without ensuring the TPR fully exist. This can throw some unnecessary errors:
time="2017-05-12T14:08:23+02:00" level=info msg="&{0xc420326180 0x1d46180}" method=Watch package="controller/tpr"
E0512 14:08:23.640792    1167 reflector.go:201] github.com/krallistic/kafka-operator/controller/tpr.go:142: Failed to list *spec.KafkaCluster: the server could not find the requested resource
E0512 14:08:24.643334    1167 reflector.go:201] github.com/krallistic/kafka-operator/controller/tpr.go:142: Failed to list *spec.KafkaCluster: the server could not find the requested resource
E0512 14:08:25.648408    1167 reflector.go:201] github.com/krallistic/kafka-operator/controller/tpr.go:142: Failed to list *spec.KafkaCluster: the server could not find the requested resource
E0512 14:08:26.652970    1167 reflector.go:201] github.com/krallistic/kafka-operator/controller/tpr.go:142: Failed to list *spec.KafkaCluster: the server could not find the requested resource
E0512 14:08:27.659649    1167 reflector.go:201] github.com/krallistic/kafka-operator/controller/tpr.go:142: Failed to list *spec.KafkaCluster: the server could not find the requested resource
E0512 14:08:28.661724    1167 reflector.go:201] github.com/krallistic/kafka-operator/controller/tpr.go:142: Failed to list *spec.KafkaCluster: the server could not find the requested resource
E0512 14:08:29.663870    1167 reflector.go:201] github.com/krallistic/kafka-operator/controller/tpr.go:142: Failed to list *spec.KafkaCluster: the server could not find the requested resource

The tprController should wait till the TPR is fully created.

Solved in the CRD refactoring, we poll every 500ms for 60s till either the CRD is created or a conflict occurs.


Ignore files generated by luatexja-ruby

Reasons for making this change:
To ignore files generated by luatexja-ruby
Links to documentation supporting these rule changes:
https://ctan.org/tex-archive/macros/luatex/generic/luatexja/doc

@taroxd thanks!


fix: Distance rates - Enabled distance rate changes to Disabled after deleting it.

Details

Fixed Issues
$ https://github.com/Expensify/App/issues/48290
PROPOSAL: https://github.com/Expensify/App/issues/48290#issuecomment-2318697456
Tests

Precondition: Workspace has enabled categories, tags & taxes.

Go offline
Go to workspace categories page
Delete an enable category
Verify the category is disabled after being deleted offline
Go to workspace taxes page
Delete an enable tax rate
Verify the tax rate is disabled after being deleted offline
Go to workspace tags page
Delete an enable tag
Verify the tagis disabled after being deleted offline

[x] Verify that no errors appear in the JS console

Offline tests

Go offline
Go to workspace categories page
Delete an enable category
Verify the category is disabled after being deleted offline
Go to workspace taxes page
Delete an enable tax rate
Verify the tax rate is disabled after being deleted offline
Go to workspace tags page
Delete an enable tag
Verify the tagis disabled after being deleted offline

QA Steps

Go offline
Go to workspace categories page
Delete an enable category
Verify the category is disabled after being deleted offline
Go to workspace taxes page
Delete an enable tax rate
Verify the tax rate is disabled after being deleted offline
Go to workspace tags page
Delete an enable tag
Verify the tagis disabled after being deleted offline

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
https://github.com/user-attachments/assets/c9433f1e-56f4-42c0-9c69-6f00c4645945

Android: mWeb Chrome
https://github.com/user-attachments/assets/3db1075a-99d2-44ee-b896-f7fa3ec36da4

iOS: Native
https://github.com/user-attachments/assets/d2bfb0a9-b415-407b-a106-26053fa0b026

iOS: mWeb Safari
https://github.com/user-attachments/assets/4cd25091-0ea4-4e91-b7a5-9cffaaf1ddc2

MacOS: Chrome / Safari
https://github.com/user-attachments/assets/eb6f2bf2-90be-4748-8eba-3da05529a5c9

MacOS: Desktop
https://github.com/user-attachments/assets/52b05292-941c-46da-ab7b-6099bedaa084

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


set timeout for BLE input

Today I spend most of the time setting up orange pi 5 plus so i got an idea during setup.

If user want to execute a lengthy/short command, then he has to send # at the end of input; remove it use timeout functionality so when user input something and forget to enter # at the end of input then code should execute that command in 2 to 3 seconds without waiting for #.


Debian-based images reference incorrect dependency versions

Snippet of the output from an attempt to build images using the latest master branch:
E: Version '4:8.3.0-1' for 'gcc-multilib' was not found
E: Version '8.3.0-6+21.3~deb10u1' for 'gcc-mingw-w64' was not found
E: Version '11.1.2+b1' for 'bsdmainutils' was not found
E: Version '1.8.0-1' for 'tree' was not found

It seems that the oldstable image is also affected.


action does not cache on runner or cache server

Description:
We have a self hosted runner (ARC Runner Scale Set) and self hosted actions cache both running in k8s. The action won't cache yarn on either the runner or the cache server
Action version:

setup-node@v4

Platform:

[x] Ubuntu
[ ] macOS
[ ] Windows

Runner type:

[ ] Hosted
[x] Self-hosted

Tools version:

installed on runner image via nvm:

yarn 1.22.22
npm 10.8.2
node v22.7.0

action uses:

node v20.18.0

Repro steps:
A description with steps to reproduce the issue. If you have a public example or repo to share, please provide the link.
Expected behavior:
A description of what you expected to happen.
action caches yarn on the cache server
Actual behavior:
A description of what is actually happening.
yarn will not be cached.
Action output of the action step
Run actions/setup-node@v4
  with:
    node-version: [2](https://github.com/nordeck/matrix-neoboard-standalone/actions/runs/11589506017/job/32389313057#step:4:2)0
    cache: yarn
    cache-dependency-path: matrix-neoboard-standalone/yarn.lock
  matrix-neoboard/yarn.lock

    always-auth: false
    check-latest: false
    token: ***
  env:
    ARGOCD_SHA:
    DOCKER_IMAGE: ghcr.io/nordeck/matrix-neoboard-standalone
    REACT_APP_REACT_SDK_VERSION: unset
    REACT_APP_REACT_SDK_REVISION: unset
Found in cache @ /home/runner/_work/_tool/node/20.18.0/x6[4](https://github.com/nordeck/matrix-neoboard-standalone/actions/runs/11589506017/job/32389313057#step:4:4)
Environment details
  node: v20.18.0
  npm: 10.8.2
  yarn: 1.22.22
/home/runner/.nvm/versions/node/v22.7.0/bin/yarn --version
/home/runner/.nvm/versions/node/v22.7.0/bin/yarn --version
1.22.22
/home/runner/.nvm/versions/node/v22.7.0/bin/yarn cache dir
1.22.22
/home/runner/.nvm/versions/node/v22.7.0/bin/yarn cache dir
/home/runner/.cache/yarn/v[6](https://github.com/nordeck/matrix-neoboard-standalone/actions/runs/11589506017/job/32389313057#step:4:6)
/home/runner/.cache/yarn/v6
/home/runner/.nvm/versions/node/v22.[7](https://github.com/nordeck/matrix-neoboard-standalone/actions/runs/11589506017/job/32389313057#step:4:7).0/bin/yarn config get enableGlobalCache
/home/runner/.nvm/versions/node/v22.7.0/bin/yarn config get enableGlobalCache
undefined
undefined
yarn cache is not found

Hello @phk-nord,
Thank you for creating this issue. We will investigate it and provide feedback as soon as we have some updates.

Hello @phk-nord,
Could you please share a repro link or detailed steps to reproduce the issue? I reviewed the output you provided and noticed that the action is using Node v20.18.0 while Yarn is being checked in Node v22.7.0. The command yarn cache dir is returning undefined, which suggests that the Yarn cache directory is not set or found. This typically indicates a misconfiguration or that the environment setup is incomplete, causing Yarn to be unable to locate the cache directory.

hi @mahabaleshwars,
sorry for the late reply i did some testing.
I cannot share the repo with you as it's an internal one.
Regarding the version mismatch:

As mentioned in the first post, Node has been installed on the runner image itself via nvm.
for now I change the version in the runner image to the same as the action step.
I wonder how to work around that in future...

I did define cache paths on the runner and run the action without a cache server connected. That removed the output lines
undefined
undefined
yarn cache is not found

and the previously downloaded packages could be used. After reconnecting the cache server the same 3 output lines were given although they are now stored and retrieved from the self hosted cache server. So the output is quite confusing.
Anyways the issue is resolved with this and can be closed.


Integrated terminal in visual studio code is opening externally and not internally

Type: Bug
Terminal -> New Terminal
None of the following works:

Reinstall vscode
Restart windows
https://stackoverflow.com/questions/58246717/integrated-terminal-in-visual-studio-code-is-opening-externally-and-not-internal
https://stackoverflow.com/questions/56154957/how-do-i-get-around-the-verified-bug-in-windows-1903-and-launch-the-vscode-integ

VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

Item
Value

CPUs
Intel(R) Xeon(R) W-2133 CPU @ 3.60GHz (12 x 3600)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
63.73GB (38.47GB free)

Process Argv
--crash-reporter-id c7c1697c-0ee2-46c4-8216-6c60e417f363

Screen Reader
no

VM
0%

Extensions (22)

Extension
Author (truncated)
Version

dscript
Bui
0.1.204006

copilot
Git
1.197.0

copilot-chat
Git
0.15.2

azure-pipelines
ms-
1.228.0

vscode-azureresourcegroups
ms-
0.9.1

csdevkit
ms-
1.6.8

csharp
ms-
2.31.19

vscode-dotnet-runtime
ms-
2.0.5

vscodeintellicode-csharp
ms-
2.1.11

remote-containers
ms-
0.362.0

remote-ssh
ms-
0.110.1

remote-ssh-edit
ms-
0.86.0

remote-wsl
ms-
0.88.2

vscode-remote-extensionpack
ms-
0.25.0

azure-account
ms-
0.12.0

cmake-tools
ms-
1.18.41

cpptools
ms-
1.20.5

cpptools-extension-pack
ms-
1.3.0

powershell
ms-
2024.2.2

remote-explorer
ms-
0.4.3

remote-server
ms-
1.5.1

cmake
twx
0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
666c4381:31064718
chatpanelc:31048052
dsvsc021:30996838
01bff139:31013167
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31061160
pythonprt:31056678
dwnewjupyter:31046869
26j00206:31048877

I'm not sure what has changed in VSCode, the workaround that works for me is installing PowerShell 7.

I had the same issue today. And yes, it was resolved installing PowerShell 7

I got the same issue after updating the system.

Multiple users facing the issue since the update. Please check thread StackOverFlow

Same problem here. Same solution.

I had the same issue, Thanks for the solution

I believe in a recent Windows 11 build the default terminal was changed to Windows Terminal. Perhaps that somehow messed with us calling powershell.exe? The only other way I'm aware of this happening is when you set your integrated terminal to open wt.exe instead of a shell.
Can anyone who is experiencing this issue still paste in their settings.json file?

@Tyriar I can see 3 settings.json file, which one you required?

@Tyriar , here's my settings.json:
{
    "editor.renderWhitespace": "all",
    "omnisharp.useModernNet": true,
    "omnisharp.enableMsBuildLoadProjectsOnDemand": true,
    "editor.inlineSuggest.enabled": true,
    "github.copilot.enable": {
        "*": true,
        "plaintext": false,
        "markdown": false,
        "scminput": false
    },
    "window.zoomLevel": -1,
    "diffEditor.ignoreTrimWhitespace": false,
    "accessibility.signals.sounds.volume": 0,
    "terminal.integrated.automationProfile.windows": {}
}

Does this happen to only MSFT? If it does, it could be related to ICM 508973319.

Closing as I cannot repro


APP-2821: Implement a configurable retry mechanism

Ticket
APP-2821
Description
Goal is to provide a generic retry mechanism for http calls. Refactored DFv1 and DFv2. Will extend this to all services.
Also contains code reformatting (according to the .editorconfig file : 2 spaces for indentation).
Dependencies
None
Checklist

[x] Referenced a ticket in the PR title and in the corresponding section
[x] Filled properly the description and dependencies, if any
[x] Unit tests updated or added
[x] Javadoc added or updated

Looks good to me
Perhaps we can also try to run the datafeed locally and try to break in different ways (break auth, cut wifi, shutdown server, etc) and see how it copes and if it keeps running as expected, maybe this manual testing will expose cases we did not think of (and also see if error reporting is good enough to help understand the error_


Remove black, isort, refurb

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 47.616%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
495

Relevant Lines:
970

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 47.616%

Totals

Change from base Build<PHONE_NUMBER>9:
0.0%

Covered Lines:
495

Relevant Lines:
970

💛  - Coveralls


path loading only works with full BIDS compliance

In Dev branch
Changed the layout loading function to use a more complex regex to load not only the subject number but also task and run information.
This leads to the function only working if all information is available. For example, if the run is not in the file name we run into an error.

Fixed