added support for BSD based systems (specifically, OS X with homebrew getopt

On BSD/OS X the getopt command works differently so instead of parsing the arguments you get the original arguments back. On previous systems I've simply changed my PATH to fix it but I thought a better fix would be to check for it in the code :)

Hey @WoLpH It seems I completely missed this PR. Thanks for taking the time to share your patch!
I recently pushed some more bugfixes and changes (changelog will be updated soon, so you can follow better). It would be nice, if you can give it a test on BSD. I will try to integrate your changes from this PR as well.

Hey @WoLpH It seems I completely missed this PR. Thanks for taking the time to share your patch!
I recently pushed some more bugfixes and changes (changelog will be updated soon, so you can follow better). It would be nice, if you can give it a test on BSD. I will try to integrate your changes from this PR as well.

It mostly appears to be working. But I am getting this error (although I think it's unrelated to this change):
==> ERROR: Github API message: 'Problems parsing JSON' Check your token configuration: https://github.com/settings/tokens

No clue what's causing it. I already tried to update my token but no dice.

It mostly appears to be working. But I am getting this error (although I think it's unrelated to this change):
==> ERROR: Github API message: 'Problems parsing JSON' Check your token configuration: https://github.com/settings/tokens

No clue what's causing it. I already tried to update my token but no dice.

Could you please post the terminal output? You can also try with --debug, but please remove any sensible information first (like the token).

Could you please post the terminal output? You can also try with --debug, but please remove any sensible information first (like the token).

I've tried to fix it via https://github.com/NicoHood/gpgit/commit/ae0a3ffa12712b2435214df43fb8d5332ecd1287
You can test the dev branch. I assume that one of the parameters you were using were not escaped properly. Did you use a custom name, tag or message?

I've tried to fix it via https://github.com/NicoHood/gpgit/commit/ae0a3ffa12712b2435214df43fb8d5332ecd1287
You can test the dev branch. I assume that one of the parameters you were using were not escaped properly. Did you use a custom name, tag or message?

Yes, that was probably it. The new release works perfect! Thank you for the fix :)

Yes, that was probably it. The new release works perfect! Thank you for the fix :)

I've published a new release with the fix.
Could you maybe help me write some installing instructions for those systems? Mainly the command to install the dependencies and their correct name would be important.
I also want to add a feature that checks the key expire date. Now I found that date is different for gnu vs Mac/BSD Systems. You'd need to use gdate (gnu date) there instead, similar to getopt. I might get back to you if I need further help or testing with this.

I've published a new release with the fix.
Could you maybe help me write some installing instructions for those systems? Mainly the command to install the dependencies and their correct name would be important.
I also want to add a feature that checks the key expire date. Now I found that date is different for gnu vs Mac/BSD Systems. You'd need to use gdate (gnu date) there instead, similar to getopt. I might get back to you if I need further help or testing with this.

Sure, it's rather simple I believe :)

Install Homebrew: https://brew.sh/
Install gnu-getopt: brew install gnu-getopt
Install coreutils for gnu date: brew install coreutils

And that's it :)

@NicoHood still not perfectly fixed unfortunately. The issue is with quotes in MESSAGE that completely breaks.

Actually... this seems to fix it for me:
SAFE_MESSAGE=${MESSAGE//$'\n'/'\n'}
SAFE_MESSAGE=${SAFE_MESSAGE//\"/\\\"/}
API_JSON="$(printf '{"tag_name": "%s","target_commitish": "%s","name": "%s","body": "%s","draft": false,"prerelease": %s}' \
           "${TAG}" "${BRANCH}" "${TAG}" "$SAFE_MESSAGE" "${PRERELEASE}")"

Can you name me a sample message, that does not work for you? I've replaced printf with jq, it should escape everything. I am wondering why this still does not work properly.

I've recently switched to MESSAGE=$(git log -1)
commit 638f67af428413ef6b2a45633b6e4f034b11f272
Merge: ad33bc1 061837e
Author: Rick van Hattem<EMAIL_ADDRESS>Date:   Wed Feb 3 02:10:59 2021 +0100

    Merge tag 'v2.2.1' into develop

    removed debug statement v2.2.1

    # gpg: Signature made Wed Feb  3 02:10:59 2021 CET
    # gpg:                using RSA key 149325FD15904E9C4EB89E95E81444E9CE1F695D
    # gpg: Good signature from Rick van Hattem<EMAIL_ADDRESS>[ultimate]
    # gpg:                 aka [jpeg image of size 9662] [ultimate]

Why would you do this? This message also gets attached to the tag and the github message.
Did you see, that I've added automatically parsing of a changelog file in 1.4.x? I am currently working a lot on this project, including a website etc, so everything will be (hopefully) more clear soon.

Because Github doesn't show the tag commit message in the list of releases: https://github.com/WoLpH/python-utils/releases
That output is pretty useless.
So changed it to look like this: https://github.com/WoLpH/portalocker/releases
I still need to add the mesage to the title it seems, but it's already far more useful.
I didn't know about the changelog parsing, but I'm not using a separate changelog anyhow. The tag commit messages are my changelog.

I am not sure if I understand correct.
Did you try the -m option? `gpgit 1.0.0 -m "This is my tag message. Here I can add a changelog for example."
Also looking at your post above you said you are using MESSAGE=$(git log -1). Did you edit the code directly? If yes, the issue is possibly related to missing quotes: MESSAGE="$(git log -1)", but even better is to not modify the script and use gpgit 1.0.0 -m "$(git log -1)".
Did that help or am I still completely missing something?

I am not sure if I understand correct.
Did you try the -m option? `gpgit 1.0.0 -m "This is my tag message. Here I can add a changelog for example."
Also looking at your post above you said you are using MESSAGE=$(git log -1). Did you edit the code directly? If yes, the issue is possibly related to missing quotes: MESSAGE="$(git log -1)", but even better is to not modify the script and use gpgit 1.0.0 -m "$(git log -1)".

Let me clarify a bit :)
I use git-flow release to create releases and in the post-flow-release-finish hook I have the following to tell gpgit to create a release:
MESSAGE=$(git log -1)

# Implement your script here.
gpgit $VERSION -m "$MESSAGE"

Perhaps I should replace it with MESSAGE=$(git tag -n9 $VERSION) instead. For now it was just a quick way to get something useful in the github releases.

I am still wondering what useful information git log -1 contains. This sounds like nothing important, but I might be wrong. Keep A Changelog has some good arguments, why a dedicated changelog makes sense.

My git tags are the changelog in this case. It contains all of the relevant changes made in the releases.
While I agree that dedicated changelogs are better... I know I'll forget and having an out of date changelog is worse than not having a dedicated one. Besides slightly different formatting it's effectively the same.

Offtopic: Is there any reason why you are tagging releases with "v" v1.0.0 prefix? Cause that is currently not supported for parsing changelogs. I can think of some reasons, but want to hear your opinion as well ;-)
It's mostly legacy now to be honest. Originally it was because some software automatically tries to convert it into a number which fails because there are 2 dots.

I think I do have a little feature request. It would be nice to be able to set the release title as well. That seems to be hardcoded to the tag right now.

Thanks for the feedback. I've opened separated bugs for this.


fix login / signup issue

fix login issue where if user logs in with credentials it creates a new account instead of throwing invalid email or password error, also check the signup page for a similar issue.

done


Add support for range mode unbounded preceding/following window frames

Adds support for unbounded preceding, unbounded following, and current row frame bounds in range mode. Support for k preceding, k following, and current row frame bounds in rows mode will be added in subsequent PRs: #2920, #2815, #2928.

You can also use VELOX_NYI for not yet implemented.

Rebased PR on the new tests refactoring, thanks!

The current code looks good. Lets get a review from Masha.

https://github.com/facebookincubator/velox/issues/685


Is this project abandonded?

It's looking so good, can i ask if there is a plan for a new version or continued work on it?

I was actually thinking the same, this calendar is really good, it would be a shame if it gets abbandoned

I hope not, I just found it and it's exactly what I've been looking for lol

Any update/news?

Any update/news?


Add remove destination ability

Description:
Add the ability to remove location/Wi-Fi/Bluetooth from destination preferences.
Type of change:

[ ] Bug fix
[X] New feature
[ ] Fix/new infrastructure

The ticket this PR closes:
Put a link to the ticket on Jira we're closing using this pull request.

Where should the reviewer start?
In all the settings pages - plus check that it gets deleted from the relevant database.
If the document doesn't exist - the user gets an approval message for his remove request.
Scenarios that were tested during this implementation:
Tried to delete each of the three options (location, Wi-Fi and Bluetooth).
Plus, checked what happen if the relevant document doesn't exist.
Insert screenshots / video of test results (for all relevant platforms)

Please fix the conflicts first


Fix a couple of issues with initial setup

Please see the commits for more details.

LGTM 👍 I had to look up the dirname $0 syntax, perhaps consider rephrasing the second commit message to be more explicit about what it is doing.

Sure - it's pretty standard for a bash script, but then it is bash! I've added a little to the commit.


Log metrics/logging init messages at debug level

Changes

:broom: Log metrics/logging init messages at debug level instead of info

After analyzing the logs emitted by our Knative Services, we realized that 90% of them were these 5 log entries related to the initialization of the metrics exporter and logger, over and over again.
I believe that silence is golden for this kind of setup operations, especially when the logger and metrics exporter aren't part of the business logic of the application that's running inside those services.
Regular scaling of these applications (including to 0) makes this "issue" even more visible.

/kind enhancement

Release Note

Initialization messages related to loggers and metric exporters are now logged at the `debug` level

Docs

/test unit-tests_pkg_main

/retest

The app logic doesn't emit much either indeed, but does it justify producing those logs inside the user's code? If yes, I'll happily close this PR and live with it.

These are queue proxy logs so if only app containers are considered then they dont mix with app msgs. I guess this is an issue that can be solved at the log aggregation level too. In addition info level is about config status for normal operation so from a semantics point of view is valid.
However I am ok to silent this if there are no objections as it can be quite noisy at scale and logs dont add much unless users need to debug something.

/lgtm
/hold for more comments

Oh, no, I'm not talking about queue-proxy, but rather about apps that import Knative libs (eventing integrations such as custom sources, for example).

@antoineco let's add that log info statement in queue main here, want to do it ?
For the record here are the log msgs:
$ k logs helloworld-go-00001-deployment-588886b96d-zx5cg -c queue-proxy
{"severity":"INFO","timestamp":"2022-05-25T08:49:34.632737168Z","caller":"logging/config.go:116","message":"Successfully created the logger."}
{"severity":"INFO","timestamp":"2022-05-25T08:49:34.632817115Z","caller":"logging/config.go:117","message":"Logging level set to: info"}
{"level":"info","ts":1653468574.6333218,"logger":"fallback","caller":"metrics/metrics_worker.go:76","msg":"Flushing the existing exporter before setting up the new exporter."}
{"level":"info","ts":1653468574.6334558,"logger":"fallback","caller":"metrics/prometheus_exporter.go:51","msg":"Created Prometheus exporter with config: &{knative.dev/internal/serving revision prometheus<PHONE_NUMBER> <nil>  false 9091 <IP_ADDRESS>}. Start the server for Prometheus exporter."}
{"level":"info","ts":1653468574.633491,"logger":"fallback","caller":"metrics/metrics_worker.go:91","msg":"Successfully updated the metrics exporter; old config: <nil>; new config &{knative.dev/internal/serving revision prometheus<PHONE_NUMBER> <nil>  false 9091 <IP_ADDRESS>}"}
{"severity":"INFO","timestamp":"2022-05-25T08:49:44.987717299Z","logger":"queueproxy","caller":"queue/main.go:232","message":"Received TERM signal, attempting to gracefully shutdown servers.","commit":"6ec4509","knative.dev/key":"default/helloworld-go-00001","knative.dev/pod":"helloworld-go-00001-deployment-588886b96d-zx5cg"}
{"severity":"INFO","timestamp":"2022-05-25T08:49:44.987800146Z","logger":"queueproxy","caller":"queue/main.go:233","message":"Sleeping 30s to allow K8s propagation of non-ready state","commit":"6ec4509","knative.dev/key":"default/helloworld-go-00001","knative.dev/pod":"helloworld-go-00001-deployment-588886b96d-zx5cg"}
{"severity":"INFO","timestamp":"2022-05-25T08:49:44.995150468Z","logger":"queueproxy","caller":"queue/main.go:404","message":"Attached drain handler from user-container","commit":"6ec4509","knative.dev/key":"default/helloworld-go-00001","knative.dev/pod":"helloworld-go-00001-deployment-588886b96d-zx5cg"}

/unhold

@skonto I can do it, but since it doesn't really match the PR's description, would you mind if I submit it separately?

@skonto there you go sir: https://github.com/knative/serving/pull/12965

/approve
note: pkg release has been cut already


change Endpoint to Azure

Since the open AI API is available in azure, is there a possibility to change to endpoint to azure.
or will there be a plan to add this feature.

You can check #60


Fix react-headless

After exporting the libs as module (type:module) the react-headless example fails since can't resolve the js as es modules.
ERROR in ../../packages/core/dist/index.js 1:0-39

Module not found: Error: Can't resolve './lib/walletAggregator' in '/Users/hra/Workspace/Parity/Git/wallet-sdk/packages/core/dist'
Did you mean 'walletAggregator.js'?
BREAKING CHANGE: The request './lib/walletAggregator' failed to resolve only because it was resolved as fully specified
(probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '*.mjs' file, or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.

Fixed the issue in https://github.com/paritytech/polkadot-onboard/pull/27
will need to update the versions and publish once approved

fixed #28
published #29


Create: DNFactory

Description
Creates a DN Factory for easy deployments of DN404 Clones. Includes ability to customize name and symbol, and lock liquidity for an arbitrary number of seconds from deploy.
Checklist
Ensure you completed all of the steps below before submitting your pull request:

[✅] Ran forge fmt?
[✅] Ran forge snapshot?
[✅] Ran forge test?

Checks failed because solc version is 0.8.4 vs the contracts had 0.8.24 @QuitCrypto

my opinion:
DN404 is a standard and multiple use cases can be created out of it. This repository should act more like a library repository rather than maintain the deployments of factory along with the core DN404 code.
Hence, rather than having the factory in the core repository, it can be added to a new repository specifically created for use-cases or can be added to example directory.

@QuitCrypto I suggest if we could have event like DN404Created emitted would be great to track tokens on subgraph, etc.

my opinion: DN404 is a standard and multiple use cases can be created out of it. This repository should act more like a library repository rather than maintain the deployments of factory along with the core DN404 code. Hence, rather than having the factory in the core repository, it can be added to a new repository specifically created for use-cases or can be added to example directory.

@codebuster22 Where this factory lives isn't SUPER important. But the reasoning behind having a factory contract is it will be tied to a dapp where people can easily deploy verified DN404 implementations (there will likely be more than just the Cloneable example included here). A lot of people that may want to deploy tokens aren't on the most technical side, so giving them an easy way to approach the deployment of the contract is important.
Yes, this does increase the chances of more projects that may not succeed, but the pros outweigh that here to be honest in order to give people easy access to safe and verified DN404 implementations.
The goals for this is so you can easily fact check if a contract you're about to interact with is truly using unmodified DN404 base smart contracts, since there are so many fake ones out there.

@pop-punk
I Acknowledge the utility of a factory contract for easy deployment of verified DN404 implementations, especially important for non-technical users, I suggest to handle this aspect separately. This ensures the main repository remains clean and focused.
I believe the DN404 repository should primarily serve as a library, focusing on the core DN404 code. This approach will keep the repository streamlined and dedicated to standard implementations and examples, avoiding the complexities associated with deployment management.
Managing deployment scripts, factory contract addresses, and various factory versions within the DN404 repository shifts its purpose from a library to more of a project management hub, potentially complicating management and deterring community contributions.
My Suggestion:

Keep the DN404 repository as the primary library for standard implementation and examples.
Create a new repository (e.g., DN404-factory or awesome-DN404) dedicated to building DN404 use cases and relevant factories. This separation allows the community to contribute their implementations without the risk of inadvertently altering the core DN404 logic.

Benefits of This Approach:

Community Contributions: This separation makes it easier for the community to contribute, enhancing engagement.
Simplified Review Process: Pull requests to the new repository won't risk altering the core DN404 logic, streamlining the review process.
Clear Organizational Structure: This maintains a clean separation between the standard implementation and its applications, improving both clarity and management.

I believe adopting this structured approach will not only foster greater community involvement but also ensure the integrity of the DN404 core code, all while providing a clear framework for the development and application of DN404 standards.
Though the final decision lies with the core contributors and you. Anyways, I'm always happy to contribute.

@codebuster22 Awesome-DN404 sounds good, just like https://github.com/mudgen/awesome-diamonds.


Yes, channel state information generally refers to all information that can reflect the physical properties of the channel, including multipath delay, Doppler frequency shift, beamforming vector and other multipath effects, which are manifested as amplitude attenuation, phase offset and time delay in the time domain，See: https://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=WIFI CSI

Yes, channel state information generally refers to all information that can reflect the physical properties of the channel, including multipath delay, Doppler frequency shift, beamforming vector and other multipath effects, which are manifested as amplitude attenuation, phase offset and time delay in the time domain，See: https://ieeexplore.ieee.org/search/searchresult.jsp?newsearch=true&queryText=WIFI CSI
Originally posted by @zhanzhaocheng in https://github.com/espressif/esp-csi/issues/48#issuecomment-1094630450

你好，上面的连接里有很多篇论文，其中那一篇是是有关介绍csi_data的

It's all about csi_data analysis,
The first one is imaginary part and the second one is real part. See:https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wifi.html#wi-fi-channel-state-information


Remove GetNativeModule().

This function was added in 1959733 ("Add application extension and
getManifest(), getMainDocument() API support") but was never used
anywhere.
Get rid of it so that M49 builds do not fail due to -Wunused-function.

lgtm


Listed example for KubeJS sifting recipe script does not work

Describe the Bug
When creating a KubeJS server RecipeEvent script with the example basic sifting recipe, KubeJS throws an error:
[21:43:32] [ERROR] ! server_scripts:sifting.js:4: Failed to create recipe for type 'createsifter:sifting': Constructor for createsifter:sifting with 2 arguments not found!
[21:43:32] [WARN] server_scripts:sifting.js:4: Tried to call a function on an errored recipe! (Failed to create recipe for type 'createsifter:sifting')

Reproduction Steps

Install latest versions of KubeJS (1902.6.1-build.348), KubeJS Create (1902.2.4-build.27), Create Sifter (1.19.2-1.6.1.c-36)
Create KubeJS script of default example event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5).toJson(), Item.of('minecraft:redstone').withChance(0.1)], ['minecraft:sand','createsifter:string_mesh'])

