Cluster gets recreated(deleted then created) for the latest version v2.3.0

Describe the Bug
When trying to upgrade kafka module to current latest version, it has an unexpected behaviour. It deletes the current kafka cluster, and try to recreate it. Also, the Security Group gets deleted and recreated with same rules. The only difference is that it changes its name from "default" to "cbd":
module.test-kafka-cluster.module.msk_cluster.module.security_group.aws_security_group.cbd[0] will be created

resource "aws_security_group" "cbd" {

arn                    = (known after apply)
description            = "Managed by Terraform"
egress                 = (known after apply)
id                     = (known after apply)
ingress                = (known after apply)
name                   = (known after apply)
name_prefix            = (known after apply)
owner_id               = (known after apply)
revoke_rules_on_delete = false
tags                   = {

"Environment" = "test-kafka-upgrade"
"ManagedBy"   = "Terraform"
"Name"        = "devops-test-kafka-upgrade"
"Namespace"   = "devops"
"Team"        = "devops"
}

tags_all               = {

"Environment" = "test-kafka-upgrade"
"ManagedBy"   = "Terraform"
"Name"        = "devops-test-kafka-upgrade"
"Namespace"   = "devops"
"Team"        = "devops"
}

module.test-kafka-cluster.module.msk_cluster.module.security_group.random_id.rule_change_forces_new_security_group[0] will be created

resource "random_id" "rule_change_forces_new_security_group" {

b64_std     = (known after apply)
b64_url     = (known after apply)
byte_length = 3
dec         = (known after apply)
hex         = (known after apply)
id          = (known after apply)

module.test-kafka-cluster.module.msk_cluster.module.broker_security_group.aws_security_group.default[0] will be destroyed
(because aws_security_group.default is not in configuration)

resource "aws_security_group" "default" {

arn                    = "arn:aws:ec2:AWS-AZ:AWS-ACCOUNT-ID:security-group/sg-SG-ID" -> null

description            = "MSK broker access" -> null
module.test-kafka-cluster.module.msk_cluster.aws_msk_cluster.default[0] must be replaced

-/+ resource "aws_msk_cluster" "default" {
          ~ broker_node_group_info {
      ~ ebs_volume_size = 20 -> (known after apply)
      ~ security_groups = [
          - "sg-0e1e8b46171217159",
        ] -> (known after apply) # forces replacement
        # (3 unchanged attributes hidden)
        # (2 unchanged blocks hidden)
    }

Expected Behavior
Upgrade should've been smooth, and the attempt of deleting and creating again the kafka cluster should never happen.
Steps to Reproduce
Tried to upgrade from kafka module from version v1.3.1 to v2.3.0.
Screenshots
No response
Environment
No response
Additional Context
No response

Still the same behaviour after added those vars...It tdeletes the cluster and the security group, and tries to create them again. This means downtime and maybe lost of data...right?
module.test-kafka-cluster.module.msk_cluster.aws_msk_cluster.default[0] must be replaced
-/+ resource "aws_msk_cluster" "default" {
module.test-kafka-cluster.module.msk_cluster.module.broker_security_group.aws_security_group.default[0] will be destroyed
(because aws_security_group.default is not in configuration)

resource "aws_security_group" "default" {

Some extra work needed. I figured it out.
You need to add moved block so terraform sees that there is rename of a security group module (which forces cluster recreation later).
moved {
  from = module.msk_cluster.module.broker_security_group
  to   = module.msk_cluster.module.security_group
}

Also you need the block that @dmitriy-lukyanchikov mentioned. In my case I need to set description of sg as well (as default one changed and that also forcing recreation)
module "msk_cluster" {
  source  = "cloudposse/msk-apache-kafka-cluster/aws"
  version = "2.3.0"

  security_group_create_before_destroy = false
  preserve_security_group_id           = true
  security_group_description           = "MSK broker access"
  ...
}

As a result only my aws_security_group_rules were recreated. Also new aws_msk_configuration was added as default name pattern for it changed (added kafka version).
Sorry guys but this should be mentioned in the 2.0.0 release notes. It's not easy to figure it out without some debugging.
I'm not sure but maybe you can put moved block (with some modification) inside the module code. But as users can set create_security_group to false it should be well tested.

I'm glad that my codehelped you :)
About this aws_msk_configuration - quick look shows that they added join with kafka_version variable in the code (which is root cause to create new config version). From main.tf:
name           = join("-", [module.this.id, replace(var.kafka_version, ".", "-")])

Because kafka_version cannot be null - IMHO it cannot be avoided.
You can fork the code and change this line to omit this join/replace - so you will keep your old name.


Count all allocations used by DynamicRootSet as external bytes.

This includes bytes allocated by individual root handles.
When the API becomes "rootless" (which imo should happen before the next release), this will make gc-arena theoretically count the total memory used by the arena including all roots.

I went back and forth on this, I don't think incrementing the external byte count is useful from the perspective of collecting anything, because we know that since those are roots we cannot possibly collect them by running the collector more. However, since they are roots they exist "inside" the arena and are morally allocated by it, and used to actually be allocated by it when they used Gc pointers instead of Rc.
I think from the perspective of "keeping memory usage in check" it MIGHT make sense to keep track of root sizes as allocations?
I really can't make up my mind on this, but I opened this PR to discuss it.


Adding sideloader

@hodgestar @miltontony ready for review.
This repo is now @ Tag version 0.79 of the their repo.
No further commits to this.
Just sideloader.

Broader question -- is this for sideloader2 or something? I was expecting a .deploy.yml and customary build and postinstall scripts?

@hodgestar is this better? ready for review.

@bruskiza Maybe see https://github.com/praekelt/django-imali-yethu/tree/develop/scripts for example scripts?

@hodgestar how's about now? ready for review.

:+1:

\o/


tracking issue: initial version

[x] NATS integration @snowpeakz
[ ] tutorials

[ ] Introduction
[ ] Installation @williamstar
[ ] Getting Started
[ ] Benchmark

[ ] XDL @snowpeakz
[ ] Paddle @snowpeakz

[ ] Data processing
[ ] Monitoring @snowpeakz
[ ] Inference @snowpeakz
[ ] Model checkpointing
[ ] Troubleshooting
[ ] Kubernetes Integration @williamstar

[ ] multi-node multi-card usable demo @williamstar
[ ] fix remaining bugs (like in data processing) @williamstar
[ ] tutorial & python documentation @williamstar @snowpeakz
[ ] all persia container images @williamstar
[x] publish PyPI wheels on CI @NOBLES5E
[ ] publish crates.io packages on CI @NOBLES5E
[x] API documentation website @NOBLES5E

 multi-node multi-card usable demo need to launch with docker service create to assign gpu resource


Real Spherical Harmonics

finish implementation of real SH
some basic performance tests
laplacian

CC: @DexuanZhou -- Would you be interested in extending the implementation to the solid spherical harmonics? It should be fairly straightforward. We can discuss and I can give you push access.

Sure, I'm very happy to.

ok ... but thinking more about it I think I will merge this and let you start a new PR for the solid harmonics


Remove dependency on apt-get install sshfs

sshfs could be replaced with 9pfs

The current discussion is happening in https://github.com/AkihiroSuda/lima/issues/20


Drop XML-RPC support

Basically the reason for this is that the standard library's xmlrpclib does not support any kind of authentication. Whilst we could make efforts to support this there is jsonrpc-requests that does fully support HTTPS as well as Basic and Digest auth.


WIP: Filesystem abstraction

Here is a rough implementation of an abstraction over the file system and other OS functions (ex. user directories). There is a trait FileSystem, a trait object of which can be passed to FileDialog as a way of overriding the default behavior. As a way of testing the API, I threw together a browser demo which allows one to upload a ZIP file and browse its contents: https://masterchef365.github.io/file-dialog-on-web/
More to come, as I work out the rest of the implementation details. Mostly wanted to get some eyes on the API choices I've made here (is Arc the right interface?).

This already looks very good! Thanks for working on this.
Yep, we have to use Arc to keep the file dialog thread safe.

Marked as ready for review, BUT I think at the very least the doc comments on the (newly exposed to the user) MetaData, Disk, Disks, and UserDirectories structs probably need updating.


Support for city/town

I am trying to perform a data visualization with information about cities/towns, but I don't find any way how to extract such borders.
Are these information available in the original shapefile? Is it possible to extract in some ways these information?

@micheleorsi, for the US, you can find citiy shapefiles here: ftp://ftp2.census.gov/geo/tiger/TIGER2014/PLACE/

Thanks so much @jbielick! I will try in the next days!

Closing old issues. Sorry I never replied.


daos: update documentation

TODO add HDF5 to build docs.
Fixed some errors in the documentation.
Added more examples.
Signed-off-by: Dalton Bohning<EMAIL_ADDRESS>

@dsikich No rush on this, but just FYI.


Keep legacy API

Since we are not settled on a stable API yet, and the library is already in use in workflows, I say we add new functionality and API changes in an additive manner and keep the old working code intact for now. This will solve some headaches regarding volatile API and its repercussions.
Related to #17 #16

@szaman19 all old APIs can be marked with deprecate warning decorator to make it easier for transition


Recording Audio #372

Fixes #372

I have one piece to clarify about the permissions API.  It is currently failing in Chrome so I might just pull it.

I think I have fixed everything, and also merged in @jpmedley's changes.


Item modification

How can I change to another original item while retaining the material of the item module?

PolyConfig doesn't yet support modifying item polys. Sorry that's kind of misleading on my part


[Feat] : Improvements in Lab Test section design

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Improve Lab Test section with clear categories, search and filters, detailed test info, transparent pricing, personalized recommendations(*) , and quick support access(Comments section).
Use Case
The Lab Test section allows users to search and track lab tests effortlessly, view detailed info and access test history, ensuring a seamless healthcare experience.
Benefits
Visually appealing website would attract Users.
Priority
High
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

@Ashwinib26 not needed


Command prompt here?

Description of the new feature/enhancement
Is there any way to add some like "New Command Tab Here" to a File Explorer shift+context menu as there are for the old-style cmd and power shells?  I apologize if this is already possible, but I don't know how those things work, so I couldn't figure out how to do it with Terminal.  However, if I could change the existing one to terminal, I'd never use the CMD shell again.  :-)

Proposed technical implementation details (optional)

A new tab with the current directory set to the one currently selected for the shift+context menu that invokes the command.  The best possible options would be to be able to open any shell, as the current user or as administrator in the current folder from the file explorer shift+context menu.

/dup #1060


Add auxiliary files with a iconTaskName property for each CI template.

The .metadata auxiliary files will be used for template properties we need beyond name and description. By having one auxiliary file per template, it's harder to overlook template properties when adding or updating a template, and makes removing templates easier. I considered the file extension ".props", but that's already a popular extension.
The first property, iconTaskName, is used to associate a task's icon with a template. VSTS Build designer templates use iconTaskId and the task id guid for association. But those templates also refer to tasks by id. Given that yaml configuration refers to tasks by name, it should be safe and stable to use task names in our properties. Using task names makes authoring and code review easier.

Closing until I discuss with my team in person.


Python script

Enhance the eosiod_run_test.py:

allow to test with remote eosiod servers.
If "issue" results in unexpected balance, we try to issue again(to handle the case when eosio already has some balance before the test)
more startup parameters, allow not to kill eosiowd after the test. This is good when someone wants to run some command manually after the test.

@taokayan Can we get some resolution on this PR. Please update.

I recommend dropping this PR at this time. I never heard back on my review comments. At this time these changes are outdated.

Sorry for my late reply. I think this can be ignored at the moment.

Closing this for now.


revert: "fix(ngRoute): allow ngView to be included in an asynchronously loaded template"

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix (regression).
What is the current behavior? (You can also link to an open issue here)
Eagerly loading $route, could break tests, because it might request the root or default route
template (something $httpBackend would know nothing about).
See #14337.
What is the new behavior (if this is a feature change)?
Tests don't break.
Also, this was added as a known issue in ngView docs.
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#commit-message-format
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Other information:
This reverts commit 5e37b2a.
It will be re-applied for v1.6.x, with a breaking change notice and possibly a way to disable
the feature is tests.
Fixes #14337

LGTM


Term Frequency–Inverse Document Frequency (tf-idf)

Tf-Idf determine how important a word (or words) is to a document relative to a corpus.

Resolved by #25


drivers: gpio: shell: Improved error reporting

Invalid device now generates message and errno return
Arguments checked with shell_strtoul
gpio function call return values checked and passed on
Device name completion and usage text added
SHELL_GPIO enabled when SHELL and GPIO both enabled
Configuration command now accepts integer argument as well and named modes

Hi @aasinclair, apologies up front from me, I forgot to check if anyone else had been working on this shell and ended up recently putting together a PR for it also see PR 63019. The lack of tab suggestion and completion functionality was the bad user experience I'd recently had which was the trigger for me to try to find a solution. In the PR I used the dynamic subcommand and the dictionary subcommand APIs to enable tab suggestion/complete feature for all gpio_shell subcommands. The benefit of re-structuring the gpio_shell to utilise the dynamic subcommand API for device name and pin sub commands, and the dictionary subcommand API for pin config options and pin set values is that if the user manually enters something not in the subcommand set the shell will automatically reject it and will print out the valid subcommand options available which removes the need to write error checking code for these subcommands as it's already built into these subcommand APIs.
In addition I can now see there's a way forward with this tab suggestion/completion strategy to use the Devicetree to limit the device suggestions to only gpio devices similar to the adc_shell (link) and to use the Devicetree to limit the pin subcommands to only those indicated as available by these gpio bindings properties.
So in summary I think tab suggestion/completion functionality in the gpio_shell would be a good base line for it to have so I implore you and others to have a look at PR 63019 as an alternate way forward. If there's consensus PR 63019 is a desirable way forward I'm of course happy to modify with ideas from this PR or if alternatively this PR is deemed the preferred way feel free to pull in any ideas from PR 63019. Thanks.

Hi @aasinclair, apologies up front from me, I forgot to check if anyone else had been working on this shell and ended up recently putting together a PR for it also see PR 63019. The lack of tab suggestion and completion functionality was the bad user experience I'd recently had which was the trigger for me to try to find a solution. In the PR I used the dynamic subcommand and the dictionary subcommand APIs to enable tab suggestion/complete feature for all gpio_shell subcommands. The benefit of re-structuring the gpio_shell to utilise the dynamic subcommand API for device name and pin sub commands, and the dictionary subcommand API for pin config options and pin set values is that if the user manually enters something not in the subcommand set the shell will automatically reject it and will print out the valid subcommand options available which removes the need to write error checking code for these subcommands as it's already built into these subcommand APIs.
In addition I can now see there's a way forward with this tab suggestion/completion strategy to use the Devicetree to limit the device suggestions to only gpio devices similar to the adc_shell (link) and to use the Devicetree to limit the pin subcommands to only those indicated as available by these gpio bindings properties.
So in summary I think tab suggestion/completion functionality in the gpio_shell would be a good base line for it to have so I implore you and others to have a look at PR 63019 as an alternate way forward. If there's consensus PR 63019 is a desirable way forward I'm of course happy to modify with ideas from this PR or if alternatively this PR is deemed the preferred way feel free to pull in any ideas from PR 63019. Thanks.

Hi @nixward.
I've just tested your PR and the autocompletion is great, so I think it would be prudent to take your PR as a starting point.
The only features I would really like to see from this PR are:

Add default y to the Kconfig, so you don't have to manually specify CONFIG_GPIO_SHELL (Just CONFIG_SHELL is enough).
Add the option for custom configuration of the pin (in addition to in, inu, ind, out).

In theory it is possible that an API call will return an error even if all the arguments were correct. Example - if we're controlling a GPIO extender, connected through an external bus (say SPI or I2C), call to it could fail if the bus connection got disrupted. So, I disagree that autocompletion "removes the need to write error checking code".

@WalkingTalkingPotato yes I agree, sorry I should have been more specific, it removes the need for error handling of some incorrect input, i.e. the gpio_pin_set() value will always be 0 or 1 as that is all the subcommand will allow otherwise the dictionary subcommand API will inform the user they need to select 0 or 1. But yes if gpio_pin_set() returns an error it should be reported via the shell so I'll double check that is handled. Please feel free to point out anything I've missed.


test bsd/isc/mit licenses before titles added/changed still detected

If this is to be merged at all it probably shouldn't be until https://github.com/github/choosealicense.com/pull/373 is, which this is intended to test.
I wondered whether adding/changing license titles as discussed in link above and the PR it builds on would cause any problems for license matching so additional licensee tests seemed like a good way to proceed.

It should be fine. It'll fall back to using the wordset comparison, rather than an exact match, which'll be slightly slower, but should still be a match, as the wordset should still be the same.

It does still match, unless I wrote the tests wrong. I went ahead and merged the title adds/change in https://github.com/github/choosealicense.com/pull/373

Thanks @mlinksva!


The frontend should be adapted to use an API call that gets all assignments and their completion

Details and resources
As per issue #469, there will be an API route that will allow us to get the completed status of all assignments in a program at once. Right now in the webapp, we are retrieving this information one-by-one as needed.
In this issue, we will compile all work required to adapt the webapp to this new route for fetching the information. (The existing logic to set a new value for a completed status for an assignment should be otherwise unchanged, although if any changes to where we are storing assignments' completed statuses is required, then the setting logic may have to be updated for the state to persist.)
This issue is open for anyone who wants to tackle it.
Checklist

[x] This issue is linked to the appropriate project.
[x] This issue has appropriate labels.

Dec 12 progress update:

Manually added rows to participant_activities table and tested #469 http://api.rhi.zone-development/programs/activityStatus/1
Tried to apply above route to the front end:
Fetch participantActivitiesCompletionList and push completion status to each of program.activities"

Dec 13 progress update:

It now can pass the activities with completion status to the 'event' property of calendar


Error when deleting line

When having both LSP & Lua up this error prompts after deleting a line using 'dd' combo.
Error detected while processing TextChanged Autocommands for "*":
E5108: Error executing lua .../site/pack/packer/opt/LuaSnip/lua/luasnip/nodes/node.lua:99: attempt to get length of a nil value
Will share configs on demand.

You're probably in an active snippet, right? (Meaning, you haven't jumped to the exit node i(0) yet.)
If you mess with an active snippet, things get ugly fast.

That's the thing, it occurs even when ending the snippet.
For example (in python):
def -> def {$1 function name} {$2 params} {pass}
even after getting out of the scope, using dd prompts this error.
On top of that for some reason I have multiple snippets that provides the same behavior.

Then you should give a reproducible and minimal example that someone can copy and test.

Have you checked whether there's some formatting from the language server? That may mess up extmarks.
Anyway, @clason is right, a reproducible example would be great

Changing updateevents to default InsertLeave solved the issue.
Is there a reproduction example structure to follow ? Tried to explain it in a previous post  but I assume it's not reproducible.

Could you try with your old updateevents and latest master?

Is there a reproduction example structure to follow ?

Not really, just a short, deterministic description that leads to the error is fine

Could you try with your old updateevents and latest master?

Having an issue to update LuaSnip with packer. worked yesterday.

Someone forced pushed to master

:grimacing::grimacing:

I'll assume this is fixed, feel free to reopen if not :)


fix: unify switch rounded button

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix

Needs Design check

@exezbcz please review

Context

[x] Closes #7865
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

Copilot Summary

🤖 Generated by Copilot at e1cf64a
Removed unused rounded prop from BasicSwitch component. This improves code quality and prevents console warnings.

🤖 Generated by Copilot at e1cf64a

rounded prop gone
console warning silenced now
clean code like spring air

thanks!


[SPARK-14702] [Core] Expose SparkLauncher's ProcessBuilder for user flexibility

What changes were proposed in this pull request?
making public the ProcessBuilder that SparkLauncher uses to construct the process used in SparkLauncher.launch()
How was this patch tested?
tests not needed, just exposed/rename a private method

Can one of the admins verify this patch?

Thanks for the pull request. We can't just change a private to public like this, because it can make the API more difficult to maintain in the long run. Can you justify more why this is needed, and why you can't work around it from the user side?

@rxin yep, we need the ability to set the working directory of the SparkLauncher.launch call, as well as piping output and error streams to various files. Simply giving the user the Process created from the ProcessBuilder grants them none of this flexibility.
There are hacky ways to do both, such as manually grabbing the InputStreams and ErrorStreams, getting the byte arrays of the output, then byte syncing it out to a file with Guava's ByteStreams (example here: http://stackoverflow.com/a/17095886). Setting the working directory is even hackier as it involves messing with System.properties("user.dir"), something you should generally avoid messing with. All of this is simplified with the ProcessBuilder.

@rxin any thoughts on opening this up as part of the API?

If that's the issue then I think the right way is to make the working directory configurable or something. We shouldn't just expose this internal API. Also cc @vanzin

I sort of like the idea of exposing the ProcessBuilder. While particularly for the working directory we could add a setting, it's cleaner to just use the java API; and for the streams, Java 7 has added some nice APIs that would be more cumbersome to wrap around configs.
The thing that's missing from this PR is to add the same treatment for startApplication. I'm a little wary of suggesting an overloaded method that takes a ProcessBuilder argument (aside from the list of listeners), because that means you could pass in any instance, not necessarily one that will start a Spark application. But that's the easiest way to do it, and maybe the case I'm thinking can be filed under "user error".

Yeah I would be a bit wary of just exposing ProcessBuilder without having a way to do the startApplication.  You don't want the user to have to do the LaunchServer and ChildProc stuff.  startApplication also sets redirectErrorStream, which as mentioned above he seems to want to be able to control also.
On the other hand  I was just looking at better integration with oozie and allowing passing processBuilder into startApplication would allow them to do what they want.  oozie doesn't want to have to rely on the spark-submit script so if they could set any ProcessBuilder they could simply create one that does SparkSubmit.main.  But I would rather just see us add official support for that use case.
I think it comes down to giving the user full control vs us having to support funky use cases and them doing weird things.

closing, fixed by https://github.com/apache/spark/pull/14201


Updated README.md

Added permissions and aliases to the command list. Updated the description with Essentials' future in mind.

Wow, you're the best.
All my thanks for all the changes you've done.

 I'm glad to help. :)


Add Erin Hughes as a Doc Maintainer

Erin is working on a new Fabric website and needs to be able to merge and test her content
Signed-off-by: pama-ibm<EMAIL_ADDRESS>Type of change

Documentation update

Description
Additional details

This change is related to a proposed Fabric website. We've decided to ask for an RFC first.


Moving API functions to their respective files

Move project API functions to project file
Move activation API functions to activation file
Move rule API functions to rule file
Move job API functions to job file

Context
This PR is a follow up to adding the deletes endpoint because the projects/activations files were being added while I worked on that one. While moving over the delete functions to their respective files - I just moved over the other API functions as well.

@abaiken rebase please


add rendering context

This pr adds contexts that specify where elements can be dragged and what types of elements are allowed as children of an element. The changes are meant to fix https://github.com/cdglabs/apparatus/issues/54.
getAllowedDragContext determines what context the element can be dragged into.
getChildDragContext determined what context an element must have to be dragged into its children.
The properties are obtained using a getter because for groups it depends on the contents of the group.
One possible issue with this is for groups to determine their rendering context there is a recursive call that may be expensive for deeply nested groups.

@zindlerb: Thanks for sending this in! My plan is to take a look at it tomorrow – I should be able to get back to you by the end of the day.

Nice! This looks right on track. A few thoughts follow – please let me know what you think. Thanks again for your contribution!
1:
I would prefer this be called "shape interpretation context" (or something like that) rather than "dragging context". Here's how I see it: You are computing some properties of Shape nodes in a diagram's node graph, which you call getAllowedDragContext and getChildDragContext. The editor is using these properties to determine when shapes can be set as children of other shapes, which is currently done in the editor by dragging. But there's nothing fundamental here about dragging. For instance, if we ever add a context-menu-based cut/paste system, it will use the same logic.
That is, properties which refer to particular editor features feel out of place in Model.coffee. How about getAllowedShapeInterpretationContext and getAllowedShapeInterpretationContextForChildren? Something like that?
2:
I think the logic for Groups is a bit off.
If I put an Anchor in a Group (using the menu bar):

I cannot drag other Anchors into that Group. Not good.
I can drag Rectangles into it. Also not good.

Also, if I have an empty Group sitting around in the Shape tree, I cannot drag it to be a sibling of an Anchor, even though I should be able to.
I think that last example brings up a structural issue with your approach: Empty Groups can be placed in "rendering" shape interpretation contexts and in "anchor collection" shape interpretation contexts. So they don't have only one allowed context.
I think your properties should probably return arrays of contexts. This would still work with your class-name based implementation – you just need to construct the right queries.

definitely agree. getAllowedShapeInterpretationContext and getAllowedShapeInterpretationContextForChildren sound good

Arrays of contexts works for me. I initially thought each situation had 1 context but that empty group example is a good point. I'll update the pr per these points.

I updated the pr to address the comments. Let me know if there is any other feedback!

Works great! Thanks for taking the time to respond to my comments.


[AMD-ZENDNN] Code changes to support TF-Plugin for AMD CPU Inference

With this code change we introduce, Zen layout pass to re-write supported ops with ZenOps.
All code changes are under AMD_ZENDNN flag which is enabled for linux builds only.
Authors:
Aakar Dwivedi<EMAIL_ADDRESS>)
Aditya Chatterjee<EMAIL_ADDRESS>)
Arun Coimbatore Ramachandran<EMAIL_ADDRESS>)
Avinash-Chandra Pandey<EMAIL_ADDRESS>)
Chandra Kumar Ramasamy<EMAIL_ADDRESS>)
Savan Anadani<EMAIL_ADDRESS>)
Signed-off-by: Aakar Dwivedi<EMAIL_ADDRESS>

