L7 routing doesn't work with waypoint if source pod not in the ambient mesh

Bug Description
Scenario:

Pod not in the mesh tries to access a service that has a waypoint
Because the pod is not in the mesh, the VIP is resolved to a pod ip
Ztunnel captures the traffic for the destination pod and sends it to waitpoint
waitpoint receives traffic with pod ip (and not serviced vip) and doesn't apply the service routing

Version
1.18.0-alpha.0

Additional Information
No response
Affected product area

[X] Ambient
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

That seems like a desired intent - for example, the source might be running its own load balancer (a sidecar or an SDK).

Consider AuthorizationPolicy (L7 in particular).  In the sidecar world, the producer sidecar can apply policy to all inbound traffic regardless of source.    To lose that property in ambient with waypoints would seem to be a regression.  To me, desired intent of policy on a waypoint is that the policy is enacted on all inbound traffic to my app -- it's a gateway, after all.

@birkland Right, which is why authorization policy doesn't bind to services, but to waypoints themselves, regardless of the destination IP.

.. and the bug described here in this ticket has the net result that the waypoint currently does not enforce AuthorizationPolicy policy on traffic originating from outside the mesh.

In the AuthorizationPolicy case though, there's no cert or identity to match on for services outside the mesh. The only thing that you can depend on would be ipBlock which I would expect to work since you're blocking workload IPs not service IPs

In the AuthorizationPolicy case though, there's no cert or identity to match on for services outside the mesh. The only thing that you can depend on would be ipBlock which I would expect to work since you're blocking workload IPs not service IPs

But even in that case - can't you mix ip blocks with L7 concepts, like grant hosts from certain IP blocks permission to do  HTTP GET on /foo (which would require a waypoint due to rules based on HTTP concepts)?  Likewise, how about requestPrincipals as a source (if using JWT)?
Taking a step back, the fundamental issue at a high level is that it doesn't seem that any policy applied to the waypoint can currently be enacted on traffic that originates from outside the mesh for the original reasons stated in the issue description.   Is that not a bug?

.. and the bug described here in this ticket has the net result that the waypoint currently does not enforce AuthorizationPolicy policy on traffic originating from outside the mesh. (i.e. it's not just L7 routing that doesn't work on traffic originating from outside the mesh, it's L7 anything - including AuthorizationPolicies)

Are you sure about that? I think in the latest xDS we apply authorization policy uniformly, regardless of the service routing. Direct pod access is supported, with all the policy attachment, and if not, it's a bug.

Let me build the tip of main and see if it has the same issues as alpha 0

@birkland any update? I'd expect this to work. I think this is one of the advantages we promote for ambient where the policy is enforced regardless of whether the source is in-mesh or out-of-mesh.

cc @stevenctl

it seems working for me. Actually ip which goes to ztunnel, even for non-mesh client, seems to be dest service vip.
I have a sleep pod in sleep namespace. namespace has no special annotations or labels:
vikas@ istio-oss (master) $ k get ns sleep -o yaml | yq .metadata
creationTimestamp: "2023-05-13T10:55:54Z"
labels:
  kubernetes.io/metadata.name: sleep
name: sleep
resourceVersion: "88458"
uid: 54a0b2ca-954a-49f6-a7e2-1f0d92c62f5e

sleep pod is on kind-worker node:
vikas@ istio-oss (master) $ kgp -n sleep -o wide
NAME                     READY   STATUS    RESTARTS   AGE     IP            NODE          NOMINATED NODE   READINESS GATES
sleep-75bbc86479-7vvs9   1/1     Running   0          6m57s   <IP_ADDRESS>   kind-worker   <none>           <none>

bookinfo is running in default namespace as per quickstart guide:
vikas@ istio-oss (master) $ k get svc -o wide
NAME                                  TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)     AGE   SELECTOR
bookinfo-productpage-istio-waypoint   ClusterIP   <IP_ADDRESS>   <none>        15008/TCP   24h   istio.io/gateway-name=bookinfo-productpage
details                               ClusterIP   <IP_ADDRESS>   <none>        9080/TCP    24h   app=details
kubernetes                            ClusterIP   <IP_ADDRESS>       <none>        443/TCP     24h   <none>
notsleep                              ClusterIP   <IP_ADDRESS>   <none>        80/TCP      24h   app=notsleep
productpage                           ClusterIP   <IP_ADDRESS>     <none>        9080/TCP    24h   app=productpage
ratings                               ClusterIP   <IP_ADDRESS>    <none>        9080/TCP    24h   app=ratings
reviews                               ClusterIP   <IP_ADDRESS>   <none>        9080/TCP    24h   app=reviews
sleep                                 ClusterIP   <IP_ADDRESS>     <none>        80/TCP      24h   app=sleep

on running:
vikas@ istio-oss (master) $ kubectl exec deploy/sleep -n sleep  -- curl -s http://productpage.default:9080/ | grep -o "<title>.*</title>"
<title>Simple Bookstore App</title>

tcpdump on the istioout port on the node to see what dest ip is coming out of the client pod and it shows product svc vip <IP_ADDRESS>
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on istioout, link-type EN10MB (Ethernet), capture size 262144 bytes

16:45:49.757886 IP <IP_ADDRESS>.58846 > <IP_ADDRESS>.9080: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0
16:45:53.973187 IP <IP_ADDRESS>.58852 > <IP_ADDRESS>.9080: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0
16:45:59.087001 ARP, Request who-has <IP_ADDRESS> tell <IP_ADDRESS>, length 28
16:45:59.087225 ARP, Reply <IP_ADDRESS> is-at 2a:31:bc:2e:d9:22 (oui Unknown), length 28
16:46:01.437854 IP <IP_ADDRESS>.51426 > <IP_ADDRESS>.9080: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,sackOK,TS val<PHONE_NUMBER> ecr 0,nop,wscale 7], length 0

Even before trying I was thinking that it should be svc vip only to which dns should resolve to even for non-mesh pods.


add fallback for guessing package name from file name

I usually simlink projects into my Packages folder when I'm working on them,
and wasn't able to use the "reload" command because the path was expanded.
I therefore added a fallback to the method that guess the package name from the filename.
The behavior should be the same as before for users for who the plugin was working.
If you have a better idea for the "extract_from_file_name" function name, or if you want me to inline it, please tell me.

I have made a slight modification so that the detection is more robust. Let me know if it works for you.

Thanks, it works nicely.


Extract library versions into ext properties

Implementation of #33. Currently I've only done it for the library dependency versions. Should I do the rest too? I've also extracted the versions when they aren't used multiple times, it just seemed neater, although it does add some cognitive load for looking up the version & extra work when adding new libraries (you need to add the version into ext properties list, rather than just copy the suggested gradle dependency).

I now wondering if the dictionary approach might be better. Like this - https://github.com/AdamLuisSean/AndroidCleanVIPER/blob/master/dependencies/dependencies.gradle

I don't think it matters, both approached are almost identical


bug: questions page is missing main layout

Describe the bug
/questions page is missing the nav bar,
To Reproduce
just go to https://app.100xdevs.com/questions
Expected behavior
there should be a nav bar to navigate to other pages
Screenshots or GIFs

Info (please complete the following information):

Browser [chrome]

there are two routes for questions one is /question and one is /quetions you are probably visiting the /questions page

@KIWILmao  I think questions page also need the nab bar, because there is no option to go to other pages

The main issue here is there are two question endpoint the other one has the navbar

@devsargam , Why are there two routes ? the questions on both of them are same !!

So there is no need of the questions route. As the questions button is already linking to the question  route. So simply deleting the questions route will resolve the issue I guess ?


Class:TaxonQuantity

Parent
ObjectGroup

Definition
Metric for recording counts or estimates of the number of taxa represented by the CollectionDescription.

Repeatable
Yes

Relationships

Potential standards/vocabularies/ontologies to adopt

Notes

Changed the parent to ObjectGroup, due to removing the CollectionDescriptionMetric class