Step 2 fails because it does not recognize .toJson(), but even after removing that I get the error listed in the above section.
Expected Result
KubeJS script should run without error and add the above recipe.
Screenshots and Videos
No response
Crash Report or Log
No response
Operating System
Windows 10
Mod Version
1.7.0.c-36
Minecraft Version
1.19.2
Forge Version
43.2.21
Other Mods
ad_astra-forge-1.19.2-1.12.7.jar
architectury-6.5.85-forge.jar
beJS-1.19.2-1.2.3.jar
botarium-forge-1.19.2-1.8.2.jar
cloth-config-8.3.103-forge.jar
Controlling-forge-1.19.2-10.0+7.jar
create_mechanical_extruder-1.19.2-1.5.0.c-36.jar
create-1.19.2-0.5.1.c.jar
createsifter-1.19.2-1.6.1.c-36.jar
ftb-library-forge-1902.4.1-build.236.jar
ftb-quests-forge-1902.5.3-build.258.jar
ftb-teams-forge-1902.2.14-build.123.jar
gtceu-forge-1.19.2-1.0.10.jar
item-filters-forge-1902.2.9-build.51.jar
javd-forge-4.0.1-build.2+mc1.19.2.jar
kubejs-create-forge-1902.2.4-build.27.jar
kubejs-forge-1902.6.1-build.348.jar
KubeJSREIRuntime-1.0.jar
kube-utils-forge-1.0.3+mc1.19.2.jar
laserio-1.5.2.jar
lava_sources_1.19.2_1.1.0.jar
LibX-1.19.2-4.2.8.jar
lootjs-forge-1.19.2-2.9.0.jar
MouseTweaks-forge-mc1.19-2.23.jar
Patchouli-1.19.2-77.jar
ponderjs-1.19.2-1.2.0.jar
PrettyPipes-1.13.6.jar
probejs-5.3.0-forge-hotfix.jar
REIPluginCompatibilities-forge-9.0.63.jar
resourcefulconfig-forge-1.19.2-1.0.20.jar
resourcefullib-forge-1.19.2-1.1.24.jar
rhino-forge-1902.2.2-build.268.jar
RoughlyEnoughItems-9.1.632.jar
scannable-MC1.19.2-forge-1.7.7+dc5ea09.jar
shutupexperimentalsettings-1.0.5.jar
SkyblockBuilder-1.19.2-4.2.15.jar
theoneprobe-1.19-6.2.2.jar
tinyredstone-1.19.2-4.1.5.jar
Additional Context
No response

