Support to load local functions?

Hello! Is it possible to support invoke of local functions? The scenerio is like this. It would be truely helpful to support local functions when writing codes.

BTW, this is a great plugin, and it really helps a lot. Thanks!

Running the entire .m file allows for the invocation of local functions. However, when it comes to executing a specific cell or line, I haven't yet discovered an elegant solution. Perhaps this functionality could be realized in the future.
Thank you for your valuable suggestion!

ok, thanks for your reply!


whitelists for synchronization nodes

Two synchronization nodes add whitelists to each other. How do you do this?

Why support? I think there is someting misunderstanding.
I mean how to make two nodes in the LAN add whitelists to each other,to stay connected for quick sync.

To guarantee two nodes can always connect to each other (hardware and OS conditions permitting), in config.ini set allowed-connection = specified, add a peer-private-key = setting, one for each node, then add the corresponding peer-key = setting to the opposite node.  For example:
Node A:
allowed-connection = specified
peer-private-key = ["EOS6qM2oNVX6oS4MsxWpeZKyP1AnT39TuBY5rwF6TptW6YRa3Pxgn","5Jjr5RvPJBn9dxudSdnxGHRkzas7HQRTYhFutR3utadnFajBq1n"]
peer-key = EOS7MFAuuZ2P4ZsE94EiDmZcXiiBge8yVYTBAGdCQfBeZatfdFuLR

Node B:
allowed-connection = specified
peer-private-key = ["EOS7MFAuuZ2P4ZsE94EiDmZcXiiBge8yVYTBAGdCQfBeZatfdFuLR","5K8maRv8zRQQQ75yfXieYuq69fW9EkuCWoY24EdZNWoBmoNURKm"]
peer-key = EOS6qM2oNVX6oS4MsxWpeZKyP1AnT39TuBY5rwF6TptW6YRa3Pxgn

The keys in this example are a valid key pair, so they may be copied and pasted directly for testing purposes.  Obviously they should not be used in any production system, as they have been compromised by being pasted here.
As configured, this is a closed network of nodes.  To allow any other node to sync, you'll need to configure a third node:
Node C:
allowed-connection = any
peer-private-key = ["EOS5agxw7TnxknBuEkexTkC2uW56qTen7C6DB97tRjUh876Cb7ADY","5JawfDErJHG7VoeEjzypwSbADWm1hBRN3g7nBPj8ihbwFNuWnQd"]

And add peer-key = EOS5agxw7TnxknBuEkexTkC2uW56qTen7C6DB97tRjUh876Cb7ADY to at least one of Node A or Node B.  Node C allows public syncing, while maintaining its guaranteed connection(s) to Node A or B.
This does not enable any sort of "quick" sync.  It simply assures that Nodes A and B will never have exhausted their max-clients = settings.  It does validate the peers to one another, proving to Node A that it is only Node B connecting and vice versa.  It does not prevent tampering with the subsequent datastream between the nodes.  It is my understanding that this mechanism is not frequently used.  Instead the peer connection is configured to run over some sort of pre-established encrypted connection such as a VPN or SSH tunnel.  In that case, standard system administration procedures apply.
If you still have question and wish to discuss further, please post it in https://eosio.stackexchange.com. To keep things organized, Github issues are intended for bugs reporting and features tracking, and Stack Exchange is the right place for any technical support discussions. Thanks!


cannot import name DataRequired

In new Flask-WTF DataRequired renamed to Required.
If You get some error, just add to /usr/lib/python2.7/dist-packages/wtforms/validators.py line at end file:
DataRequired = Required
Fix commit: https://github.com/sysint64/DIGITS/commit/c8e93adf56b9e28cf6770f6b23ad4a52eacfb67e

use the latest version of flask from pip, purge the apt-get verison.

thanks that did the trick!


Generic Deque Implementation

Submission Title
Generic Deque Implementation
Submission Type
Data Structures
Submission Description
Implementation of Deque STL
Submission Directory
Data Structures=>Deque
Contributors

[x]  C++ -
[ ]  C -
[ ]  Python -
[ ] Java -
[ ] JavaScript -
[ ] TypeScript -
[ ] Golang -
[ ] Ruby -
[ ] php -
[ ] Swift -
[ ] C# -

I am working on this

Please Assign me this In Java or C++

I want to work on this issue in Python

Can i do this in c++??

I'd like to work on this. Can you please assign it to me?

Can I implement the C language version?

Hey there, I can implement it in C. Can you assign me this for C Language ?

thanks everyone :v:


Allow slightly unbalanced consumption in tee

The implementation of aioitertools.itertools.tee currently has the caveat "all iterators are dependent on the first iterator." This caveat can cause periodic stalls in my pipeline where the consumers all consume at roughly the same speed, with small imbalances.
A small refactor of tee could remove this limitation if the producer was a separate scheduled task (instead of the first consumer). Would you be open to a pull request for a change along these lines?

A PR would be great, but I would like to see a couple constraints:

Some form of configurable limit to the amount that any one iterator can get ahead of the rest (ie, a size limit on queues). Maybe something like tee(itr: ..., n: int = 2, *, limit: int = 100), where limit=0 would be unbounded.
The task reading items from the original source ensure that it yields the event loop frequently. Just doing await asyncio.sleep(0) after each item would be sufficient.

By default, this would still cause consumption to be limited by the slowest iterator, but no longer dependent on the first iterator specifically.


⚠ Secret Website 1 has degraded performance

In 7b41cca, Secret Website 1 ($SECRET_WEBSITE_1) experienced degraded performance:

HTTP code: 200
Response time: 21265 ms

Resolved: Secret Website 1 performance has improved in 3480906.


Improve error logs during consent management failures during SSO login

For example, let's say we did not create the necessary tables for consent management.
Ideally, during the SSO flow, we should see errors thrown from the DAO layer. But it seems the error is bubbled up to [1] and then logged at DEBUG level. This is not very useful to understand what caused the error and makes it hard to diagnose the system.
[1] https://github.com/wso2/carbon-identity-framework/blob/19ae56f47c8ecebd58b69685af3717094c2a5285/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/main/java/org/wso2/carbon/identity/application/authentication/framework/handler/request/impl/DefaultRequestCoordinator.java#L273-L280

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Encountered deleted broadphase on humanoid audio entity

This bug shows up every now and then and causes CI to randomly fail. I'm creating an issue to track instances of it to look for any patterns.

https://github.com/space-wizards/space-station-14/actions/runs/9536082084/job/26282583776#step:10:1

Interestingly, #28902 triggered this error in the TestGridGhostOnDelete test in 3 of 3 tests runs.


Any changes to flags does not take place in container as the same container gets restarted

This looks like a bug in podman::container class where, if there are any changes made to flags, the container does not get recreated but just restarted and hence every puppet run just refreshes the same container.
It might be due to, https://github.com/southalc/podman/blob/d6a0be38704d645a588b979601554012276fabd6/manifests/container.pp#L252
$onlyif_prc = @("END"/L)
        test $(podmain container inspect --format json ${container_name} |\
        ${_ruby} -rjson -e 'puts (JSON.parse(STDIN.read))[0]["State"]["Running"]') =
        | END

Closed since merging #94 .  Thanks for your help.


OSM Tags for oneway roads

This PR is meant to answer the issue #373 that raised by myself. I implemented some changes in the core.py in case there are other users need this functionality without further checking the one-way attribute values in OSM dataset. Thanks for your feedback.

Coverage remained the same at 92.808% when pulling e16c922698aaf55e64f7ba45d1c4dd5dbcdd0409 on whereiszoe:Yi-patch-1 into 9121c156ed911eab1ba4e431d2bc83c0f0149c2d on gboeing:master.

thanks!


Add performance tests