Deprecated in favour of MeasurementOrFact class


SNAPHOST dependency versions in released POMs

When I try to use your library as Maven dependency in the latest version 0.10.0, there are bunch of unresolvable transitive dependencies of version 0.9.2-SNAPSHOT. I noticed in your POM you are using dedicated version properties and you probably forgot to bump them.
What I recommend it to keep the version on a single place (the top most parent POM) and refer to that version. I will create a PR for both jmsdk and jeon repositories.

Please release 0.11.1 when this is fixed. Thank you. ;)


Package "sentry/sentry" is not installed

Larastan Version: 0.6.13

--level used: 5

Laravel Version: 7.30.4

PHP Version: 7.3.26

composer.json
{
    "name": "laravel/laravel",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "type": "project",
    "require": {
        "php": "^7.3",
        "browner12/helpers": "^3.1",
        "cartalyst/stripe-laravel": "^12.0",
        "doctrine/dbal": "^2.10",
        "fideloper/proxy": "^4.3",
        "fruitcake/laravel-cors": "^1.0",
        "khanamiryan/qrcode-detector-decoder": "^1.0",
        "laravel/framework": "^7.0",
        "laravel/tinker": "^2.4",
        "laravel/ui": "^2.0",
        "laravelcollective/html": "^6.1",
        "paypal/rest-api-sdk-php": "^1.14",
        "pusher/pusher-php-server": "^3.4",
        "sentry/sentry-laravel": "1.9.0",
        "twilio/sdk": "^6.5",
        "werneckbh/laravel-qr-code": "^0.1"
    },
    "require-dev": {
        "barryvdh/laravel-debugbar": "^3.3",
        "barryvdh/laravel-ide-helper": "2.8.2",
        "deployer/deployer": "^6.8",
        "facade/ignition": "^2.0",
        "fzaninotto/faker": "^1.9",
        "mockery/mockery": "^1.4",
        "nunomaduro/collision": "^4.1",
        "nunomaduro/larastan": "^0.6.13",
        "phpunit/phpunit": "^8.5"
    },
    "autoload": {
        "classmap": [
            "database/seeds",
            "database/factories"
        ],
        "psr-4": {
            "App\\": "app/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/"
        }
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi"
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    },
    "config": {
        "preferred-install": "dist",
        "sort-packages": true,
        "optimize-autoloader": true
    },
    "minimum-stability": "dev",
    "prefer-stable": true
}

Description
running ./vendor/bin/phpstan analyse throws this error
Note: Using configuration file /xxx/phpstan.neon.
OutOfBoundsException thrown in phar:///xxx/vendor/phpstan/phpstan/phpstan.phar/vendor/composer/InstalledVersions.php on line 1081 while loading bootstrap file /xxx/vendor/nunomaduro/larastan/bootstrap.php: Package "sentry/sentry" is not installed

so what am i missing here?

Have you tried to upgrade your Composer tool to v2 latest? Came out today 🎉

Have you tried to upgrade your Composer tool to v2 latest? Came out today 🎉

@szepeviktor : thanks for the tip. so after removing ./vendor, updating composer, rerunning composer install, it works now

@szepeviktor : thanks for the tip. so after removing ./vendor, updating composer, rerunning composer install, it works now

I just installed Larastan for the first time with Composer v2 and this issue is popping up for me. I had previously installed Larastan however had to remove my vendor folder for unrelated reasons and now when attempting to run phpstan analyze I see the sentry-related error in this issue.

I just installed Larastan for the first time with Composer v2 and this issue is popping up for me. I had previously installed Larastan however had to remove my vendor folder for unrelated reasons and now when attempting to run phpstan analyze I see the sentry-related error in this issue.

Hello Brandon.
It is extremely hard to help you if you provide no data.
Have you tried upgrading your Composer tool to the latest release?

Hello Brandon.
It is extremely hard to help you if you provide no data.
Have you tried upgrading your Composer tool to the latest release?

@szepeviktor my apologies for lack of data. I have not upgraded Composer, but we are running Composer v2.0.8. I just upgraded to Composer v2.0.9 and was able to run phpstan analyse successfully.

@szepeviktor my apologies for lack of data. I have not upgraded Composer, but we are running Composer v2.0.8. I just upgraded to Composer v2.0.9 and was able to run phpstan analyse successfully.

was able to run phpstan analyse successfully

😲

was able to run phpstan analyse successfully

😲

Fixed InstalledVersions to report all packages when several vendor dirs are present in the same runtime

Maybe this one?

Fixed InstalledVersions to report all packages when several vendor dirs are present in the same runtime

Maybe this one?

@szepeviktor that actually sounds like it after re-reading, good catch.

@szepeviktor that actually sounds like it after re-reading, good catch.


Please add to FAQ : How to avoid #nullable enable Find and Replace with net48 and vs2022

This is how to get around annoying find and replace of
#nullable enable
If you're using .NET Framework 4.8 and want to manage nullable reference types, it's important to note that the full nullable reference types feature is not directly supported as it is a C# 8.0 feature, primarily designed for use with .NET Core 3.0 and above.
However, you can still enable or disable it in .NET Framework 4.8 projects by using the latest C# compiler (which supports C# 8.0 features) and setting up your project file appropriately. Unload .csproj and add this to your  .csproj (or update to SDK style)

8.0

disable

Add to .csproj

8.0

disable


try.jsoup.org seems offline

Hi, http://try.jsoup.org/ seems offline. Can you fix it?
Thanks

It's online now :dancer:


[FLINK-12505][hive] Unify database operations to HiveCatalogBase from its subclasses

What is the purpose of the change
Currently each subclass of HiveCatalogBase has its own impl for catalog related database APIs and its own util class to support such impl. However, they share many common code. This PR unifies their common parts to make the code cleaner and more readable.
Brief change log

moved getDatabase, createDatabase, and alterDatabase APIs to HiveCatalogBase from its subclasses. Added interfaces to allow their own specific code, and unified common implementations in HiveCatalogBase
removed GenericHiveMetastoreCatalogUtil and HiveCatalogUtil

Verifying this change
This change is already covered by existing tests, such as GenericHiveMetastoreCatalogTest and HiveCatalogTest.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

@xuefuz @irui-apache @zjuwangg can you please take a look?

merging...


test api extension with next font changes

What's the purpose of this pull request?

How it works?

How to test it?

Starters Deploy Preview

References

closed due to this is just a test PR.


HBASE-28539 Merge of incremental backups fails if backups are on a separate FileSystem

HBASE-28539 Fix merging of incremental backups when the backup filesystem is not the same as the one underpinning HBase itself.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 19s
Docker mode activated.

Heya @bcolyn-ngdata can you please run mvn spotless:apply and push the resulting change, or give me permission to add contributions to this PR. Thanks.

Hi @ndimiduk
I've run the spotless:apply (sorry, should have done that already) and amended the PR

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 18s
Docker mode activated.


Animated gif

Does the image filter module support animated GIF resize keeping it animated?
Made some test but resizing an animated Gif lead to a static Gif.

No it does not: https://github.com/niiknow/docker-nginx-image-proxy/blob/master/README.md#and-what-it-doesnt

So we have to wait for the libgd team to make this happen ;)


Accept osm ids in the relation member / membership dropdowns

Currently the list of suggested relations contains only the ones which are quite near the object you are editing. It would be nice to have an ability to select a relation by id.

Thinking about this more.. We already support in the search box:

names of places (via nominatim)
lat/lng coordinates  (in decimal or sexagesimal)

That box should recognize osm ids too.

It does already, if you prefix the ID with n, w, or r for the type of object.

It does already, if you prefix the ID with n, w, or r for the type of object.

Nice!  I didn't know that.
Thought about it more and realized that this doesn't actually address the original issue - adding a member to a relation by typing in the relation id.  Probably not impossible, but would involve tricky stuff in d3combo.

Currently the list of suggested relations contains only the ones which are quite near the object you are editing.

I'd agree, that this is insufficient.