I created a new world and the KubeJS scripts began working there. I namely copied over the waterlogged example and that that works fine, even when I remove .waterlogged().

The same script throws these same errors when I restart the game, even when it was working perfectly fine and created the desired effect beforehand.

Updated to createsifter 1.19.2-1.7.0.c-36 and the problem still persists

You have to use the KubeJS 6.1 example for the 1.19.2 version of the mod.

Yup, I used the KubeJS 6.1 example and it's also throwing that error. Specifically the following is a basic example of a line that causes the same error:
event.recipes.createsifterSifting([Item.of('minecraft:clay').withChance(0.5)], ['minecraft:sand','createsifter:string_mesh'])
I also went through my logs, and I found these relevant lines:
[04Aug2023 16:07:41.626] [main/WARN] [mixin/]: Reference map 'createsifter.refmap.json' for createsifter.mixins.json could not be read. If this is a development environment you can ignore this message
...
[04Aug2023 16:07:47.398] [modloading-worker-0/ERROR] [KubeJS/]: Failed to load plugin com.oierbravo.createsifter.compat.kubejs.KubeJSCreatesifterPlugin from source createsifter: java.lang.ExceptionInInitializerError

I'm not able to reproduce the bug with only create, kubejs, kubejs-create and the sifter mod.
Can you plz send the full error mc log? and kubejs server log too.

Alright, so something I did while trying to find a fix broke it even further, and I'm going to start from an earlier working version of my pack and build back up from there. I'll let you know later today or tomorrow if I can recreate it as well, and what caused it. Sorry for throwing such a vague error on you, and thank you for the quick response!

Ok!
Good luck and have fun!

Good news, I've figured out how to recreate the issue!
I had the KubeJS scripts set up and working fine, and then I installed the Wooden Hopper mod.
The first startup after installing it worked fine as well, but after closing and loading up the game again, none of the createsifter KubeJS scripts were recognized. This includes the custom mesh creation function which failed on startup, and even after removing that, the custom sifting scripts on server-side scripts.
Removing the mod made it work again, thankfully.
I have no clue what could be causing the issue, or how a mod as simple as Wooden Hoppers could cause this, but I hope this will help you reproduce the issue and figure out what's going on. Thanks!

its cool that you have found the problem but im having the same issue here and i have around 170 mods and probably will not find the mods causing the problem

Update: this behavior is happening now whenever I add any new mod to my modpack. Tree Squat Grow, Simple Graves, etc.
The only cause I can think of is that this only started after I added createsifter kubejs scripts. Going to experiment and see if removing them first helps.

Hi!
I'm blind without logs (mc and kubejs) and some steps or  way to reproduce the error.

here is my problem

startup.log
server.log
client.log
modlist.txt

if i revert back to create sifter1.5.5c it works so anything beyond that doesnt work

can you plz send the latest.log and debug.log from minecraft?

in the server.log I can see:
[18:41:25] [ERROR] ! #3: Error occurred while handling event 'ServerEvents.recipes': TypeError: Cannot find function toJson in object 'minecraft:redstone'. (server_scripts:createsifter.js#3)

you have to use the 6.1 example

can you plz send the latest.log and debug.log from minecraft?

latest.log
startup.log
and there is no debug log

thx!

plz try:
StartupEvents.registry('item', event => {
    event.create("test","createsifter:mesh").displayName("Amethyst mesh")
        .parentModel("createsifter:block/meshes/mesh")
        .texture("createsifter:item/custom_mesh")
        .texture("mesh","kubejs:item/test")
        .texture("frame","kubejs:item/test")
        .texture("particle","kubejs:item/test");
});

its late ive added you on discord ill send you a message

Just uploaded a new version... hope it resolves the issue.

yea that seemed to fix the problem

So far it's working well! I'll update if anything else comes up, thank you so much!

Thanks for your patience and time!


NaN predictions/gradients/losses in basic GAN training

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow):
No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Windows 10
TensorFlow installed from (source or binary):
Conda
TensorFlow version (use command below):
2.2.0
Python version:
3.7.9
CUDA/cuDNN version:
10.1.243
7.6.5
GPU model and memory:
RTX3080 10GB VRAM

Describe the current behavior
When training simple GAN models using the exact code from the documentation ("DCGAN" & "Writing a training loop from scratch"), the generator predicts "nan" after one or two training steps.
When debugging and looking at the gradients, I see that some layers' gradients have nan values
Describe the expected behavior
The model should predict actual numbers and not GANs, or 2 different documentation articles need to be fixed.
Standalone code to reproduce the issue
I can't reproduce it on Colab, but here's the code I run on my PC:
https://colab.research.google.com/gist/asaf92/8de8b9fc0e9e34c9079ebbe54f41e0b4/copy-of-gan-bug.ipynb
I get nan losses after the first epoch.
Other info / logs Include any logs or source code that would be helpful to
Connected to pydev debugger (build 202.7660.27)
2020-12-12 11:52:37.370048: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-12-12 11:52:40.950277: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library nvcuda.dll
2020-12-12 11:52:40.987435: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:65:00.0 name: GeForce RTX 3080 computeCapability: 8.6
coreClock: 1.71GHz coreCount: 68 deviceMemorySize: 10.00GiB deviceMemoryBandwidth: 707.88GiB/s
2020-12-12 11:52:40.988331: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-12-12 11:52:40.997389: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-12-12 11:52:41.004564: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-12-12 11:52:41.006971: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-12-12 11:52:41.013938: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-12-12 11:52:41.016784: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-12-12 11:52:41.028209: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-12-12 11:52:41.028663: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-12-12 11:52:41.030082: I tensorflow/core/platform/cpu_feature_guard.cc:143] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2020-12-12 11:52:41.049835: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1c04f8b7f70 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-12-12 11:52:41.050215: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-12-12 11:52:41.050521: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1561] Found device 0 with properties:
pciBusID: 0000:65:00.0 name: GeForce RTX 3080 computeCapability: 8.6
coreClock: 1.71GHz coreCount: 68 deviceMemorySize: 10.00GiB deviceMemoryBandwidth: 707.88GiB/s
2020-12-12 11:52:41.050776: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll
2020-12-12 11:52:41.051112: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-12-12 11:52:41.051189: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cufft64_10.dll
2020-12-12 11:52:41.051269: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library curand64_10.dll
2020-12-12 11:52:41.051347: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusolver64_10.dll
2020-12-12 11:52:41.051767: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cusparse64_10.dll
2020-12-12 11:52:41.051965: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-12-12 11:52:41.052387: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1703] Adding visible gpu devices: 0
2020-12-12 11:52:42.074102: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1102] Device interconnect StreamExecutor with strength 1 edge matrix:
2020-12-12 11:52:42.074197: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1108]      0
2020-12-12 11:52:42.074417: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1121] 0:   N
2020-12-12 11:52:42.075088: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1247] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 8454 MB memory) -> physical GPU (device: 0, name: GeForce RTX 3080, pci bus id: 0000:65:00.0, compute capability: 8.6)
2020-12-12 11:52:42.082271: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x1c004532730 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
2020-12-12 11:52:42.082872: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): GeForce RTX 3080, Compute Capability 8.6
Model: "discriminator"
_________________________________________________________________
Layer (type)                 Output Shape              Param #
=================================================================
conv2d (Conv2D)              (None, 14, 14, 64)        640
_________________________________________________________________
leaky_re_lu (LeakyReLU)      (None, 14, 14, 64)        0
_________________________________________________________________
conv2d_1 (Conv2D)            (None, 7, 7, 128)         73856
_________________________________________________________________
leaky_re_lu_1 (LeakyReLU)    (None, 7, 7, 128)         0
_________________________________________________________________
global_max_pooling2d (Global (None, 128)               0
_________________________________________________________________
dense (Dense)                (None, 1)                 129
=================================================================
Total params: 74,625
Trainable params: 74,625
Non-trainable params: 0
_________________________________________________________________

Start epoch 0
2020-12-12 11:52:43.175082: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cublas64_10.dll
2020-12-12 11:52:43.567573: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudnn64_7.dll
2020-12-12 11:52:46.072136: W tensorflow/stream_executor/gpu/redzone_allocator.cc:314] Internal: Invoking GPU asm compilation is supported on Cuda non-Windows platforms only
Relying on driver to perform ptx compilation.
Modify $PATH to customize ptxas location.
This message will be only logged once.
discriminator loss at step 0: 0.69
adversarial loss at step 0: 0.76