/cc @penpornk

I have one (hopefully) last batch of comments. Thank you for your patience!

Thank you for such detailed effort in reviewing the code. We have addressed your comments.

@aadwived Could you please help fix buildifier formatting errors? Thank you!
(Load rules and dependency targets needs to be sorted alphabetically.)

Thank you for the quick review and approval @penpornk . We have fixed the errors mentioned in buildifier formatting errors.

Hello @penpornk ,
Thank you again for all your effort and patience!
Apologies for an additional commit. Other than alphabetic ordering two indentation errors were also fixed.
Can you kindly approve once more?

ARM CI has 6 failed tests and 1 test timed out.
# 6 failed
tensorflow/core/platform:ram_file_system_test
tensorflow/python/compiler/xla:xla_test_cpu
tensorflow/python/compiler/xla:xla_test_gpu
tensorflow/python/data/experimental/kernel_tests:checkpoint_input_pipeline_hook_test
tensorflow/python/distribute:parameter_server_strategy_test_cpu
tensorflow/python/distribute:parameter_server_strategy_test_gpu
# 1 timed out
tensorflow/python/data/experimental/kernel_tests/optimization:optimization_test

https://github.com/tensorflow/tensorflow/commit/a35dac30a05bfb6668444357c79413c60bdbf1aa also failed the same 6 tests and has the same timed out test. So I think this is unrelated to this PR.