We could add siege (http://www.joedog.org/index/siege-home) or something similar to test performance in travis. Perhaps set a minimal number of transactions for each of the most demanding blocks so we make sure that changes do not make them slower.

I realize this is an old issue, but in the response from tornado tests is request_time which we can leverage to make sure it does not get above a certain time to process and return a page. Would make it easy to test performance for UI at least.


Do I need to download the data set to my computer?

I want to run this model.But I want to know do I need to download the data set to my computer?

Of course you need a dataset to train the model.

I have some problems about running this model，for example the CVUSA dataset loading and how to run this model;I'm doing my Graduation Project.I would appreciate it if I can contact you in Wechat;My wechat is<PHONE_NUMBER>5;I'm in BUAA;


Feature/2071 jen undelete contact

Warning
Info
Issues
Fixes #2071

@jjbennett Please update the section headers in your PR body like so:
Warning --> Critical Changes
Info --> Changes
Issues --> Issues Closed


Fix Typo in simple_vote.rs

Pull Request Title
Fix Typo in simple_vote.rs
Description
This pull request corrects a typographical error in the simple_vote.rs file, improving code readability and professionalism.
Changes Made:

File Modified: simple_vote.rs
Summary of Changes:

Fixed a typo: replaced "accidently" with "accidentally".

Checklist

[x] Corrected the typo without altering the functionality of the file.
[x] Verified that the change adheres to the project's contributing guidelines.

Additional Notes
This update ensures that the comments in the code are clear and professional, which aids in maintaining high standards of documentation and developer experience.

Allow edits by maintainers: [x]

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


FR: A command to search for notes and attachments at the same time

Checklist

[X] The feature would be useful to more users than just me.
[X] I have checked the feature overview and the feature doesn't already exist.
[X] If it is an entirely new feature: The requested feature makes more sense to be implemented in Alfred than in a plugin. Please also explain why.
[X] Feature Requests regarding daily notes will not be implemented, since there are other Alfred workflows that do focus on daily notes already.
[X] If you are looking for a way to trigger a specific Obsidian command from outside Obsidian, see this comment explaining how you can easily create such a workflow yourself.

Feature Requested
I want to preface this by saying that the features technically already exist: Search Notes and Search Attachments. What I want is basically a command that does both at the same time (e.g. input "Math 131", then the command will search for all markdown files AND attachments (e.g. pdf files) that has "Math 131" in it).
Specifically, my use case is that I'm a college students and I'm using Obsidian to take notes. However, I only really take notes in markdown files in classes where the prof doesn't give lecture slides to the students. In the classes that do, I simply stored the slides as pdf inside obsidian.
Currently, I'd have to remember if class of the note I want to search for has lecture slides or not before deciding with whether I should do a "Search Note" or "Search Attachment". There are also some classes where some days have slides, but other days the prof just write on the board, so the result is that the same class can have both markdown files and pdf files at the same time. Therefore, it'd be very useful to have a command that can search for both of them within Obsidian at the same time.
That said, I'm not the one who develop this wonderful workflow, so I cannot speak to how complicated this will be or how much the speed/performance of the search will suffer by incorporating both of those features into one.
Alternatives considered
The alternative is that I can simply use "Search Note" first, and if the note I want doesn't show up, then try "Search Attachment", which honestly isn't a big deal at all. This feature request isn't crucial and is simply a qol improvement. Please feel free to close this feature request if this feature turns out to be too complicated to implement or too slow to be useful!
Relevant Screenshot
No response

Thanks for detailed request! While I can see your problem, I think that it is unfortunately a bit too niche to add to the workflow.
For your particular use case, you might want to consider using an Obsidian plugin like Another quick switcher, which lets you create custom searches. Among other things, it is able to cover your scenario, and it's in my view better suited for the task than using Alfred.

Thanks for your response! Also, I was reading through the README to understand how to use the workflow, and I noticed that the part about "Smart Queries" were duplicated. It isn't a bug with the workflow so I thought it wasn't worth opening a new issue.

and I noticed that the part about "Smart Queries" were duplicated

Ah, looks like a copypaste mistake. Thanks for pointing it out, just fixed it!


Support message flags/references

https://github.com/discordapp/discord-api-docs/pull/1031

See #364


docs(readme): add section with build instructions

I tried cloning the project and then doing a $ cargo build which resulted in
thread 'main' panicked at 'could not execute llvm-config: Os { code: 2, kind: NotFound, message: "No such file or directory" }', build.rs:10:14
I could make it go away by installing llvm [1] (and in hindsight it should've been obvious that it is a dependency) but still, the documentation should have a section for newcomers setting up the project from scratch on the most popular OS' such as Linux (Debian/Ubuntu is where my heart is at) macOS and maybe even Windows (if it works on it)
[1]: $ sudo apt install llvm
Full log output:
$ cargo build
   Compiling syn v1.0.98
   Compiling serde v1.0.141
   Compiling tinyvec_macros v0.1.0
   Compiling pin-project-lite v0.2.9
   Compiling futures-sink v0.3.21
   Compiling matches v0.1.9
   Compiling percent-encoding v2.1.0
   Compiling ryu v1.0.10
   Compiling itoa v1.0.2
   Compiling unicode-bidi v0.3.8
   Compiling pin-utils v0.1.0
   Compiling futures-io v0.3.21
   Compiling unicode-xid v0.2.3
   Compiling either v1.7.0
   Compiling bitflags v1.3.2
   Compiling os_str_bytes v6.2.0
   Compiling termcolor v1.1.3
   Compiling bytes v1.2.1
   Compiling tower-service v0.3.2
   Compiling nodrop v0.1.14
   Compiling tower-layer v0.3.1
   Compiling remove_dir_all v0.5.3
   Compiling tap v1.0.1
   Compiling fastrand v1.8.0
   Compiling funty v1.1.0
   Compiling lalrpop-util v0.19.8
   Compiling unicode-width v0.1.9
   Compiling strsim v0.10.0
   Compiling textwrap v0.15.0
   Compiling cpufeatures v0.2.2
   Compiling constant_time_eq v0.1.5
   Compiling wyz v0.2.0
   Compiling hex v0.4.3
   Compiling base58 v0.2.0
   Compiling parity-wasm v0.45.0
   Compiling funty v2.0.0
   Compiling instant v0.1.12
   Compiling tracing-core v0.1.29
   Compiling phf_shared v0.10.0
   Compiling tinyvec v1.6.0
   Compiling form_urlencoded v1.0.1
   Compiling itertools v0.10.3
   Compiling clap_lex v0.2.4
   Compiling codespan-reporting v0.11.1
   Compiling typenum v1.15.0
   Compiling futures-core v0.3.21
   Compiling futures-task v0.3.21
   Compiling solang v0.1.12 (/home/peter/a/solang)
error: failed to run custom build command for `solang v0.1.12 (/home/peter/a/solang)`

Caused by:
  process didn't exit successfully: `/home/peter/a/solang/target/debug/build/solang-075f3594234e76a0/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'could not execute llvm-config: Os { code: 2, kind: NotFound, message: "No such file or directory" }', build.rs:10:14
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

There is a section in the documentation that talks about the LLVM dependency (https://solang.readthedocs.io/en/latest/installing.html#building-solang-from-source) when building from source.
Be aware that installing LLVM using sudo apt install llvm will not install the correct libraries. Solang needs Solana's LLVM fork, so you need to follow this instructions to install it.

I agree, on the other hand, that the documentation could be better organized. The section Building Solang from Git looks like it is an individual section that does not depend on the previous instructions.

Oh, my bad! Yeah, I guess it would nice to have a direct link to these sections from the readme, so that surface-searchers like yours truly will find it instead of opening an issue. :-)


not creating .z in archlinux

I have PROMPT_COMMAND
  __prompt () {
    echo -ne "\033[m";history -a
    echo ""
    if [ $SHLVL -gt 1 ]; then
      { local i=$SHLVL; while [ $i -gt 1 ]; do echo -n '.'; let i--; done; }
    fi
    local DIR=${PWD/$HOME/\~}
    local HOST=${HOSTNAME:-$(uname -n)}
    HOST=${HOST%.local}
    echo -ne "\033]0;$(__git_ps1 "%s - " 2>/dev/null)host $HOST : dir$DIR\007"
    echo -ne "$(__git_ps1 "\033[41;31m[\033[41;37m%s\033[41;31m]\033[0m" 2>/dev/null)"
    echo -ne "\033[40;37m$USER@\033[42;30m$HOST\033[0m:$DIR"
    if [ "$NAVE" != "" ]; then echo -ne " \033[44m\033[37m$NAVE\033[0m"
    else echo -ne " \033[32m$(node -v 2>/dev/null)\033[0m"
    fi
  }
  export PROMPT_COMMAND='__prompt'

Added the following to .bashrc file, and sourced bashrc
_Z_NO_PROMPT_COMMAND=1
. ~/z/z.sh

after cd around, its not creating .z file

z works, in part, by adding a command to $PROMPT_COMMAND. Setting $_Z_PROMPT_NO_PROMPT_COMMAND implies you want to manually maintain how that command is inserted into your existing $PROMPT_COMMAND.
You've told z not to mess with your existing $PROMPT_COMMAND, but you haven't added its functionality yourself, so it's not working.

Thanks, after adding  [[ "$(type -t _z)" ]] && _z --add "$(pwd -P 2>/dev/null)" 2>/dev/null from #44/comment .
It works like a charm.


Added a method to configure the web host defaults

Added ConfigureWebHostDefaults to configure the web specific defaults on the generic host builder.

An alternative approach is to add a UseWebHostDefaults that just configures these things so we don't have 2 methods:
Option 1
public static IHostBuilder CreateHostBuilder(string[] args) =>
    Host.CreateDefaultBuilder(args)
        .ConfigureWebHostDefaults(builder =>
        {
            builder.UseStartup<Startup>();
        });

Option 2
public static IHostBuilder CreateHostBuilder(string[] args) =>
    Host.CreateDefaultBuilder(args)
        .UseWebHostDefaults()
        .ConfigureWebHost(builder =>
        {
            builder.UseStartup<Startup>();
        });

PS: This doesn't do the defaults that aren't specific to the web stuff. We still need to figure out where that goes.

Update https://github.com/aspnet/MetaPackages/blob/master/samples/SampleApp/Program.cs

As for Host.CreateDefaultBuilder(args), all its dependencies are in Extensions so how about adding a new package in Hosting called Microsoft.Extensions.Hosting.Defaults that pulls it together?


shopware/administration: auto token refresh fails when tab is heavily throttled by chrome, causing logout

PHP Version
8.1.13
Shopware Version
<IP_ADDRESS>
Expected behaviour
hiding a tab for long periods of time should automatically refresh the authentication token every time, allowing the user to easily return to his work whenever he wishes
Actual behaviour
hiding a tab for long periods of time should eventually may lead to Chrome heavily throttling scheduled tasks for up to a minute, eventually delaying the refresh of a token until it's no longer valid and logging out the user from the admin dashboard and potentially causing loss of work
How to reproduce

Make sure the frosh/tools package is installed¹
Open a new incognito window in your browser and navigate to the admin dashboard
Log in into the admin dashboard, selecting the Stay logged in option
Open a new empty tab in the same window, focus it and minimize the window for 30 minutes to an hour
Come back to see you've been logged out

This does involve a bit of chance, so might need a few tries to reproduce the error, but you'll easily notice through the network tab that the token is being renewed every 10 minutes instead of the expected 5 minutes.
¹ I suggest installing frosh/tools because it's the easiest and quickest way I found to reproduce, but this can surely be reproduced with any plugin or piece of code that regularly calls loginService.isLoggedIn() inside a scheduled call. See root cause below for why.
Root cause
This is two-fold:

In version 88, Chrome introduced Heavy throttling of chained JS timers, which means under certain conditions it is possible that a scheduled task (setTimeout/setInterval) is delayed for up to a whole minute.
Every time loginService.isLoggedIn() is called, the timeout for the auto token refresh is deleted and a new one is created, scheduled to happen in half the time left for the refresh token expiration. This can be seen in https://github.com/shopware/shopware/blob/trunk/src/Administration/Resources/app/administration/src/core/service/login.service.ts#L412.

Normally, this wouldn't be a problem, but means that if you had some plugin or other code repeatedly checking for loginService.isLoggedIn(), it would keep cancelling the refresh token task and delaying it, little by little, until the task is scheduled for less than a minute into the future. Put that repeating code inside a setInterval or chained setTimeout and you've met the criteria for heavy throttling, which might cause the refresh attempt to be delayed for up to a minute, until after the token is no longer valid. frosh/tools does just that inside its health status utility. Every 60s it checks if loginService.isLoggedIn() and performs some actions.
Please note though that this is not necessarily an issue with frosh/tools as this is a rather common pattern, but rather a bug in how Shopware core handles the auto renewal. The issue could occur with less frequent calls too as the core code also uses chained timers. It's just a lot more noticeable with it. Here's an example timeline:

0m00s: token is generated, expires in 10 minutes; refresh is scheduled for 5m00s
0m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 5m15s
1m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 5m45s
2m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 6m15s
3m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 6m45s
4m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 7m15s
5m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 7m45s
6m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 8m15s
7m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 8m45s
8m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 9m15s
9m30s: loginService.isLoggedIn() is called; refresh is rescheduled for 9m45s
10m30s: refresh happens only now because of throttling; refresh token is no longer valid so user is logged out

Possible solution
The easiest solution is to just avoid scheduling the renewal to less than a minute before the token expires. The following patch does just that. Let me know if that's an appropriate solution and if so I can open a PR.
diff --git a/src/Administration/Resources/app/administration/src/core/service/login.service.ts b/src/Administration/Resources/app/administration/src/core/service/login.service.ts
index 51cca3a7..ca67f2ea 100644
--- a/src/Administration/Resources/app/administration/src/core/service/login.service.ts
+++ b/src/Administration/Resources/app/administration/src/core/service/login.service.ts
@@ -267,9 +267,17 @@ export default function createLoginService(

         const timeUntilExpiry = expiryTimestamp * 1000 - Date.now();

+        // in Chrome, and possibly other browsers, timeouts may be delayed for up to 1 minute in
+        // inactive tabs, so we refresh it immediately if it's less than 1m15s away, to be safe
+        // https://developer.chrome.com/blog/timer-throttling-in-chrome-88
+        if (timeUntilExpiry < 75000) {
+            void refreshToken();
+            return;
+        }
+
         autoRefreshTokenTimeoutId = setTimeout(() => {
             void refreshToken();
-        }, timeUntilExpiry / 2);
+        }, timeUntilExpiry - 75000);
     }

     /**

Hi,
thx for your issue we will put it into our new evaluation process and have a look at it again.

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

[public] First of all, thank you for the detailed ticket description. We have reviewed this issue carefully. Unfortunately, it's not clear to us what is causing this issue for you. With the most recent Shopware version, there are several early return conditions in place that prevent successive calls to isLoggedIn from failing the refresh. We validated this in Chrome 129.0.6668.91. To test this, we simply added a setInterval with an interval of 60 seconds or less in the sw-admin component calling isLoggedIn repetitively. This didn't produce any issues in multiple 20+ minute runs. Unless you are able to provide a minimal reproduction, I fear we are unable to help.
[created from NEXT-37898, comment 504021]


Glow effect prevent the touch after version 0.3.1

I have this code that draws multiple circles when the user touches the screen. However, I noticed that after updating to the latest version (greater than 0.3.1), the touch is not captured after the first circle. It works as normal when I remove the .conditionalEffect.
                    ForEach(Array(touches.enumerated()), id: \.element.id) { index, touchInfo in
                        AnimatingCircle(
                            center: touchInfo.point,
                            index: index,
                            winnerIndex: winnerIndex
                        )
                        .id(index)
                        .conditionalEffect(
                            .repeat(.glow(color: winnerIndex == nil ? .white : .green, radius: 100), every: 1.0),
                            condition: getWinnerWorker != nil
                        )
                    }

I believe this issue existed previously and you resolved it. Could you please fix it again, as I am currently using version 0.3.1?

I'm currently traveling but I think that may have been a minor regression in Open Sourcing, should be a single allowsTouches(false)?

Thank you, Robb. I appreciate you taking time out of your busy travel schedule to address this minor issue. I hope you will also consider implementing feature #52.
Please merge this fix onto the main repository when you return from your trip. I wish you a pleasant journey. By the way, I live in Egypt you welcome anytime :)

Hey @iTarek, I've gone ahead and merged the pull request onto main, and made a release for it.
I've also been thinking about the best way to implement #52, I think it's a very good suggestion but would like for it to be a little more extensible than the initial suggestion you made. For example it would be good to be able to turn off Pow based on a condition like whether the user has accessibilityReduceMotion enabled, or even a conditional based on a setting specific to your app. (As an aside, you should be using the isEnabled: !UIAccessibility.isVoiceOverRunning parameter rather than a .if branch, using an .if modifier may actually cause some View identity issues.
We can continue the discussion over there when I have a little bit more time to formulate my thoughts. 🙂


Make Emergency Upgrade Work With WorkingSet

WorkingSet will need to be rolled back to an old state root during an emergency upgrade.  Then we will put_stored_values with the diff from the emergency upgrade to WorkingSet (which will asynchronously update the trie).

SME: @EdHastingsCasperLabs @dwerner @xcthulhu

wont-do


[FLINK-25504][Kafka] Upgrade Kafka Client to 2.8.1 and Confluent Platform to 6.2.2

What is the purpose of the change
The Flink codebases uses Kafka Client and Confluent Platform in multiple places:

AVRO Confluent Schema Registry
Flink end-to-end tests (Bash e2e tests)
Flink end-to-end tests common (Java e2e tests)
SQL AVRO Confluent Schema Registry
Flink Test Utils
Flink Tests

The used versions are currently not in sync, which could result in unexpected results.
Brief change log

Updated flink-end-to-end-tests/flink-end-to-end-tests-common-kafka/pom.xml from Confluent Platform 5.5.2 to 6.2.2 and Kafka Client from 2.4.1 to 2.8.1
Updated flink-end-to-end-tests/flink-end-to-end-tests-common-kafka/src/test/java/org/apache/flink/tests/util/kafka/SQLClientKafkaITCase.java and flink-end-to-end-tests/flink-end-to-end-tests-common-kafka/src/test/java/org/apache/flink/tests/util/kafka/StreamingKafkaITCase.java from Kafka Client 2.4.1 to 2.8.1
Updated flink-end-to-end-tests/flink-end-to-end-tests-common-kafka/src/test/java/org/apache/flink/tests/util/kafka/SQLClientSchemaRegistryITCase.java from Confluent Platform 5.5.2 to 6.2.2
Updated flink-end-to-end-tests/flink-end-to-end-tests-common-kafka/pom.xml to skip dependency convergence due to Guava, else the CI build will fail due to:

Dependency convergence error for com.google.guava:guava:30.1.1-jre paths to dependency are:
+-org.apache.flink:flink-end-to-end-tests-common-kafka:1.15-SNAPSHOT
  +-io.confluent:kafka-schema-registry-client:6.2.2
    +-com.google.guava:guava:30.1.1-jre
and
+-org.apache.flink:flink-end-to-end-tests-common-kafka:1.15-SNAPSHOT
  +-org.apache.flink:flink-connector-testing:1.15-SNAPSHOT
    +-org.apache.flink:flink-test-utils:1.15-SNAPSHOT
      +-org.apache.curator:curator-test:2.12.0
        +-com.google.guava:guava:16.0.1

Updated flink-end-to-end-tests/test-scripts/test_confluent_schema_registry.sh from Kafka Client 2.6.0 to 2.8.1 and Confluent Platform from 6.0.4 to 6.2.2
Updated flink-end-to-end-tests/test-scripts/test_pyflink.sh from Kafka Client 2.2.0 to 2.8.1 and Confluent Platform from 5.2.6 to 6.2.2
Updated flink-end-to-end-tests/test-scripts/test_sql_client.sh from Kafka Client 2.2.2 to 2.8.1 and Confluent Platform 5.2.6 to 6.2.2
Updated flink-formats/flink-avro-confluent-registry/pom.xml from Kafka Client 2.4.1 to 2.8.1 and Confluent Platform from 5.5.2 to 6.2.2
Updated flink-test-utils-parent/flink-test-utils-junit/src/main/java/org/apache/flink/util/DockerImageVersions.java testcontainers version for Confluent Platform from 6.2.1 to 6.2.2
Updated flink-formats/flink-sql-avro-confluent-registry/src/main/resources/META-INF/NOTICE license information from 5.5.2 to 6.2.2 for Kafka Client dependencies

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

I had to fix merge conflicts after https://github.com/apache/flink/pull/18105 was merged, but all is good again. Only waiting for @zentol feedback with regards to the dependency convergence approach.

NB: Flinkbot reports as the CI still PENDING, but it has completed successfully.

@MartijnVisser can you also open a ticket to update it for the kinesis e2e tests?


checkmark icon stays allways on same position

the checkmark is allways on the second image reagardless what is chosen, shouldnt it be on the first image? because that will hold always the actual layer anyway

Same here. Not sure if this is on purpose or not. I believe it is. But in this case I'd prefer to have just a minimal control visible while not expanded, not to cover too much of the map. Maybe just a title.


is this still maintaned ?

hello is panamax still maintained ? I am only asking because most of the issues i see are from a year + or so ago

I don't think so.  I haven't seen a single update in about 8-10 months.  You may want to take a look at Rancher instead (rancher.com), not perfectly the same, but is very well maintained and extremely useable.

@dimthe There are very good alternatives:
Portainer -> https://github.com/portainer/portainer
Rancher -> https://github.com/rancher/rancher


Add one more level to the initial db credentials json file

Description
We had to add one more level to make it a single variable we could pass around in terraform.  The code was incorrectly not updated.
Test plan
aspen-cli db set-passwords-from-secret

The style check failure is unrelated, and fixed by #187 or #188


Feature/prometheus stats export

The way the prometheus library works leads to code that's a bit awkward, it doesn't look super well suited to our use case. I'll try to see if I can find better ones.


python310Packages.dparse, python310Packages.dparse2: Enable more tests

Description of changes

Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

============================= test session starts ==============================
platform linux -- Python 3.10.5, pytest-7.1.2, pluggy-1.0.0
rootdir: /build/source, configfile: setup.cfg, testpaths: tests
plugins: pypi-0.1.1
collected 0 items / 1 error
==================================== ERRORS ====================================
________________________ ERROR collecting test session _________________________
/nix/store/rc9cz7z4qlgmsbwvpw2acig5g2rdws46-python3-3.10.5/lib/python3.10/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1050: in _gcd_import
    ???
<frozen importlib._bootstrap>:1027: in _find_and_load
    ???
<frozen importlib._bootstrap>:1006: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:688: in _load_unlocked
    ???
/nix/store/xz8645jq7fkz3d7hrxd80854iscj6d8a-python3.10-pytest-7.1.2/lib/python3.10/site-packages/_pytest/assertion/rewrite.py:168: in exec_module
    exec(co, module.__dict__)
tests/integration/conftest.py:101: in <module>
    prepare_fixtures(os.path.join(PYPI_VENDOR_DIR, "fixtures"))
/nix/store/9wq3lyv2aprrh8ml8ac4ghd4pfm7w4j2-python3.10-pytest-pypi-2022.7.24/lib/python3.10/site-packages/pytest_pypi/app.py:123: in prepare_fixtures
    raise ValueError(f"{path} is not a directory!")
E   ValueError: /build/source/tests/pypi/fixtures is not a directory!
=============================== warnings summary ===============================
../../nix/store/xz8645jq7fkz3d7hrxd80854iscj6d8a-python3.10-pytest-7.1.2/lib/python3.10/site-packages/_pytest/config/__init__.py:1252
  /nix/store/xz8645jq7fkz3d7hrxd80854iscj6d8a-python3.10-pytest-7.1.2/lib/python3.10/site-packages/_pytest/config/__init__.py:1252: PytestConfigWarning: Unknown config option: plugins

    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR  - ValueError: /build/source/tests/pypi/fixtures is not a directory!
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
========================= 1 warning, 1 error in 0.20s ==========================
error: builder for '/nix/store/1jpm7k8pyj6ljjb66skf7iblsqvh2zfy-python3.10-pipenv-2022.7.24.drv' failed with exit code 2;


chore: dependency and go 1.21 updates.

It should be noted that since this PR updates go-sqlite3 to a version greater than v1.14.19 this project now compiles on musl-based system like Alpine Linux just fine, thus leading to the potentiality that proton-bridge could compile on musl-based systems.
I don't have any familiarity with go beyond running go build so if more needs to be done than just bumping versions here and upstream in proton-bridge I am unsure.


fix "Xbox" casing

not too small a change i hope 😁

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/index.md
:white_check_mark:Succeeded
View

docs/services/MicrosoftGraph.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


K3OS installer over PXE does not wait for valid network

Version (k3OS / kernel)

v0.10.0:

k3os-initrd-amd64
k3os-vmlinuz-amd64

Architecture
AMD64 (Dell OptiPlex 7010 uSFF)
Describe the bug
I boot the installer via PXE, the installer attempts to wait for a valid network. In my network environment the DHCP process is slow. Based on the screenshots I am able to take,
the installer sees the link-local IPv6 address as a valid network and attempts to continue. Installation fails because it cannot download the ISO or the config.yaml.
To Reproduce
PXE config:
LABEL k3os-server
    MENU LABEL K3OS Server
    KERNEL k3os/v0.10.0/k3os-vmlinuz-amd64
    INITRD k3os/v0.10.0/k3os-initrd-amd64
    APPEND k3os.mode=install k3os.install.config_url=http://<IP_ADDRESS>/k3os/server-config.yaml k3os.install.iso_url=http://<IP_ADDRESS>/k3os/v0.10.0/k3os-amd64.iso k3os.install.silent=true k3os.install.device=/dev/sda

server-config.yaml (probably never downloaded by the installer):
ssh_authorized_keys:
  - github:stellirin

k3os:
  k3s_args:
  - "server"
  - "--no-deploy=traefik"
  token: "8D104CB6-0170-4696-AF61-801D25608F16"

Expected behavior
K3OS will install and reboot as a working K3S server.
Actual behavior
A couple of screenshots to show the failure:

Additional context
The HTTP server is fine as I can boot a K3S server based on RedHat CoreOS. The K3S systemd unit requires rancher/k3s#1665 to enforce the wait for network.
When I log in to the installer with the rancher user, I can run ip all and eventually see the valid IPv4 address from DHCP. I can also use curl to download the server-config.yaml file.

So I can confirm your statement in rancher/k3s#1665,  that want in openrc implies after, as adding after network-online to cloud-config or ccapply showed no difference in behaviour.
However, I am able to install k3os with the following patch:
diff --git a/overlay/etc/conf.d/net-online b/overlay/etc/conf.d/net-online
index 11f3850..9f09a64 100644
--- a/overlay/etc/conf.d/net-online
+++ b/overlay/etc/conf.d/net-online
@@ -10,7 +10,7 @@ minimum_up=1

 # This setting controls whether a ping test is included in the test for
 # network connectivity after all interfaces are active.
-#include_ping_test=yes
+include_ping_test=yes

 # This setting is the host to attempt to ping if the above is yes.
 # The default is google.com.

I suspect the code in network-online is not as robust as what is used by the equivalent unit in systemd.
For me, it would be enough to have the ping test as a configurable boot parameter (k3os.ping_test=yes?). It would need to be used in initrd and also modify the installed OS to use it.
Probably you would also want the host as a configurable parameter too (k3os.ping_host=get.k3s.io?) as the default google.com will not be suitable for some.

So I can confirm your statement in rancher/k3s#1665, that want in openrc implies after, as adding after network-online to cloud-config or ccapply showed no difference in behaviour.
However, I am able to install k3os with the following patch:
diff --git a/overlay/etc/conf.d/net-online b/overlay/etc/conf.d/net-online
index 11f3850..9f09a64 100644
--- a/overlay/etc/conf.d/net-online
+++ b/overlay/etc/conf.d/net-online
@@ -10,7 +10,7 @@ minimum_up=1

 # This setting controls whether a ping test is included in the test for
 # network connectivity after all interfaces are active.
-#include_ping_test=yes
+include_ping_test=yes
 # This setting is the host to attempt to ping if the above is yes.
 # The default is google.com.

So glad you found this as it is the best way that I know of to verify that your network is actually usable before proceeding during boot.

I suspect the code in network-online is not as robust as what is used by the equivalent unit in systemd.

Hahah, understatement. I've even done some work to make it less flaky and submitted upstream but you are not wrong.

For me, it would be enough to have the ping test as a configurable boot parameter (k3os.ping_test=yes?). It would need to be used in initrd and also modify the installed OS to use it.
Probably you would also want the host as a configurable parameter too (k3os.ping_host=get.k3s.io?) as the default google.com will not be suitable for some.

This should be doable with the kernel param facility as it exists, e.g.:
boot_cmd="echo include_ping_test=yes >> /etc/conf.d/net-online"
boot_cmd="echo k3os.ping_host=get.k3s.io >> /etc/conf.d/net-online"

Depending on your scenario, however, it might be more maintainable to include a write_files override for /etc/conf.d/net-online in your config.yaml.


Header On Multiple Screens - Centre the header text

NAME OF PAGE/COMPONENT
Header
PART OF DESIGN NOT MATCHING
Once the Honesty Store logo is removed, centre all text vertically and horizontally in the header on the scanning and slack/snack selector screens .

Header text is centered on all pages


Personal access token does not work, requires Authorization: TOKEN header, not Authorization: Bearer TOKEN

Describe the bug
I followed the guide on https://hub.steampipe.io/plugins/turbot/linear to set up the plugin and created a personal access token at https://linear.app/$MYORG/settings/api . As noted in the https://hub.steampipe.io/plugins/turbot/linear documentation
  # `token` - API token for your Linear account. It can be a personal access key or OAuth2 token. Required.

On executing
select
  id,
  title,
  created_at,
  branch_name,
  priority,
  estimate,
  updated_at
from
  linear_issue
where
  assignee is null;

it throws the error
Error: linear: returned error 400 Bad Request: {"errors":[{"message":"Context creation failed: It looks like you're trying to use an API key as a Bearer token. Remove the Bearer prefix from the Authorization header.","extensions":{"code":"INPUT_ERROR","type":"invalid input","userError":true,"meta":{}}}]}
 (SQLSTATE HV000)

Steampipe version (steampipe -v)
Steampipe v0.21.7
Plugin version (steampipe plugin list)
| hub.steampipe.io/plugins/turbot/linear@latest  | 0.2.0   | linear      |
To reproduce
See description
Expected behavior
The query to complete, at least on issues I have access to.
Alternatively, for the documentation to note you need a workspace wide acess token
Additional context
Fix would be to change this line https://github.com/turbot/steampipe-plugin-linear/blob/45c1f2c00495ce4c91a5562f1159950e4a31cb94/linear/utils.go#L24 to check whether we have an OAUTH2 or a personal token and dispatch accordingly to set Authorzation: TOKEN instead of Authorization: Bearer  TOKEN as noted in https://developers.linear.app/docs/graphql/working-with-the-graphql-api

@misraved @bigdatasourav while the code has been fixed, the fix has not been released.
I had to build from source so that the plugin was actually usable with an API key.

Apologies for missing out on the release of the fix @ChristianWitts !!
I will push out a release along with this PR shortly 👍.
Thanks for pointing it out!

Thanks so much @misraved 🙏


x/tools/build/dashboard: email notify on subrepo breakages

Send mail when a sub-repository fails to build.

Kindly looping in @dmitshur @andybons @cagedmantis @toothrot.
Could we perhaps get subrepo failures to report to a public mailing list that folks can subscribe to, perhaps golang-builds, and CC the CL authors? It’s been 8 years and we’ve lived without this functionality, but would be nice to auto report these failures indeed, as Andrew Gerrand suggested, instead of folks having to manually look at the build screens. Or does such functionality already exist? Thank you.

In the absence of automated alerts, checking the subrepo build status should probably be part of some kind of triage rotation, so that we don't build up a large number of regressions unnoticed during the release cycle.
@golang/release, is there an existing rotation checklist that this could be added to?

(For a recent example, #48078 during the current cycle appears to have gone unnoticed for around two weeks. It's a fairly obscure regression, so it isn't surprising that it wouldn't be noticed unless someone is actively keeping an eye on the dashboard.)

@bcmills The x/repos are checked before cutting a release, but not as part of the release rotation itself, which is already stretched fairly thin.
I think checking before a release is important for our team to do as a last-chance sanity check before we cut a release. We typically start paying closer attention a few days before we know a release is coming.
For sub-repos, I still believe that it is first and foremost the responsibility of the team or individual that owns the subrepo to be responsible for its health. The project is simply too big for us to be capable of watching everything every day. I don't think we should add more to the release rotation to make up for that, but we can guarantee that we won't release something that we know is broken.
I think the best solution here is improved tooling for detecting regressions, which I am sure is an uncontroversial thing to say, but it is unclear when we may be able to provide it.


[FX-XXX] Fix incorrect style ordering

[FX-XXX]
Description
There is a broken appearance when Button is used with "as=Link" prop. Because incorrect ordering of "style" tags between Button and MUI-Typography. MUI-Typography is used by MUI-Link, which is used by Picasso Link.
How to test

Temploy
FIXME: Add the steps describing how to verify your changes

Development checks

[ ] Add changeset according to guidelines (if needed)
[ ] Read CONTRIBUTING.md and Component API principles
[ ] Make sure that additions and changes on the design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
[ ] Annotate all props in component with documentation
[ ] Create examples for component
[ ] Ensure that deployed demo has expected results and good examples
[ ] Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[ ] Self reviewed
[ ] Covered with tests (visual tests included)

Breaking change

[ ] codemod is created and showcased in the changeset
[ ] test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-bot run package:alpha-release


Add FAQ to ISSUE_TEMPLATE

I want to add FAQ section to ISSUE_TEMPLATE for handling the case of "XxxPermissionsDispatcher does not generated"
WDYT? @hotchemi @aurae

Thank you!!!

Yes please, we absolutely need this.


Fix garnet persistence

Fixes: #4870
Microsoft Reviewers: Open in CodeFlow

WithDataVolume failed to start, related issue in the Garnet repo: https://github.com/microsoft/garnet/issues/536.
also interval is not working, related issue in the Garnet repo: https://github.com/microsoft/garnet/issues/537.
for now only WithDataBindMount works

WithPersistence now works, so WithDataVolume and WithDataBindMount
will work.
keysChangedThreshold is unused now. we could mark this method as Obsolete and introduce a new public API.
https://github.com/dotnet/aspire/blob/f42201fb019506550292427aef8ce6482d23e62e/src/Aspire.Hosting.Garnet/GarnetBuilderExtensions.cs#L137-L139
also despite Aspire.Garnet.Hosting shipped in 8.1,  PublicAPI.Shipped.txt is untouched.
I want to write functional tests for WithDataVolume and WithDataBindMount but we should decide about public API first.
cc @eerhardt @mitchdenny @radical

@eerhardt, do you agree with the last change?
I want to fix tests but I need your confirmation about the public API signature first.

Looks like the new test is currently failing.

So, if I am following all of this correctly the following happened:

Bind mounts were not working.
Garnet fixed the issue, but they also broke their args.
we updated the args we use and started using their 1.0
Bind mounts now work?

I think I'm OK with the breaking change here - it seems necessary.

So, if I am following all of this correctly the following happened:

Bind mounts were not working.
Garnet fixed the issue, but they also broke their args.
we updated the args we use and started using their 1.0
Bind mounts now work?

I think I'm OK with the breaking change here - it seems necessary.

Actually, we used the wrong args plus they also had issues in persistance.

Looks like the test is still failing.

When I try to run WithDataShouldPersistStateBetweenUsages(bool useVolume: true) locally (on Windows) and look at the docker logs I get:
2024-08-12 13:02:22     _________
2024-08-12 13:02:22    /_||___||_\      Garnet 1.0.15 64 bit; standalone mode
2024-08-12 13:02:22    '. \   / .'      Port: 6379
2024-08-12 13:02:22      '.\ /.'        https://aka.ms/GetGarnet
2024-08-12 13:02:22        '.'
2024-08-12 13:02:22
2024-08-12 13:02:22 Unable to initialize server due to exception: Access to the path '/data/checkpoints' is denied.

When I try to run WithDataShouldPersistStateBetweenUsages(bool useVolume: true) locally (on Windows) and look at the docker logs I get:
2024-08-12 13:02:22     _________
2024-08-12 13:02:22    /_||___||_\      Garnet 1.0.15 64 bit; standalone mode
2024-08-12 13:02:22    '. \   / .'      Port: 6379
2024-08-12 13:02:22      '.\ /.'        https://aka.ms/GetGarnet
2024-08-12 13:02:22        '.'
2024-08-12 13:02:22
2024-08-12 13:02:22 Unable to initialize server due to exception: Access to the path '/data/checkpoints' is denied.

It seems your garnet version is 1.0.15 but this fixed at 1.0.17
https://github.com/microsoft/garnet/releases/tag/v1.0.17

info: Aspire.Hosting.DistributedApplication[0]
      Aspire version: 8.1.1-ci
info: Aspire.Hosting.DistributedApplication[0]
      Distributed application starting.
info: Aspire.Hosting.DistributedApplication[0]
      Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
  Failed Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.WithDataShouldPersistStateBetweenUsages(useVolume: False) [2 m 56 s]
  Error Message:
   StackExchange.Redis.RedisConnectionException : The message timed out in the backlog attempting to send because no connection became available (5000ms) - Last Connection Exception: UnableToConnect (None, 0-read, last-recv: 0) on localhost:37681/Interactive, Flushed/ReadAsync, last: ECHO, origin: ResetNonConnected, outstanding: 12, last-read: 5s ago, last-write: 5s ago, unanswered-write: 5s ago, keep-alive: 60s, state: ConnectedEstablishing, mgr: 10 of 10 available, last-heartbeat: never, global: 14s ago, v: <IP_ADDRESS>420, command=SET, timeout: 5000, inst: 0, qu: 0, qs: 12, aw: False, bw: CheckingForTimeout, rs: ReadAsync, ws: Idle, in: 0, in-pipe: 0, out-pipe: 0, last-in: 0, cur-in: 0, sync-ops: 0, async-ops: 11, serverEndpoint: localhost:37681, conn-sec: 40, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: a0068HI(SE.Redis-v<IP_ADDRESS>420), IOCP: (Busy=0,Free=1000,Min=1,Max=1000), WORKER: (Busy=2,Free=32765,Min=2,Max=32767), POOL: (Threads=5,QueuedItems=0,CompletedItems=4105,Timers=8), v: <IP_ADDRESS>420 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
---- StackExchange.Redis.RedisConnectionException : UnableToConnect (None, 0-read, last-recv: 0) on localhost:37681/Interactive, Flushed/ReadAsync, last: ECHO, origin: ResetNonConnected, outstanding: 12, last-read: 5s ago, last-write: 5s ago, unanswered-write: 5s ago, keep-alive: 60s, state: ConnectedEstablishing, mgr: 10 of 10 available, last-heartbeat: never, global: 14s ago, v: <IP_ADDRESS>420
  Stack Trace:
     at Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.<>c__DisplayClass3_0.<<WithDataShouldPersistStateBetweenUsages>b__0>d.MoveNext() in /_/tests/Aspire.Hosting.Garnet.Tests/GarnetFunctionalTests.cs:line 118
--- End of stack trace from previous location ---
   at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
--- End of stack trace from previous location ---
   at Polly.Outcome`1.GetResultOrRethrow()
   at Polly.ResiliencePipeline.ExecuteAsync(Func`2 callback, CancellationToken cancellationToken)
   at Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.WithDataShouldPersistStateBetweenUsages(Boolean useVolume) in /_/tests/Aspire.Hosting.Garnet.Tests/GarnetFunctionalTests.cs:line 112
   at Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.WithDataShouldPersistStateBetweenUsages(Boolean useVolume) in /_/tests/Aspire.Hosting.Garnet.Tests/GarnetFunctionalTests.cs:line 135
--- End of stack trace from previous location ---
----- Inner Stack Trace -----

  Standard Output Messages:
 | [2024-08-12T18:06:06] Aspire.Hosting.DistributedApplication Information: Aspire version: 8.1.1-ci
 | [2024-08-12T18:06:06] Aspire.Hosting.DistributedApplication Information: Distributed application starting.
 | [2024-08-12T18:06:06] Aspire.Hosting.DistributedApplication Information: Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
 | [2024-08-12T18:06:06] Aspire.Hosting.Dcp.DcpHostService Information: Starting DCP with arguments: start-apiserver --monitor 3603 --detach --kubeconfig "/datadisks/disk1/work/B2F5099A/t/aspire.L1K5sV/kubeconfig"
 | [2024-08-12T18:06:08] Aspire.Hosting.Dcp.start-apiserver.api-server Information: Starting API server...
 | [2024-08-12T18:06:09] Aspire.Hosting.Dcp.start-apiserver.api-server Information: API server started	{"Address": "<IP_ADDRESS>", "Port": 46855}
 | [2024-08-12T18:06:09] Aspire.Hosting.Dcp.start-apiserver.dcp-host Information: Starting DCP controller host
 | [2024-08-12T18:06:09] Aspire.Hosting.Dcp.start-apiserver.dcp-host Information: Started all services	{"count": 1}
 | [2024-08-12T18:06:09] Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner Information: Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
 | [2024-08-12T18:06:09] Aspire.Hosting.Dcp.dcpctrl Information: starting controller manager
 | [2024-08-12T18:06:09] Aspire.Hosting.DistributedApplication Information: Distributed application started. Press Ctrl+C to shut down.
 | [2024-08-12T18:06:09] Aspire.Hosting.Tests.Resources.garnet Information: 1: 2024-08-12T18:06:09.785Z ecf5f1ec6cc8aba06512854140397730db839a8b9bceca99762553f338fb32bf
 | [2024-08-12T18:06:10] Aspire.Hosting.Tests.Resources.garnet Information: 2:
 | [2024-08-12T18:06:10] Aspire.Hosting.Tests.Resources.garnet Information: 3: 2024-08-12T18:06:10.311Z ecf5f1ec6cc8aba06512854140397730db839a8b9bceca99762553f338fb32bf
 | [2024-08-12T18:06:11] Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler Error: could not determine host address and port for container port	{"Container": {"name":"garnet-jjxfkcxt-2696457f"}, "Reconciliation": 5, "error": "container '/garnet-jjxfkcxt-2696457f' is not running: exited"}
 | [2024-08-12T18:06:11] Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler Error: could not create Endpoint object	{"Container": {"name":"garnet-jjxfkcxt-2696457f"}, "Reconciliation": 5, "ServiceName": "garnet-2696457f", "Workload": "/garnet-jjxfkcxt-2696457f", "error": "container '/garnet-jjxfkcxt-2696457f' is not running: exited"}
 | [2024-08-12T18:06:11] Aspire.Hosting.Tests.Resources.garnet Information: 4: 2024-08-12T18:06:10.610589234Z \x1b[31m    _________
 | [2024-08-12T18:06:11] Aspire.Hosting.Tests.Resources.garnet Information: 5: 2024-08-12T18:06:10.610648337Z    /_||___||_\      \x1b[0mGarnet 1.0.18 64 bit; standalone mode\x1b[31m
 | [2024-08-12T18:06:11] Aspire.Hosting.Tests.Resources.garnet Information: 6: 2024-08-12T18:06:10.610658737Z    '. \   / .'      \x1b[0mPort: 6379\x1b[31m
 | [2024-08-12T18:06:11] Aspire.Hosting.Tests.Resources.garnet Information: 7: 2024-08-12T18:06:10.610663938Z      '.\ /.'        \x1b[35mhttps://aka.ms/GetGarnet\x1b[31m
 | [2024-08-12T18:06:11] Aspire.Hosting.Tests.Resources.garnet Information: 8: 2024-08-12T18:06:10.610668538Z        '.'
 | [2024-08-12T18:06:11] Aspire.Hosting.Tests.Resources.garnet Information: 9: 2024-08-12T18:06:10.610672938Z \x1b[0m
 | [2024-08-12T18:06:11] Aspire.Hosting.Tests.Resources.garnet Information: 10: 2024-08-12T18:06:10.669794237Z Unable to initialize server due to exception: Access to the path '/data/checkpoints' is denied.
 | [2024-08-12T18:09:02] Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler Information: no more Container resources are being watched, cancelling container watch	{"Container": {"name":"garnet-jjxfkcxt-2696457f"}, "Reconciliation": 7}

in the last version, there is still a problem with the mount.
The problem is in Linux env.
I Ran tests in my local (windows env) and the tests passed.

Can you add a test for the playground app in tests/Aspire.Playground.Tests like d715ace (#5294) ?

Can you add a test for the playground app in tests/Aspire.Playground.Tests like d715ace (#5294) ?

I will.

Could you also please add an explanation in the PR description of what is being done here, and why?

Could you also please add an explanation in the PR description of what is being done here, and why?

I will.

Looks like the non-volume test is broken:
[xUnit.net 00:03:32.05]     Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.WithDataShouldPersistStateBetweenUsages(useVolume: False) [FAIL]
[xUnit.net 00:03:32.05]       StackExchange.Redis.RedisConnectionException : The message timed out in the backlog attempting to send because no connection became available (5000ms) - Last Connection Exception: UnableToConnect (None, 0-read, last-recv: 0) on localhost:33993/Interactive, Flushed/ReadAsync, last: ECHO, origin: ResetNonConnected, outstanding: 12, last-read: 5s ago, last-write: 5s ago, unanswered-write: 5s ago, keep-alive: 60s, state: ConnectedEstablishing, mgr: 10 of 10 available, last-heartbeat: never, global: 17s ago, v: <IP_ADDRESS>420, command=SET, timeout: 5000, inst: 0, qu: 0, qs: 12, aw: False, bw: CheckingForTimeout, rs: ReadAsync, ws: Idle, in: 0, in-pipe: 0, out-pipe: 0, last-in: 0, cur-in: 0, sync-ops: 0, async-ops: 11, serverEndpoint: localhost:33993, conn-sec: 40, aoc: 0, mc: 1/1/0, mgr: 10 of 10 available, clientName: a006N32(SE.Redis-v<IP_ADDRESS>420), IOCP: (Busy=0,Free=1000,Min=1,Max=1000), WORKER: (Busy=2,Free=32765,Min=2,Max=32767), POOL: (Threads=5,QueuedItems=0,CompletedItems=4179,Timers=8), v: <IP_ADDRESS>420 (Please take a look at this article for some common client-side issues that can cause timeouts: https://stackexchange.github.io/StackExchange.Redis/Timeouts)
[xUnit.net 00:03:32.05]       ---- StackExchange.Redis.RedisConnectionException : UnableToConnect (None, 0-read, last-recv: 0) on localhost:33993/Interactive, Flushed/ReadAsync, last: ECHO, origin: ResetNonConnected, outstanding: 12, last-read: 5s ago, last-write: 5s ago, unanswered-write: 5s ago, keep-alive: 60s, state: ConnectedEstablishing, mgr: 10 of 10 available, last-heartbeat: never, global: 17s ago, v: <IP_ADDRESS>420
[xUnit.net 00:03:32.05]       Stack Trace:
[xUnit.net 00:03:32.05]         /_/tests/Aspire.Hosting.Garnet.Tests/GarnetFunctionalTests.cs(125,0): at Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.<>c__DisplayClass3_0.<<WithDataShouldPersistStateBetweenUsages>b__0>d.MoveNext()
[xUnit.net 00:03:32.05]         --- End of stack trace from previous location ---
[xUnit.net 00:03:32.05]            at Polly.ResiliencePipeline.<>c.<<ExecuteAsync>b__3_0>d.MoveNext()
[xUnit.net 00:03:32.05]         --- End of stack trace from previous location ---
[xUnit.net 00:03:32.05]            at Polly.Outcome`1.GetResultOrRethrow()
[xUnit.net 00:03:32.05]            at Polly.ResiliencePipeline.ExecuteAsync(Func`2 callback, CancellationToken cancellationToken)
[xUnit.net 00:03:32.05]         /_/tests/Aspire.Hosting.Garnet.Tests/GarnetFunctionalTests.cs(119,0): at Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.WithDataShouldPersistStateBetweenUsages(Boolean useVolume)
[xUnit.net 00:03:32.05]         /_/tests/Aspire.Hosting.Garnet.Tests/GarnetFunctionalTests.cs(139,0): at Aspire.Hosting.Garnet.Tests.GarnetFunctionalTests.WithDataShouldPersistStateBetweenUsages(Boolean useVolume)
[xUnit.net 00:03:32.05]         --- End of stack trace from previous location ---
[xUnit.net 00:03:32.05]         ----- Inner Stack Trace -----

There is issue in the Linux host, this test works in my local (Windows host)
  Standard Output Messages:
 | [2024-09-03T20:24:37] Aspire.Hosting.DistributedApplication Information: Aspire version: 9.0.0-ci
 | [2024-09-03T20:24:37] Aspire.Hosting.DistributedApplication Information: Distributed application starting.
 | [2024-09-03T20:24:37] Aspire.Hosting.DistributedApplication Information: Application host directory is: /mnt/vss/_work/1/s/tests/Aspire.Hosting.Tests
 | [2024-09-03T20:24:37] Aspire.Hosting.Dcp.DcpHostService Information: Starting DCP with arguments: start-apiserver --monitor 22066 --detach --kubeconfig "/datadisks/disk1/work/AEF2095F/t/aspire.3grUsK/kubeconfig"
 | [2024-09-03T20:24:38] Aspire.Hosting.Dcp.start-apiserver.api-server Information: Starting API server...
 | [2024-09-03T20:24:38] Aspire.Hosting.Dcp.start-apiserver.api-server Information: API server started	{"Address": "<IP_ADDRESS>", "Port": 41847}
 | [2024-09-03T20:24:38] Aspire.Hosting.Dcp.start-apiserver.dcp-host Information: Starting DCP controller host
 | [2024-09-03T20:24:38] Aspire.Hosting.Dcp.start-apiserver.dcp-host Information: Started all services	{"count": 1}
 | [2024-09-03T20:24:38] Aspire.Hosting.Dcp.dcpctrl.IdeExecutableRunner Information: Executables cannot be started via IDE: missing required environment variable 'DEBUG_SESSION_PORT'
 | [2024-09-03T20:24:38] Aspire.Hosting.Dcp.dcpctrl Information: starting controller manager
 | [2024-09-03T20:24:38] Aspire.Hosting.DistributedApplication Information: Distributed application started. Press Ctrl+C to shut down.
 | [2024-09-03T20:24:40] Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler Error: could not determine host address and port for container port	{"Container": {"name":"garnet-kvsehqje-2ba90115"}, "Reconciliation": 5, "error": "container '/garnet-kvsehqje-2ba90115' is not running: exited"}
 | [2024-09-03T20:24:40] Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler Error: could not create Endpoint object	{"Container": {"name":"garnet-kvsehqje-2ba90115"}, "Reconciliation": 5, "ServiceName": "garnet-2ba90115", "Workload": "/garnet-kvsehqje-2ba90115", "error": "container '/garnet-kvsehqje-2ba90115' is not running: exited"}
 | [2024-09-03T20:24:40] Aspire.Hosting.Tests.Resources.garnet Information: 1: 2024-09-03T20:24:39.7686067Z \x1b[31m    _________
 | [2024-09-03T20:24:40] Aspire.Hosting.Tests.Resources.garnet Information: 2: 2024-09-03T20:24:39.7686762Z    /_||___||_\      \x1b[0mGarnet 1.0.19 64 bit; standalone mode\x1b[31m
 | [2024-09-03T20:24:40] Aspire.Hosting.Tests.Resources.garnet Information: 3: 2024-09-03T20:24:39.7686832Z    '. \   / .'      \x1b[0mPort: 6379\x1b[31m
 | [2024-09-03T20:24:40] Aspire.Hosting.Tests.Resources.garnet Information: 4: 2024-09-03T20:24:39.7686883Z      '.\ /.'        \x1b[35mhttps://aka.ms/GetGarnet\x1b[31m
 | [2024-09-03T20:24:40] Aspire.Hosting.Tests.Resources.garnet Information: 5: 2024-09-03T20:24:39.7686935Z        '.'
 | [2024-09-03T20:24:40] Aspire.Hosting.Tests.Resources.garnet Information: 6: 2024-09-03T20:24:39.7686983Z \x1b[0m
 | [2024-09-03T20:24:40] Aspire.Hosting.Tests.Resources.garnet Information: 7: 2024-09-03T20:24:39.8603021Z Unable to initialize server due to exception: Access to the path '/data/checkpoints/AOF' is denied.
 | [2024-09-03T20:27:31] Aspire.Hosting.Dcp.dcpctrl.ContainerReconciler Information: no more Container resources are being watched, cancelling container watch	{"Container": {"name":"garnet-kvsehqje-2ba90115"}, "Reconciliation": 8}

see https://github.com/microsoft/garnet/issues/536#issuecomment-2327123411

@eerhardt the test still failing

@eerhardt the test still failing

I fixed it locally on my linux machine. It should be passing now.

I don't think we need a garnet sample until we have a garnet client. Can we add garnet and valkey to the same sample?

I don't think we need a garnet sample until we have a garnet client. Can we add garnet and valkey to the same sample?

I could add garnet to the redis sample in this PR and valkey in another PR.

@davidfowl, This PR is ready to merge. If you merge it, I can add the Valkey sample to the playground app.

Thanks @Alirexaa


New wasmbin-derive patch release?

Could you make a wasmbin-derive patch release, to get updated dependencies (would remove some duplications in the dependency tree for us)?

Oh right, I updated the deps but postponed the release because I was waiting on https://github.com/panicbit/custom_debug/issues/18 to get rid of duplicate syn for downstream users.
Now that it's been fixed, I should've released both but it seems cargo release only picked up wasmbin itself.

Done.

Thanks!


Docs - wp - banner - spelling fix

Category

[X] Bug Fix

What's in this Pull Request?
Spelling update

Thx Eric, appreciated.


Text font - Inter - Regular 400

https://fonts.google.com/specimen/Inter/about

Side note: let's download the font and serve it ourselves (instead of using Google Font CDN). 👍


Doesn’t block pop up on fandom.com

https://vim.fandom.com/wiki/ has a pop up banner that isn't silenced with hush

With the codebase on master it is for me, most likely it will be fixed in the next release.

With the codebase on master it is for me, most likely it will be fixed in the next release.


[two_dimensional_scrollables]: RenderTwoDimensionalViewport.performLayout causes failed asserts when scrolling when cells have InkWell children

Steps to reproduce

Render a TableView.builder widget which has InkWell children in cells - see code sample attached
Pan around or scroll in a single axis quickly
Observe the table widget glitches

Expected results
the table widget doesn't glitch
Actual results
the table widget gltiches, renders blank
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:two_dimensional_scrollables/two_dimensional_scrollables.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Center(
          child: TableView.builder(
            columnCount: 40,
            rowCount: 40,
            columnBuilder: (_) =>
                const TableSpan(extent: FixedTableSpanExtent(100)),
            rowBuilder: (_) =>
                const TableSpan(extent: FixedTableSpanExtent(100)),
            cellBuilder: (_, vicinity) => TableViewCell(
              child: InkWell(
                onTap: () {},
                child: Text('Cell ${vicinity.row}x${vicinity.column}'),
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/user-attachments/assets/9c768ed2-db7a-4359-8de7-acfb54848b29

Logs
Logs
======== Exception caught by rendering library =====================================================
The following assertion was thrown during performLayout():
Assertion failed: file:///Users/martin/dev/tools/flutter/packages/flutter/lib/src/widgets/two_dimensional_viewport.dart:783:12
_children.containsValue(child)
is not true

The relevant error-causing widget was:
  TableView TableView:file:///Users/martin/dev/dart/temp/sandbox/lib/main.dart:16:28
When the exception was thrown, this was the stack:
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 297:3       throw_
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 38:3        assertFailed
packages/flutter/src/widgets/two_dimensional_viewport.dart 783:41                 parentDataOf
packages/two_dimensional_scrollables/src/table_view/table.dart 395:13             parentDataOf
packages/flutter/src/widgets/two_dimensional_viewport.dart 1264:37                <fn>
dart-sdk/lib/internal/iterable.dart 451:13                                        moveNext
dart-sdk/lib/core/iterable.dart 540:33                                            get isEmpty
packages/flutter/src/widgets/two_dimensional_viewport.dart 1264:35                <fn>
packages/flutter/src/rendering/object.dart 2686:51                                <fn>
packages/flutter/src/rendering/object.dart 1097:7                                 [_enableMutationsToDirtySubtrees]
packages/flutter/src/rendering/object.dart 2686:7                                 invokeLayoutCallback
packages/flutter/src/widgets/two_dimensional_viewport.dart 1258:5                 performLayout
packages/flutter/src/rendering/object.dart 2414:7                                 [_layoutWithoutResize]
packages/flutter/src/rendering/object.dart 1051:17                                flushLayout
packages/flutter/src/rendering/object.dart 1064:14                                flushLayout
packages/flutter/src/rendering/binding.dart 582:5                                 drawFrame
packages/flutter/src/widgets/binding.dart 991:13                                  drawFrame

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.6, on macOS 15.0 24A335 darwin-arm64, locale en-GB)
    • Flutter version 3.19.6 on channel stable at /Users/martin/dev/tools/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 54e66469a9 (6 months ago), 2024-04-17 13:08:03 -0700
    • Engine revision c4cd48e186
    • Dart version 3.3.4
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/martin/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = /Users/martin/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16A242d
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.11+0-17.0.11b1207.24-11852314)

[✓] VS Code (version 1.94.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.98.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 15.0 24A335 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 129.0.6668.101

[✓] Network resources
    • All expected network resources are available.

• No issues found!

ahh thank you!


Possible to have .scss with @imports and bundle the lib in Webpack DLL from the app?

I'm submitting a ...
[ ] bug report
[ ] feature request
[x ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

I'm facing a problem building my packages like this, if and only if I need to package (main or module) to be added to a webpack DLL. First of all I'm using copyfiles to copy all my non ts/tsx files to dist/build folder and I'm only bundling/transpiling from the App with webpack. The problem is that any @import inside my scss will not work if I add the package to the DLL plugin. Is this a limitation to this approach of building packages, do we need to bundle with rollup before shipping or can this be solved somehow?

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

ERROR in ./node_modules/my-library/dist/module/components/Parent/Child/Child.scss 1:0
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
> @import "../../../scss/mixins";

Have started a bounty here on that same question: https://stackoverflow.com/questions/53453257/how-to-have-scss-imports-in-un-bundled-esnext-package-included-in-webpack-4-dll


Using mustache template inside URL / other input fields

Node-RED's default HTTP node's allow for using variables inside the input fields (at least for the URL).
https://cookbook.nodered.org/http/set-request-url-template
https://cookbook.nodered.org/http/set-query-string
Ideally we would be able to use the same in the S3 nodes.
The goal is if we have different variables (let's say: instance_ids) which would be a part of the path to object allowing to call multiple S3 calls from a single input node.
Example:

Hi @trajche, thank you for opening this ticket and for the idea. This will be nice addition to the nodes as it will make them more versatile


revise definition of spondyloepiphyseal dysplasia

add comment
revise synonym scope
add seeAlso

address #5280

this ticket is closed


Clear Tax

Description
A clone Of Cleartax.com
Code of Conduct

[X] I follow Contributing Guidelines of this project.

/assign


Add useLocalAwareness & useRemoteAwareness hook

This PR adds hooks for ephemeral shared state, similar to Yjs awareness.
WIP, has not been converted to TS.

I'm not sure where to put use-awareness-example-project. Should this be a new package in the monorepo, separate from automerge-repo-react-hooks?
Also, does it need tests? There aren't any for the other hooks.

Note that these hooks are only designed to be used once per channel. Can hooks be memoized?

@pvh do you need anything else to get this merged?

I have found the current API of this quite useful, however there are a couple of shortcomings with the current behavior. Specifically, you can currently only have one instance of useLocalAwareness and useRemoteAwareness each per channel ID.
This makes sharing data from different locations difficult. The way around this is to pass data & an event handler down to child functions as a prop. It is likely possible to fix this in useRemoteAwareness short-term (though I have no current plans to do so). Fixing this in useLocalAwareness would involve something more like global state management ala Zustand.
I intend to fix this longer-term by making awareness use an underlying Flyd stream with a state reducer. It would be frontend agnostic, and could then be wrapped in a React hooks library with the same API as the current hooks.
A separate minor DX issue I have is that channel IDs must be specified in order for local & remote hooks to talk to each other. I would like to automate this somehow, and remove the possibility of accidentally using the wrong channel ID, or worse, re-using the same channel ID with different awareness instances that shouldn't be talking to each other.

Per @pvh's comments on Slack, we should avoid using documentIDs as a basis for channelIDs, and opt for user-level presence rather than per-repo. This can be fixed in the example in future; the autoburger article and docs should also reflect this.

I am thinking of wrapping the hook args in a single {} props object, to make future changes easier

I would like to re-write the example after useBootstrap lands.


fix #314: --version not showing lab version

Aside from the [possible] debugging statement, the only other comment I had is that changing the default visibility from "internal" to "private" -- though needed -- seemed beyond the scope of a PR that's supposed to be fixing --version and I just want to confirm that you intended it to be in here. Sorry if I'm being nitpicky.

All in an effort to fix the tests, I can split it out, I'm just glad to see it seemed to work

All good! Just double checking that you meant it all to be there.


Camera streaming

Made camera streaming to main page
(go.mod changed, get new modules)
It's very slow when multiple user uses it. I'll look into it. fixed it
(amúgy inkább magyarul írjam?)

Okay
Done
No more changes


Better support for using substrate as a library

So far seems the development of Substrate chains is very focused on starting projects from scratch following the template node and then just fiddling with the runtime modules but it would be nice if there is better support in the form of documentation, examples and stable APIs on how to create our own nodes that can be embedded in an existing code base and interacting with the runtime(e.g. submitting transactions) on a library level instead of external JSON RPC calls.

I think what you're looking for is https://github.com/paritytech/substrate-subxt

I think what you're looking for is https://github.com/paritytech/substrate-subxt

interacting with the runtime(e.g. submitting transactions) on a library level instead of external JSON RPC calls.

Based on my ^^ I interpreted the issue exactly the opposite, but either way sub-xt is a good tool to point out.

What I understood was that you are more interested in using non-runtime parts of substrate (client, primitives) to build custom clients. This is indeed planned and essential for substrate's long term success but addmitedly it is not as mature and well documented as the runtime side.
Can you explain more the type of tools that you want to build and the type of libraries that you expect substrate to provide?
cc @gnunicorn

subxt can use a light client. we can even drop in a full node, be use this for all our automated client testing.

then I guess what you mean is that sub-xt is a good example of how to use substrate as a library? I thought that it is the means to to so 😄.

I'm confused. I guess subxt is a library to build substrate clients, and examples of how to use it would be projects using subxt.

What I understood was that you are more interested in using non-runtime parts of substrate (client, primitives) to build custom clients. This is indeed planned and essential for substrate's long term success but addmitedly it is not as mature and well documented as the runtime side.

Indeed, what I'm after is a custom client with an application specific transport and protocol, other use case might be no over the network communication at all?(e.g. an electron-like all included node with UI submitting transactions to the runtime directly). Subxt looks like a good start, it can be the higher level API to interact with the runtime but ideally it can also work with an instance of the runtime perhaps? and submit extrinsics directly without the json rpc client-server layer?

Indeed, what I'm after is a custom client with an application specific transport and protocol, other use case might be no over the network communication at all?(e.g. an electron-like all included node with UI submitting transactions to the runtime directly)

If you look at client/service you'll notice that all components of substrate are actually (mostly standalone) libraries and the service crate primarily fiddles them together to a client (with the particular purpose to be easily extensible from the node-templates, hence it rather gigantic type definitions). You could use the result of that service within any other rust-lib to do whatever you like – afaik, this is how the raddicle people are building their oscoin on-top (see https://github.com/radicle-dev/radicle-registry ). The API just isn't very oriented through that usage and exposed functionality doesn't include transaction transmission or alike.
However, all it does can be done within any library and be used directly – there are some background task management you'd also have to do though – and then you can talk to the component yourself. Some of these components would require more specifically tied types and traits to be implemented on outside components, but all that should be available from primitives/ – be aware though that many things within these substrate components are super generic to allow for the generic upgrade mechanism to work. Through doing this, one could technically build an in-process client which doesn't use libp2p at all for example, but receives messages through a completely separate channel.
This is all possible today, but rather complex to do. While we intend to allow for easier integration, until this is there (and this is probably still a while to go) the recommended path is to transmit transactions through RPC to a running and connected node.


Coinbase wallet: window.walletLinkExtension.setProvider info is not defined

Hi!
Problem
I have updated the package to ^2.1.0 and when I open my app in coinbase wallet I'm getting this error:
window.walletLinkExtension.setProvider info is not defined

I believe it's from this line: https://github.com/walletlink/walletlink/blob/d69239381ebe9a5ca30f0f04304c9adc0218ed8a/js/src/WalletLink.ts#L109
I tried inspecting the walletLinkExtension object and it seems to only have these keys:
_events,_eventsCount,_maxListeners,isCipher,isToshi,isCoinbaseWallet,_filterPolyfill,_subscriptionManager,appName,appVersion,_address,_chainId

Coinbase wallet version:
24.5.495 on iOS

Thanks for reporting! This should be fixed in 2.1.3.

Dudes can you help me get my eth into my wallet?


Fix wrong expansion for masked vmsge{u}.vx with temp register

vd not write by vmslt{u}.vx before use, it should be v0 / mask register.

It's clear why the old sequence is wrong; it ignores v0 entirely.  Are you sure the new sequence is right, though?
It looks to me like it has the effect of setting all unmasked elements correctly, but it sets all masked elements to 0.  Do you want vmslt{u}.vx vt, va, x;  vmnot.mm vd, vt, v0.t instead, which will preserve the masked elements?

The current assembler use vmandnot.mm  v4, v0, v12.  They are both OK to me.

Perhaps I am being dense, but, doesn't vmandnot.mm v4, v0, v12 cause all of the elements where v0 is false to be set to 0?  But the original pseudo-op had them being preserved, not set to 0.

Oh, I got your point, unmasked bit should preserved instead of 0, but current expansion didn't reference mask register at all, so I think it should fix like that:
vmsge{u}.vx vd, va, x, v0.t, vt

=>
vmslt{u}.vx vt, va, x, v0.t
vmandnot.mm vd, vd, vt

That preserves vt instead of preserving vd.  The intent of the pseudo-op is to preserve vd.  My proposal does that, right?

Oh, yeah, your proposal is right, one more question about the performance, will vmslt faster if mask is given?

vmslt{u}.vx vt, va, x; vmnot.mm vd, vt, v0.t,
vmslt{u}.vx vt, va, x, v0.t; vmnot.mm vd, vt, v0.t,

Oh, wait, there is no masked version for vmnot.m, so the sequence can't work

I would choose option 1, because it defers the hazard on v0 til the next instruction, and computing mask registers is often on the critical path.  (Option 2 could be better for some density-time machines, but that is the less-common case in my experience.)

I must have been thinking of an older version of the ISA.

@aswaterman and me got 2-instruction and 4-instruction sequence on this pseudo instruction expansion, will open new PR for this later.


Cutting a new release for Rust 1.80 compat?

Due to the Rust 1.80 fallout with time, elan in nixpkgs is currently broken, it'd be great if a new release would be out (instead of pinning a HEAD containing the fix to 1.80 build).
See https://github.com/NixOS/nixpkgs/issues/332957
cc @gebner as the nixpkgs maintainer

Fixed on #134.

pr for an unstable commit got merged https://github.com/NixOS/nixpkgs/pull/336417

I will look into cutting a new release soon

@Kha any updates on this? many thanks!


There are many duplicates in the recognition results

Can you help me with the following two questions when using Whisper jax？

I have a long audio of 1minutes, and during decoding, there was a sentence that repeated many times. However, when importing this audio on the huginface, this situation did not occur during decoding. Why？

Which model was used as the benchmark in the report, and what is the batch size

Hey @yangsuxia - you should use return_timestamps=True in this case as it greatly reduces model hallucinations. Regarding benchmarks, see #5.

Yes, after setting the parameter  return_timestamps to true, the number of repetitions has decreased significantly, but there are still
I would like to ask another question and look forward to your reply
I use large_ V2 model, batch_ Size=16, dtype=jnp.float16, decoding audio for one minute takes about 2.2s, is it normal？

Same problem here. I have tried with large-v2  and large models and there are too many duplicates, even with return_timestamps=True

I am researching for ways to post clean this without using LLMs. If anyone has come across any ideas, I would appreciate them!


fix authorization header on asyncio requests containing url-encoded chars

Fixes #11028
It's a bit ugly, but there was the ugliness before, so I just added a bit to it. I'm not very familiar with the code base so I didn't want to solve it in a nicer manner.
Feel free to give me feedback and I'll fix accordingly.

@xiafu-msft Ready for merging!


GDScript compiler: Leaving block with non-zero temporary variables

Godot version
v4.0.alpha.custom_build [622b656c4]
System information
Arch Linux, Sway/Wayland
Issue description
Error message in console:
ERROR: Leaving block with non-zero temporary variables: 1
   at: pop_stack_identifiers (modules/gdscript/gdscript_byte_codegen.h:151)
ERROR: Non-zero temporary variables at end of function: 1
   at: write_end (modules/gdscript/gdscript_byte_codegen.cpp:180)

Steps to reproduce

New project
Add a Node2D. I called mine 'World'
Attach script to 'World'
Add this function:

func set_pos(pos: Vector2, obj: Object):
	var ma = []
	ma[pos.x] = []
	ma[pos.x][pos.y] = obj

Minimal reproduction project
No response

Already fixed as part of #62485.

My mistake. Wasn't running the newly built Godot binaries correctly.


Same fix as: https://github.com/balderdashy/sails-postgresql/pull/127

@aradnom I want to make it too, but found that you already make it:) great commit

@aradnom @KirillSuhodolov Hey guy's looks solid and looks like the other guys on the other end seem to be happy with it, so ill merge it.

@Ryanc1256 thanks!


"ls" doesn't show up in terminal suggest if triggered at l

Repro:

Type l
ctrl+space
Type s, 🐛 ls should be the top entry

This is the menu I get on ctrl+space

How do I get your intellisense-style menu?

You need this setting "terminal.integrated.shellIntegration.suggestEnabled": true,

@Tyriar I don't need to type ctrl+space to get the suggest widget to pop up, but this is verified for me.

🤔 I'm still not able to get the terminal suggestions to show up, even with that setting. Maybe there's something up with my other settings.


[move-package] Use source files for dependencies

Motivation

Source files are now used for dependencies

This will allow for source language only features to be used across packages
Short term this means finally using the vector bytecodes instead of native functions
Long term this will allow for macros and other cool features

Relaxed the constraint that named addresses are not interchangeable with their value

This restriction made a lot more sense when named addresses weren't required to have bindings for most of the compiler passes
With the package system defacto controlling these things, the restriction seems a bit silly
I would think about this in terms of rust crates: If you make an two aliases for a given crate in a file, either are fine to use and are interchangeable
We should probably add a warning or just ban raw flat addresses, at least from the package system

Test Plan

ran package test
updated source language tests

/land