Start epoch 1
discriminator loss at step 0: nan
adversarial loss at step 0: nan

Start epoch 2
discriminator loss at step 0: nan
adversarial loss at step 0: nan

Start epoch 3
discriminator loss at step 0: nan
adversarial loss at step 0: nan

My initial guess would be that training is unstable because your GPU uses TensorFloat32, which has the same precision as half precision (10 bits).
In the case of half precision this instability is addressed by adaptively scaling the loss and weight updates inversely so that mathematically nothing changes but the available numeric ranges are better utilized.
Maybe try to use something like tf.mixed_precision.experimental.DynamicLossScale on the loss and gradients. See here for usage instructions.
Another problem may simply be that you are using Windows, as indicated by the warning you got.

I tried your solution and although it sometimes helps with eliminating the nans, it seems that RTX3080 requires CUDA11 which is not used by TensorFlow2.2 version.
There are many bugs with Cuda 10.1 and Ampere (RTX30xx) cards


Adds diagonal movement to SimplePathfindingAlgorithm class

Why do you keep closing this

The first time it was because I had a typo. The second time it was because I didn't want to keep the fork in my repos. If you want the code I can send it to you @ryleykimmel

Put it on gist

https://gist.github.com/DrowsySaturn/c551c7ee8a95bc6d4ef6 @ryleykimmel


Fix CI

Droplet shutdown failed and return errored
Add power_off in case of Droplet shutdown return errored

bors merge


Bring more attention to short reads/slices on Buff/BuffMut

The property the Buff and BuffMut can return shorter slice is quite an
important detail. Nevertheless, while it is mentioned in the
documentation, the wording makes it relatively easy to overlook. This
tries to bring more attention to it.

Hmm… changing only the doc comments should not trigger new address sanitizer errors I guess :-|

@vorner Thanks for the change!
The tsan warning is due to a change in std. I have a PR w/ a new whitelist.


Bug: Empty text node inserted after DecoratorNode at the root

Lexical version: 0.6.0
Steps To Reproduce
In certain setups with DecoratorNodes, an empty TextNode is being added where it shouldn't be.
Link to code example:
https://codesandbox.io/s/practical-aryabhata-iwy63q?file=/src/App.js
The current behavior
With the structure outlined in the above code example, an empty text node is added after ChapterTagsNode. It's not visible in TreeViewPlugin. Note that in below image, the node is focused, but TreeViewPlugin doesn't show where the selection is.

But the user is able to focus it and write text, which creates a new empty TextNode as child of the RootNode.

The expected behavior
No such "ghost" node should be added.

@Stopa I don't know if you have solved this to your satisfaction, but I forked it and quickly added some code that could help you solve it if you haven't gotten a chance to do it yourself yet. I figured it would only take a couple minutes.
I had to work with commands this weekend and suspected I found your problem along the way.
If you haven't seen it, I think this insertion is caused by the CONTROLLED_TEXT_INSERTION_COMMAND.
It seems to govern the insertion of the first piece of text on an otherwise empty line. You might have to handle more commands, too, such as the KEY_MODIFIER_COMMAND. I'm not sure. Thing is, once you muck around with Lexical's core commands, you have to handle all the related cases on your own, too. Try everything...!
I'm not sure the insertion behavior's a bug or just a rough edge that could be improved or better documented. Anyway, I saw you ask for expedited help in Discord, so figured... See the NoRandomInsertionsPlugin on line 91 for my take.
Hope it helps.
https://codesandbox.io/s/old-currying-nht5j4?file=/src/App.js:2688-2728
-j

We are clearly missing an invariant that should prevent the TextNode from being added to the RootNode.

We are clearly missing an invariant that should prevent the TextNode from being added to the RootNode. I'll see if I can tighten this up a bit.

lol.  I just hammered a fix into place, but I can see you're right..!

@Stopa I can't see an empty text node. I can see a
 though. If you mark your decorator as isInline() { return false } and wait for https://github.com/facebook/lexical/pull/3406, this should hopefully fix your problem.

@Stopa I can't see an empty text node. I can see a
 though. If you mark your decorator as isInline() { return false } and wait for #3406, this should hopefully fix your problem.

@trueadm you meant isInline() { return true } 🙂 ?

@denone This is a block element by looking at the codesandbox, so inline should be false.

@denone This is a block element decorator by looking at the codesandbox, so inline should be false.

Thanks, it works 👍

@trueadm thank you for clearing this up! @denone is my colleague who is dealing with this project currently so if he says it's fixed, this issue can be closed :)


fix: Some runtime environments cannot find the getNamedItem function

In some cases, there seems to be a problem where the getNamedItem method can't be found in the histoire where we might want to catch the error to avoid it

嘿@SGAMERyu; 你能分享这个的复制品吗？
也许在 PR 之前打开一个问题，我需要了解更多关于这个的信息！
另外，你能给我你的 Discord 吗？我非常感谢您对 Pinceau 的贡献，并希望与您进行更多讨论！

Oh, sorry, I'm new to open source time, and I'll follow these norms and processes later on. My discord username is sgamer#1216


Implement listLocatedStatus hdfs api

The default implementation of listLocatedStatus calls listStatus, then for each path, calls getFileStatus, and getBlockLocations. However, the Alluxio status includes the block locations, so this PR eliminates the 2 additional RPCs per path in the listing.

Merged build finished. Test FAILed.

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

Jenkins, test this please

Merged build finished. Test PASSed.

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

Merged build finished. Test FAILed.

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


ROX-22047: OCM integration form

Description
Similar to https://github.com/stackrox/stackrox/pull/9831, adds an integration form for OCM as a cloud source.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

This is late, sorry! Spelling it out is correct - Red Hat OpenShift Cluster Manager, approved short form OpenShift Cluster Manager - see product naming guide: https://docs.google.com/spreadsheets/d/1DLS_lS3VKidgZIvcLmLp9BoiqptkvqHWfe1D5FD2kfk/edit#gid=1375785039

/test ocp-4-11-ui-e2e-tests
/test gke-ui-e2e-tests

/test gke-ui-e2e-tests


[gui error report] SyntaxError: Unexpected end of JSON input

👉 Please describe what you were doing when this error happened.
Specifications

OS: win32 10.0.19044
IPFS Desktop Version: 0.27.0
Electron Version: 19.1.9
Chrome Version: 102.0.5005.167

Error
SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at parseOut (C:\Users\User\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\electron-updater\out\windowsExecutableCodeSignatureVerifier.js:86:23)
    at C:\Users\User\AppData\Local\Programs\IPFS Desktop\resources\app.asar\node_modules\electron-updater\out\windowsExecutableCodeSignatureVerifier.js:49:30
    at ChildProcess.exithandler (node:child_process:399:7)
    at ChildProcess.emit (node:events:526:28)
    at maybeClose (node:internal/child_process:1092:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)

I'm very sorry, but can't see how to do that. The readme says to find then by selecting Open Logs Directory or Open Configuration File in the Advanced submenu, but I can't see those options...
Sorry
Goodie
-------- Original message --------
From: Nishant Arora @.>
Date: 03/05/2023 07:20 (GMT+00:00)
To: ipfs/ipfs-desktop @.>
Cc: Goodebags @.>, Mention @.>
Subject: Re: [ipfs/ipfs-desktop] [gui error report] SyntaxError: Unexpected end of JSON input (Issue #2472)
Thanks for submitting this issue @Goodebagshttps://github.com/Goodebags, this looks like a weird update error, mind adding the additional logs that can be found herehttps://github.com/ipfs/ipfs-desktop#where-are-my-ipfs-configuration-and-log-files for better diagnosis?
—
Reply to this email directly, view it on GitHubhttps://github.com/ipfs/ipfs-desktop/issues/2472#issuecomment-1532499783, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5ER4NLK5NX5SWKSZWPVVA3XEH2JNANCNFSM6AAAAAAXQDP4BA.
You are receiving this because you were mentioned.Message ID: @.***>


Check for previous/existing GitHub issues/module proposals

[X] I have checked for previous/existing GitHub issues/module proposals.

Check this module doesn't already exist in the module indexes

[X] I have checked for that this module doesn't already exist in the module indexes.

Bicep or Terraform?
Terraform
Module Classification?
Resource Module
Module Name
avm-res-devopsinfrastructure-pool
Module Details
This is a resource module for Managed DevOps Pools. It is currently in public preview, but will be a great solution to have available ASAP.
API ref: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/devopsinfrastructure/resource-manager/Microsoft.DevOpsInfrastructure/preview/2024-04-04-preview/devopsinfrastructure.json
ARM example: https://learn.microsoft.com/en-us/azure/devops/managed-devops-pools/quickstart-arm-template?view=azure-devops
This will be leveraged in the avm-ptn-cicd-agents-and-runners pattern module.
Do you want to be the owner of this module?
Yes
Module Owner's GitHub Username (handle)
jaredfholgate
(Optional) Secondary Module Owner's GitHub Username (handle)
No response

Cross referencing the issue for the Bicep version: https://github.com/Azure/Azure-Verified-Modules/issues/1217

Mentioning @haflidif, who is already working on a Terraform MDP solution.

@jaredfholgate happy to collaborate with you on this 💯

@jaredfholgate happy to collaborate with you on this 💯

Hello again @haflidif. :) Sure, I have a meeting about it on Monday and will get in touch. If you have a repo for it already, please feel free to share.