Hello @penpornk ,
Yes, you are right this issue is not related to this PR. We could observe same issue in other PRs as well.
Thank you!

Just a heads up that this PR caused a segfault in an internal test. I'm taking a look.

Just a heads up that this PR caused a segfault in an internal test. I'm taking a look.

Hi @penpornk, thank you for the heads up. We request for any detail/direction that could help us to know more about this issue and resolve it.

@cramasam Thank you for offering! I've resolved the issue internally. The PR is now merged. :)


Migrate post and get methods to appscript

Description:
Currently the backend functionality of checking for existing data ,appending data, creating metadata of post method and get methods are executed in ballerina side. This has to be migrated to appscript to reduce the number of API calls and susceptibility to failures.

As there is no special advantage in migrating readTableAsStream to the app script, we will be changing the code to use googlesheets API instead of google visualisation query language


unarchive: Failed to find handler

Role fails on the "Download fzf" step, which uses the unarchive module.

TASK [viasite-ansible.zsh : Download fzf] **************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to find handler for "/private/var/folders/c6/qyn82s7d2d7dkhzqsl3p5yg80000gn/T/ansible_PEb4Qn/fzf-0.16.8-linux_amd64.tgz". Make sure the required command to extract the file is installed. Command "/usr/bin/tar" detected as tar type bsd. GNU tar required. Command "/usr/bin/unzip" could not handle archive."}