It would be nice to have an ability to select a relation by id.

This doesn't seem to be the real user requirement, but just the request for a dirty workaround.
The real user requirement seems to be able to members to relations which are far away. I see two possible solutions:

An asymmetric multiselect operation ( #2951 ) to add objects as members of a relation.
A  copy to member section paste control, which could either be:

A paste button in the members section
With a relation selected: A Ctrl-V followed by a special key aborting the placement of the copy, but adding the copied objects as members.
A radial menu paste operation when at least one relation is selected.

The source of such a paste operation could just be a normal Ctrl-C copy from the map. In addition being able to copy from the members section of another relation would have some other usecases.
which can be base This could use the normal Ctrl-C

Currently the list of suggested relations contains only the ones which are quite near the object you are editing.

Potlatch 2 has a text field that accepts a relation ID, but it also keeps loaded relations in the list for the entire editing session, which mitigates the need for this text field: #3622.

I added the ability to filter the relation list by ID, but this still doesn't let you add to a relation that's not in the nearby list. Are we sure we want to enable that behavior? I can imagine scenarios where users type the wrong ID and accidentally connect to relations thousands of miles away.

I made it so you can specify IDs of loaded relations. This is simpler and safer than trying to fetch arbitrary relations for any ID a user types.

@quincylvania
I think you should also support entering ids of

any relation which was visited (selected) during the current editing session, even if it got unloaded.
any relation in the viewport, even if it isn't downloaded due to editing at a low zoom level.

Currently the real usecases aren't supported.

Those sound like very rare cases.  The first case doesn't seem possible... unloaded?  The second seems quite difficult as well, since iD can only know if something is in the viewport if it's downloaded.

@BjornRasmussen
Example usecases:

Assume Hawaii isn't mapped as part of the US and you want to add it to the boundary relation.
Exclaves and enclaves are frequent for any type of boundary.
Assume you have surveyed a part of a route, and the and there is a far distant part already mapped.

The first case doesn't seem possible... unloaded?

iD doesn't keep all the downloaded data when panning to a different location.
Assume you have selected the incomple boundary of the US. After panning to Hawaii it isn't in the graph anymore.

The second seems quite difficult as well, since iD can only know if something is in the viewport if it's downloaded.

iD has two options here:

make a full relation request to the normal API, check whether it is the viewport, discard if not
make a request for the relation to the Overpass API using the extend of the viewport as bbox.

any relation which was visited (selected) during the current editing session, even if it got unloaded.

Entities don't get unloaded once loaded. You can easily start in California then navigate to Hawaii. California will still be loaded and available to reference as a relation.

any relation in the viewport, even if it isn't downloaded due to editing at a low zoom level.

This is essentially the same as the ability to connect to any relation in OSM, since the user could zoom all the way out so the whole world is in the viewport. This seems like an easy way to make mistakes without many added benefits.

I can to this issue via this question and https://github.com/openstreetmap/iD/issues/1906. I am trying to add a section to the Schuylkill River Trail relation. This trail is only partially complete and I am looking to add a section which is in between a big gap.
I can't get the desired relation to show up in the the add relation menu in iD. Have tried some of the methods of moving the viewport and zooming in and out to no avail. Would be really nice to be able to add by relation id, perhaps requiring some sort of extra confirmation.
I've also hit this problem while editing the Long Trail relation. Understand that it's important to avoid spurious relations, but currently it seems like there is major missing functionality in terms of way relations that are not entirely contiguous (like many long distance trails).

I can to this issue via this question and https://github.com/openstreetmap/iD/issues/1906. I am trying to add a section to the Schuylkill River Trail relation. This trail is only partially complete and I am looking to add a section which is in between a big gap.
I can't get the desired relation to show up in the the add relation menu in iD. Have tried some of the methods of moving the viewport and zooming in and out to no avail. Would be really nice to be able to add by relation id, perhaps requiring some sort of extra confirmation.
I've also hit this problem while editing the Long Trail relation. Understand that it's important to avoid spurious relations, but currently it seems like there is major missing functionality in terms of way relations that are not entirely contiguous (like many long distance trails).

See my post in #3622 for a proposed solution.
My fork of ID at www.wanderreitkarte.de has that feature. However, you would need to set the coordinates in the URL to navigate there as my map does not cover the US.

See my post in #3622 for a proposed solution.
My fork of ID at www.wanderreitkarte.de has that feature. However, you would need to set the coordinates in the URL to navigate there as my map does not cover the US.

@dhimmel If the relation is already downloaded, then you can now type the exact ID to get it to show up in the dropdown.

@dhimmel If the relation is already downloaded, then you can now type the exact ID to get it to show up in the dropdown.


urllib.error.HTTPError: HTTP Error 404: Not Found

hi there~
It seems that the origin url has failed and the picture cannot be download correctly.
The errors are shown below
Updating...
[1/3] Retrying to download 'http://himawari8-dl.nict.go.jp/himawari8/img/D531106/latest.json'...
[2/3] Retrying to download 'http://himawari8-dl.nict.go.jp/himawari8/img/D531106/latest.json'...
[3/3] Retrying to download 'http://himawari8-dl.nict.go.jp/himawari8/img/D531106/latest.json'...
Exception in thread himawaripy-main-thread:
Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/anaconda3/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/anaconda3/lib/python3.6/site-packages/himawaripy/__main__.py", line 154, in thread_main
    latest_json = download("http://himawari8-dl.nict.go.jp/himawari8/img/D531106/latest.json")
  File "/anaconda3/lib/python3.6/site-packages/himawaripy/__main__.py", line 142, in download
    raise exception
  File "/anaconda3/lib/python3.6/site-packages/himawaripy/__main__.py", line 133, in download
    with urllib.request.urlopen(url) as response:
  File "/anaconda3/lib/python3.6/urllib/request.py", line 223, in urlopen
    return opener.open(url, data, timeout)
  File "/anaconda3/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/anaconda3/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/anaconda3/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/anaconda3/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/anaconda3/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

thanks for your time~

I also meet same problen,how to work out it?

I also meet same problem,how to work out it?

me too!

Fixed thanks to @fiercedruid!


 Hopefully reduces the incidents of `cannot listen: port already in use'

Hope this works.

@J-Thompson12 Why do you say that? Were you hitting that error frequently?

It worked great, I always got the error. Should that be removed from https://github.com/weaveworks/weave-gitops/blob/main/pkg/kube/kube_suite_test.go#L31 either?

It worked great, I always got the error. Should that be removed from https://github.com/weaveworks/weave-gitops/blob/main/pkg/kube/kube_suite_test.go#L31 either?

No, we still need the full client for the .Apply() logic. This fake client won't do all the fancy logic we need for that operation.


save and restore the chrome session local storage information

Description
This PR saves and restores the chrome session local storage information for flutter web chrome devices. When running chrome devices, we already save and restore the userDataDir preferences file, containing things like the window size and location. This PR also saves are restores the local storage info for web apps, allowing the local storage info to persist across app runs.
Related Issues
None, but this addresses an issue found while developing DevTools. I'll link the PR in here once that work is complete.
Tests
I updated the following tests:

flutter_tools/test/general.shard/web/chrome_test.dart: 'can seed chrome temp directory with existing preferences' (renamed to 'can seed chrome temp directory with existing session data')

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.
[ ] Yes, this is a breaking change. If not, delete the remainder of this section.

[ ] I wrote a design doc: https://flutter.dev/go/template Replace this with a link to your design doc's short link
[ ] I got input from the developer relations team, specifically from: Replace with the names of who gave advice
[ ] I wrote a migration guide: Replace with a link to your migration guide

ptal - updated based on review comments


Change viewport Meta

Changed viewport meta for Pinch to Zoom in and out on mobile (iPhone)

The quotation marks seem to be mismatched in this.

Made new PR.


add web view for a single job status

This adds a web view for viewing the status of a single job by its JID at, for example, statuses/123. I also added tests for the new page and an additional screenshot to the readme.
We use this gem at Avant, and we run enough jobs that recent statuses page at statuses isn't always sufficient for tracking a single critical or long-running job.
@utgarda @pramodshinde

@jlovell PR looks okay, But I can't find where are you adding link to job with JID on listing page i.e sidekiq/statuses page?

@pramodshinde I didn't add links to the jobs on the listing page, because the listing page already has all of the full status information for the last ~25 jobs. As I see it, the main utility is for direct access to a specific JID, rather than browsing from the listings page.
That said, I'd be happy to add those links if you want -- it's a quick change.

The link is useful on the index page so people can right click - copy it and send it to colleagues for reference.
👍  for adding the link


Upgrade to Sapper 0.28.1 and remove typings directory

Just wanted to give you a heads up that 0.28.1 is out now, which includes the types. Thanks for all your help in providing this template and testing out TypeScript support!

@benmccann  awesome, thank you!
Will be updated as soon as possible


Developer documentation for BWC Tests

Add documentation support for running BWC tests for OpenSearch project (OpenSearch core + plugins)

[x] Documentation for adding bwc tests for plugins
[ ] Documentation for BWC workflows in OpenSearch core

Closing this as ONBOARDING.md is merged into opensearch-build.
Ref: https://github.com/opensearch-project/opensearch-build/blob/main/ONBOARDING.md
And OpenSearch core already has documentation for understanding bwctests.
Ref: https://github.com/opensearch-project/OpenSearch/blob/main/TESTING.md#testing-backwards-compatibility


Collapse/show toggle no longer works for campaign list of items

The backward slash within the URL seems to block the connection to the ID on the div.

Fixed in 5ae98287a31c89180c65e9c01b4ff750ded5c091


refactor(net): deduplicate error variants

reuuse variants of underlying p2p error

Codecov Report

Merging #619 (b1989d5) into main (410a1f9) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #619      +/-   ##
==========================================
- Coverage   72.04%   72.02%   -0.02%
==========================================
  Files         252      252
  Lines       25583    25589       +6
==========================================
  Hits        18430    18430
- Misses       7153     7159       +6

Flag
Coverage Δ

unit-tests
72.02% <0.00%> (-0.02%)
:arrow_down:

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

Impacted Files
Coverage Δ

crates/net/eth-wire/src/errors/eth.rs
33.33% <0.00%> (-33.34%)
:arrow_down:

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


Update old driver notebooks

Fixes legacy code use in old example driver notebooks.
Changes proposed in this pull request:

Remove Loop usage in Agilent 34400A notebook
Use get_idn method for getting information in Oxford Triton notebook

For the Agilent 34400A notebook I think we should:

Get rid of that Timer class. It does not really have anything to do with this instrument and just creates more confusion.
Only create one station.
Write a bit of text explaining what we are doing.


3.1: Production release for PNG

[ ] End-to-end testing on the production environment

The production release has been done, and the above task is completed.


codec(cdc): fix encoder max-message-bytes

What problem does this PR solve?

when initializing the encoder, make sure max-message-bytes in the opts, and set identical to producer's configuration.
What is changed and how it works?
Check List
Tests

Unit test

Code changes
Side effects
Related changes
Release note
`None`.

Codecov Report

Merging #4074 (913e2d5) into master (3873d39) will decrease coverage by 1.9284%.
The diff coverage is 66.6382%.

Flag
Coverage Δ

cdc
58.5995% <66.6382%> (+0.3629%)
:arrow_up:

dm
52.2183% <ø> (-3.8163%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #4074        +/-   ##
================================================
- Coverage   57.0741%   55.1457%   -1.9285%
================================================
  Files           478        486         +8
  Lines         56551      60050      +3499
================================================
+ Hits          32276      33115       +839
- Misses        20978      23568      +2590
- Partials       3297       3367        +70

/run-all-tests

/run-all-tests

/run-leak-test

/run-all-tests

Need to confirm:

Is cherry pick to release branches needed
whether release note is needed? (a new introduced bug or an old bug)

/run-all-tests

/run-leak-test

/run-integration-test
/run-kafka-integration-test

/run-kafka-integration-test


❗Hotfix - update react-native-experimental-navigation package

Overview
Updated react-native-experimental-navigation to the latest version on the V3 branch, so that I can fix the trailing comma error which was reported and merged two months ago.

LGTM!

@aksonov thanks for the quick turnaround, if possible can you give me an ETA as to when you'll push this version to npm?

Please check 3.44.0

24 сент. 2018 г., в 13:06, Jonathan Chrisp<EMAIL_ADDRESS>написал(а):
@aksonov https://github.com/aksonov thanks for the quick turnaround, if possible can you give me an ETA as to when you'll push this version to npm?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/aksonov/react-native-router-flux/pull/3290#issuecomment-423939903, or mute the thread https://github.com/notifications/unsubscribe-auth/ABQpccGV-53CLrXurJU2We5Ge59QNFr4ks5ueLzCgaJpZM4W2Vl4.

Hey @aksonov, thanks for pushing this so quickly. I've tested and found a new issue when building the project. We get a naming collision as defined below. I'm running the latest version of react-native.
Loading dependency graph...(node:45537) UnhandledPromiseRejectionWarning: Error: jest-haste-map: @providesModule naming collision:
  Duplicate module name: Sample
  Paths: /Users/jonathanchrisp/development/xxxx/xxxx/node_modules/react-native-router-flux/ReduxExample/node_modules/react-native/Libraries/Sample/package.json collides with /Users/jonathanchrisp/development/xxxx/xxxx/node_modules/react-native/Libraries/Sample/package.json
This error is caused by a @providesModule declaration with the same name across two different files.

Weirdly, looking at the current v3 branch I can't see this ReduxExample folder. Has this been added accidentally?

Just to note, upon removing the folder everything builds as expected.

Probably so. Feel free to submit PR. v3 is not supported

Hi @aksonov, just to make sure, I just ran npm pack locally and didn't get the ReduxExample folder added to the tar package. If possible was this added by mistake when you pused the version earlier? I can't see how this got here otherwise, are you able to check whether you had this within your directory when you published the project?

Strange. Check v3.44.1 now

Hey @aksonov, just pulled down and retested/rebuilt and looks to be working as expected now. Thanks again for the prompt updates, we're looking to move off version 3 soon, hopefully one day you'll be able to remove this branch! 🍻


Add spec for Alt, Plus and Alternative?

I think it would be nice if we also define algebras for Alt, Plus and Alternative
-- | The `Alt` type class identifies an associative operation on a type
-- | constructor.  It is similar to `Semigroup`, except that it applies to
-- | types of kind `* -> *`, like `Array` or `List`, rather than concrete types
-- | `String` or `Number`.
-- |
-- | `Alt` instances are required to satisfy the following laws:
-- |
-- | - Associativity: `(x <|> y) <|> z == x <|> (y <|> z)`
-- | - Distributivity: `f <$> (x <|> y) == (f <$> x) <|> (f <$> y)`
-- |
-- | For example, the `Array` (`[]`) type is an instance of `Alt`, where
-- | `(<|>)` is defined to be concatenation.
class Functor f <= Alt f where
  alt :: forall a. f a -> f a -> f a

-- | The `Plus` type class extends the `Alt` type class with a value that
-- | should be the left and right identity for `(<|>)`.
-- |
-- | It is similar to `Monoid`, except that it applies to types of
-- | kind `* -> *`, like `Array` or `List`, rather than concrete types like
-- | `String` or `Number`.
-- |
-- | `Plus` instances should satisfy the following laws:
-- |
-- | - Left identity: `empty <|> x == x`
-- | - Right identity: `x <|> empty == x`
-- | - Annihilation: `f <$> empty == empty`
class Alt f <= Plus f where
  empty :: forall a. f a

-- | The `Alternative` type class has no members of its own; it just specifies
-- | that the type constructor has both `Applicative` and `Plus` instances.
-- |
-- | Types which have `Alternative` instances should also satisfy the following
-- | laws:
-- |
-- | - Distributivity: `(f <|> g) <*> x == (f <*> x) <|> (g <*> x)`
-- | - Annihilation: `empty <*> f = empty`
class (Applicative f, Plus f) <= Alternative f

Snippets from purescript-control
It will be useful to Future/Task implementations (alt will be race).
and with also define Parallel algebra then in concurrent applicative could implement Alternative and we would have the race as well (MonadRace is removed).

And maybe also add MonadZero and MonadPlus
-- | The `MonadZero` type class has no members of its own; it just specifies
-- | that the type has both `Monad` and `Alternative` instances.
-- |
-- | Types which have `MonadZero` instances should also satisfy the following
-- | laws:
-- |
-- | - Annihilation: `empty >>= f = empty`
class (Monad m, Alternative m) <= MonadZero m

-- | The `MonadPlus` type class has no members of its own but extends
-- | `MonadZero` with an additional law:
-- |
-- | - Distributivity: `(x <|> y) >>= f == (x >>= f) <|> (y >>= f)`
class MonadZero m <= MonadPlus m

Alt looks like fantasy-land's Semigroup with additional distributivity law:

a.concat(b).map(f) is equivalent to a.map(f).concat(b.map(f))

And Plus looks like Monoid with additional law:

m.empty().map(f) is equivalent to m.empty()

Am I reading this right?
How would they fit in the dependency tree then? Alt would have dependency on Semigroup and Functor, right? But I'm confused with dependencies of Plus, should it be Alt and Functor, or Monoid and Functor, or all three?

Or maybe I've misunderstood all this, and Semigroup shouldn't be connected with Alt, neither Monoid with Plus. In other words concat() !== alt() and empty() != empty() where the first empty from Monoid and second one from Plus.

Distinction between typeclasses MonadPlus, Alternative, and Monoid?
So for example Maybe could be Semigroup if value in it is also Semigroup, but Plus and Alt should not "look" at values inside

we can make Task  instance of Semigroup if values in Task are also Semigroups.
Task.of([a]).concat(Task.of([b])) = Task.of([a,b])

we can make Task MonadPlus
Task.rejected(err).alt(Task.of(b)) = Task.of(b)

we can make TaskAp Alternative
Task.empty/*never*/.alt(Task.of(b)) = Task.of(b)

But we would have collision with Monoid's empty and Plus' empty. in PureScirpt Monoid's empty is called mempty. so we could:

rename Monoid's empty  to mempty
call Plus' empty something else for example: pempty

I see, so the idea is that they are not connected and Monoid for example can do something different than Plus.
My first impression is that I'd rather had them connected, so we always talk about the same operation but may make less or more stronger claim. But I really don't feel educated and experienced enough to discuss new laws, though 😄
Very curious what other think!

:D just came to all that Alternative staff today from #186 :P

@rpominov / @safareli your intuition seems pretty spot on - Alternative is exactly a monoid, but it applies to types of kind * -> * rather than *, so it operates on the "structure" rather than the value.
As an example of how this manifests, take Maybe. In PureScript we have these instances:
instance semigroupMaybe :: Semigroup a => Semigroup (Maybe a) where
  append Nothing y = y
  append x Nothing = x
  append (Just x) (Just y) = Just (x <> y)

instance altMaybe :: Alt Maybe where
  alt Nothing r = r
  alt l _ = l

So compare append (Just a) (Just b) will get you Just (append a b), whereas alt (Just a) (Just b) will get you Just a - so although they're both semigroup operations the behaviour is quite different given that Alt isn't allowed to do anything with the inner values.
As for the empty values... I can't think of an example where mempty and empty differ currently, but I'm not sure it's impossible. Even if it is impossible, we'd still need to distinguish between mempty and empty in PureScript because we intentionally avoid "zero-first" class hierarchies, instead we start with an operation and then the "zero" is a subclass of that, as you can be more principled about how the zero interacts with the operation then.

Thanks , @garyb , I understand it better now.

Even if it is impossible, we'd still need to distinguish between mempty and empty in PureScript because we intentionally avoid "zero-first" class hierarchies

In fantasy-land we would probably have to do the same for the same reason. We also start from Semigroup and then define Monoid as Semigroup with empty. So the only way to use same empty method would be to make Plus depend on Monoid. We could use pempty as a name for Plus's empty, as @safareli pointed out.

Yeah, I kinda wish we'd done something different there too! mempty is probably more commonly used than empty so it's a little strange it has the less natural name.

it already discussed here: https://github.com/fantasyland/fantasy-land/issues/117
some related issue about the laws: https://github.com/purescript/purescript-control/issues/6

It good to have this on Fantasy Land i think. Kudos for bringing it again @safareli

some resources:

a realy good explanation of Alternative vs Monoid
an example of a Monad which is an Alternative but not a MonadPlus.

There is diagrinment in haskell comunity on monadPlus laws and this proposal suggests to split it in MonadZero, MonadPlus and MonadOr. Currently purescript has MonadZero and MonadPlus, but no MonadOr it would look like this I think:
-- | The `MonadOr` type class has no members of its own but extends
-- | `MonadZero` with an additional law:
-- |
-- | - Left catch: `(return a) <|> b = return a`
class MonadZero m <= MonadOr m

Currently I don't know if there is a plan to add it, maybe @garyb knows it.

I'm adding @robotlolita @Avaq as Task/Future will be effected with this specs

btw @paf31 @garyb in purescript we have Bind and why is for example MonadRec named MonadRec when it could be named BindRec (same on MonadZero and MonadPlus)?

@SimonRichardson can you take a look this issue? if it's ok I would create PR for Alt, Plus and Alternative and after we decide on {Monad,Chain}{Zero,Plus,Or}will update the PR with corresponding changes.

Sure, I can look tomorrow 😀

We probably could define BindRec in purescript-tailrec, but we haven't had a use for it yet.
I'm trying to think of examples of things which have BindRec but not MonadRec, or functions which only need BindRec.
I suppose Writer s has BindRec for any Semigroup s, but is only a MonadRec when s is also a Monoid.
And for the latter, we could write a variant of foldM on non-empty lists which only required >>= and not pure.
Perhaps it is worth adding.

@paf31 And if we have BindRec then MonadRec is just class (Monad m, BindRec m) <= MonadRec m without any extra laws, (is just a "shortcut" for Monad m, BindRec m)

This is what proposed graph look like:

I think that's asking too much of Alt and Plus. For instance, something like data Map k v doesn't have a sensible Applicative instance for Map k, but you should be able to write an Alt instance for Map k, assuming Ord k of course. It's better to have Functor be the superclass of Alt

@joneshf correct ! (I had a mistake in graph)
here is updated one:

I'd be more than happy to see a PR @safareli - awesome work already :)

What others think on changing pempty to zero

#197 is ready for review <3


Timewindow - adjustWindows and dataflow - db.

adjustWindows takes in windows and 2 dates. It will adjust the windows that is based on date1 and adjusts it to date2 given that date1 is farther ahead of date2.
db takes in dburi as its third parameter, which allow an app to access dataflow database outside.

Coverage increased (+0.008%) to 92.991% when pulling 80713c9e1f7fad3ed558d691440ec086b0171adb on KRuelY:tw into 02ad1968e561edf08cf9de5fd6d33ab4184a3692 on cloudfoundry-incubator:master.


test-manf.json is not up to date

Test name and manufacture ValueSet (test-manf.json) has not been updated after 1.7.2021. The admitted tests added in July are not in the current list. Please update!

Valuesets have been moved to their own repository and the definitive source is the EU gateway.


Feature: Accept arrays as children

Many rendering engines accept arrays as children, they just flatten them out.
For example:
H('div', {}, ['something']);

This throws an error. Many virtual dom/actual dom builders accept this. I think this would be easy to add, small in size and enable everyone to use this module with things like hyperx.

Hello @SilentCicero , by design I try to keep this library at max 512 bytes, meaning that I cut scope when functionality is not broken.
On this context, I will try to find a smart way to achieve this, but you are more than welcome to contribute or discuss ideas :-)

Ps  you can always use the spread operator (without babel transformations) instead

const flatten = (ary) => ary.reduce((a, b) => a.concat(Array.isArray(b) ? flatten(b) : b), []);
;-)

How I use it now:
P: props[vnodeFlag]                                               // If the props argument is a renderable VNode,
        && children.unshift(props) && {C: flatten(children)}                   // ... prepend it to the children
        || (props.C = flatten(children)) && props

works like a charm.

Is the library result (after gzip) smaller than or equal to 512 bytes after this addition? :smile:

Not sure, I can check.

That is all valid ES6, you may just want to measure the bytes of that string and add it in.

I think it may be over, but not sure: 84 bytes with this utf-8 bytecounter. Gzipped not sure.
https://mothereff.in/byte-counter

Actually, I might be able to satisfy your request. Try this:
    P: props[vnodeFlag]                                               // If the props argument is a renderable VNode,
        ? {C: [].concat(props, children)}                             // ... prepend it to the children
        : (props.C = [].concat(children)) && props                    // ... otherwise append 'C' to the property

This fits in 510 bytes 👍

@wavesoft damn, doesn't seem to work nicely with hyperx. I think because hyperx presents deeply nested arrays as well.

Ouch, what kind of structure is that 😑
I guess we have to go with the flattening version if we want to support hyperx. Unless there is another way to configure it? I would really like to avoid this...
If you want to test the "512 byte" constraint, try your changes and re-build the library, making sure it never gets bigger than needed.
~$ npm install
~$ npm run build
~$ ls -l dotdom.min.js.gz
-rw-r--r--  1 foo  bar   510B Feb 13 22:00 dotdom.min.js.gz

Hey @SilentCicero , can you give me an example expression with hyperx that is affected?

@wavesoft sure, also, hyperx is huge. Many libs use it. It makes life awesome for template string users.
We may want to consider breaking this module up (without sacrificing size of course), so that we can reuse this good work elsewhere.
const hyperx = require('hyperx');
require('dot-dom');

function createElement(tag, props, ...children) {
  return global.H(tag, props, children);
}

module.exports = hyperx(createElement);

const dot = require('../index.js');

R(dot`

        Cool!

 console.log('Yes!')}>Something Else

        Yes!