@jaredfholgate happy to collaborate with you on this 💯

Hello again @haflidif. :) Sure, I have a meeting about it on Monday and will get in touch. If you have a repo for it already, please feel free to share.

I'll just wrap few commits and do a little clean up in the repo, I'll share as soon as possible

@jaredfholgate what do you think about the naming of the module, when I spoke to the PMs when I gave my repo a name, they liked the avm-res-devopsinfrastructure-managed-devops-pools - but maybe avm-res-devopsinfrastructure-managed-pools is more convenient ?

@jaredfholgate what do you think about the naming of the module, when I spoke to the PMs when I gave my repo a name, they liked the avm-res-devopsinfrastructure-managed-devops-pools - but maybe avm-res-devopsinfrastructure-managed-pools is more convenient ?

nvm saw a request to have the Bicep module named the same way you did, so I will change the name of my repo to reflect the naming in the proposal 😎

@jaredfholgate what do you think about the naming of the module, when I spoke to the PMs when I gave my repo a name, they liked the avm-res-devopsinfrastructure-managed-devops-pools - but maybe avm-res-devopsinfrastructure-managed-pools is more convenient ?

nvm saw a request to have the Bicep module named the same way you did, so I will change the name of my repo to reflect the naming in the proposal 😎

Yeah, we are supposed to follow the api naming for these modules and I think this is right, but the PM can confirm and I can rename the repo if needed.

@jaredfholgate Still work in progress, but here is what I have so far: https://github.com/haflidif/terraform-azurerm-avm-res-devopsinfrastructure-pools
I've done some unit-tests on it and it seems to go through and deploy what I want - I will include the unit-test later today

Hey @haflidif @jaredfholgate! Since we have to run the AVM Bicep/Terraform modules through automated tests I wonder what the best way is to have a connection to Azure DevOps. At some point in the deployment the user (in this case a SPN) that orchestrates the deployment needs to deploy an agent pool in an existing Azure DevOps organisation.
What are your views on this? Or is the approach different for Terraform?
cc @AlexanderSehr

Hey @haflidif @jaredfholgate! Since we have to run the AVM Bicep/Terraform modules through automated tests I wonder what the best way is to have a connection to Azure DevOps. At some point in the deployment the user (in this case a SPN) that orchestrates the deployment needs to deploy an agent pool in an existing Azure DevOps organisation.
What are your views on this? Or is the approach different for Terraform?
cc @AlexanderSehr

Terraform is already sorted as I had to implement a solution last week for Azure DevOps and GitHub. Basically, if you supply any GitHub variables or secrets that start with TF_VAR_, it will add them to the container environment, so you can declare variables in the examples (e2e tests) and supply them by this means.
For local testing use a tfvars file for e2e tests we have orgs that can be used and the owner can set the variables in the repo or environment.
For Bicep, I am unsure but could potentially follow a similar approach.

Hey @haflidif @jaredfholgate! Since we have to run the AVM Bicep/Terraform modules through automated tests I wonder what the best way is to have a connection to Azure DevOps. At some point in the deployment the user (in this case a SPN) that orchestrates the deployment needs to deploy an agent pool in an existing Azure DevOps organisation.
What are your views on this? Or is the approach different for Terraform?
cc @AlexanderSehr

Terraform is already sorted as I had to implement a solution last week for Azure DevOps and GitHub. Basically, if you supply any GitHub variables or secrets that start with TF_VAR_, it will add them to the container environment, so you can declare variables in the examples (e2e tests) and supply them by this means.
For local testing use a tfvars file. For e2e tests we have orgs that can be used and the owner can set the variables in the repo or environment.
For Bicep, I am unsure but could potentially follow a similar approach.

Having said that, I now see that it can't use a PAT and requires a principal of some kind to register the pool in Azure DevOps. I'll have to figure that part out... Can possible grant the MSI perms during the test run I think.

@jaredfholgate, I've changed the module's name in this proposal to its singular form (pools --> pool), since as per the naming convention for resource modules, the RT segment of the name must be in singular form.
@prjelesi, please make sure the singular form is captured when this proposal is triaged. Thanks!

Official public preview announcement from the PG: https://aka.ms/hellomdp

Hey @haflidif @jaredfholgate! Since we have to run the AVM Bicep/Terraform modules through automated tests I wonder what the best way is to have a connection to Azure DevOps. At some point in the deployment the user (in this case a SPN) that orchestrates the deployment needs to deploy an agent pool in an existing Azure DevOps organisation.
What are your views on this? Or is the approach different for Terraform?
cc @AlexanderSehr

Terraform is already sorted as I had to implement a solution last week for Azure DevOps and GitHub. Basically, if you supply any GitHub variables or secrets that start with TF_VAR_, it will add them to the container environment, so you can declare variables in the examples (e2e tests) and supply them by this means.
For local testing use a tfvars file. For e2e tests we have orgs that can be used and the owner can set the variables in the repo or environment.
For Bicep, I am unsure but could potentially follow a similar approach.

In Bicep we'll need to do something similar. As already discussed in a different location, we'll have to enable the BRM (ABM-Bicep) CI to dynamically pull secerets and pass them into templates. It should not be too complicated to implement, but needs to be aligned with the other Bicep maintainers. I hope we can get to discuss it tomorrow.

@matebarabas and @prjelesi This module has now been released here if you want to close this issue and update the index? It is here: https://registry.terraform.io/modules/Azure/avm-res-devopsinfrastructure-pool

As @PmeshramPM is managing TF module proposals at this stage, I'd like to ask him to follow up on the conclusion of this development. Thanks!

@jaredfholgate i supose that you agree to be owner of this module and to follow all roles and responsibilities as module owner?
We just want to confirm you agree to the below pages that define what module ownership means:

Team Definitions & RACI
Shared Specification (Bicep & Terraform)
Module Support

Any questions or clarifications needed, let us know!
If you agree, please just reply to this issue with the exact sentence below (as this helps with our automation 👍):
"I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER"
Thanks,
The AVM Core Team

I CONFIRM I WISH TO OWN THIS AVM MODULE AND UNDERSTAND THE REQUIREMENTS AND DEFINITION OF A MODULE OWNER

Hi @jaredfholgate
Thanks for confirming that you wish to own this AVM module and understand the related requirements and responsibilities!
Before starting development, please ensure ALL the following requirements are met.
Please use the following values explicitly as provided in the module index page:

For your module:

ModuleName - for naming your module
TelemetryIdPrefix - for your module's telemetry

For your module's repository:

Repo name and folder path are defined in RepoURL
Create GitHub teams for module owners and contributors and grant them permissions as outlined here.
Grant permissions for the AVM core team and PG teams on your GitHub repo as described here.

Check if this module exists in the other IaC language. If so, collaborate with the other owner for consistency. 👍
You can now start the development of this module! ✅ Happy coding! 🎉
Please respond to this comment and request a review from the AVM core team once your module is ready to be published! Please include a link pointing to your PR, once available. 🙏
Any further questions or clarifications needed, let us know!
Thanks,
The AVM Core Team


refactor: pred is now treated as union of number

Changelog

data structure of predictation is now number internally
split to some functions in predict process
add function toPred


Demo request: optimizing for mass/system identification

Dear Brax team,
Since Brax is fully differentiable, I thought it'd be possible to use it like DiffTaichi or GradSim for system identification (e.g. determining the mass of an object from a trajectory and known force) but I couldn't find any example for this.
Do you happen to have any demo or tips for this?
From the top of my head I would do something like this:
Let's say the task is to estimate the mass of a cube that received a push. The size of the cube is known, same as the friction coefficient, and the applied force.

Record a rollout of the positions of that cube after the push.
Reset the cube to its starting position and set the mass to a random value.
(a) generating a rollout, (b) measuring the MSE between new observed positions over time and GT positions, (c) calculate the gradient wrt to the mass property of the cube and applying that to the mass.
Repeat (3) until the loss increases.

Best,
Florian

Hello! I'm currently dealing with a similar issue. Have there been any recent advancements or updates on this matter?


Restful routing with Controller classes

If this is already do-able, but I couldn't figure it out, I apologize in advance.
I would like to be able to do something like this:
$models = ['order_requests','shipments','users'];

foreach ($models as $model) {
	//Kinda shitty way to convert order_requests to MyApp\Controller\OrderRequest
	$controller_name = '\\MyApp\\Controller\\'.substr(str_replace(' ','',ucwords(str_replace('_',' ',$model))),0,-1);
	$klein->with('/'.$model, function($router) {
		$controller = new $controller_name;
		$router->get('/?', function($req,$res,$service,$app) { return $controller->index($req,$res,$service,$app); });
		$router->get('/new/', function($req,$res,$service,$app) { return $controller->new($req,$res,$service,$app); });
		$router->post('/?', function($req,$res,$service,$app) { return $controller->create($req,$res,$service,$app); });
		$router->get('/[i:id]', function($req,$res,$service,$app) { return $controller->show($req,$res,$service,$app); });
		$router->get('/[i:id]/edit', function($req,$res,$service,$app) { return $controller->edit($req,$res,$service,$app); });
		$router->put('/[i:id]', function($req,$res,$service,$app) { return $controller->update($req,$res,$service,$app); });
		$router->delete('/[i:id]', function($req,$res,$service,$app) { return $controller->delete($req,$res,$service,$app); });
	});
}