I have both tar and unzip installed:
$ which tar
/usr/bin/tar
$ ls -hal /usr/bin/tar
lrwxr-xr-x 1 root wheel 6 Jul 16  2015 /usr/bin/tar -> bsdtar
$  which unzip
/usr/bin/unzip
$ ls -hal /usr/bin/unzip
-rwxr-xr-x 2 root wheel 158K May  1  2015 /usr/bin/unzip

OSX, zsh already installed, default playbook, run with ansible-playbook -i 'localhost,' -c local playbook.yml.
I also doubt that https://github.com/junegunn/fzf-bin/releases/download/0.16.8/fzf-0.16.8-linux_amd64.tgz is the correct option for OSX, so I've opened #17. Running the playbook with --extra-vars "zsh_fzf_os={{ ansible_os_family }}" results in using the darwin release, but doesn't fix the problem.
Any ideas on how to debug this further?

Heh, I've overlooked the problem. I've got bsdtar, while GNU tar is required. So, brew install gnu-tar solved the problem.

Still not sure if this should be handled in the role.

I think that role should be provisioned on clean macOS only with brew installed, but I don't tested it on clean macOS... So you can add brew install gnu-tar and/or brew install fzf to role.

It is not working because the unarchive module uses /usr/bin/tar and installing gnu-tar does not replace the symlink of tar from bsdtar to gnu-tar

@gaizeror, just replace symlink yourself.

@popstas I am new to macOS, but I get permissions denied (also with sudo)

@gaizeror, try to become root with sudo -i

I tried, so wierd root cant change symlink

I meet the same problem in my CentOS7, but I have both the /bin/gtar and /bin/unzip.
The odd thing was it works in my Debian9, This is both funny and annoying ……
Then I find this.
$ tar xvf /home/cupen/.ansible/tmp/ansible-tmp-1523707936.0375483-68992850281293/source
tar (child): cannot run bzip2: No such file or directory
tar (child): trying lbzip2
tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

HOLY SHIT!,  OK, I run yum install bzip2, then it works.

I installed manually fzf with
brew install fzf

@gaizeror Inability to edit /usr/bin on macOS is the result of SIP. Once it is disabled (requires restart & Recovery partition), you can make whatever you need. However I would prefer the way around, i.e. not to hardcode a path but rely on $PATH or maybe even ability to configure apps to be used during pack/unpack ops.

Got similar error on Ubuntu 22.04:

"msg": "Failed to find handler for \"/tmp/drupal.tar.gz\". Make sure the required command to extract the file is installed. Command \"/usr/bin/unzip\" could not handle archive. Command \"/usr/bin/tar\" could not handle archive."

      - name: Extract site
        ansible.builtin.unarchive:
          src: /tmp/site.tar.gz
          dest: /var/www/html
          owner: root
          group: root
          mode: '0755'
          remote_src: yes
          extra_opts: "--no-same-owner --no-same-permissions -xz"

$ ansible --version
ansible 2.10.8
  config file = None
  configured module search path = ['/var/lib/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  executable location = /usr/bin/ansible
  python version = 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]

@kenorb , is it relative to project ansible-role-zsh?

Is it relative to project ansible-role-zsh?

It is vanilla Ansible, sorry. But the issue could be related.

To aid any future dwellers who like me landed here when looking for an answer to:

Command /usr/bin/tar could not handle archive: Unable to list files in the archive: /usr/bin/tar: You may not specify more than one -Acdtrux, --delete or --test-label option

In my case the cause turned out to be a mere typo in the extra_opts resulting in a command line option that tar didn't grok.
Similarly, I suspect that the -xz that @kenorb included in their extra_opts could have been the cause for failure if the xz utility needed for this option wasn't installed.


brew upgrade error

Verification

[X] I understand that if I ignore these instructions, my issue may be closed without review.
[X] I have retried my command with --force.
[X] I ran brew update-reset && brew update and retried my command.
[X] I ran brew doctor, fixed as many issues as possible and retried my command.
[X] I have checked the instructions for reporting bugs.
[X] I made doubly sure this is not a checksum does not match error.