`, document.body);

Hey @SilentCicero , out of curiosity, is the build from #15 working in your case? I realised I had a typo in the snippet I pasted above. It should actually be:
    P: props[vnodeFlag]                                               // If the props argument is a renderable VNode,
        ? {C: [].concat(props, ...children)}                             // ... prepend it to the children
        : (props.C = [].concat(...children)) && props                    // ... otherwise append 'C' to the property

(Note the spread operator on children)

@SilentCicero I have just published the 0.2.2 release, that should have a bit better npm support.

I just tried the 0.2.2 build with hyperx and it seems to work fine.
const hyperx = require('hyperx');
const {R,H} = require('dot-dom');

const dot = hyperx(H)

R(dot`

        Cool!

 console.log('Yes!')}>Something Else

        Yes!

`, document.body)

That's a pretty cool library by the way 👍


Fails to install on Atom 1.3.0 on Mac OSX 10.11.1

When installing through the UI in Atom, the following error occurs:

><EMAIL_ADDRESS>install /private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/apm-install-dir-1151110-24060-1px21bs/node_modules/api-blueprint-preview/node_modules/pathwatcher/node_modules/runas
> node-gyp rebuild

  CXX(target) Release/obj.target/runas/src/main.o

npm WARN deprecated<EMAIL_ADDRESS>the module is now available as 'css-select'
npm WARN deprecated<EMAIL_ADDRESS>the module is now available as 'css-what'
In file included from ../src/main.cc:1:
../../nan/nan.h:260:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../../nan/nan.h:255:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../../nan/nan.h:660:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../../nan/nan.h:671:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:41:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:53:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:38:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node_buffer.h:46:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/main.cc:1:
../../nan/nan.h:675:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/main.cc:1:
../../nan/nan.h:682:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:413:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:423:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1513:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/main.cc:1:
In file included from ../../nan/nan.h:24:
In file included from /Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/src/node.h:42:
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/chrisroe-Anow/.atom/.node-gyp/.node-gyp/0.34.3/deps/v8/include/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1631:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../../nan/nan.h:397:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/runas/src/main.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/build.js:269:23)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)

gyp ERR! System Darwin 15.0.0
gyp ERR! command "node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/apm-install-dir-1151110-24060-1px21bs/node_modules/api-blueprint-preview/node_modules/pathwatcher/node_modules/runas
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok
npm ERR! Darwin 15.0.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/chrisroe-Anow/.atom/.apm/.apmrc" "--userconfig" "/Users/chrisroe-Anow/.atom/.apmrc" "install" "/private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/d-1151110-24060-wxzb4d/package.tgz" "--target=0.34.3" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the runas package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls runas
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/jz/dbbxg8b101g2w09qypdcfpc80000gn/T/apm-install-dir-1151110-24060-1px21bs/npm-debug.log

+1

Same issue for me

+1

+1

+1

+1

I believe this should be fixed with #48

This should now be fixed with the 0.7.0 release. I had to use a rebuild button in Atom to get it working, but after that it all worked.

Thanks everyone, works for me now as well :)

Help!!!! I want this downloaded nowwwww
Last login: Wed Feb 17 17:12:06 on ttys000
/Applications/Atom.app/Contents/MacOS/Atom ; exit;
mkdir: /Users/dopeboyfresh/.bash_sessions: Operation not permitted
touch: /Users/dopeboyfresh/.bash_sessions/B028012D-B3BE-4616-8C78-31C4D71FEEA3.historynew: No such file or directory
Rebeccas-MacBook-Pro:~ dopeboyfresh$ /Applications/Atom.app/Contents/MacOS/Atom ; exit;
2016-02-17 17:22:11.868 Atom[1402:68882] EPERM: operation not permitted, mkdir '/Users/dopeboyfresh/.atom'
2016-02-17 17:22:11.875 Atom[1402:68882] Error: EPERM: operation not permitted, mkdir '/Users/dopeboyfresh/.atom'
at Error (native)
at Object.fs.mkdirSync (fs.js:799:18)
at Function.sync (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/fs-plus/node_modules/mkdirp/index.js:55:12)
at Object.fsPlus.makeTreeSync (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/fs-plus/lib/fs-plus.js:343:23)
at Config.module.exports.Config.initializeConfigDirectory (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:427:10)
at Config.module.exports.Config.load (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:412:12)
at new AutoUpdateManager (/Applications/Atom.app/Contents/Resources/app.asar/src/browser/auto-update-manager.js:50:19)
at new AtomApplication (/Applications/Atom.app/Contents/Resources/app.asar/src/browser/atom-application.js:102:32)
at createAtomApplication (/Applications/Atom.app/Contents/Resources/app.asar/src/browser/atom-application.js:60:16)
at Function.module.exports.AtomApplication.open (/Applications/Atom.app/Contents/Resources/app.asar/src/browser/atom-application.js:63:9)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/app.asar/src/browser/main.js:55:23)
at emitOne (events.js:82:20)
at EventEmitter.emit (events.js:169:7)
How do i solve this issue ?!?!


old variable syntax deprecation warning only shows if '$' appears at position 0

The following examples don't show a deprecation message:
"program": "${workspaceRoot}/${command.AskForProgramName}",
"program": " ${command.AskForProgramName}",

Not only that but an old launch.json for PowerShell is failing now in 1.10:
        {
            "type": "PowerShell",
            "request": "attach",
            "name": "PowerShell Attach to Host Process",
            "processId": "${command.PickPSHostProcess}",
            "runspaceId": 1
        }

When I launch this config, I get my pick list of PowerShell host processes but when I select one, I get the error:

I can fix this by simply changing the . to : e.g.:
        {
            "type": "PowerShell",
            "request": "attach",
            "name": "PowerShell Attach to Host Process",
            "processId": "${command:PickPSHostProcess}",
            "runspaceId": 1
        }

But if we change our extension's package.json to use : everywhere then I think we have to set the engine vscode version to 1.10. That's a bit drastic considering it was released not that long ago.  Do we have any other option though?

@rkeithhill your issue is unrelated to this one.
Please see https://github.com/Microsoft/vscode/issues/21894
There will be a recovery build.

@weinand Thanks for the pointer.

@weinand the regex was not crafted with those cases in mind
Here's a pointer for anyone willing to play around with it to pump it up
https://github.com/Microsoft/vscode/blob/master/src/vs/workbench/parts/debug/node/debugAdapter.ts#L230

I'd like to give this a go! Looks perfect for my first PR.

@landonepps it might be more ugly then it looks, since for pattern we need to use a negative lookahead regex. Just fyi

@isidorn I may be oversimplifying this, but wouldn't '^(?!.*\\$\\{(env|config|command)\\.)' work?
Adding the .* ignores any characters including whitespace before the ${command. part.
I tried it out on my fork and it seems to have the desired effect.
Although I don't use PowerShell, so I could just be missing something very obvious.

@landonepps that might work, feel free to create a PR and I can test it and potentially merge it in. As for powershell please ignore that as it is unrelated to this issue (it got fixed as part of another issue). Just focus on

Getting the warning only when expected
Also getting other warnings in launch.json does not get broken, for instance when you put a number where a string is expected

@isidorn Looks like it doesn't break the other warnings. Hopefully it's as easy of a fix as it seems.
I made a PR for your review.

@landonepps great job! Will let you know if you get some bugs but I tested it and it seems to work just fine!

@isidorn Thanks for responding so quickly. And I appreciated the pointer to the regex. I wouldn't have known where to look otherwise. Hopefully no bugs arise. Cheers! 🍻


feat: add inputOption.activeBackground color

Before adding
dark：

light:

After adding
dark:

light:

Thanks!

Thanks!

I'm honored to contribute to my idol！😄


Remove docker in docker support from RP

Resolves #3179
What is being addressed
We used to have bundles requiring docker-in-docker support. This is no longer the case and we don't need to allow porter to access docker on the host.
How is this addressed

Update how the RP calls porter actions
Update make target that include porter actions
[tiny unrelated] move a noisy log to debug as it's normal behavior

/test-extended

/test-destroy-env

/test-extended


Added tests for coverage

added tests for testing rollback missing migrations

Pull Request Test Coverage Report for Build 462235357

0 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+100.0%) to 100.0%

Totals

Change from base Build 457903849:
100.0%

Covered Lines:
67

Relevant Lines:
67

💛  - Coveralls

Pull Request Test Coverage Report for Build 462235357

0 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+100.0%) to 100.0%

Totals

Change from base Build 457903849:
100.0%

Covered Lines:
67

Relevant Lines:
67

💛  - Coveralls

Pull Request Test Coverage Report for Build 462235357

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+100.0%) to 100.0%

Totals

Change from base Build 457903849:
100.0%

Covered Lines:
67

Relevant Lines:
67

💛  - Coveralls

Pull Request Test Coverage Report for Build 462235357

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+100.0%) to 100.0%

Totals

Change from base Build 457903849:
100.0%

Covered Lines:
67

Relevant Lines:
67

💛  - Coveralls


[device_info_plus] Detect ios simulator phone type

Hi,
Here's the code to detect ios simulator phone type.  Originally, if device is simulator, plugin reports architecture for utsname.machine.  Replace (void)handleMethodCall in FLTDeviceInfoPlusPlugin.m under device_info_plus-1.0.1/ios/Classes folder.
(void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
  if ([@"getIosDeviceInfo" isEqualToString:call.method]) {
    UIDevice* device = [UIDevice currentDevice];
    struct utsname un;
    uname(&un);

    NSString* machine;
    if([[self isDevicePhysical] isEqualToString:@"true"]) {
      machine = @(un.machine);
    } else {
      machine = [[NSProcessInfo processInfo] environment][@"SIMULATOR_MODEL_IDENTIFIER"];
    }

    result(@{
      @"name" : [device name],
      @"systemName" : [device systemName],
      @"systemVersion" : [device systemVersion],
      @"model" : [device model],
      @"localizedModel" : [device localizedModel],
      @"identifierForVendor" : [[device identifierForVendor] UUIDString],
      @"isPhysicalDevice" : [self isDevicePhysical],
      @"utsname" : @{
        @"sysname" : @(un.sysname),
        @"nodename" : @(un.nodename),
        @"release" : @(un.release),
        @"version" : @(un.version),
        @"machine" : machine,
      }
    });
  } else {
    result(FlutterMethodNotImplemented);
  }
}

This is also related to package_info_plus when installer info on ios could be a simulator. See #78

How is this completed?

I think it was just closed by the bot, I also need this

@charlie-sanders I know it was, but the lack of owner's response is alerting.
@zeroprofit @mhadaily @miquelbeltran could you please reopen this?

@ekuleshov
If a feature request went stale, it is because we don't have the time and resources to implement it. If you want to invest time implementing it, then we are happy to review any PRs.
Also, please do not directly mention maintainers

@miquelbeltran so, any feature requests maintainers don't have time and resources are going to be auto-closed?
I can look at providing a PR at least for android and iOS for this or a more general enhancement https://github.com/fluttercommunity/plus_plugins/issues/570. But it would be helpful to have maintainers to at least comment/reply on the issues to outline what API changes would be acceptable.


🐛 nested extends is not working

Environment information
CLI:
  Version:                      1.6.3
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           linux

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.10.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "pnpm/8.15.4"

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

What happened?
project-a:
// biome.json
{
  "extends"<EMAIL_ADDRESS>  //...
}

// @repobuddy/biome/performant.json
{
  "extends": ["./recommended.json"],
  // ...
}

// @repobuddy/biome/recommended.json
{
  // ...
}

This configuration does not pickup the config in recommended.json.
It seems like the extends feature only works for one level.
To workaround this, I'll need to copy the content in recommended.json to performant.json and maintain two (or more) copies.
Expected result
The resolution works recursively.
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Duplicate of https://github.com/biomejs/biome/issues/1867


Publish 7.4-20220116004651+0000

Publish 7.4-20220116004651+0000

@bot-gradle test and merge

OK, I've already triggered a build for you.


Can't import on Vue 3

Using v2.1.1 I can't even do import veProgress from "vue-ellipse-progress" in my main.js, getting this error:

This is my main.js:

without import veProgress from "vue-ellipse-progress" everything is fine

could you please provide minimal reproduction? Otherwise it's difficult to guess what's happening in your setup. I'm using this plugin 1-2 years in several Vue 3 projects without any issues.

Ok I just created a new repo to isolate the bug but it seems that it was on my current repo so it is now working... I really don't know what happened here sorry

all fine, glad, anything is working!


stuck on Get.updateLocale

start use you wonderful library. Have dropdown list for select UI language, on change execute code
class AppLanguageItem {
  const AppLanguageItem(this.name, this.countryCode, this.languageCode);

  final String name;
  final String countryCode;
  final String languageCode;

  @override
  String toString() {
    return name;
  }
}

const List<AppLanguageItem> appLanguagesList = <AppLanguageItem>[
  AppLanguageItem('English', 'en', 'US'),
  AppLanguageItem('Ukrainian', 'uk', 'UA'),
  AppLanguageItem('Russian', 'ru', 'RU')
];

  _setLocale(locale) {
    // find locale by name
    var w = appLanguagesList.firstWhere((element) => element.name == locale);
    Get.updateLocale(Locale(w.countryCode, w.languageCode));
  }

stuck at Get.updateLocale, on real device and emulator( can share full source if need, please help. Stuck at random moment, i rely can't understand why. Just stuck, no errors, no crash etc... just quite stuck(

There don't seem to be any errors, but we need to analyze your GetMaterialApp and the Class with the translations. Please share all the source code so that we can reproduce the problem

There don't seem to be any errors, but we need to analyze your GetMaterialApp and the Class with the translations. Please share all the source code so that we can reproduce the problem

emeet.zip

language picker at top of login screen
my code bad (i start use flatter month ago), will be happy if extend and fix how example project)

I just made the changes below and resolved
language_picker.dart
  ...
  @override
  Widget build(BuildContext context) {
    final localeLanguageCode = Get.locale.toString().split('_')[1]; // <- change
    return Container(
        // padding: EdgeInsets.all(20.0),
        alignment: Alignment.topRight,
        child: DropdownButton<String>(
          value: appLanguagesList
              .firstWhere((element) => element.languageCode == localeLanguageCode) // <- change
              .name,
          onChanged: _setLocale,
          items: _languagesList,
        ));
  }

this not help for me(
i continue testing, and think problem in Get.update inside forceAppUpdate
i just use few finger (debug mode run from android studio)
log:

Launching lib\main.dart on meizu note9 in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Waiting for meizu note9 to report its views...
Debug service listening on ws://<IP_ADDRESS>:62271/dMom_o2nmLw=/ws
Syncing files to device meizu note9...
I/flutter (31800): Injecting dependencies
[GETX] Lazy instance "FlutterSecureStorage" created
[GETX] "GetMaterialController" has been initialized
[GETX] GOING TO ROUTE /login
[GETX] Lazy instance "LoginController" created
I/flutter (31800): onInit
[GETX] "LoginController" has been initialized
I/flutter (31800): onReady
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):
E/flutter (31800): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: 'package:flutter/src/gestures/binding.dart': Failed assertion: line 227 pos 12: '!locked': is not true.
E/flutter (31800): #0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:46:39)
E/flutter (31800): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (31800): #2      GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:227:12)
E/flutter (31800): #3      _rootRun (dart:async/zone.dart:1182:47)
E/flutter (31800): #4      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #5      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #6      _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #7      _rootRun (dart:async/zone.dart:1190:13)
E/flutter (31800): #8      _CustomZone.run (dart:async/zone.dart:1093:19)
E/flutter (31800): #9      _CustomZone.runGuarded (dart:async/zone.dart:997:7)
E/flutter (31800): #10     _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23)
E/flutter (31800): #11     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
E/flutter (31800): #12     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
E/flutter (31800):

then app stuck(
in any way i free for change design, will be fine quick fix - any way for safe change languge UI

how represent error:-
just use few fingers at screen and dropdown and quick random tap by fingers, bug stable
too i use android studio from debug mode run, but bug happend on release profile too

To do:
Update Getx in pubspec.yml for 3.15.0.
In terminal:
flutter channel stable
flutter upgrade
flutter clean
flutter pub cache repair
flutter pub get

reinstall all, not help for me, i use windows, you too?

I also use windows

hm... can share please you apk, maybe problem in my env(

This is my entire folder:
emeet.zip
This is the working app:

Can this issue be closed?

error present(

Same error. When I use Get.updateLocale after my API call to get the saved language, the app sometimes gets stuck in the loading screen forever. Without the update, it works fine. When I use the update function only on a button click, it works fine too.


WebClient chat_postMessage doesn't support input blocks - errors with {'ok': False, 'error': 'invalid_blocks'}

WebClient chat_postMessage doesn't support input blocks.
This may be similar to https://github.com/slackapi/python-slack-sdk/issues/853 where an excessive input validation needed to be removed.  https://github.com/slackapi/python-slack-sdk/issues/519 also looks mildly similar.
Category (place an x in each of the [ ])

[x] slack_sdk.web.WebClient (sync/async) (Web API client)

It appears that not all valid elements in block kit tool can be posted as a message, despite the fact that message preview works fine in the Block Tool.
In my case, the code failed when I included an input block and passed when i removed it. The input block was generated by the Block Kit tool and it looked fine when selecting "Message Preview".
		{
			"type": "input",
			"element": {
				"type": "plain_text_input",
				"action_id": "plain_text_input-action"
			},
			"label": {
				"type": "plain_text",
				"text": "Feedback",
				"emoji": true
			}
		}

The error was
{'ok': False, 'error': 'invalid_blocks'}
If messages are not meant to support input fields, then the Message Preview should fail in Block Kit Tool. It doesn't.
Also, although the documentation for python says you need to urlEncode the JSON-based array, there is no example of using "blocks" in the python sample code, and the description at https://api.slack.com/methods/chat.postMessage#arg_blocks  is incorrect.  Documentation fix needed
You can see on line 29 in the SDK test code below that blocks= takes a regular list of dicts, not a string.
https://github.com/slackapi/python-slack-sdk/blob/c9dc6aa0907a72c16cf36aa15e7e80031a9fdce2/integration_tests/samples/basic_usage/sending_a_message.py
I've created a gist to reproduce the issue https://gist.github.com/kbroughton/e46edc3f6454c8dc33a09431b5685a6c

Hi @kbroughton, thanks for writing in!
I've checked your gist and found that the reason why your code is getting "invalid_blocks" error code from the server side is that you have an input block element under an "actions" block, which is not available in Block Kit. Your app needs to have any blocks at the top level, not under a block.
You can see the detailed error in Block Kit Builder here.

Here is a working example in Block Kit Builder.

I hope this helps.


Putting ballots in separate memory

Thank you for opening a pull request with this project, please also:

[ ] add a brief description of your changes here
[ ] assign the PR to yourself, or to the person(s) working on it
[ ] start in draft mode and in progress pipeline in the project (if applicable)
[ ] if applicable, add this PR to its related issue by one of the special keywords Closing keywords
once it's ready

[ ] put it in the Review or Ready4Merge pipeline in the project (if applicable)
[ ] remove draft
[ ] assign a reviewer

Closed in favour of #121


Fixing errors of PR 23

I couldn't build the project based on the follwing pr fork https://github.com/komputing/KHash/pull/23
This fixes all the problems, except one. That the required native Targets of khex are not published yet, so it will require an additional version upgrade. This has already been requested by this comment: https://github.com/komputing/KHex/pull/14#issuecomment-1551740354

@ligi Can you please take a look?

CI should be fine

I think after the changes of #23 and merging it this can be closed?


fix: reject transactions has less gas than the intrinsic gas

/itest
kicker: refs/pull/276/merge

/itest


sharkey: init at 2023.9.1.beta5

Description of changes
Initial binary build for Sharkey.
Building from source is currently too difficult,
as that would require us to utilize pnpm,
which manages packages in a unreproducible way at the moment.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Parts of this are inspired by #161855
Sharkey is a fork of Misskey, which provides prebuilds which makes it easier to get a initial binary package, plans are to switch to from-source builds once possible.

I outplayed the ofborg:tm:

@ofborg eval

this should:tm: be ready to evaluate. Currently working on a module for sharkey, misskey and its derivations; that can be added as a seperate commit or so later.

What’s the status on this?

I plan on still packaging stuff like this, but: there currently is so much forking etc going on with misskey adjacent projects than I am thinking about a way on how to best go on about it.

continuing it on #296697


respect no_proxy environment variable

pyexasol does pickup my http_proxy environment but not the whitelist in no_proxy.
I can't see a way in the ExaConnection code to explicitly ignore proxy settings once set in the underlying system. Unfortunately, I need the proxy for other connections with other libraries in my project.
I am using pyexasol 0.24.0 as a library in Apache Airflow 2.2.5

@MM-Lehmann , it looks like underlying WebSocket client picks up https_proxy and http_proxy from environment. Pyexasol does not explicitly do so.
However, Websocket client does also pick no_proxy from environment, according to this code: https://github.com/websocket-client/websocket-client/blob/a8a409999280e8b90d856113cd109a46b1d465b7/websocket/_url.py#L104-L121
Please double-check version of installed Websocket client. This feature was added about a year ago: https://github.com/websocket-client/websocket-client/issues/700