Currently when I do this, I will get errors like "undefined variable $controller". If I try to pass $controller into the callback like:
function($router,$controller) {...}

It throws an error too. Not sure of the best way to go about this, or if it's even currently possible to do. Thanks for the help and this library is great. I was looking forever for a router that was light and didn't take forever to set up.

Hi @GreeKatrina.
From looking at your code it looks like you're just missing a small bit here, which you've seemed to catch on to considering your attempt to fix it.
PHP's "closure" implementation is pretty unique, in that the variables that are allowed to be accessed inside the closure have to be manually denoted. So it really looks like you just need to tell your closures to "use" the $controller variable from the parent scope... like this:
$controller = new $controller_name;

$router->get('/?', function($req, $res, $service, $app) use ($controller) { return $controller->index($req, $res, $service, $app); });
// ....

... Having said that, I wouldn't suggest dynamically building and calling classes in this manner. Doing things like this is quite "magical" and ends up hiding a lot of implementation details that might make it harder for a team member (or even yourself in a few months) to understand. This kind of behavior can also limit testability pretty heavily.
If you'd like to use a more dynamic approach without hiding the inner complexity while still allowing for a more testable setup, I'd suggest either manually defining all of the routes or using a factory pattern of some sort (kind of like what was described in #279).
I hope Klein suits your needs and you enjoy using it. :)

Thank you so much @Rican7. That was exactly what I needed. #279 is helpful also. I think I'll go with the Controller Factory as you suggested.

Oh awesome! I'm glad that helped. :)
Thanks for the kind words! Good luck with your project. :+1:


Feature scorecard exits with non-zero status when internal errors occur

Is your feature request related to a problem? Please describe.
Scorecard exits with an exit status of zero (0) under many circumstances: for instance when there are internal errors.
Scripts and pipeline which use scorecard cannot rely on the exit status when such errors occur.
This can be repeated in situations when scorecard encounters (primary) API rate limits or secondary rate limits which actually impact the aggregate score (which itself is an issue). But this is not the only situation--this also occurs when the API returns other codes (like 400).
These are json excerpts which have occurred yet scorecard exists with zero (0).
"reason": "internal error: internal error: Client.Search.Code: Search.Code: GET https://api.github.com/search/code?q=github.com+lib+pq+repo%3Agoogle%2Foss-fuzz+in%3Afile+filename%3Aproject.yaml: 403 You have exceeded a secondary rate limit. Please wait a few minutes before you try again. []",
"score": -1

"reason": "internal error: Client.Repositories.ListStatuses: internal error: ListStatuses: GET https://api.github.com/repos/klauspost/cpuid/commits/1a4ea4da476f4e8e458f01a6f629a2cc89bc3027/statuses: 400  []",
"score": -1

"reason": "internal error: Client.Checks.ListCheckRunsForRef: internal error: ListCheckRunsForRef: GET https://api.github.com/repos/klauspost/cpuid/commits/7185e1a0afa86733f29f5a476fd969fc81766853/check-runs: 400  []",
"score": -1

It should be noted here that some of the 400 responses, when scorecard is repeated after seeing the 400, it may not occur again.
Describe the solution you'd like
scorecard should exit with a non-zero (0) status when internal errors and other anomalies are encountered. exit status of zero should be reserved for successful runs.
Describe alternatives you've considered
Searching the results from scorecard for "known" anomalies and ignoring the exit status. Such as searching for values like "internal error" in the reason tag/key.
Additional context
Add any other context or screenshots about the feature request here.
On the day scorecard was run against a specific repo, the secondary rate limit kicked in and resulted in a different aggregate score for github.com/lib/pq:
Also - please notice below that because of the "internal error" the aggregate score has been tainted.
$ jq -r '(.repo.name)' ../scw/pq.*json
github.com/lib/pq
github.com/lib/pq

$ jq -r '(.score)' ../scw/pq.*json
5.6
5.3

$ diff ../scw/pq.*json
90,91c90,91
<             "reason": "internal error: internal error: Client.Search.Code: Search.Code: GET https://api.github.com/search/code?q=github.com+lib+pq+repo%3Agoogle%2Foss-fuzz+in%3Afile+filename%3Aproject.yaml: 403 You have exceeded a secondary rate limit. Please wait a few minutes before you try again. []",
<             "score": -1
---
>             "reason": "project is not fuzzed",
>             "score": 0
200c200
<     "score": 5.6,
---
>     "score": 5.3,
203c203
<         "version": "v4.4.0-60-g69eb1cc-dirty"
---
>         "version": "v4.4.0-60-g69eb1cc"

"version": "v4.4.0-60-g69eb1cc-dirty" is the native go binary for scorecard clone/built from GitHub; while "version": "v4.4.0-60-g69eb1cc" is the gcr.io/openssf/scorecard:latest from 4 days ago
$ sudo docker run gcr.io/openssf/scorecard:latest version
./scorecard: Security Scorecards
GitVersion:    v4.4.0-60-g69eb1cc
GitCommit:     69eb1ccf1d0cf8c5b291044479f18672bf250325
GitTreeState:  clean
BuildDate:<PHONE_NUMBER>
GoVersion:     go1.16.7
Compiler:      gc
Platform:      linux/amd64
$ ./scorecard version
./scorecard: Security Scorecards
GitVersion:    v4.4.0-60-g69eb1cc-dirty
GitCommit:     69eb1ccf1d0cf8c5b291044479f18672bf250325
GitTreeState:  dirty
BuildDate:<PHONE_NUMBER>
GoVersion:     go1.18.4
Compiler:      gc
Platform:      linux/amd64
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"

@spencerschrock this seems to fall under the general theme of "making scorecard a better dependency / library". Do you want to take a stab at it?

Sure, I can take a look. The exit status should be an easy fix.
The impact of internal errors on scores is something I will defer to you @laurentsimon. Is this intended behavior when an API limit is hit (or for any internal error)? Should the whole run be considered an invalid result? Is it up to the consumer? WDUT?

#2133 does not address the scoring inconsistencies, but at least returns a non-zero exit code

does not address the scoring inconsistencies

would y'all suggest (then) that I create another issue regarding "scoring inconsistencies"?
thinking more about this, is this: if in my pipeline I get a non-zero exit, the tendency would be to ignore the (aggregate) score and (possibly) re-run scorecard. The corollary being: a zero status means (for me) that I can use the (aggregate) score in downstream analysis/risk activities.
I would be interested in hearing another perspectives--perhaps re-aligning my thinking!

I think non-zero value means the run failed, which means the results can be discarded. I agree with your thinking.
@spencerschrock did you have something in mind?

just one more "piece" for the calculus here.
Interesting in that above, where the internal error did occur resulting in a "local" score of -1 (negative one) for fuzzing, the aggregate score improved from 5.3 (where the fuzzing test deduced no fuzzing was in use) to an inflated 5.6 (with the internal error).
Now that scorecard indicates an error (non-zero exit) should make this point moot--but if (seemingly) any check returned a -1 could result in an unexpected aggregate score inflation (perhaps this is an orthogonal concern)
I look forward to re-running my regression

The corollary being: a zero status means (for me) that I can use the (aggregate) score in downstream analysis/risk activities.

👍

non-zero value means the run failed, which means the results can be discarded

I think this makes sense. But will it be confusing to users who don't check exit codes? Should we be returning anything when a runtime error occurs? For example, in Go it's idiomatic to zero out other return values if there is an error.

tendency would be to ignore the (aggregate) score

I kept the existing behavior (outputting any results even with runtime errors) mainly out of backwards compatibility, but this is one argument for why returning partial results makes sense: individual scores could still be used

in Go it's idiomatic to zero out other return values if there is an error.

if you follow the Go tutorial at https://www.digitalocean.com/community/tutorials/handling-errors-in-go the same is explained stating (in part): "When returning an error from a function with multiple return values, idiomatic Go code also will set each non-error value to a zero value." going on to state "0 for integers" (I think I read that correctly)
So in the case above where there was an error (an internal error) for the fuzzing check:

<             "reason": "internal error: internal error: Client.Search.Code: Search.Code: GET https://api.github.com/search/code?q=github.com+lib+pq+repo%3Agoogle%2Foss-fuzz+in%3Afile+filename%3Aproject.yaml: 403 You have exceeded a secondary rate limit. Please wait a few minutes before you try again. []",
<             "score": -1

Such a specification would seem to say, in this case for the fuzzing check that 0 should be returned rather than -1 (with an error returned). Again, in this case, then, I suspect with the error returned and the score (then) zeroed the aggregate score would not have been inflated.

I kept the existing behavior (outputting any results even with runtime errors) mainly out of backwards compatibility, but this is one argument for why returning partial results makes sense: individual scores could still be used