Description of issue
brew upgrade error
Command that failed
brew upgrade
Output of command with --verbose --debug
--remote-time --output /Users/jeremywang/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.20-261-gb3a71ba\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --max-time 10 --location --remote-time --output /Users/jeremywang/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.20-261-gb3a71ba\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --max-time 10 --location --remote-time --output /Users/jeremywang/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.20-261-gb3a71ba\ \(Macintosh\;\ arm64\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --max-time 10 --location --remote-time --output /Users/jeremywang/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
Error: Cannot download non-corrupt https://formulae.brew.sh/api/formula.json!
Error: Kernel.exit
/opt/homebrew/Library/Homebrew/utils.rb:165:in `exit'
/opt/homebrew/Library/Homebrew/utils.rb:165:in `odie'
/opt/homebrew/Library/Homebrew/api.rb:77:in `rescue in fetch_json_api_file'
/opt/homebrew/Library/Homebrew/api.rb:51:in `fetch_json_api_file'
/opt/homebrew/Library/Homebrew/api/formula.rb:21:in `all_formulae'
/opt/homebrew/Library/Homebrew/formulary.rb:667:in `loader_for'
/opt/homebrew/Library/Homebrew/formulary.rb:561:in `factory'
/opt/homebrew/Library/Homebrew/formulary.rb:609:in `from_keg'
/opt/homebrew/Library/Homebrew/formulary.rb:582:in `from_rack'
/opt/homebrew/Library/Homebrew/formula.rb:1870:in `block in installed'
/opt/homebrew/Library/Homebrew/formula.rb:1869:in `each'
/opt/homebrew/Library/Homebrew/formula.rb:1869:in `flat_map'
/opt/homebrew/Library/Homebrew/formula.rb:1869:in `installed'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:135:in `upgrade_outdated_formulae'
/opt/homebrew/Library/Homebrew/cmd/upgrade.rb:116:in `upgrade'
/opt/homebrew/Library/Homebrew/brew.rb:105:in `<main>'

Output of brew doctor and brew config
Warning: formula.json: update failed, falling back to cached version.
Warning: formula.json: update failed, falling back to cached version.
Warning: formula.json: update failed, falling back to cached version.
Warning: formula.json: update failed, falling back to cached version.
Error: Cannot download non-corrupt https://formulae.brew.sh/api/formula.json!

Output of brew tap
buo/cask-upgrade
homebrew/bundle
homebrew/cask
homebrew/cask-drivers
homebrew/cask-fonts
homebrew/cask-versions
homebrew/command-not-found
homebrew/core
majd/repo

What's the output of
brew config
brew doctor
curl -LI https://formulae.brew.sh/api/formula.json

?

I have the same error
$ brew config
HOMEBREW_VERSION: 3.6.20-261-gb3a71ba
ORIGIN: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
HEAD: b3a71ba7cdb7e005c26c86bcc627f0549dfe19d0
Last commit: 12 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 15cc58f490ef218e460352ccd00ebf79f35b2491
Core tap last commit: 4 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_BOTTLE_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 14.0.0 build 1400
Git: 2.37.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.85.0 => /usr/bin/curl
macOS: 13.1-arm64
CLT: <IP_ADDRESS>.1.1668646533
Xcode: N/A
Rosetta 2: false
$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
Warning: Suspicious https://github.com/Homebrew/brew git origin remote found.
The current git origin is:
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/opt/homebrew" remote set-url origin https://github.com/Homebrew/brew
Warning: Suspicious https://github.com/Homebrew/homebrew-core git origin remote found.
The current git origin is:
https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/opt/homebrew/Library/Taps/homebrew/homebrew-core" remote set-url origin https://github.com/Homebrew/homebrew-core
Warning: formula.json: update failed, falling back to cached version.
$ curl -LI https://formulae.brew.sh/api/formula.json
HTTP/1.1 200 Connection established
HTTP/2 200
server: GitHub.com
content-type: application/json; charset=utf-8
x-origin-cache: HIT
last-modified: Mon, 06 Feb 2023 05:21:13 GMT
access-control-allow-origin: *
etag: "63e08e49-129b66d"
expires: Mon, 06 Feb 2023 05:34:18 GMT
cache-control: max-age=600
x-proxy-cache: MISS
x-github-request-id: EDB0:2952:110FC2:1233C7:63E08F02
accept-ranges: bytes
age: 1
date: Mon, 06 Feb 2023 05:24:19 GMT
via: 1.1 varnish
x-served-by: cache-tyo11942-TYO
x-cache: MISS
x-cache-hits: 0
x-timer: S1675661058.074362,VS0,VE973
vary: Accept-Encoding
x-fastly-request-id: cb9d0a76f8e4c0e4e27e70e40b4d6184b109f63c
content-length: 19510893

@Kotodian, please try
rm -r "$(brew --cache)/api"
brew update

and see if it helps.

@Kotodian, please try
rm -r "$(brew --cache)/api"
brew update

and see if it helps.
~  $ rm -r "$(brew --cache)/api"

~  $ brew update
Already up-to-date.
$ brew install --verbose --debug helm
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.20-261-gb3a71ba\ (Macintosh;\ arm64\ Mac\ OS\ X\ 13.1)\ curl/7.85.0 --header Accept-Language:\ en --fail --max-time 10 --location --remote-time --output /Users/linqiankai/Library/Caches/Homebrew/api/formula.json --time-cond /Users/linqiankai/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.20-261-gb3a71ba\ (Macintosh;\ arm64\ Mac\ OS\ X\ 13.1)\ curl/7.85.0 --header Accept-Language:\ en --fail --max-time 10 --location --remote-time --output /Users/linqiankai/Library/Caches/Homebrew/api/formula.json --time-cond /Users/linqiankai/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: Illegal date format for -z, --time-cond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.

@Kotodian, please try
rm -r "$(brew --cache)/api"
brew update

and see if it helps.

This issue same happened to me after upgrading macos to 13.2 and this tip helped.

@Kotodian, try doing
export HOMEBREW_NO_INSTALL_FROM_API=1

and see if that helps.

it helps. Thx.

@Kotodian, try doing
export HOMEBREW_NO_INSTALL_FROM_API=1

and see if that helps.

Same problem here. I followed each steps stated in this issue and finally it works. Thank you very much.

I have the same problem.

export HOMEBREW_NO_INSTALL_FROM_API=1

This seems helps.

I have the same problem.

export HOMEBREW_NO_INSTALL_FROM_API=1

This seems helps.

@Kotodian, try doing
export HOMEBREW_NO_INSTALL_FROM_API=1

and see if that helps.

It solves the problem. Thanks.

HOMEBREW_NO_INSTALL_FROM_API is the default for now. There is no need to set it once you've done brew update.

Run into this issue today with latest Homebrew. (Already upgraded after GitHub API outage.) This issue is not fixed yet.

@gromgit
% brew config
HOMEBREW_VERSION: 3.6.21-26-gb0a74e5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: b0a74e532361fab983b596b31509c2e6fd3066c1
Last commit: 9 hours ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 4fbf693010429a62c6d6a807750262508000736a
Core tap last commit: 4 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.MPTbVPDgLP/org.xquartz:0
HOMEBREW_EDITOR: subl -w
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit icelake
Clang: 14.0.0 build 1400
Git: 2.39.1 => /usr/local/bin/git
Curl: 7.86.0 => /usr/bin/curl
macOS: 13.2-x86_64
CLT: <IP_ADDRESS>.1.1668646533
Xcode: N/A

% brew doctor --debug
==> Checking check_access_directories
==> Checking check_brew_git_origin
/usr/local/Homebrew/Library/Homebrew/shims/shared/git --version
==> Checking check_broken_sdks
==> Checking check_cask_environment_variables
==> Checking check_cask_install_location
==> Checking check_cask_load_path
==> Checking check_cask_quarantine_support
==> Checking quarantine support
/usr/bin/xattr -h
/usr/bin/swift -target x86_64-apple-macosx13 /usr/local/Homebrew/Library/Homebrew/cask/utils/quarantine.swift
==> Quarantine is available.
==> Checking check_cask_software_versions
==> Checking check_cask_staging_location
==> Checking check_cask_taps
==> Checking check_cask_xattr
/usr/bin/xattr -h
==> Checking check_casktap_integrity
==> Checking check_clt_minimum_version
==> Checking check_clt_up_to_date
==> Checking check_coretap_integrity
==> Checking check_deleted_formula
==> Checking check_deprecated_caskroom_taps
==> Checking check_deprecated_disabled
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.21-26-gb0a74e5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --progress-bar --max-time 10 --location --remote-time --output /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --time-cond /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.21-26-gb0a74e5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --progress-bar --max-time 10 --location --remote-time --output /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --time-cond /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: Illegal date format for -z, --time-cond (and not a file name).
Warning: Disabling time condition. See curl_getdate(3) for valid date syntax.
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.21-26-gb0a74e5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --progress-bar --max-time 10 --location --remote-time --output /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.21-26-gb0a74e5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --progress-bar --max-time 10 --location --remote-time --output /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.21-26-gb0a74e5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --progress-bar --max-time 10 --location --remote-time --output /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
/usr/local/Homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --user-agent Homebrew/3.6.21-26-gb0a74e5\ \(Macintosh\;\ Intel\ Mac\ OS\ X\ 13.2\)\ curl/7.86.0 --header Accept-Language:\ en --fail --progress-bar --max-time 10 --location --remote-time --output /Users/zhangyoufu/Library/Caches/Homebrew/api/formula.json --compressed --silent https://formulae.brew.sh/api/formula.json
Warning: formula.json: update failed, falling back to cached version.
Error: Cannot download non-corrupt https://formulae.brew.sh/api/formula.json!
Error: Kernel.exit
/usr/local/Homebrew/Library/Homebrew/utils.rb:165:in `exit'
/usr/local/Homebrew/Library/Homebrew/utils.rb:165:in `odie'
/usr/local/Homebrew/Library/Homebrew/api.rb:77:in `rescue in fetch_json_api_file'
/usr/local/Homebrew/Library/Homebrew/api.rb:51:in `fetch_json_api_file'
/usr/local/Homebrew/Library/Homebrew/api/formula.rb:21:in `all_formulae'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:684:in `loader_for'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:578:in `factory'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:626:in `from_keg'
/usr/local/Homebrew/Library/Homebrew/formulary.rb:599:in `from_rack'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1870:in `block in installed'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1869:in `each'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1869:in `flat_map'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1869:in `installed'
/usr/local/Homebrew/Library/Homebrew/diagnostic.rb:634:in `check_deprecated_disabled'
/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:64:in `block in doctor'
/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:57:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/doctor.rb:57:in `doctor'
/usr/local/Homebrew/Library/Homebrew/brew.rb:93:in `<main>'

@Kotodian, please try
rm -r "$(brew --cache)/api"
brew update

and see if it helps.

thx,its helped

@carlocab has already posted two potential workarounds:

@Kotodian, please try
rm -r "$(brew --cache)/api"
brew update

and see if it helps.

@Kotodian, try doing
export HOMEBREW_NO_INSTALL_FROM_API=1

and see if that helps.

Have you tried both of them?

rm -r "$(brew --cache)/api" brew update does nothing
export HOMEBREW_NO_INSTALL_FROM_API=1 fixes the issue, on my computer at least

export HOMEBREW_NO_INSTALL_FROM_API=1

nice

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

I've merged something that might help here. Let me know what the output is without HOMEBREW_NO_INSTALL_FROM_API if you still have issues.
There is one known issue that if you have a slow connection then brew startup will also be slow in a non-obvious way. I'll look into improving the output for that and providing further settings that people can use to control network usage.

I couldn't install on a clean WSL2 install today without doing the export HOMEBREW_NO_INSTALL_FROM_API=1 first. Errors below. I am coming back to homebrew after many failed attempts to install in years past. It's unfortunate that the one-line installer on the homepage seems to be broken.
HEAD is now at a222a5b Merge pull request #14689 from Homebrew/SMillerDev-patch-1

Error: Failed to download https://formulae.brew.sh/api/cask.json!
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:fc45ee6eddf4c7a17f4373dde7b1bc8a58255ea61e6847d3bf895225b28d072a

curl: (28) Connection timed out after 300225 milliseconds
==> Downloading https://github.com/Homebrew/homebrew-portable-ruby/releases/download/2.6.8_1/portable-ruby-2.6.8_1.x86_64_linux.bottle.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.6.8_1.x86_64_linux.bottle.tar.gz
Failed during: /home/linuxbrew/.linuxbrew/bin/brew update --force --quiet

It would seem so, but the same curl command works without issue repeatedly in another terminal window, while it fails every time via the installer. It also magically worked after exporting the environment variable above.
I have given up on installing, however. The purpose of my revisiting Homebrew is that it would be an easy way for would-be users of my single-binary programs to install - without having to understand that they need to place the binary in their path. I can figure out these Homebrew installation issues, but if the idea is to give end-users an easier path, adding the potential challenges they'll encounter installing Homebrew defeats the purpose. :(

It would seem so, but the same curl command works without issue repeatedly in another terminal window, while it fails every time via the installer.

It would seem so, but the same curl command works without issue repeatedly in another terminal window, while it fails every time via the installer.

May be a proxy setup issue, intermittent issue with your connection, GitHub downtime, etc.
Regardless: we can't (and don't) control any of this really.

