[microTVM] Temporarily remove mps2_an521 from CI

Mark test_rpc_large_array to xfail when mps2_an521 is selected as the
test platform due to issue 8728. That issue is failing quite often on
CI environment.
Signed-off-by: Gustavo Romero<EMAIL_ADDRESS>

@areusch @leandron @mehrdadh Hi guys, could I get reviews for that change please? I need more time to fix #8728  and as you know it's causing too much trouble on the CI. Thanks!

I think this is the right thing to do for the moment, thanks for raising this @gromero - CC @manupa-arm

Thanks for the review @Mousius  :+1:

Thanks for this! I agree to make it xfail until we know better.

@manupa-arm @areusch @Mousius The CI failed on a different test now, but I was in fact curious if CI would complain about another test, so that's now unexpected to me. It only confirms the issue doesn't really affect a single tests, but possible all of them. I'll xfail everything for mps2_an521.

@gromero could you update the PR title? :smile_cat:

@gromero could you update the PR title?

Sure. Done (I'm wondering if github uses the PR's title when squashing  the final commit that lands. I always get confused about it and always rely on what I see in git :) )

Thanks @gromero this seems reasonable while we debug further

@areusch Thanks for the review! Yeah, I'll continue to investigate it as time allows.


Size slider should not be circles

Instead of this:

It should look more like this:

With arcs and the triangles

done


Flattening Tweaks

Follow-up on (or maybe commits to extend) #90

Let's merge this? @dan-fritchman


Standardize JSON retrieval function across all tests

Description

Most of our provider tests use stored JSON blobs as testing artifacts. Each test has its own implementation of a _get_resource_json (or similar) function, which just loads & deserializes the JSON blob by name.
We should create a shared utility function for this, and replace all bespoke functions within each test with that function.
The only complication here is that we'd like to address each resource by name rather than full path (e.g. metadata.json rather than ../resources/<provider>/metadata.json). This could be mitigated by assuming that the provider's name is the folder name for the resource. We'll just need to make sure that is consistent for each of the providers.
Additional context

Inspired by @obulat's comment here: https://github.com/WordPress/openverse-catalog/pull/701#discussion_r959513517
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Hi @AetherUnbound  ,
This issue seems to be a good initiation of my journey towards contribution to FOSS projects.
Can you please assign this to me

@Akshat977 Gladly! 😄 Let us know if you have any questions about how to approach this or where to begin.

@Akshat977 I've removed you as an assignee, if you're still interested in this work please let us know 🙂


Is there a Decision procedure for ≤ on Rationals?

I'm trying to write a proof involving an inequality between rational numbers, and I'd love to be able to destruct (decide (x ≤ 0)). However, when I attempt that, I get the following error:
Unable to satisfy the following constraints:
In environment:
R : Type
e : Equiv R
plus0 : Plus R
mult0 : Mult R
zero0 : Zero R
one0 : One R
neg : Negate R
recip0 : DecRecip R
U : RationalsToFrac R
H : Rationals R
x, y : R → R
k_Ω : R
k_Ω_neq_0 : k_Ω ≠ 0
n0_Ω : R
HΩ : ∀ n : R, n0_Ω ≤ n → k_Ω * y n ≤ x n
n : R
n_geq_n0_Ω : n0_Ω ≤ n

?Le : "Le R"
?Zero : "Zero R"
?Decision : "Decision (k_Ω ≤ 0)"

Obviously, the Le and Zero errors are red herrings, but I can't actually seem to find a decision procedure for Rationals, other than on actual instances.

It seems like this could be implemented by assuming a Decision (x ≤ y) on the numerator/denominator type, which might be more composable of a solution. If I figure out how to do that, I'll make a pull request :)

Yes, that seems like the right solution.


Validate call hangs when there are many singletons

Hi,
If I change playground loadtest project LogicRegistrations to Singleton, then benchmark completes in 0.4seconds but validation takes so long that it crashes the process out of memory exception.
Steps to reproduce:
Change this code registerMany reuse to Reuse.Singleton
https://github.com/dadhi/DryIoc/blob/master/playground/LoadTest/Registrations.cs#L575-L586
Run the project and see it takes very long to finish and/or crashes

This happens in our real application too, and can be reproduced here using load test

Hi there, Validate is switching off singleton optimizations to prevent the creation of the actual objects.
Are you validating everything or only the roots / controllers?

I'm not sure if what it validates when you call container.Validate(); probably all types?

probably all types?

Yes, all the types. It means that all registered types (even if most of them are just the dependencies) will be resolved. So it is better to specify the roots explicitly or via the condition, e.g. Validate(x => x.ServiceType.Name.EndsWith("Controller"))

ok, I will try that. I also tested DryIoc 4.0.7 completes this validation step in ~1sec

I also tested DryIoc 4.0.7 completes this validation step in ~1sec

That's strange, thanks for the info. Will profile it to see what's happening.

Here are my results.
I am not sure about v4.0.7 but the fix is actually unrolling the whole object-graph, so it is actually validating something. I have lifted the DependencyDepthToSplitObjectGraph limit and did some optimizations to take Validation into account.

Hey, is there any chance to get this fix to v4 ? We would like to update but this is blocking issue.

I will try.

Here are the new results with changes from the #245
container.Validate(x => x.ServiceType.Name.EndsWith("Controller"));

Validation finished - 00:01:21.60

container.Validate();

Validation finished - 00:02:49.32

Much better compared to the 3.43.09 min for controllers we had before.
@Havunen Is it sufficient for you?
I am out of ideas for now.

Ok.. this is fun. I have manually parallelized the validation like this:
bool IsController(ServiceRegistrationInfo x) => x.ServiceType.Name.EndsWith("Controller");

var controllers = container.GetServiceRegistrations()
    .Where(IsController).Select(x => x.ToServiceInfo()).ToArray();

var controllersPerCpu = new List<ServiceInfo>[Environment.ProcessorCount];
for (var i = 0; i < controllers.Length;)
    for (var j = 0; j < Environment.ProcessorCount && i < controllers.Length; j++, i++)
        (controllersPerCpu[j] ?? (controllersPerCpu[j] = new List<ServiceInfo>())).Add(controllers[i]);

var validationTasks = controllersPerCpu
    .Select(x => Task.Run(() => container.Validate(x.ToArray()))).ToArray();

var results = (await Task.WhenAll(validationTasks))
    .SelectMany(x => x).ToArray();

And now Validation finished - 00:00:40.44

Found the new ideas for improvement so stay tuned...

Hey.
I think 40seconds is already quite an improvement. 👍
That should be fine

@Havunen Ok, I went to some minor optimizations after profiling but it did not change  much.

good enough


Is there a linear phase offset of CSI between the received packets?

I want to do know is there a linear phase offset of CSI between the received packets should be calibrated like SpotFi? I have tested some CSI data, it seems that there does not exists such an offset. But I am not sure, so I want to ask to confirm the situation.

Hi,
The CSI measurements between packets have a linear phase offset across subcarriers due to the delay introduced by the packet detector.
This is common for every off-the-shelf WiFi device.
Best,
Alejandro

Okay, thanks for reply!


ReactiveEntityStore - cancel a long-running query

Using Requery on Android with RxJava, is it possible to cancel a long running query? Something like this:
Disposable d = store.select(...).get().observable().subscribe(...);
...
in onPause:
d.dispose();

I have an issue where the connection pool is blocked until the long-running query is completed, even if the user leaves the activity.

For Android it looks like requery would need to use CancellationSignal for SQLite. For backends using JDBC, Statement.cancel() would have to be used. I guess the requery API would then need to expose these in a generic way. The Requery RxJava extensions would then be able to take advantage of this.


x/mobile: gomobile bind iOS library with bitcode error

What version of Go are you using (go version)?

$ go version
go version go1.15.5 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/Ethan/Library/Caches/go-build"
GOENV="/Users/Ethan/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/Ethan/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/Ethan/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.15.5/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/fs/1m2nwwm11zn56pfvxrhqwvf00000gn/T/go-build888622441=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

What did you expect to see?
Successfull build iOS library from golang sources without embed-bitcode errror.
What did you see instead?
No

https://github.com/golang/go/issues/42647#issuecomment-728658831

Looks like the golang.org/x/mobile build sets CGO_LDFLAGS, so this is a dup of #42565. It should be fixe din 1.15.6. Sorry for the trouble.

Please update to 1.15.6 and try again

Closing as a duplicate, and please try with the latest release and let us know if you have issues.


Handle error cases when requesting phone OTP

When you request a phone OTP it may fail for a variety of valid reasons (e.g. you can only request one code per minute). We should show relevant error messages for the handled error cases (rate limit of phone, country is blocked, ...)

This was fixed by #32


CI occasionally fails

Need to determine whether this is the classic problem of the tests just taking too long to run, or whether there is something more sinister at work. https://travis-ci.org/golang/dep/jobs/504471479

Dep was officially deprecated earlier this year, and the proposal to archive this repository was accepted. As such, I'm closing outstanding issues before archiving the repository. For any further comments, please use the proposal thread on the Go issue tracker. Thanks!


Kitty Items video not rendering

The video is embedded as an iframe in the markdown file:
<iframe width="100%" height="450" src="https://www.youtube.com/embed/videoseries?list=PL0qVMKzYEBROIztSG9v7-_HiWEDMxz4Ve" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

When we process the markdown we replace any <iframe>  with a <LargeVideoCard> component. The LargeVideoCard attempts to extract a video id from the src. In this particular case, however, the src is a playlist (not a specific video), so the extracted videoId that it uses ends up being null. But there's no check for that, so it just renders the component using the literal value "null" - so the link doesn't work and the thumbnail image is a generic one.
We need to decide:

Do we even want to continue using this <LargeVideoCard> at all in these cases? Or should we just pass through the iframe element as-is (which is what was inadvertently happening before #541 "fixed" this)? If the answer is no then we're done here - none of the other questions below are applicable.
If we do want to continue doing the replacement, what do we do when the src is not a YouTube embed URL that we can parse (either not a YouTube embed at all, or a YouTube URL we don't recognize)?  Currently one of two things happen: if the URL hostname is "www.youtube.com" we just assume we're going to get a valid videoId, which may end up being "null" as described above; otherwise we throw an error which causes the entire page to fail.
In this particular case, do we want to figure out how to get the <LargeVideoCard> to work with YouTube playlists? These have no videoId and it's not clear how easy it will be to get a thumbnail to display. And if the answer is "no", then what do we want to do for this particular scenario (may not be applicable if the answer to question 2, above, is "just pass through as an iframe").

Must be a video with a video ID or else you can error out if it is a youtube link in the iframe and render as a card.
If not a youtube link and an iframe, then render nothing but let the page render.


Account type has been deprecated

In Solana.py, solana.account.Account is deprecated and it has been replaced by solana.keypair.KeyPair. But Pyserum still uses Account type in several functions. like place_order or cancel_order. So it would get an error when calling these function.

I'm preparing a patch / PR for this. Hopefully for later this week.

Thanks!
On Wed, 13 Oct 2021 at 10:08, Imaclean74 @.***> wrote:

I'm preparing a patch / PR for this. Hopefully for later this week.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/serum-community/pyserum/issues/88#issuecomment-941845423,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMFDUODLZNAPOBI5LUPSHDUGTS2PANCNFSM5FPBWCOQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

--
Wang (Leonard) Ge
Imperial College London 2021
@.***
+44 -<PHONE_NUMBER>4

cheers. ok - some issues to work through. I'll look into those


[Checkbox] - Disable checkbox activation on link click

Hello all,
when initiating a checkbox via JavaScript, it may be inadvertently checked when clicking on a link which is contained within the table as this click is being recognized as a click on the label.
The JavaScript need not to act on clicks of child elements of the label, otherwise the following situation may occur:

User visits a site where he needs to accept terms and conditions
Actual terms and conditions are being linked from within the label of the checkbox to accept said terms and conditions
User want's to read said terms and conditions and by clicking on the link contained in the label, checks the checkbox although he not willfully accepted t&c

Workaround: don't use JavaScript version of the checkbox module. ackbar It's a trap! ackbar
Please keep legal implications in mind when setting a severity ;-)
Thanks & KR

Any chance of unstaleing this issue?


Pixels are not aligned and its driving me nuts

Is it possible to align these pixels, marked in the red circle?

This is https://github.com/Microsoft/vscode/issues/32003 from @sandy081


any way to highlight selected option

thanks.

Do you mean changing the text style?

Do you mean changing the text style?

exactly.

There should be an example of how to do that in the example project.


feat(OS): Add Windows support

The test failures were caused by the fact that there are Git rebase conflict tokens in dist/. This can be addressed by running yarn build.

The Save Cache job fails on the Build an empty test docker image step with the error:
Run docker build --tag empty .
Sending build context to Docker daemon  [8](https://github.com/ScribeMD/docker-cache/actions/runs/4255377872/jobs/7402908057#step:5:9).988MB

Step 1/3 : FROM scratch
Windows does not support FROM scratch
Error: Process completed with exit code 1.

I'm not sure how to proceed.  This stack overflow seems relevant but I definitely don't know how to translate this into anything actionable with the code.  Thoughts?

Yay! That means it worked! Now, it's simply a matter of addressing the remaining failures. The first thing I would try is replacing scratch with hello-world.

I initially tried FROM hello-world, but Hadolint indicated that I needed a specific tag for the Docker image. I tried FROM hello-world:linux which, predictably, worked on Linux but not Windows. Next, I tried FROM hello-world:nanoserver-ltsc2022, which, also predictably, works on Windows but not Linux. I've been googling how to do branching logic in Dockerfiles in hopes that I can branch on process.platform but I thus far haven't figured out anything viable.  What do you think?

If I have two files, Dockerfile and Dockerfile.windows, will test workflow automatically use Dockerfile for Linux and Dockerfile.windows for Windows? Or do I need to incorporate some branching logic somewhere.  My googling hasn't elucidated anything. I think I'll try it and see if it works.

Here is a tentative solution to the Bash logic that involves an intermediate variable as you suggested.
run: |
          if [ "${{ matrix.os }}" = "ubuntu-22.04" ]; then
            DOCKERFILE="Dockerfile"
          elif [ "${{ matrix.os }}" = "windows-2022" ]
            DOCKERFILE="Dockerfile.windows"
          docker build --tag . --file $DOCKERFILE

I'm wondering if it is better to write it without the intermediate variable.  I'm thinking something like this:
run: |
          if [ "${{ matrix.os }}" = "ubuntu-22.04" ]; then
            docker build --tag . --file Dockerfile
          elif [ "${{ matrix.os }}" = "windows-2022" ]; then
            docker build --tag . --file Dockerfile.windows

What do you think?
I'm also wondering if there is appropriate logic that I should incorporate for if the value of ${{ matrix.os }} is neither the appropriate Linux or Windows OS. I think that currently if the OS didn't match what was expected, the docker build command would fail because $DOCKERFILE would be undefined and GitHub Actions would indicate failure. Is this sufficient or should I be incorporating more explicit error handling?

I do prefer the DRYer way even though it adds a line of code. We should probably follow the precedent of the process.platform ternaries and handle Windows specially but everything else the same way for now. You can use the =~ operator instead so you don't have to specify the OS version.

I'm confused about the GitHub Actions failure.  I'm seeing this error:
if [[ "windows-2022" =~ "windows" ]]; then
     |    ~
     | Missing '(' after 'if' in if statement.

I don't see parentheses associated with if statements in any of the online examples of conditional logic in Bash.  What do you make of this?


Support for GDB

This pull request adds support for GDB command files, as discussed in #2730.
There are around 31,700 GDB files on github.com. GDB seems to be the only language using the .gdb file extension.

I suggest also adding .gdbinit, also discussed in #2730.

Thanks @larsbrinkhoff! I had completely forgotten that file extension (I added as a file extension rather than a filename since there are also many dot.gdbinit, etc.).

@pchaigno, great!

@arfon This pull request should be ready now!
I had to add the Zlib license to http://choosealicense.com: github/choosealicense.com#438, then update licensee.
Unfortunately, I cannot update licensed (which Linguist uses) because it's closed source :/
Thus, I added a development dependency on licensee and manually edited vendor/licenses/grammar/SublimeGDB.txt. That's only a short term fix; a better fix would be to update licensed.

That's only a short term fix; a better fix would be to update licensed

Wilco. FYI I think there are plans to open the source of licensed.


Framework is automatically adding arguments with value 'undefined'

I have a query, where all the arguments are optional. The easygraphql-load-tester library isn't complaining about this, but it is automatically adding all of those arguments with value undefined.
For example if I have this schema:
query GetJobs(
    $updatedAfter: ISO8601DateTime
    $search: String
    $createdBefore: ISO8601DateTime
) {
  // Response details omitted here
}

It should work even if I omit all those args, none of them are mandatory. This is an extract of my config.json file:
"args": {
  "jobs": {},
}

Yet when I actually look at the query was sent, it's including all those arguments as 'undefined':
{
  jobs(
    createdBefore: "undefined",
    search: "undefined",
    updatedAfter: "undefined"
  ) {
    // response details omitted here
  }
}

This results in errors:

"Argument 'createdBefore' on Field 'jobs' has an invalid value. Expected type 'ISO8601DateTime'.",
"Argument 'updatedAfter' on Field 'jobs' has an invalid value. Expected type 'ISO8601DateTime'."

As a workaround, I have patched the chunk of code that builds the queryArgs:
    if (
      userArg != undefined &&
      userArg != 'undefined'
    ) {
      queryArgs.push(`${arg.name}: ${userArg}`)
    }

I don't want to push the arg if its value is set to undefined or "undefined".
What do you think about this? Should we try and bring this change into the library via a PR? Is there a better way to solve the problem, or has nobody else found it to be an issue?

@maxp-hover Thanks for creating this issue.
Sorry the delay. This may be fixed in the v1.0.0-beta.2
If you can give it a try it'll be awesome!


doc: Update WindowsBuild.md (python section)

Add a section on how to install Python from Visual Studio, including the debug binaries.
@compnerd

Awesome, thanks!

@swift-ci please smoke test


HDTF Dataset Training

How to train the model on HDTF, the Dataset Loader and Metadata for VFHQ are different from HDTF? What is the final file organization in VFHQ used in training, How to obtain the .pkl and  .json for metadata of HDTF dataset?

First, you need to extract frames and package them into lmdb.
And then use this tracker to obtain annotations for training.
The final step is to use a simple conversion script to get pkl and json, which I will update to this repo soon.

First, you need to extract frames and package them into lmdb. And then use this tracker to obtain annotations for training. The final step is to use a simple conversion script to get pkl and json, which I will update to this repo soon.

I also want the detailed processes to train a model, do you have plan to release the training code?

First, you need to extract frames and package them into lmdb. And then use this tracker to obtain annotations for training. The final step is to use a simple conversion script to get pkl and json, which I will update to this repo soon.

Hi, will you publish the conversion script to this repo?


fix: fix registry variable default values

Hi,
This PR fixes the handling of the registry variable in the values.yaml.
During my installation of kuberhealthy at my workplace, I wanted to set our internal Container Registry via the global imageRegistry. But, when setted the chart rendered the deployment without the kuberhealty for the Docker Hub repository part:
 containers:
      - image: docker.io/kuberhealthy:v2.7.1
        command: [/app/kuberhealthy]
        ports:

So, i set now the registry to docker.io and moved the former registry value to the repository part.
 containers:
      - image: docker.io/kuberhealthy/kuberhealthy:v2.7.1
        command: [/app/kuberhealthy]
        ports:

Now it works fine :)
Looking for your feedback.
FYI: @Kaktor

I think this makes sense, but it is a significant change to our check URLs.  Right now, check URLs automatically assume docker.io if no docker registry URL is supplied. This change would make Kuberhealthy more compatible with different types of container runtimes that may not assume docker.io like Docker its self does...
I am not sure that the " (double quotes) made any difference here, but the registry changes probably did.  I think it looks well enough!  Lets give it a shot...


Refactoring suggestion

There is some ambiguity in Unacked

Thank you for your time.
Team RabbitMQ uses GitHub issues for specific actionable items engineers can work on. This assumes that we have a certain amount of information to work with.
Getting all the details necessary to reproduce an issue, make a conclusion or even form a hypothesis about what's happening can take a fair amount of time. Our team is multiple orders of magnitude smaller than the RabbitMQ community. Please help others help you by providing a way to reproduce the behavior you're
observing and sharing as much relevant information as possible on the list:

Server, client library and plugin (if applicable) versions used
Server logs
A code example or terminal transcript that can be used to reproduce
Full exception stack traces (not a single line message)
rabbitmqctl status (and, if possible, rabbitmqctl environment output)
Other relevant things about the environment and workload, e.g. OS/systemd logs, a traffic capture, deployment tool logs, etc

Feel free to edit out hostnames and other potentially sensitive information.
When/if we have a complete enough understanding of what's going on, a recommendation will be provided or a new issues with more context will be filed.
Thank you.

I’m afraid we cannot do much with the amount of information provided. It’s not even clear what doc guide we are talking about. Consider starting a rabbitmq-users thread if you’d like to clarify something. If we conclude that something needs to change in the docs, we will file a new issue. Thanks.


with "unit of measurement" the code fails to return any data

Multiscrape 6.8.1
HA Core
2024.2.3
Supervisor
2024.02.0
Operating System
11.5
Frontend
20240207.1

resource: https://www.eneco.nl/duurzame-energie/modelcontract/
scan_interval: 28800
sensor:

unique_id: electricity_price_normal
name: Electricity price normal
select: "tbody > tr > td:nth-child(2)"
unit_of_measurement: "°C"
value_template: '{{value.split("€")[1]}}'

Describe the bug
adding "unit_of_measurement" to the code fails to return any data, but without it (UOM) it returns.
Then I removed UOM and added another property "state_class: measurement" and with it the code also failed to return data.
The scrapper returns data only with this code:

resource: https://www.eneco.nl/duurzame-energie/modelcontract/
scan_interval: 28800
sensor:

unique_id: electricity_price_normal
name: Electricity price normal
select: "tbody > tr > td:nth-child(2)"
#unit_of_measurement: "°C"
#state_class: measurement
value_template: '{{value.split("€")[1]}}'

Please, post your debug logging.

Hi Daniel. Thank you for replying. Here is error logs:
Log Details (ERROR)
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:352
Integration: Sensor (documentation, issues)
First occurred: 10:14:37 (1 occurrences)
Last logged: 10:14:37
Error while setting up multiscrape platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 669, in state
numerical_value = float(value)  # type:ignore[arg-type]
^^^^^^^^^^^^
TypeError: float() argument must be a string or a real number, not 'TupleWrapper'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 352, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 533, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 782, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1325, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 989, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1110, in _async_write_ha_state
state, attr, capabilities, shadowed_attr = self.__async_calculate_state()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1047, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 995, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 671, in state
raise ValueError(
ValueError: Sensor sensor.electricity_price_normal has device class 'None', state class 'None' unit 'F' and suggested precision 'None' thus indicating it has a numeric value; however, it has the non-numeric value: '0,37668' (<class 'homeassistant.helpers.template.TupleWrapper'>)

It looks like HA doesn't recognize the state as a number. Try replacing the comma with a dot in a value template.

Thank you Daniel. That was it. replaced comma with dot and it worked👍


npm package contains a large zip file with dev dependencies

When I do npm install octokat the resulting node module contains a 26 MB large ZIP file with all dev dependencies called node_modules.zip, which does not seem necessary for using octokat as a library. This is problematic because when I want to include octokat in my own node module for use on AWS Lambda, I need to package it with all dependencies and the resulting package file becomes hard to upload when it is larger than 10 MB.

Thanks for pointing out that oversight! 0.4.17 should no longer have that zip file included.

Great. Thanks.


Internalize RotationAxis property

I propose that any rotation axis transformation should be performed in software by sending commands to the BNO055, and not be compensated for in the auto commutator node. I'm not sure what the added benefit is when the correct RotationAxis setting to work with all our headstages is supposed to be "0,0,1" anyway. I feel like this only makes commutator workflows more prone to errors. I might be missing something about why it's important to keep that property externalized though.

Probably correct
The reason is to compensate for some bno data in which orientation is not standardized with positive z axis pointing along tether. We could say that the autocommutator expects this condition and it's up to source to make sure it's the case.


Unable to enter values

According to your manual "single-clicking on the value allows you to type in a value for the parameter". Unfortunately I don't seem to be able to do this within Logic Pro X, making accurate value entry impossible. I presume it's to do with how the DAW processes input but is there a way around this?

Ah, it seems there's something weird with how Mac OSX handles "mouse click" as opposed to "mouse drag" events. I'm merging a fix now (validated on my Mac machine). If you'd like to try it out, please check out the next nightly build (should be available tomorrow morning).
Thanks for the bug report!


Pub fails: Package path has no versions that match

This issue was originally filed by<EMAIL_ADDRESS>
I'm trying to build a project that was already built successfully a year ago,
but today (with pub 1.10.0) pub get fails to resolve it's dependencies
To reproduce the problem, git clone this https://github.com/sethladd/tilebasedwordsearch project
and then run pub get in it.
It says the following:
Resolving dependencies... (27.0s)
Package path has no versions that match <empty> derived from:

analyzer 0.13.6 depends on version >=0.9.0 <2.0.0
barback 0.13.0 depends on version >=0.9.0 <2.0.0
google_oauth2_client 0.3.7 depends on version >=1.0.0 <1.2.0
http 0.9.2+3 depends on version >=0.9.0 <2.0.0
http_server 0.9.2 depends on version >=0.9.0 <2.0.0
polymer 0.10.0-pre.10 depends on version >=0.9.0 <2.0.0
source_span 1.1.2 depends on version >=1.2.0 <2.0.0
stack_trace 0.9.3+1 depends on version >=1.0.0-rc.1 <2.0.0
wordherd 0.3.0 depends on version any

I'm using dart sdk 1.10.0 on macosx
I know there is a bad style of pubspec.yaml where most of the packages marked as any instead of versions,
and i tried to put there a versions from pubspec.lock file, but without any success.
Errors in pub get are varying during version substitution, but result is the same.
Tracing it with pub get --verbose, i found the following line, not sure if it's ok:
SLVR: | | | | | | | | | | | no versions for path match <empty>
Starting from it, pub get tries to vary other packages versions, but still fails.

This issue has been moved to dart-lang/pub#25.


[Package Request]: Add "Battery Mode" to winget

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[X] I have checked that the installer for this package is not a script file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Tarasov Artyom
Publisher Url: https://github.com/tarcode-apps/BatteryMode/releases
Package Name:  TarasovArtyom.BatteryMode (not sure who defines this package name?)
Description:

Replaces Windows default battery indicator to a more powerful and useful one.
It provides backlight control, easy power scheme selection, detailed battery information and a lot of handy features for customization.

Package Version: <IP_ADDRESS>
Installer URL:
x86: https://github.com/tarcode-apps/BatteryMode/releases/download/v<IP_ADDRESS>/BatteryModeInstaller32.exe
x64: https://github.com/tarcode-apps/BatteryMode/releases/download/v<IP_ADDRESS>/BatteryModeInstaller64.exe
Current Package Identifier (for new versions):

#98617

#98617

works, thanks 👍


Uncaught error

Hey
I am runing into this error on mobile but it works fine on desktop
Uncaught TypeError: $(...).hammer is not a function
at HTMLImageElement. (setup.js:21)
at Function.each (jquery.min.js:2)
at n.fn.init.each (jquery.min.js:2)
at HTMLDocument. (setup.js:19)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.K (jquery.min.js:2)
(anonymous) @ setup.js:21
each @ jquery.min.js:2
each @ jquery.min.js:2
(anonymous) @ setup.js:19
i @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
K @ jquery.min.js:2
here is a link http://urbanbrains.co.za/evesport/product_page.html

Hey i did solve this issue dont do the mistake i did you need to run your jquery before you run hammer.js and setup.js if you run your setup.js and hammer.js before you run your jquery you will have issues.
the only problem i have is that the zoom does not want to work on mobile plus it resizes the container bigger then when you scroll done it resizes the image to the right size.

when i have it open on desktop it works fine the moment i go to mobile it gos out of proportion and i get this [Violation] Added non-passive event listener to a scroll-blocking 'mousewheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
what is the solution to fix this

On this particular page: http://urbanbrains.co.za/evesport/product_page.html the link to jquery.hammer.min.js is broken and returns 404 not found.
But, the problem looks like exists with some mobile proportions. I'll check this today and make couple tests. Later will let you know here. Thanks.

Hey i am looking at the code and hammer.js is been loaded i am not getting any errors?
also the zoom does not work on mobile is there a way to fix this please give me a solution for this asap?
Thank you

I can help you, but I need a little more time to analyze this issue. And yeah now I see that hammer loads fine on that page.
Somehow it works on this page: https://payalord.github.io/xZoom/ so I think the problem is not related exactly hammer.js or xZoom, but related compatibility with another scripts or css that you are using on the page, which affecting same field of events or elements which cause that side effect of broken zoom. For example, on one of previous issue we had problem with foundation transition styles on images that caused slow movement of lens.


[WIP] Add support of HiveTableScan TextHive

Fixes #681

look at the node description for the serde implementation as below

        org.apache.hadoop.hive.serde2.AbstractSerDe
          org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe -> HiveText
            org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe -> HiveParquet
            org.apache.hadoop.hive.serde2.avro.AvroSerDe -> AvroParquet
            org.apache.hadoop.hive.serde2.OpenCSVSerde -> CSVParquet

Only HiveText is supported for now.
we cannot pull the schema . So, we leave it empty

@nartal1
We need to discuss in more details the changes as I found that there are some design issues that need to need addressed in order to fully support this feature.

2. I believe that after adding this feature, DataSourceInfo is supposed to include the format of "Scan Hive/NativeScan" . Currently, this doe not happen because the tool looks for "ReadSchema" in the node info which does not apply for ScanHive. It will be nice to confirm if I am getting that right or not.

You are right. Currently the tool looks for "ReadSchema" which is present in eventlogs for ORC and Parquet file formats. We try to get the schema as well. IIRC,  schema is not present in the eventlogs for Scan Hive. We need to update that function to support Scan Hive file formats.

#723 supersedes this PR.


Auto-generating the kernel.json file breaks starting the kernel

The https://github.com/hhu-stups/prolog-jupyter-kernel/commit/ad3f209a6ca478c635d3a048bcfa93280933fe4e change breaks the Prolog kernel for me. Same when I back-ported it to the Logtalk kernel. I get:
/opt/local/bin/python3.10: No module named prolog_kernel
[I 2022-12-02 15:27:23.886 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
/opt/local/bin/python3.10: No module named prolog_kernel
[I 2022-12-02 15:27:26.903 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (2/5), new random ports
/opt/local/bin/python3.10: No module named prolog_kernel
[I 2022-12-02 15:27:29.921 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports
/opt/local/bin/python3.10: No module named prolog_kernel
[I 2022-12-02 15:27:32.938 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (4/5), new random ports
/opt/local/bin/python3.10: No module named prolog_kernel
[I 2022-12-02 15:27:35.955 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (5/5), new random ports
/opt/local/bin/python3.10: No module named prolog_kernel
...

This after uninstalling the previous version of the kernel and installing the new one:
$ pip3 uninstall prolog_kernel
$ pip3 install -e .
$ python3 -m prolog_kernel.install

I'm running:

macOS 12.6.1
Python 3.10.8
jupyter_core 4.10.0
jupyterlab 3.5.0
notebook  6.4.8

My guess would be that you have mismatched Python installations in your PATH, i. e. the pip3 command comes from a different Python installation than the python3 command. It's recommended to always use python3 -m pip (change the python3 part as needed) so that you know for sure that pip is operating on the Python installation that you expect.
So in this case I'd recommend:
$ pip3 uninstall prolog_kernel
$ pip3 uninstall prolog_kernel
$ python3 -m pip uninstall prolog_kernel
$ python3 -m pip uninstall prolog_kernel
$ python3 -m pip install -e .
$ python3 -m prolog_kernel.install

Sometimes you need to run pip uninstall more than once, if you have the package installed in multiple locations used by the same Python environment (e. g. user-local and system-wide).

Thanks for the quick reply. That sequence of shell commands solved the problem for both kernels (although, interestingly, only a single installation for each kernel was found by the uninstall commands).

I also just pushed a few changes for better feedback when installing the kernel (5b2f5af) and a better default install location (2ac5ace). These should help with debugging the issue.

Thanks. I applied those changes to the Logtalk kernel (https://github.com/LogtalkDotOrg/logtalk-jupyter-kernel/commit/1c968deabaace9d15c8a2ed1b7c6f17915d2c52d).


fix(CUI-7430): Coral.mixin.overlay should not hide overlay before calling _handleReturnFocus

Description
Focus should be returned to right element before adding display = none otherwise focus will be lost to the document.body
Related Issue
https://jira.corp.adobe.com/browse/CUI-7430
https://jira.corp.adobe.com/browse/CQ-4293600
Motivation and Context
The PR ensures that focus should be returned to right element before adding display = none otherwise focus will be lost to the document.body
How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

@indra2gurjar , @majornista can you review and merge the PR?

@icaraps Could you review?

@absarasw  Can we add a Unit Test?

@absarasw and @indra2gurjar Merge https://github.com/absarasw/coral-spectrum/pull/1 to include unit test.


This is a test bug report #2, in order to see how the automation flow works. (to be deleted afterwards)

Target components
action_server, actions
What happened?
I want to test if adding the affected packages like (action_server and actions) will really set labels accordingly: Action Server, Library, robocorp-actions.
System Info
N/A

Test ran successfully, closing!


TODO: trajectory_generator branch

[ ] Initialize with a particular case using yaml config file, get rid of CaseModule initialization in MAVs
[ ] Read new obstacle information data from a particular message and update optimization accordingly
[ ] Read new vehicle state from a particular message and update optimization accordingly

The first task is nearly completed with https://github.com/huckl3b3rry87/MAVs.jl/tree/feature/yaml. A few things still need to be tested and developed and then it can be merged into the master

moved to Autoware


Go Router: Multi language support

This is a feature request.
This issue is For the go_router package
In my App, I want to have multi-language support, as well as for the routes.
for example:
myapp.com/post/12 -> should redirect to the post with the id 12, with setting the app language to English
myapp.com/gonderi/12 -> should redirect to the post with the id 12, with setting the app language to Turkish
The syntax could be something like:
GoRoute(
  paths: {
    'en': 'post',
    'tr': 'gonderi',
  },

and in the GoRouterState, the route that redirected would be saved as a MapEntry. so the language key would be reachable using state.path.key, and the route name state.path.value.
this functionality obviously can be reachable by duplicating the routes, however, when you start considering even 2 languages, this gives you 2x the code, which is very hard to maintain.

@adnanjpg
can't you use route level redirection?
GoRoute(
  path: '/post',
  redirect: (_) {

      // localization logic here

     return '/gonderi';
  },
  builder: (context, state) => ...
)

localizing url is not something we are planning to support right now.

Hi @chunhtai , can you add more details for this decision?

when you think about building a multi language web app with flutter, I think this would be a great feature

reopening for discussion.
When people talk about multi language web app, they are usually talking about UI, not the url. The localize url for non-latin language like Chinese might actually makes it less accessible. alternatively if developer really wants to do that, we can provide API to add alias for the same GoRoute

I confirm that can be a very useful feature for some specific applications which needs advanced functionnalities

@OgiScekicHouzit in my project as a workaround, we use only English paths and before handling any deeplink we translate it always to the English version.

We need this! It looks very easy to implement. Please add it :D

Need too :)

We need this! It looks very easy to implement. Please add it :D

If it looks very easy to implement @Tananga , feel free to create a fork, work on an implementation and create a pr for the feature. Share your solution 😄


Fixes ignored --loglevel by adding force=True when configuring with basicConfig.

Setting force=True removes any existing handlers from the root logger before configuring it.
If not specified and any handlers have been set before the call to basicConfig, then the changes are not applied.
During the import process, there are other calls to logging.basicConfig. Specifically, when tensorflow is not installed, then     this line calls log.debug, which in turn calls log.basicConfig.
Since the call to basicConfig in datumaro/cli/__main__.py is the only deliberate call to basicConfig, it should be forced and overwrite any other inadvertent config changes.

Summary
Resolves #627
Fixes bug, which prevented setting of log level when calling CLI tool.
How to test
Before this patch is applied setting --logleveldid nothing (atleast if tensorflow is not installed, haven't tested with tf).
To test it just check if calling datum --loglevel debug <any command> works before and after applying this test.
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[x] I have linked related issues

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

I've fixed the formatting and I've revisited the tests.
The main problem is that the tests overwrite the logging configuration.
I guess unittests's assertLog was not written with the target in mind to run integration tests.
This is not meant as a critique, since I don't have a better idea on how to check the logging behavior.
I've tried to find a compromise, by not deleting handlers and instead only overwriting log level and formatters.
I'm not super happy with this, since this now tries to support some kind of prior modification to the logging configuration,
but cannot anticipate all possible prior modifications.

Codecov Report
Base: 84.01% // Head: 83.92% // Decreases project coverage by -0.09% :warning:

Coverage data is based on head (56a3f7d) compared to base (15c5926).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #800      +/-   ##
===========================================
- Coverage    84.01%   83.92%   -0.10%
===========================================
  Files          174      174
  Lines        22956    22927      -29
  Branches      4985     4971      -14
===========================================
- Hits         19287    19242      -45
- Misses        2546     2557      +11
- Partials      1123     1128       +5

Flag
Coverage Δ

macos-11_Python-3.10
?

macos-11_Python-3.7
?

macos-11_Python-3.8
?

macos-11_Python-3.9
?

ubuntu-20.04_Python-3.10
83.87% <100.00%> (-0.06%)
:arrow_down:

ubuntu-20.04_Python-3.7
83.56% <100.00%> (-0.07%)
:arrow_down:

ubuntu-20.04_Python-3.8
83.81% <100.00%> (-0.06%)
:arrow_down:

ubuntu-20.04_Python-3.9
83.82% <100.00%> (-0.06%)
:arrow_down:

windows-2019_Python-3.10
?

windows-2019_Python-3.7
?

windows-2019_Python-3.8
?

windows-2019_Python-3.9
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

datumaro/cli/__main__.py
88.77% <100.00%> (+0.47%)
:arrow_up:

datumaro/plugins/data_formats/cvat/base.py
91.47% <0.00%> (-4.62%)
:arrow_down:

datumaro/plugins/synthetic_data/utils.py
83.33% <0.00%> (-1.67%)
:arrow_down:

datumaro/util/os_util.py
75.75% <0.00%> (-1.52%)
:arrow_down:

datumaro/util/test_utils.py
88.39% <0.00%> (-1.11%)
:arrow_down:

datumaro/plugins/splitter.py
88.47% <0.00%> (-0.23%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

It seems that the previous implementation (force=true) removes an existing logging handler and create a new one. Therefore, self.assertLogs() stores a pointer of the handler which will be removed by (force=true) subsequently. I think that this implementation not to remove the handler but modify it with our purpose is better than before.


"Sâncrăieni" is listed in the drop-down menu

Description:
"Sâncrăieni" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Sâncrăieni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Sâncrăieni, HARGHITA (Sâncrăieni)" and "Comuna Sâncrăieni, HARGHITA".


Riverwalk Software - Additional Blog Fixes

I changed the banner URL to use eco quality mode for a ~25% extra savings on file size. I also restructured the Cloudinary parameters in a more idiomatic way because the previous method seems to be buggy.


Update README(s) with links to predict-eth-data.oceanprotocol.com

Build on https://github.com/oceanprotocol/predict-eth/issues/124

Done


Update women.html

📝 Description
Corrected the overflow of the screen
🔧 Fixes #(issue)

📷 Screenshot/Gifs.

[ ] I have performed a self-review of my own code.
[ ] I'm a contributor in Hacktoberfest'21.

thankyou @soumali28


fix(versions): update Activiti/activiti-cloud-application-chart versions

UpdateBot pushed helm dependency: activiti-cloud-connector to: 1.0.2

/test this
/approve


你好 有release 版吗?

你好 有release版吗? 我可以打包时嵌入进去吗? 上面显示栏工具可以有代码控制吗?上面显示栏工具我可以用代码关闭和展示呢?谢谢

English please
—
Tanner Bennett
On Nov 21, 2019, 8:19 PM -0600, APP performance data monitoring<EMAIL_ADDRESS>wrote:

你好 有release版吗? 我可以打包时嵌入进去吗? 上面显示栏工具可以有代码控制吗?上面显示栏工具我可以用代码关闭和展示呢?谢谢
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

No, you shouldn't release your app with FLEX compiled in. It should be used for internal debugging builds only. Apple won't accept apps built with FLEX AFAIK since it used some internal APIs and hacks.
You can fork the project and modify it locally to control what tools to show, that shouldn't be impossible.
Closing this issue for now.

I see, thank you


vulkaninfo: return properly on xcb onnection errors

Calling xcb_disconnect on the connection to release memory and
return.
Otherwise on a headless display with no X11 backend the nullptr
for the connection will cause segmentation fault on following
xcb calls when xcb_connection_has_error returns a code.
examples ran on headless displays
DISPLAY=:0 vulkaninfo returns XCB_CONN_ERROR
DISPLAY=foobar vulkaninfo returns XCB_CONN_CLOSED_PARSE_ERR
Signed-off-by: Daniel Charles<EMAIL_ADDRESS>

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


Feature: Add extension method to convert EdDsaSecurityKey to JsonWebKey

Thanks for this; it looks really interesting. Over the weekend I will be creating a new major version of this library to address breaking changes in Microsoft.IdentityModel. I'll merge and release this one alongside it 🙂

Thanks again for the contribution. There are a few tweaks I'd like to make and test, but I'll merge this in as is and run with it. Nice work! 🙂


runZoned with zoneValues lost after hot reload

Steps to Reproduce

Run the following DartPad
Note that the zoneValue, 'Hello World' is consistently accessible even across rebuilds (tapping increment)
Copy the same code and run on mobile (iOS or Android) via flutter run
Note that the zoneValue, 'Hello World' is consistently accessible even across rebuilds (tapping increment)
Trigger a Hot Reload
Note that the zoneValue 'Hello World' is no longer accessible.
Tap the increment button or Trigger a Hot Restart
Note that the zoneValue, 'Hello World' is again accessible.

Expected results:
I would expect zoneValues to be accessible across hot reloads.
Actual results:
zoneValues are lost after a hot reload until either a hot restart or a widget rebuild.
Additional Context
If we make token const it doesn't appear to have an impact.
Also, if we define a class MyModel:
class MyModel {
  final value = Zone.current[token] as String?;
}

And instantiate MyModel within the State:
import 'dart:async';

import 'package:flutter/material.dart';

const token = '__token__';

void main() {
  runZoned(
    () => runApp(const MyApp()),
    zoneValues: {token: 'Hello World'},
  );
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

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

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  final _myModel = MyModel();

  @override
  Widget build(BuildContext context) {
    final zone = Zone.current;
    final value = zone[token] as String?;
    return Scaffold(
      appBar: AppBar(title: const Text('Zones Demo')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
            Text('Zone HashCode: ${zone.hashCode}'),
            Text('Zone Value: $value'),
            Text('Model Value: ${_myModel.value}'),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () => setState(() => _counter++),
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

class MyModel {
  final value = Zone.current[token] as String?;
}

Then the value retrieved from the model behaves as expected even across hot reloads.
It looks like the current zone is not copied during a hot reload.

Code sample

import 'dart:async';

import 'package:flutter/material.dart';

final token = Object();

void main() {
  runZoned(
    () => runApp(const MyApp()),
    zoneValues: {token: 'Hello World'},
  );
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

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

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  @override
  Widget build(BuildContext context) {
    final zone = Zone.current;
    final value = zone[token] as String?;
    return Scaffold(
      appBar: AppBar(title: const Text('Zones Demo')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
            Text('Zone HashCode: ${zone.hashCode}'),
            Text('Zone Value: $value'),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () => setState(() => _counter++),
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

Logs

{"CFBundleName":"zones","DTXcode":"1310","DTSDKName":"iphonesimulator15.0","UILaunchStoryboardName":"LaunchScreen","CFBundleIcons~ipad":{"CFBundlePrimaryIcon":{"CFBundleIconFiles":["AppIcon20x20","AppIcon29x29","AppIcon40x40","AppIcon60x60","AppIcon76x76","AppIcon83.5x83.
5"],"CFBundleIconName":"AppIcon"}},"DTSDKBuild":"19A339","CFBundleDevelopmentRegion":"en","CFBundleVersion":"1","BuildMachineOSBuild":"21A559","DTPlatformName":"iphonesimulator","CFBundlePackageType":"APPL","UIMainStoryboardFile":"Main","CFBundleSupportedPlatforms":["iPho
neSimulator"],"CFBundleShortVersionString":"1.0.0","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"Runner","DTCompiler":"com.apple.compilers.llvm.clang.1_0","UISupportedInterfaceOrientations~ipad":["UIInterfaceOrientationPortrait","UIInterfaceOrientationPortra
itUpsideDown","UIInterfaceOrientationLandscapeLeft","UIInterfaceOrientationLandscapeRight"],"MinimumOSVersion":"9.0","CFBundleIdentifier":"com.example.zones","UIDeviceFamily":[1,2],"DTPlatformVersion":"15.0","CFBundleSignature":"????","CFBundleIcons":{"CFBundlePrimaryIcon
":{"CFBundleIconFiles":["AppIcon20x20","AppIcon29x29","AppIcon40x40","AppIcon60x60"],"CFBundleIconName":"AppIcon"}},"DTXcodeBuild":"13A1030d","LSRequiresIPhoneOS":true,"UISupportedInterfaceOrientations":["UIInterfaceOrientationPortrait","UIInterfaceOrientationLandscapeLef
t","UIInterfaceOrientationLandscapeRight"],"UIViewControllerBasedStatusBarAppearance":false,"NSBonjourServices":["_dartobservatory._tcp"],"DTPlatformBuild":"19A339","NSLocalNetworkUsageDescription":"Allow Flutter tools on your computer to connect and debug your
application. This prompt will not appear on release builds."}
[   +4 ms] executing: xcrun simctl launch FCB4BE3E-33DA-49FC-A861-F647555D56A9 com.example.zones --enable-dart-profiling --enable-checked-mode --verify-entry-points --observatory-port=0
[ +205 ms] com.example.zones: 51465
[   +1 ms] Waiting for observatory port to be available...
[ +416 ms] Observatory URL on device: http://<IP_ADDRESS>:55348/QIoVQ24XVz0=/
[   +9 ms] Caching compiled dill
[  +51 ms] Connecting to service protocol: http://<IP_ADDRESS>:55348/QIoVQ24XVz0=/
[ +167 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:55348/QIoVQ24XVz0=/.
[  +95 ms] DDS is listening at http://<IP_ADDRESS>:55351/1RcuH9jFcOE=/.
[  +59 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:55348/QIoVQ24XVz0=/
[  +26 ms] DevFS: Creating new filesystem on the device (null)
[  +17 ms] DevFS: Created new filesystem on the device (file:///Users/felix/Library/Developer/CoreSimulator/Devices/FCB4BE3E-33DA-49FC-A861-F647555D56A9/data/Containers/Data/Application/42BE9414-534D-477C-ADEB-EDC73F58B7FA/tmp/zonesEyB4Fm/zones/)
[   +2 ms] Updating assets
[  +63 ms] Syncing files to device iPhone 13...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +3 ms] <- recompile package:zones/main.dart 7fd16ad6-36b9-4ac5-99dd-f42726cef603
[        ] <- 7fd16ad6-36b9-4ac5-99dd-f42726cef603
[  +64 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device iPhone 13... (completed in 71ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +6 ms] Connected to _flutterView/0x7fb30a810c20.
[   +3 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 🔥🔥🔥
[        ] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] 💪 Running with sound null safety 💪
[        ] An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:55351/1RcuH9jFcOE=/
[ +490 ms] The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:55351/1RcuH9jFcOE=/
[+4486 ms] Skipping target: gen_localizations
[        ] Skipping target: gen_dart_plugin_registrant
[        ] Skipping target: _composite
[        ] complete
[        ] Performing hot reload...
[  +11 ms] Scanned through 528 files in 6ms
[        ] Syncing files to device iPhone 13...
[        ] Compiling dart to kernel with 0 updated files
[        ] <- recompile package:zones/main.dart 564d0ee5-dbd9-4020-bfeb-4217c387483f
[        ] <- 564d0ee5-dbd9-4020-bfeb-4217c387483f
[   +6 ms] Updating files.
[   +2 ms] DevFS: Sync finished
[        ] Syncing files to device iPhone 13... (completed in 9ms)
[        ] Synced 0.0MB.
[  +11 ms] Reassembling application
[  +39 ms] Hot reload performed in 67ms.
[   +1 ms] Performing hot reload... (completed in 73ms)
[        ] Reloaded 0 libraries in 78ms.

No issues found! (ran in 1.9s)

[✓] Flutter (Channel beta, 2.7.0-3.1.pre, on macOS 12.0.1 21A559 darwin-x64, locale en-US)
    • Flutter version 2.7.0-3.1.pre at /Users/felix/fvm/versions/beta
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision fc7015e35a (3 weeks ago), 2021-10-27 15:18:41 -0700
    • Engine revision a75e3b80f9
    • Dart version 2.15.0 (build 2.15.0-178.1.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/felix/Library/Android/sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] IntelliJ IDEA Community Edition (version 2021.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

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

[✓] VS Code (version 1.63.0-insider)
    • VS Code at /Applications/Visual Studio Code - Insiders.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • FCB4BE3E-33DA-49FC-A861-F647555D56A9 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.0.1 21A559 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 95.0.4638.69

• No issues found!

Reproducible on all channels.

 logs
Multiple devices found:
M2007J20CG (mobile) • 5dd3be00                             • android-arm64  • Android 11 (API 30)
iPhone 13 (mobile)  • 7515F01A-C1B6-456E-8559-8D2383D3719D • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
macOS (desktop)     • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
Chrome (web)        • chrome                               • web-javascript • Google Chrome 96.0.4664.45
[1]: M2007J20CG (5dd3be00)
[2]: iPhone 13 (7515F01A-C1B6-456E-8559-8D2383D3719D)
[3]: macOS (macos)
[4]: Chrome (chrome)
Please choose one (To quit, press "q/Q"): 2
Launching lib/main.dart on iPhone 13 in debug mode...
Running Xcode build...
 └─Compiling, linking and signing...                         4.6s
Xcode build done.                                            9.9s
Syncing files to device iPhone 13...                               165ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h List all available interactive commands.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).

💪 Running with sound null safety 💪

An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:59220/9ngdopj5d04=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:9103?uri=http://<IP_ADDRESS>:59220/9ngdopj5d04=/

Performing hot reload...
Reloaded 0 libraries in 166ms.

Performing hot restart...
Restarted application in 412ms.

Performing hot reload...
Reloaded 0 libraries in 145ms.

Performing hot reload...
Reloaded 0 libraries in 45ms.

Application finished.

videos
using initial sample
https://user-images.githubusercontent.com/88313112/141960622-6e807cb4-8341-4dac-93b2-38f8583a3997.mp4
using sample with MyModel class
https://user-images.githubusercontent.com/88313112/141962604-bf777a12-2595-41b2-ace5-342c7efb067c.mp4

flutter doctor -v
[✓] Flutter (Channel stable, 2.5.3, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.5.3 at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 18116933e7 (5 weeks ago), 2021-10-15 10:46:35 -0700
    • Engine revision d3ea636dc5
    • Dart version 2.14.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.11.2

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

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

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

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

[✓] Flutter (Channel master, 2.6.0-12.0.pre.723, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-12.0.pre.723 at /Users/nexus/dev/sdks/flutters
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 245168f85c (13 hours ago), 2021-11-15 12:55:32 -0800
    • Engine revision<PHONE_NUMBER>
    • Dart version 2.16.0 (build 2.16.0-14.0.dev)
    • DevTools version 2.8.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

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

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

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

[✓] Flutter (Channel beta, 2.8.0-3.1.pre, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.8.0-3.1.pre at /Users/nexus/dev/sdks/flutter_beta
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 3dab555040 (4 days ago), 2021-11-12 11:50:00 -0800
    • Engine revision 09f1520e8b
    • Dart version 2.15.0 (build 2.15.0-268.8.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

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

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

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

[✓] Flutter (Channel dev, 2.6.0-11.0.pre, on macOS 11.6 20G165 darwin-arm, locale en-GB)
    • Flutter version 2.6.0-11.0.pre at /Users/nexus/dev/sdks/flutter_dev
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b330ddbed (9 weeks ago), 2021-09-16 17:29:58 -0700
    • Engine revision 5b81c6d615
    • Dart version 2.15.0 (build 2.15.0-116.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

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

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

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

[✓] Connected device (3 available)
    • M2007J20CG (mobile) • 5dd3be00 • android-arm64  • Android 11 (API 30)
    • macOS (desktop)     • macos    • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)        • chrome   • web-javascript • Google Chrome 96.0.4664.45

• No issues found!

@rmacnak-google is this a bug or working as intended?

Another issue related to this can be seen by adding WidgetsFlutterBinding.ensureInitialized(); and observing that the zoneValues are no longer available within onPressed callbacks.
import 'dart:async';

import 'package:flutter/material.dart';

final token = Object();

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  runZoned(
    () => runApp(const MyApp()),
    zoneValues: {token: 'Hello World'},
  );
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({Key? key}) : super(key: key);

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

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  @override
  Widget build(BuildContext context) {
    final zone = Zone.current;
    final value = zone[token] as String?;
    return Scaffold(
      appBar: AppBar(title: const Text('Zones Demo')),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            const Text(
              'You have pushed the button this many times:',
            ),
            Text(
              '$_counter',
              style: Theme.of(context).textTheme.headline4,
            ),
            Text('Zone HashCode: ${zone.hashCode}'),
            Text('Zone Value: $value'),
          ],
        ),
      ),
      floatingActionButton: FloatingActionButton(
        onPressed: () {
          final zone = Zone.current;
          final value = zone[token] as String?;
          print('Zone HashCode: ${zone.hashCode}');
          print('Zone Value: $value');
          setState(() => _counter++);
        },
        tooltip: 'Increment',
        child: const Icon(Icons.add),
      ),
    );
  }
}

here's a pared down example of what's happening:
import 'dart:async';
import 'dart:convert';
import 'dart:developer' as developer;

const token = '__token__';

void main() {
  runZoned(
    () {
      // final currentZone = Zone.current;
      developer.registerExtension(
        'ext.flutter.reassemble',
        (_, __) async {
          // currentZone.run(() {
            print('hot reload value: ${Zone.current[token]} ${Zone.current}');
          // });
          final result = {
            'type': '_extensionType',
            'method': 'ext.flutter.reassemble',
          };
          return developer.ServiceExtensionResponse.result(json.encode(result));
        },
      );
      print('initial value: ${Zone.current[token]} ${Zone.current}');
    },
    zoneValues: {token: 'Hello World'},
  );
}

If you comment out the commented lines, things work as expected. The problem is we're running the reassmble callback in the root zone no matter what.

After discussion with @dnfield this does not appear to be a Dart issue and hence removing the dart:dependency label.

here's a pared down example of what's happening:
import 'dart:async';
import 'dart:convert';
import 'dart:developer' as developer;

const token = '__token__';

void main() {
  runZoned(
    () {
      // final currentZone = Zone.current;
      developer.registerExtension(
        'ext.flutter.reassemble',
        (_, __) async {
          // currentZone.run(() {
            print('hot reload value: ${Zone.current[token]} ${Zone.current}');
          // });
          final result = {
            'type': '_extensionType',
            'method': 'ext.flutter.reassemble',
          };
          return developer.ServiceExtensionResponse.result(json.encode(result));
        },
      );
      print('initial value: ${Zone.current[token]} ${Zone.current}');
    },
    zoneValues: {token: 'Hello World'},
  );
}

If you uncomment the commented lines, things work as expected. The problem is we're running the reassmble callback in the root zone no matter what.

@goderbauer how does the Framework figure out which Zone to run the re-assemble callback?

@christopherfujino right now we're just running it in whatever zone it's called in, which will generally be the root zone. We can fix that similar to how dart:ui handles this.
Here's where the framework is doing it:
https://github.com/flutter/flutter/blob/af9cf734e83e2ed29d47bc3e667c223a2b110323/packages/flutter/lib/src/widgets/binding.dart#L452
Here's what dart:ui does for things like this:
https://github.com/flutter/engine/blob/1c10e686a8f93ccef58119ff25f232eaee369702/lib/ui/platform_dispatcher.dart#L119-L129

So my idea is in initInstances, you'd check the Zone.current and save it, so that when reassmbleApplication is called, it's called from the zone that was in use when initInstances was called.
This still has the limitation that if you initialize the binding outside of your custom zone, it will get called in that zone instead of your custom one, but I think that should be acceptable.

The framework doesn't do any special work currently to figure out what zone to run it on: https://github.com/flutter/flutter/blob/af9cf734e83e2ed29d47bc3e667c223a2b110323/packages/flutter/lib/src/widgets/binding.dart#L443-L458

But see also discussion in https://github.com/flutter/flutter/issues/94123

Is there anything we can do to move this forward?

any updates ?

Is this a similar problem?
#62331

Hy
Hgjfhlhgddk jjc
Jhgkhfk

Isn't the bug here that dart:developer doesn't capture the callback's zone when developer.registerExtension is called?

Isn't the bug here that dart:developer doesn't capture the callback's zone when developer.registerExtension is called?

That seems like a reasonable suggestion.
Does using Zone.current.bindBinaryCallback on the callback passed to registerExtension solve this issue? If it does, we can file an issue to consider always doing that inside registerExtension, or if there are any drawbacks.

Yeah, I believe that's what we do for most other engine callback entry points. I haven't tested that it would solve the issue here, but it should, I think?

Empirically, hot reload works with package:http, which uses bindCallback

@Hixie wasn't this fixed in https://github.com/dart-lang/sdk/commit/ca03588d2b2c57b29cb9ee77022ec8b02d4d50ba (which refers to this issue)?

Apparently, and then we never closed this one! Oops! Thanks for the information!


Use the correct version of glide

In man/Dockerfile we are specifying a tagged version of glide to
checkout, but never actually checking it out.
This checks out the requested version before building.
Signed-off-by: Brian Goff<EMAIL_ADDRESS>

ping @dnephin

Oops, I missed this when I converted from the original curl-the-binary to the git-checkout method.
LGTM

I guess man/Dockerfile.armhf needs this fix as well.

Yep, update

LGTM :cat:

@dnephin Should the glide stuff not be in all the Dockerfiles? I think you can build rpms for any architecture already.

Actually ppc64le has it added in https://github.com/docker/docker/pull/23438 so I guess we can do one by one.


'New' button for creating topics or tags doesn't work on mobile layout

I couldn't reproduce this issue on my iPhone
Where/how did you test it?

On my

Close because unable to repro


PCExhumed and Raze for Powerslave

Project link:
https://github.com/nukeykt/NBlood
https://github.com/coelckers/Raze
Project license: ?
Does it work on 64-bit only Linux: YES
Is source code available?: YES
Is source code stored in Git?: YES
List of Steam AppIds of supported games:
https://store.steampowered.com/app/1260020/

@d10sfan i can gift you the game

@McMarius11 Thanks that'd be great! My steam name is the same, d10sfan

Added raze support in https://github.com/luxtorpeda-dev/packages/commit/73570a581b77a1e854c357602cb97f3f687a7450
nblood support is in progress

exhumed/nblood support added in https://github.com/luxtorpeda-dev/packages/pull/394

Tried out both they've been released and built. They should be good to go! Thanks for the game gift

Thanks d10sfan, both work great!
one minor detail in the launch options exhumed i think should be named pcexhumed
in the PWRSLAVE/pcexhumed.cfg the mouse sensitivity can be changed to double the normal speed
MouseAnalogScale0 = 131072
MouseAnalogScale1 = 131072
vsync i think does not work, the command should be r_vsync 1


Add google+ share button to share a car - used for referral feature

Reference main issue #15
Using google's plugin

From Google, "Google+ APIs will be shut down on March 7, 2019. This includes Google+ Sign-in and OAuth token requests with Google+ scopes. Learn more."


build: set up post approval changes commit action

This action will enforce that all pull requests receive an approval from
at least one googler on the final commit for the pull request. Historically,
we have allowed all post approval changes regardless of authorship. Moving
forward, with this change, we will only allow known googlers to perform
post approval changes.
When a post approval change occurs by a non-googler, the action will
automatically rerequest a review from the latest googler who provided
an approval on the change.

Looks like this has conflicts in in 13.3.x and 14.0.x. I'll merge to main for now, can you make separate PRs for those?


Exception: Internal chat round number exceeds the limit of 10

How do I overcome this problem?
Thanks for the help and keep up the fantastic work!!
Bibop

Hi, @bibop! This problem arises from an inherent constraint on the number of rounds between the Planner and Code Interpreter. This limitation is intentionally implemented to prevent prolonged interactions between both roles.
If you want to increase this limit, you will need to modify the code here to extend the imposed restriction. Thanks.

@zhangxu0307 could this be moved to configuration file so code does not have to be modified ? :)


[New Rule Proposal]: Use Value with Unit

Rule Summary
When non-united number is not predefined in theme, suggest adding unit for explicitness.
Example of incorrect code for this rule:
import { Box } from "@chakra-ui/react";

<Box p="11" mx="17" width="200">
  Hello
</Box>;

Example of correct code for this rule:
import { Box } from "@chakra-ui/react";

<Box p="11px" mx="17px" width="200px">
  Hello
</Box>;

It may be desirable to have this rule turned off by default.
Why needed?
In Chakra UI, we can use numbers for spacing without units.
However, Chakra UI doesn't offer consistent behavior, and there are times when it is preferable to explicitly add units.
Inconsistency 1: Different conversion methods depending value is predefined or not.
First of all, the behavior differs depending on whether the value has already been defined.

let x is 20, then output is 5rem, it will be equal to 80px in most case.
let x is 21, then output is 21px

Chakra UI claims mental model of spacing:

Mental model: If you need a spacing of 40px, divide it by 4. That'll give you 10. Then use it in your component.

But it is not true model. Most numbers will not quadruple.
For example, if you pass a variable to width, some values are quadrupled, some are not. This is something that many developers would not expect.
Inconsistency 2: Some prop does not convert numbers as ${number}px
Secondly, in some case width props can output numbers without px or any units.  ref: Different width depending on how props are passed

<Box w='11'/>      // output will be 11
<Box w={11}/>      // output will be 11px

I think both of these problems should be improved in Chakra UI itself, but I don't have much motivation to do so right now.

@Monchi what do you think?
And if you think it's worth implementing, do you think it's better to avoid mixing p={12} and w="12px"?
I mean,

Mixing
<Box w="11px" h="12">

Not mixing

<Box w="11px" h="48px">

@no-yan Totally agree. I can't believe the second inconsistency...

And if you think it's worth implementing, do you think it's better to avoid mixing p={12} and w="12px"?

I think we can prohibit number values since there is no merit except a very little reduction of bundle size.
Also I prefer the strict rule which forces the use of the single unit not only in the same element but in the whole application. How about  providing options like below?
type Option = {
  scope: "wholeApp" | "element",
  allowedUnits: ("px" | "rem")[],
}

Thank you. I'm glad to hear it.

Also I prefer the strict rule which forces the use of the single unit not only in the same element but in the whole application. How about providing options like below?
LGTM

Now let's implement it. I'll work on it after #21, but I don't mind if you do!

@no-yan Ok, so please assign you to the issue when getting to work on it to avoid double work!

I've made the prototype of the implementation, but I'm not sure which attribute is the one that receives the spacing value.
I will try to determine it by theme key from https://chakra-ui.com/docs/features/style-props. Column "Theme Key" seems to represent internal handling, and "space" correspond to "spacing" defined in theme.
If you have another idea, please let me know.

@no-yan Maybe you can refer this object but i'm not sure

This does not handle width etc, so the other objects are also involved? I will look it closer tomorrow.

@no-yan
First, chakra calls t.spaceT for margin here.
Then, t.spaceT calls toConfig("space", transforms.px) here.
space is ThemeScale that represents "Theme Key" in the doc, and transforms.px is a transformer to convert unitless value to px value.
You can see the same thing for width here.
So in summary, we can refer to ThemeScale like space.margin.scale or layout.width.scale to know which prop is treated as a spacing value.

btw width is t.sizesT while height is t.sizes. This is the cause of your confusion 😂


Simplify namespace extensions in the windows-bindgen crate

This mostly just changes bindgen to use a per-namespace extension model rather than a per-type model. This aligns more with the way extensions are injected in cppwinrt, which has stood the test of time, and simplifies the upcoming extensions for implementing collections as part of the larger component authoring support.
This PR also changes the bindgen project to use the default Rust formatting, which added some noise to the PR, but makes the extension code much more readable and manageable.

Does this impact external gen users at all? Doesn't look like it but thought I'd double check.

Does this impact external gen users at all? Doesn't look like it but thought I'd double check.

I don't expect so as it only impacts namespace covered by the windows/windows-sys crates.


Docker Daemon crashed and unable to restart

Cookbook version
2.15.17
Docker version
1.10
Chef-client version
12.15.19
Platform Details
RHEL 7.0
Our converges yesterday were repeatedly successful on 2.15.16. Our converge today pulled in 2.15.17, which seems to change /lib/systemd/system/docker.service and /etc/systemd/system/docker.service. This caused the docker daemon to crash, and be unable to restart. Even pinning and converging with the older version of the cookbook doesn't fix the issue, and our docker daemon is down and we are unable to restart it.
Relevant converge logs and output of journalctl @ https://gist.github.com/AlvinFeng/09bc9ea6067f4df67a7e8cfd6b3a9ab9
We were able to reproduce this on multiple boxes, where the docker daemon crashes and we are unable to restart it.
Please let me know how to fix this and get the docker daemon back up and running, and if any other info is needed. Thanks!

do you have a group named docker? it appears your logs are complaining about that not existing.

previous releases were not properly setting the group, matching upstream docker installs. there should be a group docker installed.
if this is not the case please paste your docker_service resource block.

@AlvinFeng please see if your issue is resolved in v2.15.18

please reopen if this is still an issue. this should be resolved in the latest release though.


A KeyUpEvent is dispatched, but the state shows that the physical key is not pressed.

The following assertion was thrown during a platform message callback:
A KeyUpEvent is dispatched, but the state shows that the physical key is not pressed. If this occurs in real application, please report this bug to Flutter. If this occurs in unit tests, please ensure that simulated events follow Flutter's event model as documented in `HardwareKeyboard`. This was the event: KeyUpEvent#236e0(physicalKey: PhysicalKeyboardKey#70028(usbHidUsage: "0x00070028", debugName: "Enter"), logicalKey: LogicalKeyboardKey#0000d(keyId: "0x10000000d", keyLabel: "Enter", debugName: "Enter"), character: null, timeStamp: 37:09:13.395794)
'package:flutter/src/services/hardware_keyboard.dart':
Failed assertion: line 441 pos 16: '_pressedKeys.containsKey(event.physicalKey)'

@wyzwhp
Can you provide flutter doctor -v and steps to replicate that triggers this error ?


[fltk] Fix link to system libs

fltk forgot to export some system libraries in the cmake configuration file on Windows and OSX, fix this.
Fixes #17053.

@MoAlyousef  Can you please test this PR?
Thanks.

@JackBoosY Odd. This worked without any errors, but nothing launched when the compiled executable was run. On the otherhand, my original test-case worked with this slight edit to my CMakeLists.txt:
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
    find_library(COCOA_LIBRARY Cocoa ONLY)
    target_link_libraries(${PROJECT_NAME} PRIVATE ${COCOA_LIBRARY})
endif()

I'm afraid I can't test on macos at the moment

@SamuelMarks This modification adapts #16706.

@JackBoosY  / @vicroms : I'm happy this has merged, because it resolved the errors. But it hasn't solved the referenced issue #17053; the GUI window still isn't drawn on my screen.

@SamuelMarks  Can you please open a new issue to report this?
Thanks.


Is the website offline?

Is the website offline?

Not for long :white_check_mark:
Just took a VPS

Can you please re-open until it is online?

Sure

The website is online :innocent:


Add --suppress-header argument to list workspace/variables

Added the global argument to suppress headers in variablesListCmd and workspaceListToString, updated README.md and Test_workspaceListToString

These changes are not as helpful as they were once thought to be.


Bump opdev/go-rpmdb

c11b1c4 (upstream/master) fix: Add bounds checks to data slice (#29)
Signed-off-by: Brad P. Crochet<EMAIL_ADDRESS>

@bcrochet are you referencing the correct #29? You mean the below, correct?

knqyf263/go-rpmdb#29


💚 Fix installation of tqec package

This PR fixes #35 and maybe #56 (I cannot replicate this one).

Also, this PR will basically block every other contributions I make to the actual code as it changes the place where the code lies from tqec to src/tqec and I do not want to have to deal with merging this one with other code changes.
As such, it would be nice if you agree to merge it soon.

Ok I did not read the final message of your issue. I would argue that avoiding accidental path-based imports is a strong incentive to the src layout.

I'll also wait for @vtomole answer or validation on that too, I do not want to merge with pending discussion.

I'll respond in a day or two after doing my research :)


Get user privileges

Get-MistUserInfo returns an object with a property called "privileges" this will contain all the privileges for the logged in user


PNG Optimizations

Totally forgot to take care of these pictures! :smile:
Can you please comment on the size difference of the /img/web-app folder after you optimized the pics?
// I don't have access to my laptop right now to do it myself

32% smaller(27KB). I could have made it smaller, but i figured you'd want to maintain transparency.

:+1: :wink:


[BUILD] update jblas dependency version to 1.2.4

jblas 1.2.4 includes native library support for PPC64LE.

Can one of the admins verify this patch?

I'm not opposed to this, but, JBLAS is not used except for backwards compatibility in an API at this point. I don't think it will do anything to update this version.

Do mllib tests no longer depend on jblas?

Yes I think it's still used in the tests, though that's kind of legacy. I see, so it's still needed to fix up the test. OK, I think this is fine.

ok to test

Merged build triggered.

Merged build started.

Test build #32892 has started for   PR 6199 at commit 9df9301.

Test build #32892 has finished for   PR 6199 at commit 9df9301.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/32892/
Test PASSed.


Chef-server upgrade testing

This test case will enable us to easily test version compatibility between predetermined supported versions.

12.x -> 13.1(assuming 13.1 is the new release number)
13.0 -> 13.1
11 -> 12.3 -> 12.17 -> 13.1
11 -> 13.1 (known failure)
12.3 -> 13.1 (known failure)

Any others TBD?

Closing this because 13.1.13 is released. If we need to address this for 13.2, let's create a new issue.


Allow users to customize shortlinks

Is your feature request related to a problem? Please describe.
The shortened url is auto generated so it might be harder to remember
Describe the solution you'd like
My solution is to allow users to customize the shortened url with their username and some additional 6 letters strings (size is open to changes) so that it could be easy to store it. But we can allow users to only acces this feature if they are logged in
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Another alternative is to allow users who use the shortening feature to specify their custom url and if that does not already exist then we will use that custom url or specify the error in a readable format.
Additional context
Add any other context or screenshots about the feature request here.

Please assign this issue to me under gssoc'24

Hey @fazil-syed, currently there are some features we are adding now, so after these issue you can work on this issue.

Is this website really works I have given some urls to this and I did not Got any result just an button with "shorten it" Firstly the main logic is needed to be implement properly and after that the shorting and custom urls thingy should be considered Apart from this Is there Any constraint that are made to make the slug within 7 characters? and for custom urls we have to check that users are giving us proper characters.


tests: use V3.3-stable branch for nfs-ganesha

This is the latest stable release available for octopus.
Let's use it instead of using master builds.
Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-non_container-all_daemons


NDRS-899: Set ulimit

To address issues with networks with > 400 connections, set the open files limit (ulimit -n) at the startup.
If this fails, settle for the closest possible maximum. This code will never panic or abort, but warn if the limit cannot be increased.

bors r+


Support for Windows

I've been successfully developing RML mappings on MacOS and defining the logical source to be /dev/stdin so that the mapping files can be independent of the source.
    rml:logicalSource [         rml:source "/dev/stdin" ;         rml:referenceFormulation ql:JSONPath ;
When I attempt to execute on the same files and jar on Windows, it attempts to treat /dev/stdin as if it was a file name.
Does this technique work on Windows?
Shouldn't it be detecting the use of /dev/stdin and map that to actually use Java's System.in so that it could be platform neutral?
Perhaps I'm doing something wrong.  I need to be able to run rml-mapper on both Unix and Windows based platforms.
Any help appreciated

To add a bit more context, I'm trying to use the rml-mapper as a library to integrate into a custom Apache NiFi Processor so that the mapping can be part of a NiFi workflow.
Since the contents of the file to be mapped (e.g., JSON) is contained as a stream in the flow file, I need to be able to feed it into the executor and define in the mapping file the proper rml:source value to read the stream in.
I search around and hadn't found any one that had done this, so I've had to try to work out the details to make it work.


Namespace contract for Map Nostr and Starknet address. External call for protocol, social request, and getters

Namespace contract:
Purposes: Do the Mapping of Nostr and Starknet address outside the deposit escrow.
This contract can be used by DepositEscrow and others contracts after as the mapping getters and setters.

Access control openzepellin for grnat role of OPERATOR_ROLE (external contracts) and ADMIN.

Functions to manage Nostr x Starknet map address:
fn get_nostr_to_sn_default(
self: @TContractState, nostr_public_key: NostrPublicKey
) -> ContractAddress;
// Admin
fn set_control_role(
ref self: TContractState, recipient: ContractAddress, role: felt252, is_enable: bool
);
// User with Social Request and Verify signature
fn linked_nostr_default_account(
ref self: TContractState, request: SocialRequest
);
// External call protocol
fn protocol_linked_nostr_default_account(
ref self: TContractState,
nostr_public_key: NostrPublicKey,
starknet_address: ContractAddress
);

WIP: Fix the signature of the Nostr event with the correct Nostr public key encode and format as Uint256.

Closing based on discussion in the tg group.


imgfullscreen button is not working

After clicking on this button i want to see video in full screen mode . But its not changing in full screen. While changing landscape mode video is coming in full screen mode..

After clicking on button its only fluctuating but screen is not getting changed.. Please let me know what is the issue..