But as you rightly indicated, this is a change in behavior. I suspect that is because for scoring 0 is a valid (and determinate) score as being the lowest score in a valid range. So this is a bit of a poser (puzzling question): Go (pun unintended) against idiomatic Go and preserve existing behavior for those test that do not test for error conditions (on exit) and maintain backwards compatibility OR (one alternative) indicate that checks that do error out (resulting in non-zero exit status) are skipped or otherwise NOT included in the aggregate score--but this would most likely break backwards compatibility.
It does seems strange, though, that an error like seen in the fuzzing check, would actually improve a project's overall aggregate score. In the least, the erroneous score(s) could be excluded from the aggregate score, and non-zero exit condition would be signaled (new feature), and the "score": -1 could stand with the stated "reason":
(just a thought)

Since the aggregate score would be invalid due to the runtime error,  the "zero-value" I had imagined was at the entire scorecard level, meaning no JSON (or other format) output at all. Something that heavy-handed would probably need to be discussed in the biweekly OSSF Scorecard meeting.

scoring 0 is a valid (and determinate) score as being the lowest score in a valid range

Yes, that was the reason for InconclusiveResultScore = -1, which in my opinion makes it a more appropriate zero-value despite the obvious name mismatch.

Go (pun unintended) against idiomatic Go

pun appreciated

I hope to sit in on the next biweekly - when ready, I can re-run my regressions.


Just store pk in json

In the current sample this reduce the file size up to 90% and the speed improvement is about 70%-80%.

and if you compress this json file ? I would be really interested in results

@yvz5 we could make compression optional. Would be easy.

@yvz5 https://github.com/simplic/simplic-tablemonitor/issues/5


Add hal::soft::serial_mirror

A driver that is a serial port and takes N number of serial ports. When write is called on this driver, this driver writes to all downstream serial ports. This can be used for debugging purposes when you don't have access to a logic analyzer and want to stream serial data to the console serial port or other ports. And example of this can be found in libhal-esp8266/demos/applications/helper.hpp

.take


clojure: 1.8.0 -> <IP_ADDRESS>3, new tools!

Motivation for this change
Instead of ad-hoc wrapper around Clojure jar, this uses new Clojure CLI, see: https://clojure.org/guides/deps_and_cli
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] 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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

ack, @yegortimoshenko I merged a different clojure PR! Would you like to rebase this against master?

Oh well, no one between #32527, #32700 and this PR wants to build Clojure from source.

@orivej I'll do that!

@orivej Done, check it out. It does not build actual Clojure from source, because it's only a dependency of clojure-tools (which is what is packaged here), but it does build clojure-tools from source.
Even if we do build Clojure from source, new tooling fetches all project dependencies from Maven, so it will be replaced with a Maven version.
To build Maven artifacts from source, we would need something much more advanced.

@grahamc Rebased!

That's dismaying, I'll see if I can fix it.
clj does not work when rlwrap is not available in PATH and #32527 has fixed that, but I don't mind if we don't because the error message is clear (“Please install rlwrap for command editing or use "clojure" instead.”), the dependency is optional and it introduces dependencies absent from the clojure closure.

I also ended up concluding that the existing maven support in nix wasn't quite ready for primetime, and that mvn dependency:go-offline was incomplete.  So I took a similar approach of first running the build outside of nix and then capturing the state of the local repo.  However in my approach that bootstrapping build is done once outside of the nix expression and produces a declarative description of what's needed.  See https://github.com/NixOS/nixpkgs/issues/19741#issuecomment-346225816 and following for details.

@jerith666 I think it'd be very burdensome to maintain.
Double build isn't very important to fix as Java projects build fast. It is be possible to fix this problem replacing project files with some dummies so that plugins would trigger and package a fake jar (package presumably being the only phase we're interested in).

I'm not sure it's any more burdensome.  In both cases, if any dependency changes, you have to re-run the build outside of nix and capture a new blob of data about the new dependencies -- in your approach, a combined checksum, in mine an exploded-out list of checksums.  But either way you just drop in the new generated thing and move on.

I'm not sure it's any more burdensome. In both cases, if any dependency changes, you have to re-run the build outside of nix [...]

You just invalidate fetchMaven sha256, and run nix-build. It will try to fetch (and currently, build), then it will show the new checksum. No need to do anything outside of Nix.

Most dependencies end up in uberjars. Also, Nix can dedupe these jars via nix-store --optimize if necessary.
Replacing (reimplementing) native Maven fetcher is a bad idea: your fetcher won't handle classifiers, Maven repositories other than Central, exclusions, and probably a whole bunch of other  corner cases: https://maven.apache.org/plugins/maven-dependency-plugin/usage.html

@orivej

clj does not work when rlwrap is not available in PATH and #32527 has fixed that, but I don't mind if we don't because the error message is clear (“Please install rlwrap for command editing or use "clojure" instead.”), the dependency is optional and it introduces dependencies absent from the clojure closure (readline and ncurses).

What if we move clj to a separate derivation (or output)?


If the output of ETK >= 10MB, warn users

Closing this as Pedro mentioned we are going to strip out everything except KG


[SAAS-1479] split kube controllers

Could you please update the title and description to be more explicit about about what this PR is for.


Multi process schema inference

Included the addition of a new SchemaManager class for infer the schema during downloads, and did updates to the load_dataset function to handle existing keyword arguments, and various improvements to error messages and logging.
New Features:

Added SchemaManager class to handle schema gathering during downloads and integrated it into the src/biosets/download module. (src/biosets/download/__init__.py, src/biosets/download/schema_manager.py) [1] [2]

Function Enhancements:

Updated load_dataset function to check for existing keyword arguments before updating with new ones. (src/biosets/load.py) [1] [2]
Modified _split_generators in biodata.py to use SchemaManager for schema management when certain conditions are met. (src/biosets/packaged_modules/biodata/biodata.py)

Error Messaging and Logging:

Fixed where logs didn't have line breaks when a progress bar is present. (src/biosets/packaged_modules/biodata/biodata.py) [1] [2] [3] [4] [5] [6] [7] [8] [9]

Need tests for sharded files with different schemas


Feature/offline support

Adds serverless-offline and amazon/dynamodb-local for local development
Adds a config file for managing local configuration and dotenv for loading it in
Some automated formatting changes (thanks prettier!)

Running:
npm run dev

will now:

Start the local API
Start local DynamoDB via Docker
Start DynamoDB Admin

Thanks @chrishutchinson,
The benifits are huge so I'm going to merge this and fix the WSL issues from there


Expose the Scroll Controller of a scrollable TabBar

Use case
Exposing the Scroll Controller of a TabBar with isScrollable: true, will let developers apply custom behavior based on the scroll.
In my case, it was necessary to apply a Gradient Mask (Container with LinearGradient in Stack) over the TabBar to indicate to the user that there are more elements out of screen.
Example:

There was already an issue about it, but it has been closed (https://github.com/flutter/flutter/issues/64880)
Proposal
It can be made in many ways, two of them can be:

As a parameter, we can provide our own ScrollController. If null, we can check the presence of a PrimaryScrollController. If null, fallback to the _TabBarScrollController already provided
Through a key, access to the State of the TabBar, making _scrollController public

The ScrollController used internally for TabBar.isScrollable is a unique subclass of ScrollController, _TabBarScrollController, which also has a custom ScrollPosition, _TabBarScrollPosition. Since these are private currently, this proposal would entail exposing these in some way.
Maybe this can be a nullable property on TabController that allows users to provide a scroll controller, else the default one is used, not sure.

Is there a way to access it as of now? Or achieve a similar effect?


[BEAM-2609] refine UDF interface

A proposal solution for UDF interface.

R: @xumingming @takidau @jbonofre

Changes Unknown when pulling a49e47830e5689b9b392d23813626b1cf9636ca6 on XuMingmin:BEAM-2609 into ** on apache:DSL_SQL**.

Do not quite understand the purpose of BeamSqlUdf, seems no methods defined in it, and so it can not restrict what methods user need to implement.

In Java we cannot define a static eval method with variable parameters, --maybe I miss some features.
However with an interface here it helps to centralize the usage of UDF, and enable to load UDF classed automate in BEAM-2445(for BeamSqlCli I think);

R: @jbonofre


Text selection in a reversed ListView in combination with a text input is buggy

Steps to reproduce

Add a Selection Area
Add a ListView with multiple text widgets and reversed: true as child
Open the keyboard
Press and hold on some text to select it => the keyboard will lose focus and gets closed, the word you pressed gets marked
extend the selection, and you will see that the selection is buggy until you reach the position on the screen where you started the selection while the keyboard was still open

Remove the reversed and everything will work fine as the ListView content will not move with the keyboard.
For a minimal working example, see the link below. In the example, you can change the reversed flag by a toggle in the AppBar.
Expected results
The selection should just work as expected after the keyboard has closed. The fact that the selected text is then at a different place on the screen should not change the behavior.
Actual results
The text is not selected until you reach the original position of the selected text. After you reached that once, everything is working as expected again.
Code sample
Code sample
Demo repo on github
import 'package:flutter/material.dart';
import 'package:flutter_lorem/flutter_lorem.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Selection Demo'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  List<String> messages = [];

  var reversed = false;

  final controller = TextEditingController();

  @override
  void initState() {
    // Add initial messages with lorem ipsum text.
    for (int i = 0; i < 10; i++) {
      _addMessage();
    }

    super.initState();
  }

  @override
  Widget build(BuildContext context) => Scaffold(
        appBar: AppBar(
          backgroundColor: Theme.of(context).colorScheme.inversePrimary,
          title: Text(widget.title),
          actions: [
            Padding(
              padding: const EdgeInsets.all(8.0),
              child: Row(
                mainAxisSize: MainAxisSize.min,
                children: [
                  const Text('Normal'),
                  Switch(
                    value: reversed,
                    onChanged: (value) => setState(() => reversed = value),
                  ),
                  const Text('Reverse'),
                ],
              ),
            ),
          ],
        ),
        body: Padding(
          padding: const EdgeInsets.all(8.0),
          child: Column(
            children: [
              Expanded(child: _buildContentContainer()),
              _buildInputWidget(),
            ],
          ),
        ),
      );

  void _addMessage([String? message]) =>
      messages.add(message ?? lorem(paragraphs: 1, words: 25));

  Widget _buildContentContainer() => SelectionArea(
        child: ListView.builder(
          reverse: reversed,
          itemCount: messages.length,
          itemBuilder: (context, index) => Message(message: messages[index]),
        ),
      );

  Widget _buildInputWidget() => SafeArea(
        child: Padding(
          padding: const EdgeInsets.all(8.0),
          child: Row(
            children: [
              Expanded(
                child: TextField(
                  controller: controller,
                  decoration: const InputDecoration(
                    border: OutlineInputBorder(),
                    labelText: 'Message',
                  ),
                ),
              ),
              IconButton(
                onPressed: () {
                  _addMessage(controller.text);
                  controller.clear();
                },
                icon: const Icon(Icons.send),
              ),
            ],
          ),
        ),
      );
}