While export HOMEBREW_NO_INSTALL_FROM_API=1 does temporarily fix the issue, it only seems to mask the real problem. Or at least that's what was happening to me. Here is what I found:

The Error
brew update fails to download formula.json due to a Permission denied error:
$ brew update
Error: Failed to download https://formulae.brew.sh/api/formula.json!
==> Downloading https://formulae.brew.sh/api/formula.json
Warning: Failed to open the file
Warning: /Users/scott/Library/Caches/Homebrew/api/formula.json: Permission
Warning: denied
curl: (23) Failure writing output to destination

Warning: formula.json: update failed, falling back to cached version.
Error: Permission denied @ apply2files - /Users/scott/Library/Caches/Homebrew/api/formula.json

The Cause
Three of the files in ~/Library/Caches/Homebrew/api/ (including formula.json, specifically) somehow became owned by root:
$ ls -lah ~/Library/Caches/Homebrew/api/
Permissions Size User  Date Modified Name
.rw-r--r--@ 4.5M scott 22 Feb 21:06  cask.json
.rw-r--r--@  20M root  21 Feb 10:31  formula.json
.rw-r--r--@ 5.3k root  21 Feb 10:31  formula_aliases.txt
.rw-r--r--@  57k root  21 Feb 10:31  formula_names.txt

The Fix
Change the ownership of the files back to your user:
sudo chown -R $(whoami) ~/Library/Caches/Homebrew/api/

Verify ownership is fixed:
$ ls -lah ~/Library/Caches/Homebrew/api/
Permissions Size User  Date Modified Name
.rw-r--r--@ 4.5M scott 22 Feb 21:06  cask.json
.rw-r--r--@  20M scott 21 Feb 10:31  formula.json
.rw-r--r--@ 5.3k scott 21 Feb 10:31  formula_aliases.txt
.rw-r--r--@  57k scott 21 Feb 10:31  formula_names.txt

And now brew update should work great:
$ brew update
Updated 2 taps (homebrew/core and homebrew/cask).
...

@squatto Did you run sudo brew services... at some point? That's the only thing I can think of that would cause an API JSON download as root.

Did you run sudo brew services... at some point?

That's a fair shout actually. Will look into that.

@squatto Did you run sudo brew services... at some point? That's the only thing I can think of that would cause an API JSON download as root.

It's entirely possible that I did at some point. That's a good thought. I've run that in the past though, and it never caused this issue.

这是来自QQ邮箱的假期自动回复邮件。

您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

For me, it complains about being unable to set the file time on the file:
brew upgrade serverless
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
Warning: Failed to set filetime<PHONE_NUMBER> on
Warning: '/Users/jameshalsall/Library/Caches/Homebrew/api/formula.jws.json':
Warning: No such file or directory
==> Downloading https://formulae.brew.sh/api/formula.jws.json
######################################################################## 100.0%
Warning: Failed to set filetime<PHONE_NUMBER> on
Warning: '/Users/jameshalsall/Library/Caches/Homebrew/api/formula.jws.json':
Warning: No such file or directory

brew doctor also produces the same error as above 🤔


fix: remove deprecated Function.prototype.caller reference

See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Deprecated_caller_or_arguments_usage

While it's helpful during development to have as much information as possible about which component doesn't have the necessary context, it's very not helpful to have the error message itself throw a blocking error due to this deprecated usage 😅
In a future PR, it might be nice to rename the caller argument found throughout GraphiQL packages to something like callerFn for clarity, making it clear at a glance that it's a custom arg and not an attempt to access Function.prototype.caller.

Related issues:

https://github.com/graphql/graphiql/issues/3509
https://github.com/graphql/graphiql/issues/3581
https://github.com/graphql/graphiql/issues/2763

thanks @simmerer ! I am currently in the process of migrating most of this logic to a lower service level, and will be removing this usage of caller. this will be very helpful for the time being, thank you!

I'm going to call this good to go for now, as the full resolution will be introduced in 4.x soon! thank you!


Overlapping category text- with possible solution

Hi thank you for your package it was really useful , and I see there is very little development in categorical variable analysis in python compared to R. I have tweaked some of the plot functions so as to get non-overlapping text when rou plot column or row labels.  I would like to  contribute my code, are you open to receiving it?

Hey @MrRobot2211, that's really kind of you! The usual way to proceed is to fork the repository and make a pull request. If this is something that you're familiar with then maybe we can figure something else out. For starters, do you have a screenshot of the result?

Any progress @MrRobot2211?

I will be probably uploading my solution this weekend.  Sorry for the
delay.
El vie., 18 de oct. de 2019 04:25, Max Halford<EMAIL_ADDRESS>escribió:

Any progress @MrRobot2211 https://github.com/MrRobot2211?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MaxHalford/prince/issues/77?email_source=notifications&email_token=AFTMVKFOLOCSQD4GR2MAAD3QPFQHJA5CNFSM4IYYNPG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBTCPRI#issuecomment-543565765,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFTMVKCZAUTZ6D5IEQKSJXDQPFQHJANCNFSM4IYYNPGQ
.

Don't be sorry! There's no worry :)

Hello, is this still an ongoing issue if so, I think I can help.


What GetCursorPos really does?

i was trying to apply my mouse positions to rendertexture surface that im drawing into ImGui tab bar
and i found GetCursorPos and it worked but i dont know why because i thought GetCursorPos gonna give position of mouse relative to window
my question: What GetCursorPos really does?
(im asking help here because i cant open issue to imgui repo (idk why?? i have never opened issue there))

Don't open issues/questions about ImGui here. Go to ImGui discussions page and open threads here.
Your issues on ImGui get closed, because you're not following the template that you're asked to fill.
What you probably need is GetCursorScreenPos after all.


oap-server support opentelemetry-go data?

Why do you submit this issue?
[ ] Question or discussion

Question
oap-server support opentelemetry-go data?

We don't accept the data. We did several times of try about Jaeger and Zipkin format traces, it isn't native enough to provide the analysis features. We adopt opentelemetry metrics, but trace, from my understanding, there are gaps in design perspective.

We don't accept the data. We did several times of try about Jaeger and Zipkin format traces, it isn't native enough to provide the analysis features. We adopt opentelemetry metrics, but trace, from my understanding, there are gaps in design perspective.

thanks!

thanks!


IP adress updates

[Enter feedback here]
would you please update this IP address: <IP_ADDRESS>/32  into https://docs.microsoft.com/en-us/office365/enterprise/urls-and-ip-address-ranges?

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

ID: 077406d8-bff1-496e-3ea2-b38558fd9355
Version Independent ID: 57db3dec-2250-2dee-fd1a-ec6656911798
Content: Office 365 URLs and IP address ranges
Content Source: Enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@Shane-zhao This IP address might be a Default category endpoint, which we don't explicitly list. Please see https://techcommunity.microsoft.com/t5/Office-365-Networking/Why-are-some-Office-365-network-endpoints-provided-as-URLs-only/m-p/310490#M97  for more information. Thanks for your comment.


IMU Streaming

Build is failing, looks like missing google protobuf dependency that should be added: https://github.com/pupil-labs/realtime-python-api/blob/main/setup.cfg#L25

@dourvaris I have added the protobuf dependency. Using versions >= 4.0 did throw errors for me saying 3.18.0 or earlier should be used, so I have fixated the requirement to that version.


[$250] Track - Loading spinner appears on a Track your expenses video modal

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.29-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Issue reported by: Applause - Internal Team
Action Performed:

Go to FAB> Track
Verify that video modal appears

Expected Result:
There should be no loading spinner over the video modal
Actual Result:
Loading spinner appears on a Track your expenses video modal and remains to the end of the video
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/user-attachments/assets/2c306d07-ddb3-47d3-91d9-a6e53ed40a90
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021832057700758749301
Upwork Job ID:<PHONE_NUMBER>758749301
Last Price Increase: 2024-09-20

Issue OwnerCurrent Issue Owner: @hungvu193

@bfitzexpensify  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@nyomanjyotisa Are you sure?
If you used nullish coalescing operator, it's only return the right-hand side operand if the left-hand side is null or undefined.
setIsLoading(Number.isNaN(status.durationMillis) ?? status.positionMillis > 0);

is the same with
setIsLoading(Number.isNaN(status.durationMillis) )

Beacuse Number.isNaN return bool.

I'll take closer look today.

Can't reproduce on latest main:
https://github.com/user-attachments/assets/db4b8f44-0b06-46e9-b449-7cf045c3e04c

Can you retest this one @lanitochka17 ?

little bump @bfitzexpensify

little bump @bfitzexpensify

Same

Apologies, just coming back from ooo
Have asked QA to retest

Able to reproduce
https://github.com/user-attachments/assets/c79a4d33-5533-46c7-9501-bc6b861ac074

Interesting, I'll have another look today

I managed to reproduce on my Pixel 4a. I'll review proposals today

