fix: Bugfix kubernetes configmap update

Description
Just Bugfixing an issue with kubernetes provider
Motivation and Context
I need to add auth role for admin control
Breaking Changes

How Has This Been Tested?

[x] I have updated at least one of the examples/* to demonstrate and validate my change(s)
[x] I have tested and validated these changes using one or more of the provided examples/* projects

[x] I have executed pre-commit run -a on my pull request

Thank you for the PR @matisilva - however, we do not embed providers within the modules. Providers are left up to users to configure

@bryantbiggs you are currently using that provider in an implicit way.  Adding this piece of code lets you use the resource. Otherwise the system tries to use the kubectl config in your system that would be not the same as the one needed for the cluster created.  It is needed to reconfigure the provider with the newly created cluster. Please re consider the fix otherwise the aws-auth customization is going to fail.

@matisilva that is how providers are handled in Terraform https://www.terraform.io/language/providers/configuration#provider-configuration-1

Yeap but the porblem here is that you are using a composite module  with two steps

eks creation
kubernetes role customization

For 2) you need to reconfigure your provider with the values of the recently created cluster.
There is no other way to make this work.  I cant setup the provider with future values of the eks cluster nor either leave it blank (it wont be changing role of the respective cluster it is going to be using my local config) Please re consider this deply or give me a way to  asign an extra role to manage the cluster from code..

https://stackoverflow.com/questions/69655605/configmaps-aws-auth-not-found/72313033#72313033 Lot of people is having the same issue..  If you have something in mind is ok for me but make it explcit how it should work

Have you looked at the examples provided in the repo?

Ok let me try that way

My apologies for the misunderstanding. You were right. Thanks for the answers.!


SRR upload needed on Variation service GUI

All services that upload fastq files should have this.

Similar issue here -- this is not just a UI issue. we have a duplicate ticket (#2019) on this. Looks like the back-end service does not support SRR yet.

Looks like this has already been fixed.


Remapping <C-> cause problem in page

As title, I have remapped <C-\> to other use, and it turns out to have problem when I use neovim as a pager.

Maybe it's due to the fact that page uses :term buffer underneath?
But still map <C-\> :echo aaa<CR> works for me in neovim 0.7
Could you check if it persists with page 3.0 version which I've recently published?

Or you may need tmap so your mapping would work in terminal buffer. Anyway, I think there's nothing wrong on page side.


Webdriver: added --timeout options for MochaJS.

How to use:
./node_modules/.bin/webdriver  [-t | --timeout]
mochajsParams variable is array with objects. Every object has name of switcher, required and in case --timeout switcher properties minValue and default.
Property/switcher --timeout must be defined. In case if will be undefined, will be automatically set default value form mochajsParams. Added rules for --timeout property, that --property must be greather than 5000ms.
This part of webdriver must be refactored. All source code with solutions switchers 3rd-party.

@jaroslav-kubicek pls CR


Change the linting sections in yaml to support molecule v3

Resolves #109
Going by the documentation here: https://molecule.readthedocs.io/en/latest/configuration.html#lint  I made the changes.  I'm unable to get my forked copy to show up on my TravisCI, so I will submit this PR and see whether it fixes the molecule step

HAHA, well that snowballed, we have around 700 lines of failed linting

Let me at least fix the low hanging fruit and see what happens...

I think the change above should pass now, let's see the Travis Results....
@mew2057  Going to need you to take a closer look at the test_local/playbook.yaml file changes, as I'm not sure if I did the block logic correctly and/or the include_tasks/playbook at the end...   Thanks

If I can get this Travis CI to run on the latest commit, I think it's failing on the next linter.

Found the offending code in travis.yml:
- python hacks/change_deploy_image.py -i ${OPERATOR_LOCAL_IMAGE} --ifnotpresent

In particular it's this line in the script
yaml.dump(opobj, outfile, default_flow_style=False)

Working on  a solution, we need this script  for the tests to actually run, might need  to rewrite it.

I'm not gonna rewrite the script now, the better path will be to use an ansible task to handle this.

Added the last 4 commits which do the following:

create a playbook to replace the quay.io path for the operator
remove ansible-lint and flake8 for now, so we can get this linting successful again
remove references to the change_deploy_image.py to the .yml file (and deleted it)

HAHA! Thanks @mew2057!  Finally...


Newsletter 28 - November 2021

Newsletter 28: November 2021
tags: newsletter
Editors: @AngelOnFira, @17cupsofcoffee, and @ozkriff
Another month has gone by, so it's time to put together the Rust Gamedev newsletter with November news!
If you want to help writing the newsletter:

Read CONTRIBUTING.md.
Grab some of the "🆓 free" sections by leaving a comment like "I'd like to work on {section_name_1} and {section_name_2}".

The links in brackets (like "1, 2, 3") are suggestions of links to include in the section. Feel free to add more!
Mentions in brackets (like "🆓 free (@ozkriff?)") are just a suggestion of who could pick the work up - it's not an obligation, and other people are welcome to take those sections.
Extra sections not listed in the plan are welcomed - just leave a comment and open a PR!

Write a short overview:

Use provided links as a starting point.
Try to maintain a consistent style with the rest of the newsletter and run markdownlint (lint errors will fail the CI build).
Insert line breaks (softbreak) at 80 chars, please.
Leave a comment or DM me on Discord if you have any issues.

Send a PR to the source branch (example: #336)

Mention this issue in your PR's description to link it all together.

As with the last few newsletters, we're trying to delegate the writing workload where we can - to quote @AngelOnFira from a few months ago:

We're also going to be transitioning to having authors or volunteers write about their own content, rather than the editing team doing it all at the end 💯 This means if you want to see your work in the newsletter, you have to write it yourself! If you're not able to write about your work, feel free to comment and I can assign it 🆓 free. We're working on taking some of the load off the editing team where we can with this. Best to keep this sustainable!
Also, we want to make sure contributing to the newsletter feels open to anyone who wants to write a section about their project. If you have anything you can write about, just add a comment to this issue and I'll add it to the todo list 😄

Current Schedule
The soft deadline for all section PRs is the 5th of December. PRs will usually be accepted as long as they are ready before the newsletter's release, but the earlier the better :)

⚠ The most important formatting/style rules from CONTRIBUTING.md:

Only one image (<300kb) or GIF (<2.5mb) before the text, with an optional caption and mandatory alt text for accessibility.
All the rendered text should be under 1000 characters (including spaces and punctuation) and under 6 paragraphs (without any subsections, etc).
No bold/italic/etc formatting - only links and one plain list without nesting per section (multiple lists are allowed if your project consists of multiple parts that aren't independent enough for their own sections).
Third-person perspective.
80 characters per line and no other markdownlint warnings on CI.

Please use these templates as a starting point:
Games/apps/libraries:
### [Game name]

![alt text](img)
_optional image label_

[Game name] ([GitHub], [Discord], [Twitter]) by [@nickname]
is... {short project description in one sentence}.

{An overview of the recent updates with links to more details}.

_Discussions: [/r/rust_gamedev](link), [Twitter](link), [etc](link)_

[Game name]: http://example.com

Articles/blog posts/videos/etc:
### [Article name]

![alt text](img)
_optional image label_

[@nickname] published an [article] about...
{overview what the resource is about}.

_Discussions: [/r/rust_gamedev](link), [Twiter](link), [etc](link)_

[Article name]: http://example.com

Current Structure & Status
Below is a list of our current planned structure for the newsletter, and the status of each PR (which we'll try to keep updated).
This is not an exhastive list - if you have your own project that you want to write about, just make a comment on this issue and open a PR!

[ ] Rust GameDev Meetup - 🚧 WIP by @AngelOnFira
[ ] Game Updates

[ ] Veloren (1) - 🚧 WIP by AngelOnFira
[ ] Bitgun (1, 2, 3, 4) - 🆓 free (@darthdeus?)
[ ] Way of Rhea (1) - 🆓 free (@MasonRemaley?)
[ ] Hydrofoil Generation Sailing (1, 2, 3, 4, 5, 6, 7) - 🆓 free (@kunos?)
[ ] The Process (1) - 🆓 free (@setzer22?)
[ ] Fish Fight: Prequel (1, 2, 3) - 🆓 free (@not-fl3?)
[ ] Necrophaser (1) - 🆓 free (@?)
[ ] Soldank (1, 2) - 🆓 free (@smokku?)
[ ] Stellary 2 (1) - 🆓 free (@dezajno?)
[ ] Molecoole (1) - 🆓 free (@Hilku?)
[ ] A/B Street (1, 2 - 🆓 free (@dabreegster?)
[ ] Combine&Conquer (1, 2) - 🆓 free (@I3ck?)
[ ] Halloween Mahjong Solitaire (1) - 🆓 free (@Syn-Nine?)
[ ] Bendyworm (1, 2) - 🆓 free (@Bauxitedev?)
[ ] Flesh (1) - 🆓 free (@Im-Oab?)
[ ] Idu (1, 2, 3) - 🆓 free (@johann2?)
[ ] Endless Trial (1, 2) - 🆓 free (@vrmiguel?)
[ ] Rust Shooter (1) - 🆓 free
[ ] country-slice (1, 2, 3) - 🆓 free (@anopara?)
[ ] One click ninja (1) - 🆓 free (@fluffysquirrels?)

[ ] Learning Material Updates

[ ] Hands-on Rust Bonus Content (1) - 🆓 free (@thebracket?)
[ ] Rust Roguelike Tutorial (1, 2)- 🆓 free (@thebracket?)
[ ] Rustacean Station 48 (1) - 🆓 free (@thebracket?)
[ ] Ralph's Posts (1, 2) - 🆓 free (@raphlinus?)
[ ] GBA From Scratch (1, 2) - 🆓 free (@Lokathor?)
[ ] Ray Tracer From Scratch (1, 2, 3) - 🆓 free (@jakobwesthoff?)
[ ] Ping Pong Tutorial (1) - 🆓 free (@harshvishu?)

[ ] Engine Updates

[ ] ggez 0.7 (1) - 🆓 free (@PSteinhaus?)
[ ] Tetra 0.6.7 (1) - 🆓 free (@17cupsofcoffee?)
[ ] Bevy (1, 2, 3) - 🆓 free (@cart?)
[ ] rg3d (1, 2, 3) -  🆓 free (@mrDimas?)
[ ] godot-rust (1) - 🆓 free (@Bromeon?)
[ ] Oxygengine (1) - 🆓 free (@PsichiX?)
[ ] mini/macroquad (1) - 🆓 free (@not-fl3?)

[ ] Tooling Updates

[ ] Solid Editor (1) - 🆓 free (@oskargustafsson?)
[ ] PickPicPack (1, 2, 3) - 🆓 free (@p4ymak?)
[ ] Graphite - 🆓 free (@Keavon?)

[ ] Library Updates

[ ] natura (1, 2) - 🆓 free (@ziyasal?)
[ ] Sparsey v0.5 (1) - 🆓 free (@LechintanTudor?)
[ ] SPV v0.1..v0.3 (1, 2, 3) - 🆓 free (@AlbinSjoegren?)
[ ] quinn 0.8 (1, 2) - 🆓 free (@Ralith?)
[ ] pixels v0.8 (1) - 🆓 free (@parasyte?)
[ ] Kajiya (1, 2, 3) - 🆓 free (@h3r2tic?)
[ ] Rust-CUDA (1) - 🆓 free (@RDambrosio016?)
[ ] hecs v0.7 (1, 2) - 🆓 free (@Ralith?)
[ ] navmesh v0.10..v0.12 (1, 2) - 🆓 free (@PsichiX?)

[ ] Meeting Minutes - 🚧 WIP by @AngelOnFira
[ ] Discussions (1, 2, 3, 4, 5) - 🚧 WIP by @ozkriff

Final steps:

[ ] Final review - by everyone
[ ] Publish - by @AngelOnFira
[ ] Post on /r/rust, /r/rust_gamedev, /r/gamedev, URLO, twitter.com/rust_gamedev - by @AngelOnFira
[ ] Add comment links - by @AngelOnFira
[ ] Add a draft of the 29th newsletter - by @AngelOnFira

Yup, I'll take pixels 0.8! 🦀

Aye.. will do Hydrofoil Generation. :)

Yes, will do Raytracer from Scratch. 🦀 🔮

I can do godot-rust 🤖🦀

I'll do Molecoole 🦀🦀

Bevy didn't have a release this month, so I'll hold off on sharing renderer updates.

I'll write about Shroom Kingdom

I have some updates for Flesh game. :)

I will take SPV again, still no crate version so it would go under Tooling Updates again

Sorry, I'm in the middle of moving continents and not likely to make an A/B Street update this month. Also the focus of the project hasn't been on gamification in quite a while, although there is some vague plan to try that again in the future (to get residents involved in planning low-traffic neighborhoods).

I'll write a bit about Bendyworm.

I'll write about PickPicPack.

taking oxygengine and navmesh

I covered Sparsey 0.5 in the last newsletter and 0.6 will take a bit more time to complete. So no update from me this time :)

There's not that much to say about ggez 0.7.
I plan on releasing 0.8 this month though, so I'll probably write a bit about both releases in the december newsletter.

I'll take Halloween Mahjong Solitaire, thanks for the mention!

Thanks for suggesting kajiya ❤ ... however I'd rather hold off on that until it actually goes open source. Supposed to be very soon now, but I'm still waiting for some approvals.

Took Quinn and hecs.

@logicsoup just pinging in case @johann2 isn't able to do Idu :)

i can write a little update for 'Rust Shooter'

Just a reminder to people that today is the deadline!
(@Tarnadas @experiment9123 @PsichiX @AlbinSjoegren @p4ymak)
Looks like you have sections as WIP for you
(@MasonRemaley @setzer22 @smokku @dezajno @I3ck @johann2 @vrmiguel @thebracket @raphlinus @Lokathor @harshvishu @mrDIMAS @not-fl3 @oskargustafsson @Keavon @ziyasal @RDambrosio016)
Looks like you have sections that you can take if you're available/have updates 🙂
Also, if you have extra time today, feel free to take a few free sections!

Can't push my commit..
p4ymak@Legion:~/Work/00_P4/Rust/rust-gamedev.github.io$ git push
remote: Permission to rust-gamedev/rust-gamedev.github.io.git denied to p4ymak.
fatal: unable to access 'https://github.com/rust-gamedev/rust-gamedev.github.io.git/': The requested URL returned error: 403

what am I doing wrong? = )

Can't push my commit..
p4ymak@Legion:~/Work/00_P4/Rust/rust-gamedev.github.io$ git push
remote: Permission to rust-gamedev/rust-gamedev.github.io.git denied to p4ymak.
fatal: unable to access 'https://github.com/rust-gamedev/rust-gamedev.github.io.git/': The requested URL returned error: 403

what am I doing wrong? = )

Try doing a pull request and not a push (pull your fork).

I'm doing Idu, I hope it's not too late

got my job done for today, gonna need ~30 minutes to write my part :D

Finishing up writing Graphite's piece as soon as I wake up. Don't let this block the release though, proceed without it if I'm not done in time.

No update from me this month, probably the next one! :smile:

btw. what are guides on ordering? bc i always place my notes in order defined in main issue, but sometimes my bits gets reordered.

@PsichiX When I'm editor, I order content based on which PR is made first for each section, unless one requires changes, in which case I take it out of the queue :) Since this is resolved at merge-time, and often has to be changed anyways when I have to merge several PRs at the same time, I haven't explicitly stated it in writing.
I try to also use it as incentive for authors to get their posts done more quickly :)

Taking Rustacean Station, Ralph's Posts, and Rust-Cuda

I'll try to quickly write out "Combine And Conquer", "Endless Trial", "Hands-on Rust Bonus Content", and "Solid Editor".

I try to also use it as incentive for authors to get their posts done more quickly :)

that's something worth noting in the newsletter issues or readme 😅

I'd like to add a section for paddlepunks if it's not too late!

The final draft is up, feel free to take a look and comment on any issues you come across!
https://agitated-saha-af60ca.netlify.app/

Rust CUDA seems to have missing link - [Rust CUDA]

@PsichiX Sorry, can I get you to repost that on #887? My bad for not including the link :sweat_smile:

i mean i's not mine, i just found weird formatting and dunno what the link is :D

but i'll repost ;p


binary size: Android binary size investigation -- Apply Keith's patch

Draft PR for investigation purposes.
We've noticed ~5MB per architecture increase for iOS with the inclusion of Envoy Mobile. On Android, we are observing ~10MB increase per architecture. @keith had the suggestion that since we are doing a static framework and using stripping, we are able to get a smaller artifact size for Envoy Mobile. Android uses a dynamic library here so we may not be able to get the stripping benefits.
The diff here is to attempt to capture an iOS application increase if we were to not use stripping to see if we are able to observe a similar 10MB increase. If we do, then we have a high confident signal that stripping is the reasoning for the discrepancies between iOS and Android artifacts.
For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Worked with @keith on this a bit today
With the current state in this PR/branch, these are the steps which I've used to build an iOS app with a dynamic library:

bazel run //examples/swift/hello_world:app --config=ios
cp bazel-bin/examples/swift/hello_world/app.ipa ~/tmp/dynamic.ipa
unzip dynamic.ipa dynamic

To get a static library/app comparison:

git checkout 917186e6cd080880106b9b2e0bf06d741bbb800e (This is the static library hash prior to the changes here)
bazel run //examples/swift/hello_world:app --config=ios
cp bazel-bin/examples/swift/hello_world/app.ipa ~/tmp/static.ipa

Observations:
The dynamic library app is 152.1MB large
The static library app is 39.3MB large
By inspecting the unzipped internals, the dynamic/app.app/Frameworks/dynamic.framework/dynamic is size 135MB
Using strip naively (strip -no_code_signature_warning -xXNT dynamic/app.app/Frameworks/dynamic.framework/dynamic), we could get this file down to 65MB


Fix position:sticky; prefix for Safari browser

Fix #257
Source: https://www.w3schools.com/howto/howto_css_sticky_element.asp

Pull Request Test Coverage Report for Build e65ac80e50ac195db868df893253042aef22e171-PR-258

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 4b4a39964da70682dcd139bb83d3369982cc27c0:
0.0%

Covered Lines:
237

Relevant Lines:
237

💛  - Coveralls

In that case inline-box should also have the same issue.

@thysultan what is inline-box anyway? can't really find quickly anything about it (apart from maybe just this one: https://caniuse.com/mdn-css_properties_display_xul_box_values )

@Andarist old flexbox version of display: inline-flex.

@thysultan shouod we care about prefixing non-standard properties to non-standard properties though? 😅

Yeah i guess not, shouldn't be there, the one below it handles inline-flex to inline-box already.

@thysultan K, I've merged this one in and just pushed out to master a separate commit dropping inline-box prefixing. I hope that's OK


Availability of model trained on E3SM?

Hi ACE team,
Thanks for publishing the code and pertained model of ACE! I wonder if the zenodo repository is for the ACE model trained on GFDL model. Is there a public version of the model trained on E3SM EAM?

Hi @ShihengDuan, the weights for ACE-EAMv2 are available to download using this link (ema_ckpt.tar): https://portal.nersc.gov/archive/home/projects/e3sm/www/e3smv2-fme-dataset
There's an inference-ready 10-year valid dataset available at that link as well, but it's around 165 GB.
Let us know if you run into any issues.

Also, to confirm, yes the zenodo repository (https://doi.org/10.5281/zenodo.10791087) is for the ACE model trained on FV3GFS as described in https://arxiv.org/abs/2310.02074.


Diyino prime

After getting my stardust working with fx saber os and a huge user error,  i tried setting it up on my prime.   Now I'm getting no sound.
I hear feedback when the leds come on, so it's getting some kind of signal.
I checked the wiring. (Spk1 and spk2 easy) but nothing. I even tried to load Lsos to test.
OS seems fine. Serial monitor indicates that it is running.  If i had put sounds on wrong I'd still get a sound, and I tried multiple times. I feel like I'm making another easy mistake or I killed my prime.
Is there test sketch like there is for the stardust? I'm not good enough with code to write it, can only manipulate code:-(
Please and thank you.
Ps if it's dead I'm gonna need a new prime :-)

Hi, the test sketch https://github.com/Protonerd/DIYino/blob/master/DIYino_Testsketch_Pro.ino can be used for the Prime as well. Hopefully you have an SD-card already loaded with sound fonts to try. Response from Prime shall be the same, repeating the 1st sound on the SD and calibration of the MPU with measuements logged afterwards.
How did you connect Spk1 and Spk2? To A6 and A7 respecively?

Thank you. I kinda thought that sketch would work for both. I'll test.
Spk1 and spk2 wired to a6 and a7, yes.
This is me here, so it's prolly simple that's why i needed a test sketch lol

Sorry to leave this open, very busy.
Anyways Test Sketch failed and im almost certain its dead.  Since that isnt an issue with Fx-saber im closing.


Is this project still live / active?

Hi,
Does anyone know if Zizaco is still maintaining this repo? There are a few bug fixes that need doing to make it fully compatible with Laravel 5.5 that contributers have suggested but there's been no updates to the code for some time now.

I'm also wonder is active? Want to use in Laravel 5.5

Here is a project based on Entrust called NTrust that supports Laravel 5.5, but I haven't try it.
https://github.com/klaravel/ntrust

What bugs are you having in 5.5? - I'm actively using it with no problems (yet)

#840 was merged. I strongly believe that it should be fully 5.5 compatible by now. :smiley:
Anyway I will be doing some cleanup and improvement on the package over the next weeks.


Allow docker_container memory to have String value (eg. memory='1G').

This very modest PR allows String values for docker_container memory attribute.
Currently, the docker_container resource only allows Fixnum values for the attribute (in other words, memory value is implicitly in bytes) but the docker documentation says that the docker run --memory parameter supports optional units. It is also possible to specify different memory and memory+swap limits.
With this PR I can set docker.memory = '1G' or docker.memory = '150m,200m', while still allowing for Fixnum memory values as before.

Awesome! I'm sure a lot of people will appreciate this. Hopefully not too many folks using swap functionality. :wink:


Do not overwrite Gradle task dependencies

This fixes a bug where user-configured task dependencies (tasks.jib.dependsOn '...' immediately after jib {} section) are overwritten by the plugin.

Hrmm mac os invocation hung, I retriggered it.


Add depreciation notice + Improve doc

Hi Ruben,
As discussed on the S&W booth at Cf EU Summit, here is my PR to add a depreciation notice to this project and (slightly) improve its documentation with things that took me months to understand or discover. :)
As said, I suggest we submit this project for removal from the CF incubator Github org during the next monthly CAB.
Let me know.
Cheers,
/Benjamin

@bgandon thanks


Not updated_at User model at change UserGroup.

OctoberCMS Build: 455
PHP Version: 7.2-x64
Database Engine: mySQL
Plugins Installed: RainLab.User
At change user gpoup in backend panel, value "updated_at" model User not change.
With this method "updated_at" updated User model.
$group = UserGroup::where('code', $select_group)->first(); $user->groups()->add($group); $user->save();
Is there any way to fix this?

@Dinver I believe that adding or removing a pivot record like above does not make the original model "dirty", so it would not update the "updated_at" timestamp. You should be able to confirm this by changing the groups of a user as well as changing a field for the user (ie. the email address or username). If you save then, the "updated_at" timestamp should update.

@Bennothommo But the model UserGroup is a child model User. When changing only a child model, tracking changes is not possible, due to lack of property updated_at in table users_groups. Model UserGroup need property touches.

@Dinver You're correct that UserGroup is a child model of User, however, there's a pivot table called backend_users_groups that stores the link between the two, and the data is stored in a "pivot" model.
I presume you are trying to update the timestamp of the user if their group is changed, but this is currently not possible through the code you have provided in your example above. If you add $user->touch() to the code, it should work.

@bennothommo we could setup https://octobercms.com/docs/database/relations#touching-parent-timestamps on the UserGroup model.

This is by design to reduce complexity. If this is still a requirement and you need help implementing this logic by extension, feel free to send us an email. Thanks


Fix deepcopy format

Ran make check to get fix the format automatically.

Thanks for your review, Ash!


Msgfees are not consistent

Summary of Bug
The balance deduction from message fees is not consistent and should be further evaluated for other additional issues.
Version
1.19
Steps to Reproduce
The following deducts<PHONE_NUMBER>44nhash. Where is the extra 6144 coming from?
chain tx exchange create-payment --from $VALIDATOR --source-amount 1nhash --target $MATT --target-amount 0nhash --external-id 12 --gas 81000 --gas-prices 0nhash -y --fees<PHONE_NUMBER>00nhash | chain q wait-tx
The same transaction is then done with a higher message fee, and only<PHONE_NUMBER>04nhash is deducted. Why is it now underpaying 4096?
chain tx exchange create-payment --from $VALIDATOR --source-amount 1nhash --target $MATT --target-amount 0nhash --external-id 17 --gas 81000 --gas-prices 0nhash -y --fees<PHONE_NUMBER>00nhash | chain q wait-tx

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Do you happen to have the events of the two commands? That would show more clearly what is being charged and how.


ECS slow performance

I did a quick benchmark between:
Unit_Tests/17_EntityComponentSystem
https://github.com/AlexSabourinDev/dod-playground (faster fork of original)
Both tests compiled on same computer, the-forge is vulkan and dod is d3d11.
Both are using 1 million sprites + 20 bubbles.
Release mode: dod = 8ms per frame, the-forge = 150 ms per frame
Debug mode: dod = 15ms per frame, the-forge crashed
This is on windows 7, ofcourse the projects are vastly different, one is a sample app and the other is a whole framework, but still I was expecting to see closer results.
If someone is able to run this on windows 10 and with different renderers please post your results, thanks.

The optimizations implemented in the fork are not directly related to ECS.
The original dod-playground sample used a brute-force approach to test each entity with each other entity, while fork author implemented a grid-based solution that allows to skip testing entities that are far away from each other. In other words, the fork author came up with a clever way of doing several orders of magnitude less work and you are comparing apples to oranges here.
If you compare the unit test performance to the original dod-playground (they both seem to have almost identical code) you will see very similar results. In fact I just tried it, and they both run at ~22ms on my PC in Release mode. If you implement a similar grid-based optimization in the unit test, you will likely get similar performance improvements.
On top of that, the fork behavior is not equivalent to the original implementation, which further invalidates all performance improvement claims.

Thanks for the info, did you test the-forge against dod original repo then?

Yes I compared the-forge unit test to the original dod-playground repo. This is a very approximate comparison and still "apples to oranges" to some extent, so keep that in mind 😄

I think we can close this?


change custom tab text color when tabs active or disactive

hi.
i have a question that i want active tab has same color with indicator !!
how can i set custom color to active tab and disactive tab with this custom tab ?
please answer me quick !! I'm doing project and must to solve this problem fast .
tank you .

Hi
Please refer to the demo application.
You can use the color selector.
https://github.com/ogaclejapan/SmartTabLayout/blob/master/demo/src/main/res/color/custom_tab.xml
<com.ogaclejapan.smarttablayout.SmartTabLayout
...
app:stl_defaultTabTextColor="@color/custom_tab"
...

(1)  In your drawable add xml file called tab_state contains:-

(2)
<com.ogaclejapan.smarttablayout.SmartTabLayout
...
app:stl_defaultTabTextColor="@color/tab_state"
...

(1)  In your drawable add xml file called tab_state contains:-

(2)
<com.ogaclejapan.smarttablayout.SmartTabLayout
...
app:stl_defaultTabTextColor="@color/tab_state"
...


Deleteschema

Added delete functionality to the button in schemaselector.jsx  that handles deleting the currently rendered button for the given schema as well as deleting the current schema input. Added a button in app.jsx to display the metrics of the query. Added functionality to the dburi input box on schemaselector.jsx so it will spin up the proper db.


Update cats, common, test to 0.14.5

Updates

io.github.cquiroz.react:cats
io.github.cquiroz.react:common
io.github.cquiroz.react:test

from 0.13.1 to 0.14.5.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.13.1).
You might want to review and update them manually.
CHANGELOG.md

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.cquiroz.react" } ]

labels: library-update, semver-minor, old-version-remains

Superseded by #226.


Localstack

Picking up #69 with added changes from https://github.com/micronaut-projects/micronaut-aws/pull/1456
Valut Test is no failing and did a best attempt of including micronaut-aws in libs.versions.toml which I'm not certain is necessary?

@melix

Thanks and sorry for the late answer, I will take a look!

I'm honestly not sure I just used your PR and updated it. I haven't looked into how those META-INF directories are being used

This looks great! The failing test on Vault support you can ignore, we already are aware of it.
One thing I'm unsure: if I understand properly, you are using a single test resources provider for all services, which would have the benefit of a single container, but then it would include support for services which would not necessarily be used in the app, am I right?
There are only minor changes to be made on the catalog, thanks for implementing this!

I did some testing in this by setting a breakpoint in the local stack dynamodb test and hitting
Before client.createTable the service status is still just available
s$ EDGE_PORT=55483 localstack status services
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ Service                  ┃ Status      ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ acm                      │ ✔ available │
│ apigateway               │ ✔ available │
│ cloudformation           │ ✔ available │
│ cloudwatch               │ ✔ available │
│ config                   │ ✔ available │
│ dynamodb                 │ ✔ available │
│ dynamodbstreams          │ ✔ available │
│ ec2                      │ ✔ available │
│ es                       │ ✔ available │
│ events                   │ ✔ available │
│ firehose                 │ ✔ available │
│ iam                      │ ✔ available │
│ kinesis                  │ ✔ available │
│ kms                      │ ✔ available │
│ lambda                   │ ✔ available │
│ logs                     │ ✔ available │
│ opensearch               │ ✔ available │
│ redshift                 │ ✔ available │
│ resource-groups          │ ✔ available │
│ resourcegroupstaggingapi │ ✔ available │
│ route53                  │ ✔ available │
│ route53resolver          │ ✔ available │
│ s3                       │ ✔ available │
│ s3control                │ ✔ available │
│ secretsmanager           │ ✔ available │
│ ses                      │ ✔ available │
│ sns                      │ ✔ available │
│ sqs                      │ ✔ available │
│ ssm                      │ ✔ available │
│ stepfunctions            │ ✔ available │
│ sts                      │ ✔ available │
│ support                  │ ✔ available │
│ swf                      │ ✔ available │
│ transcribe               │ ✔ available │
└──────────────────────────┴─────────────┘

After client.createTable dynamodb is running
$ EDGE_PORT=55637 localstack status services
┏━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┓
┃ Service                  ┃ Status      ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━┩
│ acm                      │ ✔ available │
│ apigateway               │ ✔ available │
│ cloudformation           │ ✔ available │
│ cloudwatch               │ ✔ available │
│ config                   │ ✔ available │
│ dynamodb                 │ ✔ running   │
│ dynamodbstreams          │ ✔ available │
│ ec2                      │ ✔ available │
│ es                       │ ✔ available │
│ events                   │ ✔ available │
│ firehose                 │ ✔ available │
│ iam                      │ ✔ available │
│ kinesis                  │ ✔ available │
│ kms                      │ ✔ available │
│ lambda                   │ ✔ available │
│ logs                     │ ✔ available │
│ opensearch               │ ✔ available │
│ redshift                 │ ✔ available │
│ resource-groups          │ ✔ available │
│ resourcegroupstaggingapi │ ✔ available │
│ route53                  │ ✔ available │
│ route53resolver          │ ✔ available │
│ s3                       │ ✔ available │
│ s3control                │ ✔ available │
│ secretsmanager           │ ✔ available │
│ ses                      │ ✔ available │
│ sns                      │ ✔ available │
│ sqs                      │ ✔ available │
│ ssm                      │ ✔ available │
│ stepfunctions            │ ✔ available │
│ sts                      │ ✔ available │
│ support                  │ ✔ available │
│ swf                      │ ✔ available │
│ transcribe               │ ✔ available │
└──────────────────────────┴─────────────┘

I get these tests hanging, not sure if it's related to M1 Macs or something else
Predictive Test Selection: all test classes selected
<===----------> 29% EXECUTING [4m 38s]
> :test-resources-hibernate-reactive-mssql:test > Executing test io.micronaut...reactive.mssql.StandaloneStartMSSQLDBTest
> :test-resources-hibernate-reactive-mssql:test > 0 tests completed > 0/2 classes completed, 1 in progress

@melix any thoughts on above?

I am unsure about why the MSSQL tests are failing for you, I am running on Linux so I cannot check if it's because of M1. Also I'm trying to build your branch locally but it seems there's a regression in the latest core snapshots which prevents me from testing it properly. I will let you know.

Thanks I was able to merge your changes into master and now that the regressions have been fixed everything is passing!

@scprek a few of Testcontainers users have reported that MSSQL is unstable on M1. The PR is merged so I assume you are no longer blocked, but I just wanted to mention that https://www.testcontainers.cloud is in free public beta now and will allow you to run any Testcontainers-based test on your M1 as a drop-in replacement to running the containers locally, in less than 5 minutes from the moment you read this message :)
In case you want to learn more (and how it works with Micronaut's exciting test resources), here is @melix on Testcontainers Live talking about it:
https://www.youtube.com/live/roeuw33zR1E

Sounds good, would be great to have you all add it as I just picked up your existing PR.


Windows: closing Atom leaves my console in a weird state

Are others seeing this too? On a normal windows shell I launch atom.exe and then I pick File > Exit. My console does not return to the command prompt though.
Interestingly I can type commands like "dir" and I see output. So in fact, the command terminated but my console is not indicating this.

What Atom version are you on?  Are you installing through the new installer or through Chocolatey?  I thought this was an issue a while back but it got resolved by the new installer.

Ah I see, I am running C:\Users\name\AppData\Local\atom\app-0.176.0\Atom.exe and this has a different experience compared to running Atom from command line.
I see your C:\Users\name\AppData\Local\atom\app-0.176.0\resources\cli\atom.js code is doing quite some lifting to avoid output and issues from Atom Shell. So maybe I should file this against Atom Shell instead.

Make sure chocolatey is totally removed.  See the blog post about it.
On Wed, Jan 28, 2015 at 10:42 AM, Benjamin Pasero<EMAIL_ADDRESS>wrote:

Ah I see, I am running
C:\Users\name\AppData\Local\atom\app-0.176.0\Atom.exe and this has a
different experience compared to running Atom from command line.
I see your
C:\Users\name\AppData\Local\atom\app-0.176.0\resources\cli\atom.js code is
doing quite some lifting to avoid output and issues from Atom Shell. So
maybe I should file this against Atom Shell instead.
—
Reply to this email directly or view it on GitHub
https://github.com/atom/atom/issues/5289#issuecomment-71890454.

Assuming fixed.  @bpasero please comment if it's still not fixed on your end and you're running Atom 1.0.19 (through the installer, not Chocolatey).


Upgrade express version

Closes #250
Turned out that upgrading to Express 5.0 resolved the problem.

Updating to v5.x.x is enough? So the buggy error handler was a known problem that they fixed in the meantime?

I don't think it was a bug in Express, I think just the way the error handler is invoked automatically is a breaking change between Express 4.x and 5.x and it looks to me like the way we configured our Express app was taken from the docs for Express 5.x instead of Express 4.x. So the way to fix it was just to update to the right version.


List links

Showing links in List component to Show components of linked objects (example below)
If this functionality is worth of beeing in the generator, the rest components can be updated as well :)

@dunglas done all changes :)

@dunglas any hope to have this merged and closed?
Pagination waits in the queue :)

Thank you very much @mysiar. Sorry for the delay 🤗


img2pdf: 0.4.0 -> 0.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/img2pdf/versions.
meta.description for img2pdf is: "Convert images to PDF via direct JPEG inclusion"
meta.homepage for img2pdf is: "https://gitlab.mister-muffin.de/josch/img2pdf"
meta.changelog for img2pdf is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1/bin/img2pdf passed the binary check.

/nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1/bin/img2pdf-gui passed the binary check.

/nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1/bin/.img2pdf-wrapped passed the binary check.

/nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1/bin/.img2pdf-gui-wrapped passed the binary check.

2 of 4 passed binary check by having a zero exit code.

4 of 4 passed binary check by having the new version present in output.

found 0.4.1 with grep in /nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1

found 0.4.1 in filename of file in /nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1

directory tree listing: https://gist.github.com/e2e40e8b8c416d3fa359422fc3c4748d

du listing: https://gist.github.com/992623cfce7dd26db8934f9e718a6390

Rebuild report (if merged into master) (click to expand)

18 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
5 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
img2pdf
ocrmypdf
pdfarranger
python38Packages.img2pdf
python39Packages.img2pdf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A img2pdf https://github.com/r-ryantm/nixpkgs/archive/f8e6c3389c14045322c8bede090255bded395b79.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1
ls -la /nix/store/njmi7sck4ri53rwh6rd396inykj3w1mc-python3.8-img2pdf-0.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

img2pdf (python38Packages.img2pdf)
ocrmypdf
pdfarranger
python39Packages.img2pdf

Maintainer pings
cc @veprbl for testing.

Result of nixpkgs-review pr 122669 at f8e6c338 run on aarch64-linux 1

4 packages built successfully:

img2pdf (python38Packages.img2pdf)
ocrmypdf
pdfarranger
python39Packages.img2pdf

2 suggestions:

warning: python-include-tests
Consider adding a checkPhase for tests, or if not feasible, pythonImportsCheck.
Near pkgs/development/python-modules/img2pdf/default.nix:22:0:
   |
22 |     description = "Convert images to PDF via direct JPEG inclusion";
   | ^

warning: unclear-gpl
lgpl2 is a deprecated license, please check if project uses lgpl2Plus or lgpl2Only and change meta.license accordingly.
Near pkgs/development/python-modules/img2pdf/default.nix:24:5:
   |
24 |     license = licenses.lgpl2;
   |     ^


Getting all values in a pytree

Hi, sorry if this is a question with an obvious answer, but how do I get all the values in a pytree?
I tried using tree_flatten, but it gives me the device arrays, not the values they contain
(For extra context I want to implement regularizers using jax and need to sum all the squares/absolute values of the neural network parameters)

Does work flat_x, unravel = ravel_pytree(x)? IIUC you want all your parameters in one long vector?

That's exactly it! Thanks @jacobjinkelly , didn't know about the flatten_util module

It works to ravel things, but that might actually be less efficient because it probably involves concatenating all the values into a single contiguous buffer. It might be better to do something like
def l2_normsq(x):
  leaves, _ = tree_util.tree_flatten(x)
  return sum([np.sum(leaf ** 2) for leaf in leaves])

(where sum is just Python's builtin.)

Thanks for the tip @mattjj

Does flat_x, unravel = ravel_pytree(x) work? IIUC you want all your parameters in one long vector?

Does ravel_pytree still exist? I'm not able to find it in the docs: https://jax.readthedocs.io/en/latest/search.html?q=ravel_pytree&check_keywords=yes&area=default

It does still exist:
from jax.flatten_util import ravel_pytree

It looks like it's not listed in JAX's documentation


Magnus changes UTF-8 Encoded Characters to "?"

When opening an HTML content block with a UTF-8 encoded character, magnus converts the character to a question mark. Discovered because the entity command page had question marks where quotes should be.
To replicate

Paste the following into a HTML Content block using the web interface:

won’t ™

Open in Magnus. Observe that the text now renders as

won?t ?

Save from Magnus.
Reload the page using the web interface and observe that the HTML Content block is rendering won?t ?

Running VSCode Magnus 1.0.2

v1.0 should be out today or tomorrow.


fix: fixing typo in package create

When looking at the package create verb the word "download" is
misspelled.

cc @sym3tri

Thank you.
LGTM


Project is dead. Egeloen is looking for someone to take over!

https://twitter.com/egeloen/status/949356450962399235

Anyone?


GlobalPositionStrategy - Translate causes Bugs in Firefox for Select (Option) Element

Bug, feature request, or proposal:
Bug
What is the expected behavior?
A html select element's options should be affected by the translation in Firefox.
What is the current behavior?
Firefox positions the options unaffected by the translation. This is due to a bug (https://bugzilla.mozilla.org/show_bug.cgi?id=455164) that is unfixed for 8 years.
What are the steps to reproduce?
Use a global position strategy (which uses translateX and Y) and place this snippet inside of it:
<select><option>A</option><option>B</option>
What is the use-case or motivation for changing an existing behavior?
The bug exists in Firefox for 8 years and it is unlikely that it will be fixed.
Which versions of Angular, Material, OS, browsers are affected?
RC4, Material Alpha 6, Windows, Firefox 46.0.1
Is there anything else we should know?
I see currently three options:

find a hack that somehow makes the option appear at the correct place
position the overlay without translate
ignore Firefox

@crisbeto is this issue still valid?

It's not, we haven't been using transforms for positioning for a while now.


withdraw notification when not enough TOMO

https://github.com/tomochain/tomomaster/issues/425

Pull Request Test Coverage Report for Build 816

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

Totals

Change from base Build 803:
0.0%

Covered Lines:
92

Relevant Lines:
103

💛  - Coveralls


Duplicate suburbs would cause auto-next to fail?

If I understand correctly, when iterating through the states+suburbs to find the next unprocessed state, the code checks if the state-name is in the list of previously processed results.
    if target_suburb == "NA":
        suburb_list = open("results/suburbs.json", "r")
        suburb_list = json.load(suburb_list)

        for state in suburb_list["states"]:
            for suburb in suburb_list["states"][state]:
                flag = False
                for record in suburb_record["suburbs"]:
                    if record["internal"] == suburb:  # <==== here
                        flag = True
                        break

However, there are duplicate state names:
{'ALBERT PARK': ['VIC', 'SA'],
 'ANNANDALE': ['NSW', 'QLD'],
 'BAYSWATER': ['VIC', 'WA'],
 'BEACONSFIELD': ['NSW', 'VIC', 'QLD', 'WA'],
 'BELMONT': ['NSW', 'VIC', 'WA'],
 'CAMPERDOWN': ['NSW', 'VIC'],
 'CLAREMONT': ['WA', 'TAS'],
 'COOLANGATTA': ['NSW', 'QLD'],
 'CROYDON PARK': ['NSW', 'SA'],
 'EASTWOOD': ['NSW', 'VIC', 'SA'],
 'ENFIELD': ['NSW', 'SA'],
 'EVANDALE': ['SA', 'TAS'],
 'GRANGE': ['QLD', 'SA'],
 'HAMILTON': ['NSW', 'VIC'],
 'HIGHGATE': ['SA', 'WA'],
 'KELSO': ['NSW', 'QLD'],
 'LAKELANDS': ['NSW', 'WA'],
 'MAYLANDS': ['SA', 'WA'],
 'MILTON': ['NSW', 'QLD'],
 'MOUNT PLEASANT': ['NSW', 'QLD'],
 'NEWPORT': ['VIC', 'QLD'],
 'NEWTOWN': ['NSW', 'VIC', 'QLD'],
 'PADDINGTON': ['NSW', 'QLD'],
 'PERTH': ['WA', 'TAS'],
 'SMITHFIELD': ['NSW', 'QLD', 'SA'],
 'SORRENTO': ['VIC', 'WA'],
 'ST PETERS': ['NSW', 'SA'],
 'SURF BEACH': ['NSW', 'VIC'],
 'THE GAP': ['QLD', 'NT'],
 'TORQUAY': ['VIC', 'QLD'],
 'WATERFORD': ['QLD', 'WA'],
 'WATTLE GROVE': ['NSW', 'WA'],
 'WHITE ROCK': ['NSW', 'QLD'],
 'WOODCROFT': ['NSW', 'SA']}

Good catch, in the line you flagged I think added a check that the state is the same also will solve it.

I've got a "style" PR coming, which breaks down the code into a couple of functions to reduce the globals scope. I'll include this in the PR?  The existing code was a little hairy for me, with "flag" and loop-breaks etc.  It appears to work cleaner as a function with an early return?
def select_suburb(target_suburb, target_state):
    """return a (state,suburb) tuple based on the provided input or the next suburb in the list"""
    target_suburb = target_suburb.upper()
    target_state = target_state.upper()
    if target_suburb == "NA":
        # load the list of previously completed suburbs
        with open("results/results.json", "r") as f:
            completed_suburbs = {}  # state -> set-of-suburbs
            for completed in json.load(f)["suburbs"]:
                state, suburb = completed['state'], completed['internal']
                if state not in completed_suburbs:
                    completed_suburbs[state] = set()
                completed_suburbs[state].add(suburb)
        # load the list of all suburbs
        with open("results/suburbs.json", "r") as f:
            suburb_list = json.load(f)
            for state, suburbs in suburb_list["states"].items():
                for suburb in suburbs:
                    if state not in completed_suburbs or suburb not in completed_suburbs[state]:
                        return suburb, state

    return target_suburb, target_state

Perfect thanks so much for all your contributions!

Thoughts?  https://github.com/LukePrior/nbn-upgrade-map/pull/42

Think this one should be all good now


Doubling of characters on Textbox

I am writing a chat-app where there is a textbox inside a form. When you press enter it clears the textbox, focuses the textbox and then renders the screen, however after the first time pressing enter it will double the inputs. Can't find any solutions online.
Please help!

This lib is not being maintained... last commit was 8 years ago. You might wanna check Reblessed

@ZyriabDsgn Thank you 👍


.env file to have configPaths, ports, etc

Having environment file to store the configuration variables, ports.
For now we are having variables directly defined inside main.go file.
eg :
port 9990,
systemMetricsPath = "storage/system.json"
journalMetricsPath = "storage/journal.json"
configurationFilePath = "local-config.yml"
storageDir
pathFloodPing
pathMonitoring
These can be stored into .env file and can be loaded into config or parser package and can be used directly by using config package.
User need not to edit main code to change port or paths.
We can also store the endpoints of the APIs in the env.

Can I Work on this

It would be better to provide this via cli flags(I would choose kingpin) as well, along with a config file. You can go ahead with this. If some value is both in the cli, and in the config file, then the priority should be given to the cli ones.

As I saw in the issue https://github.com/bench-routes/bench-routes/issues/43 we need to integrate mailing service so we will need .env to store API key or some credentials. I will create .env and will give priority to CLI flags. I will create a PR. Thanks.

That will be done in gsoc period and during that implementation, the corresponding cli/config param would be added. Right now, we should just support the ones that bench-routes requires.

Ok I will create a PR for this. Thanks.


missing links in monitor query readme.md

missing links in this text
You can authenticate with Azure Active Directory using the [Azure Identity library][azure_identity]. Note that regional endpoints do not support AAD authentication. Create a [custom subdomain][custom_subdomain] for your resource in order to use this type of authentication.

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

ID: afdf0e58-d53e-3e34-d8ec-e992721ec35b
Version Independent ID: 94cacfe3-3728-78dc-e89c-e15e1a2c7281
Content: Azure Monitor Query client library for Java
Content Source: docs-ref-services/latest/monitor-query-readme.md
Service: monitor
GitHub Login: @joshfree
Microsoft Alias: jfree

@srnagar can you please follow up on this issue filed by @ciufudean


Crashes When no Font Found :Fatal Exception: java.lang.IllegalArgumentException: No font asset found for

The App Crashes when fonts are not found, the library should just not apply the fonts and go ahead instead of crashing
Expected Result
Fonts Not Applied but no crash
Actual Result
Crashes with No Fonts Asset Found For

Silently failing on the library side is not good practice. It should be known when something is wrong, especially since it could be a developer error.
It should be handled on the developer side.


add a function that multiplies voltages and currents for arrays

I'd like to consider adding a function to pvsystem.py that would multiply the voltages and currents returned by pvsystem.sapm and pvsystem.singlediode. Of course, the motivation for this is to make it easier to calculate array parameters.
def multiply_voltage_current(data, voltage_multiplier=1, current_multiplier=1):
    # as written, only works with a DataFrame
    # could make it work with a dict, but it would be more verbose
    data = data.copy()
    voltages = ['v_mp', 'v_oc']
    currents = ['i_mp' ,'i_x', 'i_xx', 'i_sc']
    data[voltages] *= voltage_multiplier
    data[currents] *= current_multiplier
    data['p_mp'] *= voltage_multiplier * current_multiplier

    return data

# within the PVSystem class...

    def multiply_voltage_current(self, data):

        return multiply_voltage_current(
            data, voltage_multiplier=self.series_modules,
            current_multiplier=self.parallel_modules)

Maybe the function can also be reused for some system losses.

Closed by #171.


logout tab

on selection of the logout the following error is given:

Not Found

The requested URL /user/logout was not found on this server.
Apache/2.4.7 (Ubuntu) Server at midas Port 80

presumably trying to resolve index.php/user/logout

I cannot reproduce this locally and it is not evident on any production instances that I manage.


Support for multiple instances?

Now the clock can show different timezones, would it be possible to show multiple instances on a MagicMirror?  Then I could display a sweepclock next to each of several sections showing information from different countries where my family lives, e.g.
[Sweepclock] {tz = Europe/London} next to  [Weather] {location = London}
[Sweepclock {tz = Australia/Brisbane} next to [Weather] {location = Brisbane city}
[Sweepclock] {tz = New Zealand/Wellington} next to [Weather] {location = Wellington city}
sort of in a tabular layout, showing local time for each place plus the weather there.
So far I've tried adding a second MMM-SweepClock under the first one in my config.js - this showed 2 clocks on my mirror and the first one looks fine but the second instance does not show any clock hands.
Thanks for any assistance! regards

Hi @RaymondJSpigot. I am currently working on another module. When I have some time I will have a look at this for you.

@RaymondJSpigot Please send me the config you were using for the 2 instances.
Thanks

hi @mumblebaj thanks very much for taking a look : )
My test config I was trying out for 2 instances (with different timezones) looks like
	{
		module: "MMM-SweepClock", // clock 1, Singapore time
		position: "bottom_bar",
  		config: {
              		showDate: true, // set to true or false to show date
              		dateFormat: "dddd, LLL",
              		timezone: "Asia/Singapore"
            		}
  	},
 	{
		module: "MMM-SweepClock", // clock 2, London time
		position: "bottom_bar",
  		config: {
              		showDate: true, // set to true or false to show date
              		dateFormat: "dddd, LLL",
              		timezone: "Europe/London"
            		}
  	},

My showDate info underneath each clock is configured to include the time while I was trying it out - and looks correct for the timezone configured for each sweepclock.
Clock hands are only displayed on sweepclock 1 though, the 2nd instance shows a clockface but no hands.  Also the clockhands shown on the first sweepclock display the time that I was expecting the 2nd instance to be showing (so in this example, clockhands on sweepclock 1 show time for timezone Europe/London)
Hope this helps : ) best regards

@RaymondJSpigot - I have implemented multi-instance support. Have tested and it works fine.

Will push changes later this afternoon.

Changes have been tested successfully and pushed. Please update to latest version 1.1.4.


Added support for default array values

I found a corner case of default array values.
Since we are still Java 8 compatible, there isn't really a nice way to initialize a List of default values, so it's always just generating Collections.emptyList(), which is probably by far the most use case anyway. We could consider adding a flag later to generate Java > 8 style code, but that's a separate issue.
In Kotlin it's checking the contained type, and creates either an emptyList() or a listOf(). For the latter case it re-uses the default value logic to create the right contents in the list.

Since we are still Java 8 compatible, there isn't really a nice way to initialize a List of default values

Isn't Arrays.asList() already available in Java 8?

Since we are still Java 8 compatible, there isn't really a nice way to initialize a List of default values

Isn't Arrays.asList() already available in Java 8?

Clearly I'm doing to much Kotlin these days. Added default array values for Java based on this now.

I suggest we merge this into the original PR and do any remaining finishing touches there?


Question: How does Stetho Draw OkHttp Requests in Network Tab?

Firstly, thank you for this inspiring tool that make use of chrome dev tools to ease debugging for developers!
I am very much newbie with chrome dev protocol and trying to understand how stetho reflects intercepted OkHttp requests on chrome dev tool.
My understanding from the code here, stetho intercepts http requests/response within the app and supply request/response details as per the protocol spec to the JSONRPC endpoint. Given that the actual request looks to be made within the app, not in the chrome itself.
However, this doesn't seem to be align with the protocol spec because Network.requestWillBeSent is actually an event that gets fired and expected to be handled. The way Stetho making use of it seems to be other way around like, method.
I have played a bit to send fake request to the JSONRPC for the Network.requestWillBeSent but end up getting protocol error.
Appreciate, if you could shed light on how Stetho manages to do that.
Thanks,
Oguzhan

ok. After looking a bit mroe into the code base, seems to be Stetho starts a local chrome dev server, those request/response details actually supplied to the local server.


x86_64-apple-darwin13.4.0-gfortran: fatal error: specs file malformed after 1226 characters

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Fixed now


fix: don't execute tasks when calculating task hashes

Description
Issues with spawning tasks were causing task hashes to diverge. This is an issue that should be addressed, but it should not effect the task hashing comparison.
Furthermore, we don't want to be executing the tasks twice once in Go and once in Rust.
Testing Instructions
pnpm test in the e2e directory
Closes TURBO-1415

Running all of your tasks twice would be a great anti-Turborepo: takes longer, does more work than it should


http://get.sensiolabs.org/sami.phar is out of date

Current version is 4.0.6 and get.sensiolabs.org has version 4.0.4
Is the phar being updated manually? would it be possible to have a CI/CD solution update it automatically?

Looks like it's an issue with the code in master and 4.0.6.
https://github.com/FriendsOfPHP/Sami/blob/8d2912faff2876c8818a41ece5da3e63dd17b88f/Sami/Sami.php#L30-L45

Any word on this?
I can see on Packagist that current version is 4.0.8 but whenever I download the PHAR from SensioLabs, manually or with cURL (who knows...), and check the version it still shows 4.0.4.
If it's not just "cosmetic", is there an alternative way to download SAMI? Composer and I... don't go along very well ^_^

It's just a problem of the version number, but the code is the last one. I've just released 4.0.9 which shows the right version in the phar.


Cannot find module 'react-dev-utils/workspaceUtils'

This error was recently reported on one of my GitHub repos and a quick Google search has shown it mentioned in a couple of others:

Error: Cannot find module 'react-dev-utils/workspaceUtils'

It looks like the error is caused by the following line in the ejected config/paths.js for some older versions of create-react-app:
const findMonorepo = require('react-dev-utils/workspaceUtils').findMonorepo;

The line in question is no longer there. (It was added in 2c34d5b and removed in cc328d6.) So I'm guessing this issue is only affect apps that installed a pre-release of 2.0 and ejected in between those commits.
If you're not using the monorepo feature– I believe a quick fix for those experiencing this issue would be to just manually edit that ejected config file to remove the line in question. If you are using it, I think the appropriate fix would be to manually replace the contents of config/paths.js with the latest revision. (No new dependencies are introduced so I think this should be safe to do.)

Just filing this in case it helps anyone else who comes across this issue!


Migrate Docs to the Spring Cloud style

See https://github.com/spring-cloud/spring-cloud-release-tools/issues/113 for more info

What's the priority on this?

Would be great ti align it with the current Greenwich release train.

See comment from Ryan: https://github.com/spring-cloud/spring-cloud-release-tools/issues/113#issuecomment-442122428.
I guess we need to take some other Spring Cloud project as a sample, e.g. the same Spring Cloud Netflix: https://github.com/spring-cloud/spring-cloud-netflix/tree/master/docs, including its POM

@ryanjbaxter,
We have just moved our docs to Spring Cloud structure.
Can you, please, test what we have so far with Spring Cloud aggregated docs?
Thanks in advance!

when I build the project with the docs profile it fails with
[ERROR] Failed to execute goal com.agilejava.docbkx:docbkx-maven-plugin:2.0.15:generate-pdf (pdf) on project spring-cloud-gcp-docs: Error executing ant tasks: Warning: Could not find file /Users/ryanjbaxter/git-repos/spring-cloud/spring-cloud-gcp/docs/target/contents/reference/pdf/index.pdf to copy.

Hm... Any idea what are we missing?
Thanks

Unfortunately not, I have never see it look for a PDF like that....

Ah I think I know what's wrong. Will put up a fix PR soon.

Oh, wait!
I think we also need to align plugins for docs in POM similar way you have it in other SC projects, e.g.: https://github.com/spring-cloud/spring-cloud-netflix/blob/master/docs/pom.xml#L32

I think the point is that other Spring Cloud project doesn't build Docbook at all.
Our initial docs approach was borrowed from Spring Cloud Stream, but that one has moved recently to the current Spring Cloud standard and I guess that don't build PDF any more, too.

I'm gonna close this one for now. The build issue has been fixed and the generated files are looking like what's needed.

#1259


fix: ssr console errors for useLayoutEffect

This PR fixes the useLayoutEffect console errors when using React Advertising with a framework that uses server-side rendering, eg NextJS.
It appears that we changed from useEffect to useLayoutEffect to fix an issue (https://github.com/eBayClassifiedsGroup/react-advertising/issues/85) with GPT single request mode, which started when the AdvertisingSlot was refactored into a functional component.
However, the PR (https://github.com/eBayClassifiedsGroup/react-advertising/pull/89) to fix this issue didn't actually fix it! GPT is still making individual requests for each ad slot and not batching them into a single request.
You can test this in the codesandbox that was created to demonstrate and test the issue.
The last version to correctly use GPT single request mode was v4.0.0-beta.3:

The fix was introduced in v4.2.0 and as you can see it still makes multiple GPT requests:

Just want to make sure I fully understand what's happening here. It looks like this just reverts the changes from #89. By doing that, won't we reintroduce the problem #89 was intended to fix?

Also, the code sandbox isn't loading for me. Is it just me?

No, because it never fixed that issue in the first place. For the codesandbox, you may need to refresh the page the first time you use it.

For the reported issue https://github.com/eBayClassifiedsGroup/react-advertising/issues/85), we could look into a fix in the near future. But I don't think it's urgent as we've all been managing fine without the GPT single request feature working.

I just discovered that this regression made its way into the 4.2.4 release. I really wish you would've tagged me before rolling it back, as it resulted in us having a broken master/companion setup and yet again we had to roll back to 3.0.2. The bad assumption on our end was assuming that when v4.2.4 release notes include "Fix incorrect usage of hooks after refactor by @jesperzach in https://github.com/KijijiCA/react-advertising/pull/89" it means that the changes from that PR are included in the release.
And @caffeinated-pixels you're flat out wrong, using useLayoutEffect does fix the GPT single request issue and is also semantically the correct tool to use over useEffect for this particular scenario. If you're still experiencing problems with GPT single request mode then the issue lies within your integration, not react-advertising.
If I'm coming forth confrontationally then you can safely assume I'm doing so to stress the point that the opaque process that enabled this regression is flat out terrible, and I hope that you'll be way more transparent going forward. That is, if you think there's an issue and you don't care to investigate, use blame, tag the author, and ask questions. The 4.2.4 release was delayed by several months already so you can't blame lack of time on this one.
Here's your fix for the SSR logs:
https://gist.github.com/gaearon/e7d97cdf38a2907924ea12e4ebdf3c85?permalink_comment_id=3570933
Do with it what you please 🤷♂

Hi @jesperzach thank you so much for your feedback, we love getting feedbacks and help from the community but we (and Github) just ask for respectful and mindful exchanges. Whatever the problem or the mistake, we are all developers and mistakes or regressions is part of our daily routine. "Coming forth confrontationally" isn't either a solution or a motor for doing the work.
We would really appreciate if this type of comment could be unique and for you to be mindful and understandable of the missing context and information you may have. Open-source is a community story and as much as we value any type of feedback, some basic rules can't be overruled. Thanks again, we will be working on pushing a fix asap!

@thedaviddias I'm not angry about regressions - as you say, that happens and is part of the job. But I'm angry about the process applied here in this PR, which I find to be overly careless and demotivational towards further contributions. I hope that my previous comment highlights this, because if we all just go about reverting each others' contributions when we don't understand them and we don't bother to ask for clarifications, then we'll all be wasting our time here running around in circles.

Without going further in explanations, not the time or place, but ownership changed recently, as I said context is important. We will be mindful of any new PR and will ensure we keep open to any contributions, it's important for us, it's important for the community. Just please, again, be mindful of reasons that may exist outside of PRs or code.
Hope to see your participated in the future!


[Search Zotero] Add Item by Identifier

Extension
https://www.raycast.com/reckoning-dev/zotero
Description
Zotero has the feature to add item by identifier (ISBN, DOI). It would be helpful to make a command inside of this extension that can directly do that.
https://www.zotero.org/support/adding_items_to_zotero#add_item_by_identifier
Who will benefit from this feature?
Anyone who uses Zotero or opens Zotero mostly to add items.
Anything else?
Thanks!

Adding items to zotero database is whole another beast under the hood. I do not have time to develop a whole another app/extension. If you look at the code currently, to avoid file race conditions, I currently maintain a raycast copy of the sqlite db file. For doing anykind of write operation, this whole part has to be rewritten and redesigned.

Thats why command is called “search zotero” not another zotero app!

@raycastbot close this issue


Fix the value issue of anthropic

What problem does this PR solve?
This pull request fixes the issue mentioned in https://github.com/infiniflow/ragflow/issues/3263.

response should be parsed as dict, prevent the following code from failing to take values:
ans = response["content"][0]["text"]
API Model claude-instant-1.2 has retired (by model-deprecations), it will trigger errors in the code, so I deleted it from the conf/llm_factories.json file and updated the latest API Model claude-3-5-sonnet-20241022

Type of change

[x] Bug Fix (non-breaking change which fixes an issue)

Please show us a reference.

You are rigorous. I read the following about response types in anthropoic sdk python:

In fact, although .dict() is runnable, we should use .to_dict() instead. .to_dict() is already encapsulated in the anthropoic sdk, while .dict() calls pydantic lib methods.
anthropoic sdk:

pydantic lib:

I have verified  .to_dict() in my local ragflow code, It's normal.

Appreciation!


[Question] Kubevious UI with SSO URL

Is your feature request related to a problem? Please describe.
I use nginx to redirect request from SSO URL eg. sso.simflexcloud.com/kubevious to the Kubernetes service
   location /kubevious {
      proxy_pass http://kubevious-ui-clusterip.kubevious.svc.cluster.local:80;
      proxy_set_header X-Vouch-User $auth_resp_x_vouch_user;
      proxy_set_header Host $http_host;
      proxy_pass_request_body off;
      proxy_set_header Content-Length "";
      auth_request_set $auth_resp_x_vouch_user $upstream_http_x_vouch_user;
   }

But kubevious-ui seems to remove the original header which caused too many redirects

Describe the solution you'd like
Support SSO URL with Kubevious

@vumdao, Are you lookin for the "X-Vouch-User" header?
We are using caddy to serve the UI. Could you check the Caddyfile config and the Dockerfile:
https://github.com/kubevious/ui/blob/main/docker/Caddyfile
https://github.com/kubevious/ui/blob/main/Dockerfile

@rubenhak thanks for your support. I'm not familiar with Caddy so how can I update the nginx to work with Caddy config ?


THRIFT-4506: fix use of assert for correctness in Java SASL negotiation

Client: Java
CVE-2018-1320 for Java SASL backported from 0.12.0.

Based this patch on the same work for <IP_ADDRESS>.

We're not currently planning to go through a release cycle for 0.10.0 and 0.11.0 or modify them.  Please move to 0.12.0 or use <IP_ADDRESS> if you are still on 0.9.3.  If you'd like to open a debate on it, please start a discussion on the dev mailing list.

Closing based on comments.


Fixes TabViewItem inherited BindingContext #1091

Description of Change

Fixes TabViewItem inherited BindingContext
Bugs Fixed

Fixes #1091

API Changes

Behavioral Changes
None

PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Has samples (if omitted, state reason in description)
[x] Rebased on top of main at time of PR
[x] Changes adhere to coding standard

[ ] Updated documentation

Hello @mtsrdr
Was this issue fixed) Or why did you decide to close the PR?

Hi @AndreiMisiukevich,
This PR did not fix the issue, so I close It.


🐛 Bug: Exempt repository admins from branch ruleset merge requirements

Bug Report Checklist

[X] I have tried restarting my IDE and the issue persists.
[X] I have pulled the latest main branch of the repository.
[X] I have searched for related issues and found none that matched my issue.

Expected
Back before #1309 -> #1788, when branch protections were set, they exempted repository admins -e.g. me on this repo- from being blocked on merging. I would expect that to remain the same.
Actual
After #1788, repo admins are blocked too.
Additional Info
I'd wanted to set this intentionally at first to make things more strict. Strictness good!
I was hoping the UI would make it easier for admins to bypass. But no, there's just ... nothing on there I can see. I'd planned on trying this out for longer but it's really annoying. Ah well.
💖

Ah, now I remember. bypass_actors requires an actor_id when setting a "RepositoryRule". Looking the value assigned to Repository admin in few of my repositories:

This one: 5
https://github.com/JoshuaKGoldberg/create: 5
https://github.com/JoshuaKGoldberg/prune-github-notifications: 5

So, ah, I think it's 5? But docs would be good.


Move to haskell/actions/setup

actions/setup-haskell is unsupported and suggests use of haskell/actions instead.
This PR works as far as I have checked, but I don't claim that this is a good direction for github-actions-dhall.

Sorry I should've expanded on that. This PR adds a dependency on an unofficial 3rd party repository so there may be a trustworthiness issue. The repo is under the haskell account so it's probably fine, but I don't know what expectations people have of github-actions-dhall :)


New Shortcuts: Note and Descriptive

Your idea:
From Discord: https://discord.com/channels/113801089362558983/1148628734337880127/1148628734337880127
I think it would be awesome if there was keyboard shortcuts for making {{descriptive}} and {{note}} in a fast way. I often use the shift-ctrl+m shortcut to create blocks, but it is a little tedious to always have to type in "descriptive" or "note" every time. Just a thought.

We can't use neither Ctrl + n , Shift + Ctrl + n, Ctrl + d nor Shift + Ctrl + d   as they are all used by Chrome, for future reference in this issue, i link the current Hotkey reference from the Homebrewery.

I would vote against adding these hotkeys. Instead try to reserve hotkeys for generic typographic functions (bold, new page, column, indent, etc.)
We already supply these items in the snippet drop-down if they can't be bothered to type out a single word.

This was my response on the discord thread, which i'm just posting here for posterity and convenience:

Perhaps the shortcut for a new block should dump the current cursor position into the  first line, after the opening brackets, rather than in the interior line. This way you could use the shortcut and immediately add the class/styling and then hit Enter to start filling the box with content. You wouldn’t need to go back up to the first line to add your class.
Sure, you’d still have to type note or descriptive but that’s still all on the keyboard, and you wouldn’t need to remember different key combos for each. (And we wouldn’t need to find open combos that make sense).

So the "Block" snippet shortcut would output this, with the final cursor position represented by the | pipe:
{{|

}}

One argument against this is that it might not be immediately clear to the typical user that their content actually can't start on that opening line, and they may start typing wondering why it isn't showing.

One argument against this is that it might not be immediately clear to the typical user that their content actually can't start on that opening line, and they may start typing wondering why it isn't showing.

As when you Ctrl+k to create a link, link url is selected and you type inside, not where your cursor was.
So I don't think that's relevant

One argument against this is that it might not be immediately clear to the typical user that their content actually can't start on that opening line, and they may start typing wondering why it isn't showing.

Putting the cursor in the spot needing input after transforming the selection into the required syntax is exactly what is happening with Ctrl+k .. and should be what happens with Ctrl+Shift-m too.

{{|
previously-selected-text
}}

Currently, the entire block is selected, including the wrapping {{ }}, which is not a useful starting point.
Additionally .. when simply manually typing {{, the editor auto-completes the balancing }}, with the cursor positioned between them (i.e. {{|}}). [nb. the editor does not yet know if the author is intending a curly-block or a curly-span]

What about a singular hotkey that popped up a selection box of common classes? ( something we could even slap into class meta-data ) with ( hopefully ) an in-selection (regular) hotkey.
This could let us offload/migrate a number of HB hotkeys into a two-press combo?

I mentioned this in a gutter thread I think I yesterday: one hotkey to “activate” hotkey search, then type to filter all snippets. Or, one hot key to move focus to snippet bar, and keyboard navigation of snippet menus.

Snippetbar as is doesn't recieve focus, similar to our main navigation, because we use divs instead of links or buttons as we should.
We shall need to add focusability manually, setting tabindex="0" for those elements should be enough.


Setting Content-Type for .css files

Before trying out this action, I wanted to ask whether it will allow .css stylesheet files to work correcly on a published website?
I'm asking because I've previously needed to do the following when uploading my static website using gsutil (this is from my Makefile):
ROOT_DIR:=$(dir $(realpath $(lastword $(MAKEFILE_LIST))))

upload: upload-files fix-content-types

upload-files:
	gsutil \
	  rsync \
		-R \
		-d $(ROOT_DIR)html \
		gs://www.palindromi.fi

fix-content-types:
	gsutil setmeta \
	  -h "Content-Type:text/html" \
	  gs://www.palindromi.fi/*
	gsutil setmeta \
	  -h "Content-Type:text/css" \
	  gs://www.palindromi.fi/static/*.css

Why did you have to set the content type manually? I'm using this action for my own website which is working without any special fixes. If there is a good reason for it, may it would make sense to implement it too.
My website project: https://github.com/patrickwyler/patrickwyler.com

Just checked my bucket and my content-types are correct.

Thanks @patrickwyler for pointing this out. It's been ~3 years since I updated my site, so maybe something has improved since then. Or maybe I just missed something back then.
Anyway, this is good news! I can just use your action when taking GitHub workflows into use, instead of continuing with my own scripts.


version_set_test.cc missing

r32 added version_set_test to the Makefile, though db/version_set_test.cc is
not checked in:

make: *** No rule to make target `db/version_set_test.o', needed by
`version_set_test'.  Stop.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 22 Jun 2011 at 3:19

Fixed in revision 33

Original comment by<EMAIL_ADDRESS>on 22 Jun 2011 at 6:46

Changed state: Fixed

Thanks, I'll look into this!

Original comment by<EMAIL_ADDRESS>on 22 Jun 2011 at 6:25

Changed state: Accepted


Don't show sandbox in vote menu

About the PR
people keep voting sandbox on USW for no discernible reason
actual solution is #8219 and a max player count of 5 or so
:cl:

tweak: Sandbox can no longer be voted as a game preset.

singulo spam my beloved

The saving grace of Sandbox being an option is that it's always over very soon, but the meme appeal has long since worn off by now and it's clearly just a waste of time. But people still vote for it.
The only way I can see Sandbox really working is on a private server with people you know/can vet and not an official server that regularly gets at least 40+ concurrent randoms a day.

self merge moment
rip sandbox lovers


[firebase_storage] Continuing Uploads Across Process Restarts using Flutter

Firebase - Cloud Storage - Continuing Uploads Across Process Restarts using Flutter
I am looking for the feature to upload files on firebase cloud storage and handle the poor network situations or continuing uploads across process restarts.
I have a reference in Android for the same.
Continuing Uploads Across Process Restarts
Reference - https://firebase.google.com/docs/storage/android/upload-files#continuing_uploads_across_process_restarts
I can't able to find this in flutter package 'firebase_storage' - https://pub.dartlang.org/packages/firebase_storage
Can anyone help? This feature is work in progress or it's already there in the package.

@JigneshPatel23
The issue at https://github.com/flutter/flutter/issues/20226 has been closed and moved here. Future collaboration on this issue will be done here.

This functionality is implemented. See documentation here.


Manual documentation install has wrong URL

Small thing.  The documentation suggests "git clone https://github.com/derekvantilborg/MoleculeACE" but obviously it is moved to molML now.
"

Can I change that?


POW Elite (POWR320D) not showing latest sensor data until eWeLink app is opened

The power monitoring is delayed until I open the eWeLink app then it's updating more frequently but still not as fast as the app.
That issue causes the power consumption meter (using reinmann helper) to be inaccurate, automations are delayed. Energy sensor is also showing unkown.
I'm running on auto mode.
Diagnostics below (I had to censor some digits for privacy):
{
  "home_assistant": {
    "installation_type": "Home Assistant Supervised",
    "version": "2022.9.4",
    "dev": false,
    "hassio": true,
    "virtualenv": false,
    "python_version": "3.10.5",
    "docker": true,
    "arch": "x86_64",
    "timezone": "Asia/Jakarta",
    "os_name": "Linux",
    "os_version": "5.10.0-17-amd64",
    "supervisor": "2022.08.6",
    "host_os": "Debian GNU/Linux 11 (bullseye)",
    "docker_version": "20.10.17",
    "chassis": "laptop",
    "run_as_root": true
  },
  "custom_components": {
    "sleep_as_android": {
      "version": "1.9.2",
      "requirements": [
        "pyhaversion"
      ]
    },
    "adaptive_lighting": {
      "version": "1.1.0",
      "requirements": []
    },
    "localtuya": {
      "version": "4.1.0",
      "requirements": []
    },
    "frigate": {
      "version": "2.3",
      "requirements": []
    },
    "hacs": {
      "version": "1.27.1",
      "requirements": [
        "aiogithubapi>=22.2.4"
      ]
    },
    "sonoff": {
      "version": "3.2.0",
      "requirements": [
        "pycryptodome>=3.6.6"
      ]
    }
  },
  "integration_manifest": {
    "domain": "sonoff",
    "name": "Sonoff",
    "config_flow": true,
    "documentation": "https://github.com/AlexxIT/SonoffLAN",
    "issue_tracker": "https://github.com/AlexxIT/SonoffLAN/issues",
    "codeowners": [
      "@AlexxIT"
    ],
    "dependencies": [
      "http",
      "zeroconf"
    ],
    "requirements": [
      "pycryptodome>=3.6.6"
    ],
    "version": "3.2.0",
    "iot_class": "local_push",
    "is_built_in": false
  },
  "data": {
    "version": "38856d1",
    "cloud_auth": true,
    "config": null,
    "options": {},
    "errors": [
      {
        "name": "custom_components.sonoff.core.ewelink.cloud",
        "message": [
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '10017xxxxx', 'apikey': '58b1eccd-8e49-4ecd-9fc4-xxxxxxxxxxx', 'sequence': '1663284040000'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '10017xxxxx', 'apikey': '58b1eccd-8e49-4ecd-9fc4-xxxxxxxxxxx', 'sequence': '1663287641000'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '10017xxxxx', 'apikey': '58b1eccd-8e49-4ecd-9fc4-xxxxxxxxxxx', 'sequence': '1663291241000'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '10017xxxxx', 'apikey': '58b1eccd-8e49-4ecd-9fc4-xxxxxxxxxxx', 'sequence': '1663294841000'}",
          "Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '10017xxxxx', 'apikey': '58b1eccd-8e49-4ecd-9fc4-xxxxxxxxxxx', 'sequence': '1663298441000'}"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/core/ewelink/cloud.py",
          286
        ],
        "timestamp":<PHONE_NUMBER>.9745147,
        "exception": "",
        "count": 15,
        "first_occurred":<PHONE_NUMBER>.7375088
      },
      {
        "name": "custom_components.sonoff.core.ewelink.cloud",
        "message": [
          "Cloud WS Connection error: Cannot connect to host as-pconnect4.coolkit.cc:8080 ssl:default [Try again]",
          "Cloud WS Connection error: Cannot connect to host as-pconnect1.coolkit.cc:8080 ssl:default [Try again]",
          "Cloud WS Connection error: Cannot connect to host as-dispa.coolkit.cc:443 ssl:default [Try again]"
        ],
        "level": "WARNING",
        "source": [
          "custom_components/sonoff/core/ewelink/cloud.py",
          268
        ],
        "timestamp":<PHONE_NUMBER>.9432628,
        "exception": "",
        "count": 4,
        "first_occurred":<PHONE_NUMBER>.2964256
      }
    ],
    "device": {
      "uiid": 190,
      "params": {
        "bindInfos": "***",
        "version": 8,
        "ssid": "***",
        "bssid": "***",
        "fwVersion": "1.0.6",
        "switches": [
          {
            "switch": "on",
            "outlet": 0
          }
        ],
        "configure": [
          {
            "startup": "stay",
            "outlet": 0
          }
        ],
        "pulses": [
          {
            "pulse": "off",
            "switch": "off",
            "outlet": 0,
            "width": 500
          }
        ],
        "rssi": -60,
        "threshold": {
          "actPow": {
            "min": 10,
            "max": 500000
          },
          "voltage": {
            "min": 18500,
            "max": 26400
          },
          "current": {
            "min": 10,
            "max": 2000
          }
        },
        "current": 421,
        "voltage": 23200,
        "power": 88382,
        "dayKwh": 281,
        "monthKwh": 281,
        "uiActive": 60,
        "timeZone": 7,
        "sledOnline": "on",
        "only_device": {
          "ota": "success",
          "ota_fail_reason": 0
        },
        "getHoursKwh": {
          "start": 4464,
          "end": 4535
        }
      },
      "model": "POWR320D",
      "online": true,
      "localtype": "plug",
      "deviceid": "10017xxxxx"
    }
  }
}

I am also experiencing similar issues with POW & POWR2.
These were also inaccessible on HA when ewelink service went down over the past few days

I have also this behaviour since (as far as I know) 16th of September.

Same issue:
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2022.9.6",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.10.5",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Madrid",
"os_name": "Linux",
"os_version": "5.15.67",
"supervisor": "2022.09.1",
"host_os": "Home Assistant OS 9.0",
"docker_version": "20.10.17",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"climate_ip": {
"version": "3.5.2",
"requirements": [
"requests>=2.21.0",
"xmljson>=0.2.0"
]
},
"hacs": {
"version": "1.27.2",
"requirements": [
"aiogithubapi>=22.2.4"
]
},
"formulaone_api": {
"version": "0.1.5",
"requirements": [
"requests >=2.20"
]
},
"edge_tts": {
"version": "0.0.1",
"requirements": [
"edge-tts==5.0.1"
]
},
"sonoff": {
"version": "3.2.0",
"requirements": [
"pycryptodome>=3.6.6"
]
},
"alexa_media": {
"version": "4.1.2",
"requirements": [
"alexapy==1.26.3",
"packaging>=20.3",
"wrapt>=1.12.1"
]
},
"alarmo": {
"version": "v1.9.5",
"requirements": []
}
},
"integration_manifest": {
"domain": "sonoff",
"name": "Sonoff",
"config_flow": true,
"documentation": "https://github.com/AlexxIT/SonoffLAN",
"issue_tracker": "https://github.com/AlexxIT/SonoffLAN/issues",
"codeowners": [
"@AlexxIT"
],
"dependencies": [
"http",
"zeroconf"
],
"requirements": [
"pycryptodome>=3.6.6"
],
"version": "3.2.0",
"iot_class": "local_push",
"is_built_in": false
},
"data": {
"version": "38856d1",
"cloud_auth": true,
"config": null,
"options": {
"mode": "auto",
"debug": false,
"homes": 1
},
"errors": [
{
"name": "custom_components.sonoff.core.ewelink.local",
"message": [
"100173850d => Local4 | {'switches': [{'outlet': 0, 'switch': 'on'}]} <= {'sequence': '1664015653000', 'seq': 5, 'error': 400, 'encrypt': True}",
"100173850d => Local4 | {'switches': [{'outlet': 0, 'switch': 'off'}]} <= {'sequence': '1664015656000', 'seq': 8, 'error': 400, 'encrypt': True}",
"100173850d => Local4 | {'switches': [{'outlet': 0, 'switch': 'on'}]} <= {'sequence': '1664015657000', 'seq': 10, 'error': 400, 'encrypt': True}",
"100173850d => Local4 | {'switches': [{'outlet': 0, 'switch': 'off'}]} <= {'sequence': '1664015663000', 'seq': 14, 'error': 400, 'encrypt': True}",
"100173850d => Local4 | {'switches': [{'outlet': 0, 'switch': 'on'}]} <= {'sequence': '1664015992000', 'seq': 19, 'error': 400, 'encrypt': True}"
],
"level": "WARNING",
"source": [
"custom_components/sonoff/core/ewelink/local.py",
255
],
"timestamp":<PHONE_NUMBER>.4754107,
"exception": "",
"count": 10,
"first_occurred":<PHONE_NUMBER>.4797814
},
{
"name": "custom_components.sonoff.core.ewelink.cloud",
"message": [
"Cloud ERROR: {'error': 400, 'deviceid': 'ab300001fe', 'apikey': 'acb441d7-1b57-48d8-8fd5-xxxxx', 'sequence': '1664014875000'}",
"Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '100173850d', 'apikey': 'acb441d7-1b57-48d8-8fd5-xxxxx', 'sequence': '1664018204000'}",
"Cloud ERROR: {'error': 400, 'deviceid': 'ab300001fe', 'apikey': 'acb441d7-1b57-48d8-8fd5-xxxxx', 'sequence': '1664018475000'}",
"Cloud ERROR: {'error': 504, 'reason': 'Request Timeout', 'deviceid': '100173850d', 'apikey': 'acb441d7-1b57-48d8-8fd5-xxxxx', 'sequence': '1664021804000'}",
"Cloud ERROR: {'error': 400, 'deviceid': 'ab300001fe', 'apikey': 'acb441d7-1b57-48d8-8fd5-xxxxx', 'sequence': '1664022075001'}"
],
"level": "WARNING",
"source": [
"custom_components/sonoff/core/ewelink/cloud.py",
286
],
"timestamp":<PHONE_NUMBER>.1155539,
"exception": "",
"count": 8,
"first_occurred":<PHONE_NUMBER>.6192422
}
],
"device": {
"uiid": 190,
"params": {
"bindInfos": "",
"version": 8,
"ssid": "",
"bssid": "***",
"fwVersion": "1.0.6",
"switches": [
{
"outlet": 0,
"switch": "off"
}
],
"configure": [
{
"startup": "stay",
"outlet": 0
}
],
"pulses": [
{
"pulse": "off",
"switch": "off",
"outlet": 0,
"width": 500
}
],
"rssi": -56,
"threshold": {
"actPow": {
"min": 10,
"max": 500000
},
"voltage": {
"min": 18500,
"max": 26400
},
"current": {
"min": 10,
"max": 2000
}
},
"current": 0,
"voltage": 0,
"power": 0,
"dayKwh": 0,
"monthKwh": 2,
"uiActive": 60,
"timeZone": 2,
"getHoursKwh": {
"start": 3720,
"end": 4463
},
"sledOnline": "on",
"only_device": {
"ota": "success",
"ota_fail_reason": 0
},
"operSide": 1
},
"model": "POWR320D",
"online": true,
"localtype": "plug",
"deviceid": "100173850d"
}
}
}

@Brix1330 you have problems with Internet. Cloud command used to force pow sensor updates. This is what ewelink app do when you open it. You can try to setup manual updates as described in readme

Hi, another problem. Entity energy is unknow.

I have the same issue, Sonoff Local is showing Unknown Energy in Home Assistant when using Sonoff Local. Please share if anyone has any clue on how to fix this.

Eu tenho o mesmo problema, alguém conseguiu arrumar ?

I'm experiencing the same issue. Can anyone confirm whether it's possible to use the energy sensor in the energy dashboard?

I did a search and after updating dp firmware 1.0.7 it stopped showing the values in Energy

Ho ok, my bad luck ! I just received it with this firmware.
Any idea how to get an energy sensor for the energy dashboard using the other value ?

Should be fixed in latest master version

https://github.com/AlexxIT/SonoffLAN/releases/tag/v3.5.1

sonoff POWR320D came back with a problem with the power button being turned off and it does not show the values and it fails, try again... is the same problem happening to you?

sonoff POWR320D came back with a problem with the power button being turned off and it does not show the values and it fails, try again... is the same problem happening to you?

Yeah. If the switch is off it's detected as offline/unavailable, I have to manually turn it back on via eWeLink.

So, not even activating it manually, it works again, it stays connected, only the blue and red lights are off and the internet is connected and the display with all the numbers, the on and off button only works to activate Wi-Fihttps://i.imgur.com/K2hJgI7.jpg on/off button not working

POW Elite (POWR320D) has stopped working?

I was having the similar problem as yours.
Started off like that last month, and then after a day or two, it became completely not responding. Even after turning the main breaker on/off still nothing... no led or showing anything on the display.
I have contacted Sonoff customer service and they said it could be hardware issue. My Sonoff is about a year old.

so mine is working on ewelink it just doesn't work on Home assistant

It worked normally again after the update, woohoo!


Youtube videos are always the same height

Look into web components for resize-friendly Youtube embeds?

Resolved by commit #cf2ef26


netCDF input: TypeError about datetime raised

Hi,
I'm having a problem opening and importing data from a netCDF file produced by some atmosphere model:
In [38]: ls
atm_in                               camrun.cpl.r.0095-08-01-00600.nc
bld/                                 camrun.cpl.r.0095-08-04-21000.nc
cam.log                              ccsm_timing
camrun.cam.h0.0095-07-18-19800.nc    chem_mech.in
camrun.cam.r.0095-08-01-00600.nc     drv_flds_in
camrun.cam.r.0095-08-04-21000.nc     drv_in
camrun.cam.rs.0095-08-01-00600.nc    ice_in
camrun.cam.rs.0095-08-04-21000.nc    lnd_in
camrun.clm2.h0.0095-07.nc            ocn_in
camrun.clm2.r.0095-08-01-00600.nc    rof_in
camrun.clm2.r.0095-08-04-21000.nc    rpointer.atm
camrun.clm2.rh0.0095-08-01-00600.nc  rpointer.drv
camrun.clm2.rh0.0095-08-04-21000.nc  rpointer.lnd

In [39]: h0rrtmg = xray.open_dataset("camrun.cam.h0.0095-07-18-19800.nc")

In [40]: h0rrtmg
Out[40]: <repr(<xray.core.dataset.Dataset at 0x2aab65ffd7b8>) failed: TypeError: Cannot cast datetime.date object from metadata [D] to [ns] according to the rule 'same_kind'>

I can open it using the netCDF4 module
In [51]: h0rrtmg = netCDF4.Dataset('camrun.cam.h0.0095-07-18-19800.nc', 'r')

In [52]: h0rrtmg.variables['time']
Out[52]: <netCDF4.Variable at 0x2aab6607fdc8>

In [53]: h0rrtmg.variables['time'].units
Out[53]: 'days since 0095-07-18 05:30:00'

In [54]: h0rrtmg.variables['time'].dtype
Out[54]: dtype('float64')

In [55]: h0rrtmg.variables['time'][:5]
Out[55]: array([ 0.        ,  0.01388889,  0.02777778,  0.04166667,  0.05555556])

What is happening here?  Is there something that I ought to change in the .nc file before using xray, or should something change in xray so that it can read this .nc file?
The .nc file can be found here: https://drive.google.com/file/d/0B68-5koyGA7IOG9ydVhkbVh1SUU/view?usp=sharing
Thanks

Hmm. This is different from the usual datetime decoding issue I've noticed. I'll investigate.
For now, use decode_times=False when calling open_dataset.

PR #350 fixes this. It will be included in the next xray release (v0.4), which will come out in a day or day.


Comment the test assertion

This PR comments the test assertion.
We'll add it back once we figure out the reason why it fails.

Problem is found in https://github.com/linkedin/pinot/pull/2823. No need to have this RP.


Switch to jackc/pgx PostgreSQL driver.

As of the last release, the driver we are currently using (https://github.com/lib/pq) is not "actively developed" and the developers recommend using https://github.com/jackc/pgx instead.

Unlike in projectionkit, I don't see any very compelling reason to retain support for pq.

Tests are currently running using both drivers. We can keep support for lib/pq for now.


Error building image with s6 (nginx)

Some permissions related issue for an nginx build:
curl -LO https://raw.githubusercontent.com/chainguard-images/images/main/images/nginx/configs/latest.apko.yaml

./apko build latest.apko.yaml nginx output.tar

docker load < output.tar

docker run --rm nginx:latest

Error:
s6-svscan: fatal: unable to mkdir .s6-svscan: Permission denied

And running as root, different type of error:
docker run --rm -u root nginx:latest

s6-supervise nginx: warning: unable to spawn ./run - waiting 10 seconds
s6-supervise nginx (child): fatal: unable to exec run: Permission denied

Got it. The permissions on /sv directory in the new image are off:
drwxrwxrwx    1 root     root          4096 Feb 10 12:46 /sv

vs
drwxr-xr-x    3 root     root          4096 Jan  1  1970 /sv

Now to figure out why that is.
This just makes the stronger case for what we wanted to do @jdolitsky ; build all of the images with the new and the old, and then do a file by file comparison. Still on my list.

Ah, Chown() in memfs never was properly implemented. Going to patch it in.


Paste the info from the blog post into the project docs

The blog post gives a lot good context and info we can include in the project itself
https://docs.google.com/document/d/1x_CpO3yIEX8dxyjAj1pk5XLedPjK9Xozi6ZALX1_z0U/edit?ts=5ffeff01#heading=h.1dom5c5t1xrn

The main usage of library was already described in this subpage: https://github.com/scylladb/scylla-cdc-java/tree/master/scylla-cdc-printer. The text from blogpost actually originated from this subpage. It is linked from the main README ("Next steps").
As there were certain changes made when publishing the blogpost, I integrated them back into that subpage. Also copied the "Why Use a Library?" section from the blogpost into the main README.

so can this issue be closed then? @tzach @avelanarius ?