class Message extends StatelessWidget {
  const Message({
    super.key,
    required this.message,
  });

  final String message;

  @override
  Widget build(BuildContext context) => Padding(
        padding: const EdgeInsets.all(8.0),
        child: Card(
          child: Padding(
            padding: const EdgeInsets.all(8.0),
            child: Text(message),
          ),
        ),
      );
}

Screenshots or Video

Screenshots / Video demonstration
https://github.com/flutter/flutter/assets/29251617/1d4a8a84-6c5a-4943-b083-239fc3cf2dea

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.16.6, on macOS 14.2.1 23C71 darwin-arm64, locale de-DE)
    • Flutter version 3.16.6 on channel stable at /Users/A1D678A/development/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 46787ee49c (2 days ago), 2024-01-09 14:36:07 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/A1D678A/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b829.9-10027231)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2022.3)
    • 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.6+0-17.0.6b829.9-10027231)

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

[✓] Connected device (4 available)
    • Pixel 8 Pro (mobile)       • 37071FDJG0008D                       • android-arm64  • Android 14 (API 34)
    • iPhone 15 Pro Max (mobile) • 61F56D74-8A51-4511-B398-5E7D389E6493 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 120.0.6099.216

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

• No issues found!

Thanks for the report. Reproduced this issue on master channel as well.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.16.7, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.16.7 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ef1af02aea (6 hours ago), 2024-01-11 15:19:26 -0600
    • Engine revision 4a585b7929
    • Dart version 3.2.4
    • DevTools version 2.28.5

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.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.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 120.0.6099.216

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

• No issues found!

[!] Flutter (Channel master, 3.19.0-4.0.pre.41, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.19.0-4.0.pre.41 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e20e95100d (48 minutes ago), 2024-01-11 19:00:06 -0800
    • Engine revision 44a0a6ee4d
    • Dart version 3.4.0 (build 3.4.0-16.0.dev)
    • DevTools version 2.31.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.14.3

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

[✓] Android Studio (version 2023.1)
    • Android Studio at /Applications/Android Studio Hedgehog.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.7+0-17.0.7b1000.6-10550314)

[✓] Android Studio (version 2022.2)
    • 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
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

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

[✓] Connected device (3 available)
    • RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos            • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)     • chrome           • web-javascript • Google Chrome 120.0.6099.216

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

! Doctor found issues in 1 category.

Oh, I've also encountered this problem. Is there a solution to this problem now


feat(password): reflect changes in random password generation

PR Checklist

[x] Leverages formatting as provided by https://squidfunk.github.io/mkdocs-material/reference/abbreviations/
[x] Have viewed and verified edits in rendered form ensuring proper formatting

What are you changing?

Changes tutorials and examples involving random password generation for MPS, AMT and MEBX passwords.
Anything the reviewer should know when reviewing this PR?

@Craig-Spencer-12 These UI changes are slated for LTS, right? We'll hold this PR till we bump master to 2.0


Merge 3.x branch to master

Currently master is far behind and 3.x is the most stable version with the vast majority of people using. We should merge 3.x to master so we can be close to trunk with future versions of C*.

I'm not sure if this is helpful, but in attempting to do this, I felt that I wanted to know what changes from master are not in 3.x to have an expectation about what a merge would look like, so I analyzed the commits in master to see if they are in 3.x. Not sure if I'll get to actually resolving the conflicts soon, so putting the analysis here:

939f101 - common ancestor
7faf8f8 same as a87fc92
2701ac1 same as 0332722
f1d1ff6 part of d0b8817 (together with 49865ab is super set of d0b8817). d0b8817 missing tests from f1d1ff6. Probably want to keep 3.x main changes and test from master
d224e53 subset of 2d812fe (4025433 had a bit of the build.gradle changes in 2d812fe). convention.gradle still exists in 3.x so probably should take the deletion from master
36f9756 merge of d224e53
49865ab part of d0b8817 (together with f1d1ff6 is super set of d0b8817). Note grecco-gn's comment about broken tests. Might be fixed in 8e7405b or 91c1cbe)
91c1cbe mostly 1668b14 (e74c114 pulled in BackupServletTest changes to 3.x, e9e41c1 consolidated dependencies, so only one dependency upgrade was needed in 3.x)
185f5ed not in 3.x
b968a0f Logging improvement not in 3.x.
bd8ff08 not in 3.x
e0bbaab same as 95fae45 (then 3.x removed the 2.x build status in 852da8b)
ade46d8 merge of 91c1cbe
d2823a7 same as combination of 5f79daa and 6096daf
aad9761 same as e9e41c1
ac6888a subset of d7e680e
859fe9d cassandra version change that we won't want
3f9a285 subset of 1668b14
39ca866 merge of 91c1cbe, bd8ff08, d2823a74, aad97614, ac6888a4, 3f9a285f
d5ab3f6 same as f8bdf40 (although 3.x did it to DeadTokenRetriever, as the code was moved into their prior)
fe8de4b merge of d5ab3f6
ba0832d same as fcea6f9 and 22b3bf3
a588572 merge of ba0832d
89a8973 same as 6f3dbd5, 0716eda, and f99ee7d
b1f2c2c merge of 89a8973
b4ce9fe same as b4a2151
fba4e17 merge of b4ce9fe
cd9c685 mostly subset of 2d812fe, 1e01def, and c7ab54a. d224e53 was the rest. master IncrementalMetaData dropped a try-catch (dunno why). 3.x commented out cassandra admin netstats and scrub, and temporarily broke JMXNodeTool repair, cleanup, and flush (TODO find where this was fixed in 3.x)
0bc4a32 merge of cd9c685
01182c1 Logging improvement not in 3.x. File (TuneCassandra) moved in 3.x
092f279 subset of 6964369
88f73fa merge of 01182c1
9a5c05c Logging improvement not in 3.x.
33f9bea merge of 9a5c05c
4d5ff63 merge of b968a0f
74ae67e build logging differences not in 3.x. gradlew changes in lines removed in 3.x. gradle changes less than 3.x (so probably just want the 3.x version)
4406cbe merge of 74ae67e
27a2d12 same as f74d933
f6cac6a merge of 27a2d12
45d56fb dependency upgrades mostly subset of 1474cb8b
2e34fbc merge of 45d56fb


What is the maximum amount of data that can be stored within a message?

for example could whatsat handle sending html? or other file types?

No, the absolute max is the max size of the onion blob, 1300 bytes including routing data.


websocket seems not work

I am trying to run websocket agent to connect to the controllert, but the websocket seems not work ont the controller side.

It seems the ws-adapter failed to connect port 8080 on websockets.

Hello @ArthurGing , i believe this was solved in this PR: #246PR

It's now a socket.io issue. It appears that the frontend is attempting to create a WebSocket but failing. This only occurs on a remote VM and the initial page will be skipped.


I was unable to link the  ui which is showing error

I had an error while deployment the ui
I Guedes I have to set the path to the folder where I place so kindly help me with that

how to deploy with existing chatbot I had tried but it is saying models not deployed

It shouldn’t matter where the chatbot widget lives, or what server it is deployed to.  The chatbot widget interacts with the Rasa server via an api, so as long as you’ve deployed the bot properly and changed the url in the widget code, it should work.
Have you tried getting it to work locally on your machine first?

sir do you how to change the rasa into docker i have resloved the issue but it runs with the webhook right i want it on docker and run on my local host to deploy it on gcs do you have any suggestion or vidoes to how to do it


Add Banker's algorithm implementation in C++.

Add Banker's algorithm implementation in C++.
This pull request adds an implementation of the Banker's algorithm in C++. The Banker's algorithm is a resource allocation algorithm that can be used to prevent deadlocks.
The implementation in this pull request is based on the following pseudocode:
initialize the available resources
initialize the maximum demand of each process
while all processes are not finished:
find a process that is not finished and whose need is less than or equal to the available resources
allocate the resources to the process
remove the process from the list of processes
if all processes are finished:
the system is in a safe state
else:
the system is in an unsafe state
The implementation in this pull request also includes a function to grant a resource request to a process. This function checks if the request is within the process's maximum demand and if the system is still in a safe state after granting the request. If both conditions are met, the request is granted.
I have tested the implementation and it seems to be working correctly.
I would appreciate it if you would review my pull request and let me know if you have any feedback.

Please use the given PR format.


Replace static methods _find_txt and convert with their equiv from napalm_base.helpers

@dbarrosop this will be a part of the cleanup/hackaton too

Fixed via https://github.com/napalm-automation/napalm-junos/pull/44