Thanks for the proposals, everyone.  It looks like on Android, sometimes the isBuffering is set incorrectly
Android buffering
https://github.com/user-attachments/assets/0789dff3-4a63-4d7c-8851-c0088f4b4e60

I'd go with @HezekielT 's proposal that it has the correct RCA and I agree we shouldn't show the loading indicator while it's playing.
🎀 👀 🎀  C+ reviewed.

Issue not reproducible during KI retests. (First week)

Payment summary:
@HezekielT to be paid $250 for contributor work - @HezekielT, can you confirm the payment via Upwork went through? They've been having some issues processing payments
@hungvu193 to be paid $250 via manual request

$250 approved for @hungvu193

Hey @bfitzexpensify can we close this one?


Who can help with deploy setup?

Hi all, sorry for this stupid question but I don't know how to figure out this issue.
I can't run my app after changed SSL to certbot
My NGINX config:
/etc/nginx/conf.d/airstage.co.conf (it was chenged by certbot)
server {
    server_name airstage.co www.airstage.co;
    listen [::]:443 ssl ipv6only=on; # managed by Certbot
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/airstage.co/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/airstage.co/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
server {
    if ($host = www.airstage.co) {
        return 301 https://$host$request_uri;
    } # managed by Certbot
    if ($host = airstage.co) {
        return 301 https://$host$request_uri;
    } # managed by Certbot
    listen 80 default_server;
    listen [::]:80 default_server;
    server_name airstage.co www.airstage.co;
    return 404; # managed by Certbot
}

And here /etc/nginx/sites-available/default
upstream app {
  server unix:///home/deploy/airstage_web/shared/tmp/sockets/puma.sock fail_timeout=0;
}
server {
        root /home/deploy/airstage_web/current/public;
        try_files $uri/index.html $uri @app;
        location /home/deploy/airstage_web/current/public {
          autoindex on;
          autoindex_exact_size off;
        }
        location @app {
                        proxy_pass http://app;
                proxy_set_header X-Forwarded-Proto https;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Host $http_host;
                proxy_redirect off;
                proxy_buffer_size 128k;
                proxy_buffers 4 256k;
                proxy_busy_buffers_size 256k;
        }
        location ^~ /assets/ {
                gzip_static on;
                expires max;
                add_header Cache-Control public;
        }
        error_page 500 502 503 504 /500.html;
        client_max_body_size 1G;
        keepalive_timeout 10;
}

This all returned me Welcome to nginx! page or if I moved root path nginx/conf.d/airstage.co.conf
[error] 14714#14714: *763 directory index of "/home/deploy/airstage_web/current/public/" is forbidden, client: My_IP, server: airstage.co, request: "GET / HTTP/1.1", host: "www.airstage.co"

Rails application, deployed by capistrano

👋 If you're looking for help with nginx configurations in general, I'd recommend posting on the DigitalOcean Community Q&A, where there are many folks that might be able to help you!
GitHub issues are meant for reporting issues specifically with the nginxconfig tool itself.


Kingfisher Module Compiler error when Archiving

Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

[x] I have read the wiki page and cheat sheet, but there is no information I need.
[x] I have searched in existing issues, but did not find a same one.
[x] I want to report a problem instead of asking a question. It'd better to use kingfisher tag in Stack Overflow to ask a question.

Issue Description
I am facing compiler error when Archiving.


flashPolicyServer

Added back the flashPolicyServer, but made it optional. Users can now disabled it through the options. If we can't start up a netServer because we need to listen on a restricted port socket.io will fallback to serving the files inline.

I am trying to set/disable flash policy server but it seams setting flashsocket as an available transport overrides the disable.
var io = require('socket.io').listen(80);

io.configure('production', function(){
  io.enable('browser client etag');
  io.set('log level', 1);
  io.set('flash policy server',false); // Turn off Flash Policy Port for internal policy server
  io.set('transports', ['websocket', 'flashsocket']);
});

Or Using:
io.disable('flash policy server');

I know using flashsocket on the client side requires communication with the flash policy server but I am already running one for other services.
Am I missing missing a setting or is this intended function?
Thanks
-Dan


Date first

Hello,
It´s possible to add the date also?

Doesn't sure this meet your requirement or not.
But please check :: https://github.com/thegamenicorus/react-native-timeline-listview#time-container-hiding.


Needs CI

Needs CI

Thinking about Travis CI here or do you have anything else in mind?

Set up Travis CI, should test stable/beta/nightly and 1.18.0 (currently oldest version supported).


delete-mysql-ubuntu.sh doesn't  remove Linux user mysql

also leaves behind the file /etc/apparmor.d/abstractions/mysql


[HTML5] Add tools builds to release scripts.

Will unpack the zip, compress each file with brotli, and place them into the web folder (to be uploaded to the web editor host server).

Thanks!


Client Allocation Request for: euid

Client Allocation Questions
Core Information

Name: euid
Website / Social Media: euid.com, (@euid, Twitter)
Region: Asia excl. Greater China
DataCap Requested: 256 GiB
Addresses to be Notarized: f27182818284590452353602874
Notary Requested: Irene Young

This user’s identity has been verified through filplus.storage


Allow to use custom "php_ver" e.g. for PHP7.4 on Ubuntu 18.04 with ondrej PPA

Nextcloud v21 will at least need PHP 7.3. So Ubuntu systems older than 20.04 (which by the way is not supported by this role at the moment) need to upgrade their PHP version. The most common way is to use the ondrej PPA.
https://launchpad.net/~ondrej/+archive/ubuntu/php
While testing this, I noticed that it is not possible to give the Ansible variable "php_ver" from outside of the role. It is overwritten by the task "[ENV] include OS static vars" in setup_env.yml.
The second thing I noticed is that "ondrej PPA" makes quite a mess if you don't give the exact PHP version for a package.  If you use a generic package name like "apt install php-imap" it will install the package for all supported PHP versions (5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0)
I fixed that in php7.4_env.yml. It could (and should) be replicated for other PHP versions.
Both issues are fixed in this pull request.
How I use it
I use this role to install PHP7.4 on Ubuntu 18.04.
Before the install_nextcloud role, I setup the PPA and uninstall old PHP packages:
- name: check php version for upgrade to PHP 7.4
  shell: "php --version | head -n 1 | cut -d ' ' -f 2 | cut -c 1,3"
  changed_when: false
  register: installed_php_version
  # eg.  "72"

- name: uninstall old php packages
  shell: "apt --yes remove 'php*'"
  when: installed_php_version.stdout != "74"

- name: add ondrej ppa for PHP 7.4
  apt_repository:
    repo: ppa:ondrej/php
    state: present

After the install_nextcloud role I cleanup a little PHP version mess with php-apcu:
# Note: Ubuntu 18.04 with ondrej PPA makes a mess here. Example: php7.4-apcu
# also installs php-apcu-bc, which in return installs php-apcu-bc for PHP
# 7.0, 7.1, 7.2 and 7.3
# Workaround would be to do a manual "apt install php7.4-apcu php7.4-apcu-bc"

- name: Check for wrong version php-apcu-bc
  shell: "apt list --installed | grep php7.0-apcu-bc"
  failed_when: false
  changed_when: false
  register: installed_apcu
  # grep return code if found = 0

- name: Cleanup php apcu mess
  shell: "apt --yes remove 'php*-apcu*'"
  # from role nextcloud_pre
  when: installed_apcu.rc == 0

- name: Reinstall only php7.4-apcu php7.4-apcu-bc
  shell: "apt --yes install php7.4-apcu php7.4-apcu-bc"
  # from role nextcloud_pre
  when: installed_apcu.rc == 0

Furthermore I switch to PHP FPM. It would be very nice if the role could support this in itself, but that's another topic.

Awesome !
Thank you for the PR !
good work.

Thanks. Btw, here are the missing php_envs.yml from the defaults/ directory.
php_envs.zip


🐛 Add default preemptionPolicy for priority class

Add default preemptionPolicy value PreemptLowerPriority for the priority class, otherwise every time applying this resource, it is regarded as changed since the existing preemptionPolicy is PreemptLowerPriority, but the required preemptionPolicy is nil. see here, and this will result in the cluster condition changing back and forth(ManagedClusterImporting & ManagedClusterImported).
equality.Semantic.DeepEqual(existing.PreemptionPolicy, required.PreemptionPolicy)

/lgtm

/cherry-pick backplane-2.5


Enable export control?

Hi Lyve, using your project to publish to the the registers could I dynamically enable export control on my inverter? This would be incredibly useful.

Yes, this is possible. The register number and value depends on your inverter, on mine it is 122

The message should look like this:
Export Limit Off
{
    "command": "writeholdingregister",
    "index": 122,
    "value": 0,
}

Export Limit enabled, driven by RS485 (meter)
{
    "command": "writeholdingregister",
    "index": 122,
    "value": 1,
}

Thank you, that's incredibly helpful. I have my ESP board with CH340 arriving today and can't wait to try this out.
Do you think I could also control the export rate by pushing data into the appropriate register?
Looking at this PDF (which correlates with your index value of 122) I think that I would need to add an integer into index 123? Although I don't understand the stated value range of -1000 to + 1000.
# limit export by 500 (Watts? Percent?)
{
    "command": "writeholdingregister",
    "index": 123,
    "value": -500,
}

update: I received my esp8266 with CH340, flashed your sketch to it and everything worked immediately. It arrived just as the Sun was going down but I had time to read some input registers, and read/write the export holding registers. I'll experiment with setting the export control amount tomorrow. Thank you for your development efforts, this is such a useful tool.

mise à jour : j'ai reçu mon esp8266 avec CH340, j'ai flashé votre croquis dessus et tout a fonctionné immédiatement. Il est arrivé juste au moment où le soleil se couchait mais j'ai eu le temps de lire certains registres d'entrée et de lire/écrire les registres de maintien d'exportation. J'essaierai de définir le montant du contrôle des exportations demain. Merci pour vos efforts de développement, c'est un outil très utile.

Bonjour,
je n'arrive pas à compiler vous avez pris quel librairie pour l'esp 8266 ? merci de votre aide

update: I received my esp8266 with CH340, flashed your sketch to it and everything worked immediately. It arrived just as the Sun was going down but I had time to read some input registers, and read/write the export holding registers. I'll experiment with setting the export control amount tomorrow. Thank you for your development efforts, this is such a useful tool.

Hi,
I'm building my PV in the next few week (2,8KWp) and I want to you a Growaat Inverter because of the export limit functionality.
Have you tested or found some more information about the register 123 and/or how to setup export limits dynamically?
This project is the first I found which also allow to write registers (especially the export registers) . Not only reading! And thats great because this is my only missing point to setup a dynamic zero export and charging an akku by a dynamic charger (I hope my setup will work - Automatization will be set in RodeNed on HomeAssistant).

The short answer is: I'm working on it.
The long answer: After a lot of research I determined that in order to make export control work you need two things:

To enable export control, you can do that by either enabling 'export control' in the invert GUI or by turning it on with this project.
. You will need either a CT clamp or Eastron meter (SDM260 in my case) attached to the 2nd modbus ports that the invert has.

I don't want to use a CT or a meter, I want to control the export process directly. So I'm going down the route of building an ESP8266 device to emulate the functions of the Eastron meter.
I'm making progress, I've managed to emulate the 7 input registers that the Growatt requests from the meter and I'm able to set the values to whatever I want, which I suspect is all that is required. Next I plan to integrate MQTT support so that I can set the values from Home Assistant where I've already got all of the data that I need.
I'm working away from home for the next 9 days so I can't actually attach it to the inverter to check if it works. Once I've got it all figured out I'll create a project on Github.

Hi "that-Dude",
holy shit.... this sounds really awesome. WOW
I wish I can give you any kind of support but my experience in programming are more like a "rookie".

I'm using Shelly devices too. There's a option to have them drop their data directly into an mqtt server, im working on reading those mqtt values directly. I also want it to work in a dead man's hand fashion, so if the mqtt goes down it limits the inverter to sensible export values that you choose in advance.
The home assistant aspect is primarily for reporting and will come later I think.
I'm really not a dev, I've only learned Arduino and c++ just for this project. But it's been fun figuring it all out. The whole arduino platform is amazing once you get to grips with it.

Nice to see that this project is useful for you guys. Unfortunately I don't know how to set the limit in watts either. Weird that the limit in percent can be set to negative values, doesn't make much sense to me?
For this to be able to work at all, a meter is needed indeed (or an emulation, as @That-Dude is suggesting) because this is the only way the inverter knows about your house consumption.

I'm using Shelly devices too. There's a option to have them drop their data directly into an mqtt server, im working on reading those mqtt values directly. I also want it to work in a dead man's hand fashion, so if the mqtt goes down it limits the inverter to sensible export values that you choose in advance.
The home assistant aspect is primarily for reporting and will come later I think.
I'm really not a dev, I've only learned Arduino and c++ just for this project. But it's been fun figuring it all out. The whole arduino platform is amazing once you get to grips with it.

Hi the-Dude,
is there already news regarding your version?
I'm building my solar system here right now. The Growatt MIC300TL-X is already ready. I think so in 2 weeks I have everything mounted and then it goes off.
Yes with Arduino I have a few years ago also once "tinkered". Is already fantastic what is possible with it. Therefore, I will also work in the course of the solar project again. thumbsup

Nice to see that this project is useful for you guys. Unfortunately I don't know how to set the limit in watts either. Weird that the limit in percent can be set to negative values, doesn't make much sense to me?
For this to be able to work at all, a meter is needed indeed (or an emulation, as @That-Dude is suggesting) because this is the only way the inverter knows about your house consumption.

Yes I think this register with percent settings, is the wrong one. It doesn't make any sense to use this. It complete weird to set something like this in negative range.
I hope "the-dude" has found the right registers to set a export limit by watts. Or in percent of the maximum. Like 0-100%.

Sorry guys I arrived home and had to immediately fly back out to another job (I'm a commercial photographer). But I grabbed the kit necessary to work on this while I'm away.
I'll start a Github project in the next couple of days so that you can help test it as I don't have access to the inverter while I'm away, but I can build out the code.
To answer the question above regarding the correct registers to set on the modbus to enable export control. Why not turn on export control from the inverters little built in GUI and then see what registers change when you dump them? That's my plan when I get back home in a few days.

Apologies @Lyve1981 I didn't mean to hijack your thread and I appreciate you allowing us to riff while I get this off the ground.

I've published an untested version on my code here if any of you guys would like to give it a try?
https://github.com/That-Dude/Emulated-Eastrom-SDM-Power-Meter/

I've published an untested version on my code here if any of you guys would like to give it a try?
https://github.com/That-Dude/Emulated-Eastrom-SDM-Power-Meter/

I test it as soon as possible. At first I have to mount my 9 Solarmodules on the wall. ( I'm waiting for my ordered 200 Screws to build my individual wall mount )

Hi guys, any news in this direction?
Is it possible to write same register to manage dynamically export limit?


Modal: Remove unused CSS variables

Maintenance question: isn't it "better" to keep the variables and set them to $btn-close-padding? It would be closer to Bootstrap.
.btn-close {
    margin: calc(#{$btn-close-padding} * -1) calc(#{$btn-close-padding} * -1) calc(#{$btn-close-padding} * -1) auto; // Boosted mod: using custom properties for padding
  }

That's a good question and I don't have the answer right now. Maybe it's better, I'll give it a try !


NET::ERR_CERT_DATE_INVALID

please update the certificate

If I'm trying to start on of example apps

This is still broken. Any update from Monday team?

No update yet?
Still broken


Added Audio Visual/Problems/ImageClassificationCNN.ipynb

Required changes:

Reduce description for data generator and flow from directory .
keep parameter for data generator and flow from directory directly inside method. instead of creating variable.
for plotting confusion matrix use heatmap function from seaborn to reduce code length.

Have you tested the code on other dataset basically with more target classes
try tuning model by increase the hidden layer neuron counts
current code has [10,10,10,10]
try upscaling unit or downscaling units
for example [16,32,64,128 ] or [128,64,32,16]

Required Changes:

keep model architecture, model compile and fit in 3 separate code cell.
once model in compiled add a model.summary() to understand complete architecture


Hi, how long does it take to train a LPN50?

if you donnot use iterate stretagy  in a 2080ti around half of day.

i also want to know how long dose it take to train a LPN50 in a 1080ti


Update guide to incorporate M4-RC2 changes

Older classes or:
JUnit5_04_MoreAdvanced.java

They switched form M5 to RC2 in like a week...

Done


merge for v2.3.1

Codecov Report

Merging #39 (4716e82) into master (7020e1b) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 4716e82 differs from pull request most recent head 17a7bf6. Consider uploading reports for the commit 17a7bf6 to get more accurate results

@@           Coverage Diff           @@
##           master      #39   +/-   ##
=======================================
  Coverage   63.70%   63.70%
=======================================
  Files           9        9
  Lines        3480     3480
=======================================
  Hits         2217     2217
  Misses       1263     1263

Impacted Files
Coverage Δ

eomaps/eomaps.py
79.89% <ø> (ø)

Continue to review full report at Codecov.

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


ETA?

Pleasantly surprised to see an F# library project, rather than a wrapper around a C# API.
Will it be up this month?

Yes, in fact, I am looking and paying for volunteers to help contribute and maintain this project with a couple goals.

I want to give junior developers the opportunity to contribute to something using F#.
I want to sponsor or fund them to contribute to the project.
I want to help them grow their career and help them advance themselves in the open-source community.

I specifically didn't want to generate a cheap wrapper or an auto-generated Swagger Library as I think those are not interesting or nearly as good.  I could write this myself, but I am trying this strategy first.  Again, I will GitHub sponsor or pay outright for a time as an additional incentive for someone interested.
I am also doing the following projects:

cloudlayer-net (c#)
cloudlayer-php
cloudlayer-go
cloudlayer-rust
cloudlayer-nodejs (Typescript)
cloudlayer-cli (this will most likely be done in Go)

I was looking around for a URL screenshot service for a project, and this is probably the most economical I could find by far.
I like the idea - I wish there was something like this when I was getting started with OSS.
.Net 5 has single file deployment, so the CLI could be done in it as well.
The API surface seems small enough.
An interesting detail will be how to run tests.