visualization

Hello, I would like to inquire about how you achieve the visualization of tracking results. For example, similar to the demo.gif. thanks！

Hello, I would like to inquire about how you achieve the visualization of tracking results. For example, similar to the demo.gif. thanks！

visualization code: https://github.com/hailanyi/3D-Detection-Tracking-Viewer


Avoid disabling CH?

We have turn cost support for CH for motor vehicles in production and will also soon support alternative routes for CH. Heading is not yet supported but we could use the new curbside feature that also works for CH.

how to disable the CH so that I can show alternative routes in my app


Add Political Advertising dataset to HF

https://huggingface.co/datasets/laugustyniak/political-advertising-pl


How to hide bottom sheet for default?

Hi @imsujan276 ,
I appreciate you for doing this library, but it would be more wonderful if you had a field default to hide the bottom sheet (header).
In my case, on init I hide it by controller but it will show first then close.

Hi, there is no option to hide the bottom sheet fro now. I will add this to the backlog.
Also,you are welcome to create a PR too


Error when creating new project using Pliny project CLI

Describe the bug
Getting ERR_MODULE_NOT_FOUND error when creating a new project using Pliny project CLI.
To Reproduce
Steps to reproduce the behavior:

Install Pliny project CLI: npm i -g @pliny/cli
Create a new project: pliny new --template=starter-blog my-blog
Navigate to project directory: cd my-blog
Run npm run dev to start the development server
Go to http://localhost:3000 in browser
See the error in CLI

Expected behavior
The http://localhost:3000 should load the page normally without crashing the application.
Error trace
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/rahim/Projects/my-blog/node_modules/next/script' imported from /home/rahim/Projects/my-blog/node_modules/pliny/dist/chunk-J2TU2LAM.mjs
Did you mean to import next/script.js?
Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/rahim/Projects/my-blog/node_modules/next/script' imported from /home/rahim/Projects/my-blog/node_modules/pliny/dist/chunk-J2TU2LAM.mjs
Did you mean to import next/script.js?
    at new NodeError (node:internal/errors:372:5)
    at finalizeResolution (node:internal/modules/esm/resolve:437:11)
    at moduleResolve (node:internal/modules/esm/resolve:1009:10)
    at defaultResolve (node:internal/modules/esm/resolve:1218:11)
    at ESMLoader.resolve (node:internal/modules/esm/loader:580:30)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:294:18)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:80:40)
    at link (node:internal/modules/esm/module_job:78:36) {
  code: 'ERR_MODULE_NOT_FOUND',
  page: '/'
}

System Info (if dev / build issue):

OS: Ubuntu 22.04.1 LTS x86_64
Node version: 16.16.0
Npm version:  8.11.0

Browser Info (if display / formatting issue):

Device: Desktop
Browser: Chrome
Version 104.0.5112.101

Additional context
I tried removing node_modules directory and re-installing the dependencies using npm i but still got the same error.

i'm facing same error.

I tried git clone project this time, I don't get any moddule not found errors.

@plagdoctor Cloning the repo and creating a new project using npx degit both are working fine. The error I'm getting is with Pliny project CLI and since it's the recommended way, I thought of creating an issue.

Thanks for reporting. Sorry about it, will take a look at the issue over the weekends.

I have the same error.

Can confirm

Sorry it took a while to fix - there were just too many bundling, packaging issues and the combination of preact, react 18, esbuild, contentlayer, nextjs makes it more difficult than I imagine to resolve all the issues. Most of the issues should be fixed now, but do let me know if you run into any more problems.


Fix api-go workflow dispatch

What changed?
Collapse two actions into one to avoid problems with multi-line strings and GITHUB_OUTPUT
Why?
Fix breakage

Use only the first line of the commit message to pass to the api-go workflow

I don't see where this is done.

Use only the first line of the commit message to pass to the api-go workflow

I don't see where this is done.

Sorry, that was the initial version. I think it can handle multiple lines as long as you don't go through GITHUB_OUTPUT.
I think it was working before because of the toJSON that got removed, but I think that was probably not quite correct either since GITHUB_OUTPUT isn't json syntax

I wonder if it's actually good to use only the first line though.


Add asciidoctor to Hugo's security configuration

Set up Hugo's security to allow asciidoctor to execute. See
https://gohugo.io/about/security-model/
Update README with added Ruby dependency. asciidoctor is installed
with a Ruby gem.

/approve

@sftim this appears to be a more recent change to Hugo? Not necessarily a bad thing, it looks like it is configured to allow most binaries used to render Markdown.


feature: global option for character replacements

in many of the formatting options i add...
<variable>.s("“|”|„|″","\"").s("‘|’|′","'")}}
please consider adding a global option(s) to replace such characters with their plain equivalents
Yukisama/TextLinkyTool for example offers the following options...
Convert all type quotation to normal quotation.
Convert all type apostrophe to normal apostrophe.
Convert all type dash to normal dash.
Convert fullwidth space to normal space.
Delete context around space.(trim)
Delete invisible space.
Merge all type space to one space.
i think some of the above could be combined into 1 'format cleaning' option, perhaps all except the last one

How about adding global replacement options for each variable?
Add global replace options by hnakamur · Pull Request #50 · hnakamur/FormatLink-Firefox

ah, yeah, perhaps that's even more useful - except i might suggest simplifying what you have in the screencap to just...
"searchRegEx","replaceRegEx"
...or dividing the text input into 2 parts (search, replace) and eliminate the quotes altogether

Actually I implemented with two parts: searchRegEx and replacement string before this version.
However this version is better since it can deal with multiple replacements like:
{{text.s("regexp1","replacement1").s("regexp2","replacement2")}}

i see - makes sense!


Please add documentation for thread-safety guarantees of JsonDocument (and related types)

Description
Looking at the documentation for JsonDocument it is not obvious if it can be safely used by multiple threads or not.
A cursory glance at the code suggests that the parsing is done up-front and, therefore, it is safe - however we tripped over the caching that is done via _lastIndexAndString (i.e., if multiple threads call GetString on an element at the same time, then they may get back the wrong value).
I want to be clear that this is a doc bug: I'm fine with having a string cache (since I assume that it provides noticeable perf benefits), but I would have liked clear guidance that JsonDocument and uses of any JsonElement from the same parent document cannot be done safely from multiple threads (without calling Clone on each element).

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

ID: 588ae32f-3429-143f-824c-5ab2d046d24a
Version Independent ID: 002f9f2a-48d1-0671-a079-b99b9f6bab58
Content: How to serialize and deserialize JSON using C# - .NET
Content Source: docs/standard/serialization/system-text-json-how-to.md
Product: dotnet
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

FYI @tdykstra - hope to address this in the .NET 5 doc wave for JSON.

I don't think documentation was adequately updated for this issue, ran into this in some code at my day cade.  With the fix PR (https://github.com/dotnet/docs/pull/24938) it now explicitly states JsonDocument is thread-safe and only mentions cloning in the context of object disposal, when the original issue is that JsonDocument (and by extension JsonElement or JsonProperty that utilize JsonDocument) are not thread safe due to _lastIndexAndString caching.

Seconded, please amend this. I also just wasted days tracing a sporadic concurrency bug in my application code down to an immutable BCL type which is documented as thread-safe.

@eiriktsarpalis @gewarren Please see the latest two comments on this issue.

however we tripped over the caching that is done via _lastIndexAndString (i.e., if multiple threads call GetString on an element at the same time, then they may get back the wrong value).

Looking at the code, I would guess that this can only happen because of torn reads. It might be that we could fix this in the code using a regular System.Tuple, thus ensuring atomic reads of cached entries. Obviously this has the downside of incurring one additional allocation, but at least we can guarantee immutability (modulo disposability of course).
cc @layomia @krwq

We probably don't want to sacrifice performance (added allocations) for thread safety, so until we have atomic APIs for 128-bit data we should probably just document that the type is not thread safe.

Thanks for looking at this so speedily after our revival of this issue. I'm not sure without further clarification of your intent that it can be said to be closed though, as the PR only removes the mention of thread safety without explicitly stating that it is not thread safe, and thus we're just back to the same situation we were in when this issue was first raised - the OP requested:

but I would have liked clear guidance that JsonDocument and uses of any JsonElement from the same parent document cannot be done safely from multiple threads (without calling Clone on each element).

Copying my response from the latest PR:

For all intents and purposes the design of JsonDocument was to provide an immutable and thus thread-safe DOM representation for JSON values. What impacts thread safety is in fact a concurrency bug impacting specific methods of the API that we should be fixing (and potentially servicing in older releases).
I'm not sure how to best express this in documentation other noting it as a known bug.


Fix race in positions checking thread in tests

Follow up to https://github.com/crate/crate/commit/e1dd27ceffeaa30b60b2a14e8c582e1e20f829d2 and
https://github.com/crate/crate/commit/c113d7d4454a5ae982e29b72ec0641b2ee365935
There were still some failures(

Porting to 5.3 as other linked commits have been ported already - solely in order to have more runs against different branches. Actually spot this in stable branch hourly runs

I think we should avoid backporting stuff to 5.3 merely to have more test runs.
It adds noise with additional commits. You could instead open up a branch where the test has more repeats and trigger CI on that.

Good point. I guess would need to revert already ported 2 commits as they will be failing otherwise?

Look like one of the assertions caught smth
java.lang.AssertionError: [No holes in positions sequence for a concrete table]
Expecting empty but was: [["b['newcol14']", 49]]

Putting this on hold, thinking about rather reverting previous 2 commits.
Will take another look later.
[distinct ordinal positions] assertion is a new failure which happens only because of new DQL and it makes me think test setup is still wrong.
Anotehr idea: Previous version failed on [No holes in positions sequence for a concrete table] which is basically another form of max position assertion - as mentioned above, maybe UPDATE operation needs another look

I removed recent changes (duplicates checker thread) since we already have distinct assertion which passes in old version and with checker thread. Problem was in max assertion (kind double increment in implementation or bug in a tests).
I got back to initial state but split select count(distinct ordinal_position), max(ordinal_position)
into 2 different queries so that we check duplicates/distinct separately and if it passes we check max via
select ... where >48 query so that we at least have column name when assertion fails.

Quick question, duplicate checker thread actually checked for position re-computations. Are we reverting this because

so there are no recomputations but we do have "holes" in positions

?

Quick question, duplicate checker thread actually checked for position re-computations. Are we reverting this because

so there are no recomputations but we do have "holes" in positions

?

Sort of. Position cannot be recomputed:
I checked AddColumnTask (which is an entry point for all those operations), we do smth like Maps.extendRecursive which keeps existing entries even if by mistake provide a request with wrong (negative or new) position. Also, I tried debugging in CI all versions (with/without sync executor) and never saw recompilation error.
Basically, I reverted to the state before https://github.com/crate/crate/commit/e1dd27ceffeaa30b60b2a14e8c582e1e20f829d2 and https://github.com/crate/crate/commit/c113d7d4454a5ae982e29b72ec0641b2ee365935 with slightly different queries at the end.


[found in #21 + #39] It's possible for two entities to be on one tile at the same time

As of right now, it is somehow possible for two entities to be on the same tile at the same time. This should not be possible. As specified in #39, I see two possible reasons for this (they are not necessarily mutually exclusive;, they could potenetially be true at the same etime):

The issue is somehow linked to introducing the Disengage action, as before it was introduced, there was no such bug in the simulation;
The issue is that some part of the code corrupts this tile on the Board at some point in the code. I've had this bug once already, it was resolved by removing that erroneous set of the Tile. However, this place where the erroneous Tile occupant set occurs has to be found first.

NOTE: It's also possibile that this is happening because of Bevy's automatic paralellization of systems so that several systems can run at the same time. Because of this, it's possible for one entity to leave a tile (or step/be spawned on a tile) and another entity to be trying to move onto this tile: as the result they both occupy the same tile as they're doing this simultaneously. However, if this is the reason, I have no idea how to figure out the reason for this.
NOTE: For some reason, the frequency of this issue appearing is dependent on the proportion/percentage of players towards the overall amount of tiles on the board. The frequency is the highest (therefore hopefully easiest to debug) when the number of players is 30% of the tiles on the Board.

OBSERVATION: weirdly enough, this is not just a matter of percentage of players on the board, this is also a scaling issue:

On a 10x10 board, this bug is not present at all;
On a 50x50 board, you can see it ~2 times throughout the entire simulation;
On a 100x100 board, it is EVERYWHERE and is happening every SECOND. Sometimes multiple times per second.

Question: does this happen if there is no disengage action present in the simulation?

UPD: I was ACTUALLY right from the start! This is the issue with the disengage system. As soon as the system gets commented out, the bug completely disappears. Will have to either temporarily remove the disengage action from the action pool or properly fix how it's done so that it's not possible for two entities to end up on the same tile as the result of it.

The disengage action as it's implemented right now looks like phasing / teleportation through the map, even though physically it's supposed to be several fast and consecutive moves backwards.
However, right now the simulation doesn't have the concepts of speed and time. But for a proper implementation of disengage, it should have the ability of moving several tiles backwards within a single action (that is, this action should be faster than all others).
Therefore, until I implement those two concepts into the simulation, I'm deciding to rip the disengage action from the simulation entirely, because Runger not having the concepts of speed/time yet is precisely the reason why this bug is happening in the first place.
I'll add the concepts of time/speed at a later date, and after that it would be possible to think about introducing the disengage action back into the simulation.

Removed the disengage action from the code as it was lacking the concepts of time and speed, and was therefore buggy;
Renamed "move" to "move forwards";
The unused code for Disengage is now called "move backwards"
The task for properly letting the players move forward or backwards (standard 1 tile move) has already been created: it's #46 .


Note on carriage returns

Adds a brief note to the deployment markdown for containers about carriage returns that can cause potential script issues.

Fixes #60


using socket_timeout option leads to  ValueError (AIORedis 2.0)

When running this code:
key = 'test'
redis = aioredis.Redis(connection_pool=aioredis.ConnectionPool.from_url(redis_url, socket_timeout=1))
await redis.get('key')

i'm getting the following exception:
...
  val = await redis.get(key)
  File "/usr/local/lib/python3.8/site-packages/aioredis/client.py", line 1034, in execute_command
    conn = self.connection or await pool.get_connection(command_name, **options)
  File "/usr/local/lib/python3.8/site-packages/aioredis/connection.py", line 1361, in get_connection
    await connection.connect()
  File "/usr/local/lib/python3.8/site-packages/aioredis/connection.py", line 662, in connect
    raise ConnectionError(exc) from exc
aioredis.exceptions.ConnectionError: settimeout(): only 0 timeout is allowed on transport sockets

This might be because of double timeout handling - socket_timeout option used both in _connect (where the exception is generated) and in disconnect, read_response with async_timeout. Should those be two separate options, one for socket and another for async_timeout?

In the middle of finals, so just questioning in advance: are you using latest on master or 2.0.0a1?

I've tested with both, and the trace i've included was in fact from lastest on master.
Just tested again with 2.0.0a1 from pypi, and it seems the same.
Here's the repo with test case: https://github.com/ivan-antonyuck/aioredis-timeout-test/tree/master
stacktrace for the pypi version:
/Users/antonyuck/.local/share/virtualenvs/aioredis_tests-k2Rjn665/bin/python /Users/antonyuck/work/projects/aioredis_tests/test.py
Traceback (most recent call last):
  File "/Users/antonyuck/.local/share/virtualenvs/aioredis_tests-k2Rjn665/lib/python3.8/site-packages/aioredis/connection.py", line 654, in connect
    await self._connect()
  File "/Users/antonyuck/.local/share/virtualenvs/aioredis_tests-k2Rjn665/lib/python3.8/site-packages/aioredis/connection.py", line 697, in _connect
    sock.settimeout(self.socket_timeout)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/trsock.py", line 188, in settimeout
    raise ValueError(
ValueError: settimeout(): only 0 timeout is allowed on transport sockets

I've tried removing setting the timeout on the transport socket in the connection constructor and it seems to work fine in case of redis server crash, at least.

Good catch. This seems like an asyncio scenario that the PR port didn't catch. https://github.com/aio-libs/aioredis-py/blob/84baee589d10b279d98d8db7cf647237f38eb4ba/aioredis/connection.py#L689-L700
I believe the solution is to use timeout=self.socket_timeout here: https://github.com/aio-libs/aioredis-py/blob/84baee589d10b279d98d8db7cf647237f38eb4ba/aioredis/connection.py#L681-L686 Try adding that argument to asyncio.open_connection then remove this portion of code: https://github.com/aio-libs/aioredis-py/blob/84baee589d10b279d98d8db7cf647237f38eb4ba/aioredis/connection.py#L698-L700

@seandstewart I think the bug here  is that sock is just used in this scope, unlike the _connect method in the redis-py implementation which sets the sock to the SocketBuffer. Is this just dead code then? https://github.com/aio-libs/aioredis-py/blob/84baee589d10b279d98d8db7cf647237f38eb4ba/aioredis/connection.py#L689-L706

#960 fixes this hopefully. Please let me know if it does @ivan-antonyuck

Hi all. Sorry for the late answer. It seems that the problem persists, i've just tested using the same code from the first message
I aggree with @Andrew-Chen-Wang that sock.settimeout in _connect seems to be dead code and has to be removed.

https://github.com/aio-libs/aioredis-py/pull/986 added a pull request


Fix container.net.* metrics accuracy and tagging

What does this PR do?
Fix container.net.* metrics accuracy on Linux.
Currently container.net.* metrics are always emitted with high cardinality tags while the values may not represent actual container-level values but POD-level value (multiple containers in a POD) or host-level value (containers running in host network). With this bugfix, the container.net.* metrics won't be emitted for containers running in host network and a single timeserie will be emitted by POD when running multiple containers.
Finally, in non-Kubernetes environment, if multiple containers share the same network namespace, container.net.* metrics won't be emitted.
Motivation
Fix container.net.* metrics accuracy
Additional Notes
Identifying containers belonging to the same network namespace is done by checking proc/<pid>/net/dev inode value. As this file reports values per network namespace (and not per PID), it's actually the same for all processes in the same network namespace.
To identify "host network" use case, it assumes host PID1 to be in root network namespace.
Possible Drawbacks / Trade-offs
Inaccurate metrics will stop being emitted. docker metrics are not affected as there was a dedicated behaviour for Docker check in the past.
Describe how to test/QA your changes
Run the Agent on Kubernetes with PODs:

Running single container: should see high cardinality tags on container.net* metrics
Running multiple containers: should see POD tags on container.net* metrics
Running host network: container.net* metrics not emitted.

/merge


beta-20160602 release notes

Kind of a slow week for visible changes - a lot of work has gone into preparation for future features (ui/next, distsql, column families, dump/restore) or internal improvements with no direct user impact.

This change is

LGTM

LGTM


[Storage] Make SignedResource not required in listSericeSAS

Description

SignedResource not required in listSericeSAS from server, so set is as not required in swagger/SDK.
Also add description to operation to fix swagger validate failure. (this failure not happen before, might cause by autorest upgrade)
Swagger pass review and merged in https://github.com/Azure/azure-rest-api-specs/pull/3463
This checklist is used to make sure that common guidelines for a pull request are followed.

[x] Please add REST spec PR link to the SDK PR
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@dsgouda
I have update he PR by rebase from psSdkJson6, run msbuild build.proj and regenerate the code.
O also upgrade to 8.1.1, but we won't release SRP SDK for this. will release  with next new feature.

@blueww in case you are not planning to release this version please revert the version back to 8.1.0-preview

@dsgouda
I have reverted the version to 8.1.0


installed bonjour print services still not able to access http:coder.local

installed bonjour print services still not able to access http:coder.local and i use to connect my pc to internet with Wi-Fi adapter and raspberry pi 2 to my PC through Ethernet and check in  ''allow other network users to connect through this computer's internet connection'' sharing option are PC & PI will consider to be on same network or is there other issue please help

What you may be able to do instead is put in the Raspberry Pi's IP address and the port number, separated by a colon, into the address bar. For example - https://<IP_ADDRESS>:8080. The default port number should be 8080.


Added methods to create random vector

This is actually very wrong.
This way, the points picked will tend to be near the center, instead of distributed. Take a look here on why, and how to fix it: http://mathworld.wolfram.com/DiskPointPicking.html

Don't take me wrong, the idea is not bad at all, but there is some stuff to be sorted out. I bet it won't take 10 minutes to fix it and send it over again.

I think we could even advance this to a whole Sampler class...  I use this a lot and for many games it could come in handy...

Thanks for the comments, sorry if I seemed rude or something like it.
I wrote that code in my project and pasted it in the libgdx fork without even thinking much about it or testing it properly. I was so anxious to contribute that I made a terribly bad move. Sorry about that!

I irrecoverably broke this pull request, still learning Git here, so I created another:
https://github.com/libgdx/libgdx/pull/3222


Move resource managemnt to be the responsibility of the TaskRunner

As per  https://groups.google.com/d/msg/druid-development/G36t3TvbuhQ/jFB_pe-XFAAJ
This is intended to be a point of discussion to show how it would probably work.

Net reduction in lines... SCORE

I'll rebase after preliminary review.

looks OK given that there is a need for this. I am assuming you need this to implement "Tiered" TaskRunner .

looks good to me, will check again when rebased.

@nishantmonu51 / @himanshug Fixed merge conflicts

@nishantmonu51 / @himanshug Fixed merge conflicts any other comments?

I would like to look this over before this gets merged. We choose to move the resource management out of the TaskRunner for several reasons and this PR is moving it back.

@fjy Sure. I spoke with @gianm about it one day, so this isn't completely out of the blue.

@fjy but this PR has been up for 2 months, and I have mentioned it multiple times in dev syncs. If you are going to review it please do it promptly.

looks pretty good to me, only few minor nitpicks and https://github.com/druid-io/druid/pull/1953#discussion_r49559229

@nishantmonu51 fixed comments

I think moving resource mgmt back to the taskrunner is fine. At first we were thinking that we might replace remote task runner with something else, but if task tiering is blocking on this, I am fine with the changes. @gianm any thoughts?

:+1:

This looks good to me, I think it makes sense for the autoscaling to be folded into the task runner, since in practice they ended up being really tightly coupled anyway. Removing getWorkers from the interface makes sense to me too since that was something that only made sense for the RTR.
:+1:

overlord fails to start -
Exception in thread "main" com.google.inject.CreationException: Guice creation errors:

1) No implementation for java.util.concurrent.ScheduledExecutorService was bound.
  while locating java.util.concurrent.ScheduledExecutorService
    for parameter 9 at io.druid.indexing.overlord.RemoteTaskRunnerFactory.<init>(RemoteTaskRunnerFactory.java:72)
  at io.druid.cli.CliOverlord$1.configureRunners(CliOverlord.java:201)

2) No implementation for java.util.concurrent.ScheduledExecutorService was bound.
  while locating java.util.concurrent.ScheduledExecutorService
    for parameter 3 at io.druid.indexing.overlord.autoscaling.SimpleResourceManagementStrategy.<init>(SimpleResourceManagementStrategy.java:78)
  at io.druid.cli.CliOverlord$1.configureAutoscale(CliOverlord.java:209)

2 errors
	at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:448)
	at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:155)
	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:107)
	at com.google.inject.Guice.createInjector(Guice.java:96)
	at com.google.inject.Guice.createInjector(Guice.java:73)
	at com.google.inject.Guice.createInjector(Guice.java:62)
	at io.druid.initialization.Initialization.makeInjectorWithModules(Initialization.java:322)
	at io.druid.cli.GuiceRunnable.makeInjector(GuiceRunnable.java:57)
	at io.druid.cli.ServerRunnable.run(ServerRunnable.java:39)
	at io.druid.cli.Main.main(Main.java:107)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)

will fix


fixes find issue button to naviage in issues

Fixes [bug] : #335 Fixed the find issue button.
when user click in the button and if we get any issue open then it will navigate to the issues page.
I have added a toast notification if there any issue in finding issue we simply throw notification for better user experience

This feature can be implemented after we complete the issues page.


Add namespace metric sink

/test pull-knative-observability-build-tests

I consent!

I consent

/check-cla

/check-cla

Just for clarification for anyone looking. This Should be our last major pr. This should get us completely up to date with our current master/head work and hopefully make pr's on both a smaller basis but also on a more story/issue by issue basis.


How to serialize file handles?

The article at web.dev mentions that file handles are serializable, and can be stored in IndexedDB (and presumably chrome.storage?), but there's no example and I haven't been able to make this work. What is the procedure for serializing the file handles for storage?

I have just documented the answer on StackOverflow.

I have just documented the answer on StackOverflow.


Class Based Documents (Package Wide)

Couple things we will need to fix here.

Changing the _repr_html method so that DocumentList previews well.
Migrating to the internal DocumentList
Creating a guide on navigating DocumentList objects (separate PR)

You should use get_field for __getitem__

We'll come back to this.


curl: (56) Recv failure: Connection reset by peer

[root@localhost ~]# docker ps
CONTAINER ID        IMAGE                                COMMAND                  CREATED              STATUS              PORTS                    NAMES
f731d1c8ebe7        plippe/faiss-web-service:1.2.1-cpu   "/opt/faiss-web-se..."   About a minute ago   Up About a minute   <IP_ADDRESS>:5000->5000/tcp   focused_pare
[root@localhost ~]# curl 'localhost:5000/ping'
curl: (56) Recv failure: Connection reset by peer
[root@localhost ~]# curl '<IP_ADDRESS>:5000/ping'
curl: (56) Recv failure: Connection reset by peer
[root@localhost ~]# curl 'localhost:5000/faiss/search' -X POST -d '{"k": 5, "ids": [1, 2, 3]}'
curl: (56) Recv failure: Connection reset by peer

Hi,
Really sorry for all the issues you are running into.
I have ran your commands, but I don't have the same results that you are having.
First make sure you have the latest version of the docker image by stopping and removing your current containers and images.
After run the docker image in interactive mode to see the logs.
 * Debugger PIN: 329-691-435

The container takes a few minutes to start as it must download resources. Running requests during that time will give the following response:
pvinchon$ curl <IP_ADDRESS>:5000/ping
curl: (52) Empty reply from server

Once fully loaded, the server will start responding:
pvinchon$ curl <IP_ADDRESS>:5000/ping
pong

I use <IP_ADDRESS> as my docker host url, but this could be different on your machine. You will need to look up online how to obtain that information on your operating system.
I hope this helps.

No further answer, closing issue


FR: Expose post edit status in webapi

In FIRE, I'd like to show that (if) a post has been edited.
Something as simple as a was_edited boolean would suffice, but I imagine edited_at (like deleted_at) could be of use in the future.

The only information we have is the number of revisions a post had when it was reported. There isn't any information about specific edit data currently available.
Would revision_count be good enough, keeping in mind that it won't be updated past when the post was reported?

That would be sufficient. This is mostly meant to identify vandalism, which would have revision_count >=1.

That'll work, then.

I've implemented the check from SE's API, now.
However, this might still be useful for other scripts.

Done with e8ee8f63ac993cd4210a9dd788b091d49c99cab9.


Support topicl level offload

Motivation
Support set Offload Policy on topic level
Modifications
Support set/get/remove Offload policy on topic level.
Verifying this change
Added Unit test to verify set/get/remove Offload policy at Topic level work as expected when Topic level policy is enabled/disabled
org.apache.pulsar.broker.admin.AdminApiOffloadTest#testOffloadPoliciesApi
org.apache.pulsar.broker.admin.AdminApiOffloadTest#testTopicLevelOffload

Looks good, could you please also update the CmdTopics in the pulsar-client-tools ?

This has been solved

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks

/pulsarbot run-failure-checks


Feature request.

Water lilies and small lily pads spawn outside the spawn biome. They are so nice.

We'll look into putting features in other biomes as we get to that biome.


Change dbname

Looking at the example in the README, what happens if you have more than one get() method, and they need to be able to execute async MongoDB queries - but against >1 MongoDB database. With pymongo you can just do connection.db.collection.find(); what is the best way to do this with asyncmongo? Is there a way to set the dbname with a command (such as find/insert etc.)?

asyncmongo.Client objects are db specific, but you can just create always another client/connection pool for a different dbname.

Thanks for confirming.


One model - two table !?

I Have two module in two project with two Database shema  like Todos Module :

Setting Module with Dimension model => to save some pickup value ...., then other project can use it.
Elearing Module with Quiz model
Quiz and Dimension have relationship one => Many

When do migration, EF created two Dimensions table: One for Quiz Quiz Project, one for Setting Project !!
How to work around this issue , because I only want all porjects use same table Dimension in Setting Module ?
Belows are codes ...
`
namespace FSH.Starter.WebApi.Elearning.Domain;
public class Quiz :  AuditableEntity, IAggregateRoot
{
public int Order { get; private set; }
public string Code { get; private set; }
public string Name { get; private set; }
public Guid QuizTypeId { get; private set; }
public virtual Dimension QuizType { get; private set; } = default!;
public Guid QuizTopicId { get; private set; }
public virtual Dimension QuizTopic { get; private set; } = default!;
public Guid QuizModeId { get; private set; }
public virtual Dimension QuizMode { get; private set; } = default!;
}
namespace FSH.Starter.WebApi.Setting.Domain;
public class Dimension : AuditableEntity, IAggregateRoot
{
public int Order { get; private set; }
public string Code { get; private set; }
public string Name { get; private set; }
public string? Description { get; private set; }
}
`
'
namespace FSH.Framework.Infrastructure.Persistence;
public static class SchemaNames
{
public const string Todo = "todo";
public const string Catalog = "catalog";
public const string Tenant = "tenant";
public const string Setting = "setting";
public const string Elearning = "elearning";
}
'

I'm also interested in figuring out how to different modules should communicate. E.g. there is product catalog module. Next I want to add e.g. competitor offers  module (to track competitor prices). So one product has many offers. How to communicate between modules?
@iammukeshm do you have any examples? Thanks in advance

I guess this article will point you in the appropriate direction for your problem.
Modeling Navigation Properties Between Aggregates or Modules
https://ardalis.com/navigation-properties-between-aggregates-modules/


Version 8.0.0

Includes the following. Changes to the heading component are breaking (about to create a PR on government-frontend to account for that)

Add share links component (PR #308)
The Button component no longer accepts unescaped HTML in the info_text, you'll have to call html_safe on it yourself. Probably the only affected application is frontend (#305)
Remove optional canonical meta tag (applications can add this tag explicitly if they need it)
Translation nav add brand and tracking (PR #298)
Subscription links add colour and tracking (PR #299)
Iterate heading component (PR #307)

Is there a chance we can wait until #310 is in?

@thomasleese probably, how long do you think it'll be before it's ready?

@andysellick should be pretty soon, it's ready for review now.

@thomasleese @tijmenb has approved it, but apparently the contextual breadcrumb component is still using the breadcrumb component from static (or something like that) so we should look into that for this release as well.

D'oh! Also I think this is the thing @tijmenb is referring to... https://github.com/alphagov/govuk_publishing_components/blob/master/app/views/govuk_publishing_components/components/_contextual_breadcrumbs.html.erb

Does https://github.com/alphagov/govuk_publishing_components/pull/313 cover that?

@vanitabarrett @thomasleese I'm fixing the stray %>


set "format":"date" in form

i set schema and form  like that ,but it not effect, get the value  "birthday": "5 January, 2016",not format like 'yyyy-mm-dd'
schema
"birthday": {
                    "title": "date select",
                    "type": "string",
                    "format": "date",
                },

form
{
                "key": "birthday",
                "minDate": "2014-06-20",
                "format": "yyyy-mm-dd",
                "default": new Date()
            }

I have the same issue. It seems pretty painful to set the default format for some reason. I just want it to be mm/dd/yyyy


Traceback (most recent call last):
File "/usr/local/bin/graphqlmap", line 4, in
import('pkg_resources').run_script('graphqlmap==0.0.1', 'graphqlmap')
File "/home/bartek/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 656, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/bartek/.local/lib/python3.8/site-packages/pkg_resources/init.py", line 1460, in run_script
exec(script_code, namespace, namespace)
File "/usr/local/lib/python3.8/dist-packages/graphqlmap-0.0.1-py3.8.egg/EGG-INFO/scripts/graphqlmap", line 81, in
File "/usr/local/lib/python3.8/dist-packages/graphqlmap-0.0.1-py3.8.egg/EGG-INFO/scripts/graphqlmap", line 56, in init
File "/usr/local/lib/python3.8/dist-packages/graphqlmap-0.0.1-py3.8.egg/graphqlmap/attacks.py", line 39, in dump_schema
KeyError: 'data'
`
I've got this error using dump_via_fragment and dump_via_introspection on two different endpoint. Configuration of the endpoints my be the reason ?

I'm also seeing this


Fix #540 - Use different timeout with global requests and log the time we waited in the report

1250 ms should be used as the timeout with Global Requests
200 ms should be used for DS requests

From Eric
220 ms to BAM announcement or RTS warn of late response
600 ms time out and stop listening

@battjt, so GLOBAL_TIMEOUT should be 600 ms?

I need to write it up and get sign off, that's why I left it assigned to me.  The expectation is that GLOBAL_TIMEOUT needs to be 600 ms.  We also need to add a warn when the first CM is slower than 220 ms.

Does Eric have a source for the 600 ms?  (Other than Eric)

Including the timestamp in the timeout error will be the system timestamp:

expected += "Error: Timeout - No Response." + NL;

expected += "10:15:30.0000 Error: Timeout - No Response." + NL;

The packet timestamps will be from the adapter.  They will be close, but not exact.
I assume there are other instances of this inconsistency and it's "good enough"?

@battjt, you are correct.  Given there is no response, I wanted to indicate in the report how long we waited for a response.


key error for app when using 10.3.6

What issue is this PR fixing?

This issue was found by Arnab and no issue was opened.


Use Neo4j driver to_df() method

It's failing due to some unmet dependencies. I will update the docker image

It's failing due to some unmet dependencies. I will update the docker image

Done

panda_face

Thanks for review! :heart: Agree with your remark on the docs - will fix


S/MIME certificate provisioning for Gmail CSE

Is your feature request related to a problem? Please describe.
Gmail now offers Client Side Encryption (CSE) functionality for S/MIME email exchanges.  To configure CSE, the Workspace admin must use the Gmail API to provision "wrapped" certificates for their users (refer to documentation here). Google currently provides a sample Python script for administrators to make these API calls.
Describe the solution you'd like
It would be great if GAM could handle CSE Gmail provisioning by making the required Gmail (and key service) API calls. In order to accomplish this, a process needs to take an existing S/MIME certificate (P7 PEM format) for each user, make a call to the key service to "wrap" the certificate, and then make at least two Gmail API calls (one to create the keypair, one to enable it).
Describe alternatives you've considered
Some of the key services may provide their own way to populate S/MIME certs for CSE.
Additional context
users.settings.cse.keypairs
users.settings.cse.identities

I'm in California (PST) and am generally available starting at 7:30AM. Send me a Meet/Zoom invitation and we can discuss you request.
Ross
Ross Scroggs
@.***

On Jan 9, 2024, at 10:29 AM, roadmapcymbaldev-andrew @.***> wrote:
Is your feature request related to a problem? Please describe.
Gmail now offers Client Side Encryption https://support.google.com/a/answer/10741897 (CSE) functionality for S/MIME email exchanges. To configure CSE, the Workspace admin must use the Gmail API to provision "wrapped" certificates for their users (refer to documentation here https://support.google.com/a/answer/13069736?fl=1&sjid=15177673855952669729-NC#setup_users). Google currently provides a sample Python script https://support.google.com/a/answer/13069736?fl=1&sjid=15177673855952669729-NC#setup_users&zippy=%2Coptional-use-googles-python-sample-script-to-upload-users-certificates-and-wrapped-private-keys-to-gmail for administrators to make these API calls.
Describe the solution you'd like
It would be great if GAM could handle CSE Gmail provisioning by making the required Gmail (and key service) API calls. In order to accomplish this, a process needs to take an existing S/MIME certificate (P7 PEM format) for each user, make a call to the key service to "wrap" the certificate, and then make at least two Gmail API calls (one to create the keypair, one to enable it).
Describe alternatives you've considered
Some of the key services may provide their own way to populate S/MIME certs for CSE.
Additional context
users.settings.cse.keypairs https://developers.google.com/gmail/api/reference/rest/v1/users.settings.cse.keypairs
users.settings.cse.identities https://developers.google.com/gmail/api/reference/rest/v1/users.settings.cse.identities
—
Reply to this email directly, view it on GitHub https://github.com/GAM-team/GAM/issues/1672, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCTYL7PCJ24HMTCZXBZ6TTYNWECDAVCNFSM6AAAAABBTRTRROVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TEOJTGMYDMMY.
You are receiving this because you are subscribed to this thread.

Sorry I missed this response until now. I will send an invite over.
On Thu, Jan 18, 2024 at 7:56 AM Ross Scroggs @.***>
wrote:

I'm in California (PST) and am generally available starting at 7:30AM.
Send me a Meet/Zoom invitation and we can discuss you request.
Ross
Ross Scroggs
@.***

On Jan 9, 2024, at 10:29 AM, roadmapcymbaldev-andrew @.***> wrote:
Is your feature request related to a problem? Please describe.
Gmail now offers Client Side Encryption <
https://support.google.com/a/answer/10741897> (CSE) functionality for
S/MIME email exchanges. To configure CSE, the Workspace admin must use the
Gmail API to provision "wrapped" certificates for their users (refer to
documentation here <
https://support.google.com/a/answer/13069736?fl=1&sjid=15177673855952669729-NC#setup_users>).
Google currently provides a sample Python script <
https://support.google.com/a/answer/13069736?fl=1&sjid=15177673855952669729-NC#setup_users&zippy=%2Coptional-use-googles-python-sample-script-to-upload-users-certificates-and-wrapped-private-keys-to-gmail>
for administrators to make these API calls.
Describe the solution you'd like
It would be great if GAM could handle CSE Gmail provisioning by making
the required Gmail (and key service) API calls. In order to accomplish
this, a process needs to take an existing S/MIME certificate (P7 PEM
format) for each user, make a call to the key service to "wrap" the
certificate, and then make at least two Gmail API calls (one to create the
keypair, one to enable it).
Describe alternatives you've considered
Some of the key services may provide their own way to populate S/MIME
certs for CSE.
Additional context
users.settings.cse.keypairs <
https://developers.google.com/gmail/api/reference/rest/v1/users.settings.cse.keypairs>

users.settings.cse.identities <
https://developers.google.com/gmail/api/reference/rest/v1/users.settings.cse.identities>

—
Reply to this email directly, view it on GitHub <
https://github.com/GAM-team/GAM/issues/1672>, or unsubscribe <
https://github.com/notifications/unsubscribe-auth/ACCTYL7PCJ24HMTCZXBZ6TTYNWECDAVCNFSM6AAAAABBTRTRROVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TEOJTGMYDMMY>.

You are receiving this because you are subscribed to this thread.

—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/GAM/issues/1672#issuecomment-1898755226, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7SF4B2TYR7KS7KVXTZ5CM3YPFAZ7AVCNFSM6AAAAABBTRTRROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYG42TKMRSGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Closing this as GAM7 has support for CSE keys now.


#webview_flutter plugins# When switch app to the background, it opens again, and the previous webview page displays a white screen.

When opening multiple webview windows, switche app to the background, then switch back to the foreground, click the back button to return to previous webview window, find that all currently open webview windows display white screen.
Ios device has this problem，android is ok.
@kangwang1988
see gif:

flutter: Channel stable, v1.7.8+hotfix.3
webview_flutter: ^0.3.10+2
My environment is as follows:
/Users/mayer/development/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN)
    • Flutter version 1.7.8+hotfix.3 at /Users/mayer/development/flutter
    • Framework revision b712a172f9 (8 days ago), 2019-07-09 13:14:38 -0700
    • Engine revision 54ad777fd2
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/mayer/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.6.1

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 37.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] Connected device (1 available)
    • LECHENG的 iPhone • 319ce14e3c039f4f9f588e398878952f1f4ecba4 • ios • iOS 12.3.1

• No issues found!

main.dart  code:
import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      routes: {
        '/web_1':(BuildContext context) => WebPage(),
        '/web_2':(BuildContext context) => Web2Page(),
        '/web_3':(BuildContext context) => Web3Page(),
      },
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'webview 多开测试'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
        backgroundColor: Color(0xff302e40),
        textTheme: TextTheme(
            title: TextStyle(fontSize: 18.0, fontStyle: FontStyle.normal)),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              '当打开多个webview窗口时，ios设备切到后台\n\n再切回App，返回上一层webview会白屏！',
              style: TextStyle(fontSize: 16),
            ),
            Padding(padding: EdgeInsets.only(top: 50),),
            RaisedButton(
              child: Text('打开第一个webview'),
              color: Colors.limeAccent,
              onPressed: (){
                Navigator.pushNamed(context,'/web_1');
              },
            ),
          ],
        ),
      ),
    );
  }
}

class WebPage extends StatefulWidget {
  @override
  _WebPageState createState() => _WebPageState();
}

class _WebPageState extends State<WebPage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: PreferredSize(
          child: AppBar(
            title: Text('web_1'),
            actions: <Widget>[
              Container(
                padding: EdgeInsets.all(10),
                child: RaisedButton(
                  child: Text('open2'),
                  color: Colors.limeAccent,
                  onPressed: (){
                    Navigator.pushNamed(context,'/web_2');
                  },
                ),
              ),
            ],
            centerTitle: true,
            backgroundColor: Color(0xff302e40),
            textTheme: TextTheme(
                title: TextStyle(fontSize: 18.0, fontStyle: FontStyle.normal)),
          ),
          preferredSize:
          Size.fromHeight(MediaQuery.of(context).size.height * 0.06),
        ),
        body: Builder(builder: (BuildContext context) {
          return WebView(
            initialUrl: 'https://flutter.dev',
            javascriptMode: JavascriptMode.unrestricted,
            onWebViewCreated: (WebViewController webViewController) {

            },
            javascriptChannels: <JavascriptChannel>[
            ].toSet(),
            onPageFinished: (String url_str) {
              print('Page finished loading: $url_str');
            },
          );

        }
        ));
  }
}

class Web2Page extends StatefulWidget {
  @override
  _Web2PageState createState() => _Web2PageState();
}

class _Web2PageState extends State<Web2Page> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: PreferredSize(
          child: AppBar(
            title: Text('web_2'),
            actions: <Widget>[
              Container(
                padding: EdgeInsets.all(10),
                child: RaisedButton(
                  child: Text('open3'),
                  color: Colors.limeAccent,
                  onPressed: (){
                    Navigator.pushNamed(context,'/web_3');
                  },
                ),
              ),
            ],
            centerTitle: true,
            backgroundColor: Color(0xff302e40),
            textTheme: TextTheme(
                title: TextStyle(fontSize: 18.0, fontStyle: FontStyle.normal)),
          ),
          preferredSize:
          Size.fromHeight(MediaQuery.of(context).size.height * 0.06),
        ),
        body: Builder(builder: (BuildContext context) {
          return WebView(
            initialUrl: 'https://pub.dev',
            javascriptMode: JavascriptMode.unrestricted,
            onWebViewCreated: (WebViewController webViewController) {

            },
            javascriptChannels: <JavascriptChannel>[
            ].toSet(),
            onPageFinished: (String url_str) {
              print('Page finished loading: $url_str');
            },
          );

        }
        ));
  }
}

class Web3Page extends StatefulWidget {
  @override
  _Web3PageState createState() => _Web3PageState();
}

class _Web3PageState extends State<Web3Page> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: PreferredSize(
          child: AppBar(
            title: Text('web_3'),
            centerTitle: true,
            backgroundColor: Color(0xff302e40),
            textTheme: TextTheme(
                title: TextStyle(fontSize: 18.0, fontStyle: FontStyle.normal)),
          ),
          preferredSize:
          Size.fromHeight(MediaQuery.of(context).size.height * 0.06),
        ),
        body: Builder(builder: (BuildContext context) {
          return WebView(
            initialUrl: 'https://github.com',
            javascriptMode: JavascriptMode.unrestricted,
            onWebViewCreated: (WebViewController webViewController) {

            },
            javascriptChannels: <JavascriptChannel>[
            ].toSet(),
            onPageFinished: (String url_str) {
              print('Page finished loading: $url_str');
            },
          );

        }
        ));
  }
}

Thanks for the bug report with sample code to reproduce! Makes it much easier to debug.
/cc @amirh. This is ios only so it doesn't have anything to do with the Android threading workarounds.

I also have this problem.
what can i do to fix this bug?
This problem has seriously affected our application online.

what can I do to avoid or investigate this problem? @amirh

i used pageView to avoid this problem.
when my webview turn to back,pageView jumpTo 1,when my webview turn to front pageView jumpTo 0.
such as this:
PageView(
                      controller: _pageController,
                      physics: NeverScrollableScrollPhysics(),
                      children: <Widget>[KeepStateWidget(webView), Center()])

when you whant to open another page,you need call changeWeb(false),when back you need to call changeWeb(true)
void changeWeb(bool show){
   _pageController.jumpToPage(show ? 0 : 1);
}

goPage(name){
  changeWeb(false);
  Navigator.pushNamed(name).then((result) {
    changeWeb(true);
  });
}

but i thank this is not the resolution to fix this problem.
This seems to be a bug in ios's handling of the hidden display of platforms view.
Flutter officials are expected to take this issue seriously and fix it as soon as possible.
Looking forward to reply。

I also have this problem.

FYI: In my situation, there is a flutter app bar. After you back from background and pop webview, the app bar still displays the popped app bar content. And for sure, the webview is blank.

@mklim @amirh
Time has passed for a long time.
Is there any plan to fix this issue?
Our flutter project is waiting for this issue to be resolved.
thanks.

@mklim @amirh
Time has passed for a long time.
Is there any plan to fix this issue?
Our flutter project is waiting for this issue to be resolved.
thanks.

how to fixit？

I fixed it by cheating on iOS, I listen to the lifecycle, when the app goes background, set visible is false, then back foreground, set visible is true to rerender again.
Visibility(
    visible: !isBackground,
    child: Center(child: CircularProgressIndicator(),
)

I have this issue too, still no joy with the Visibility example.

I fixed it by cheating on iOS, I listen to the lifecycle, when the app goes background, set visible is false, then back foreground, set visible is true to rerender again.
Visibility(
    visible: !isBackground,
    child: WebView(),
)

This will cause the webview page to be refreshed when it returns.

@luckmlc Yes, I researched and what I think the problem comes from Platform View.
When going back from background, the old frame of WebView is not clear, so I have to force rerender.

@luckmlc Yes, I researched and what I think the problem comes from Platform View.
When going back from background, the old frame of WebView is not clear, so I have to force rerender.

Forced rendering will cause form data in the web to be lost.
Is there any other way?

Forced rendering will cause form data in the web to be lost.
Is there any other way?
You can use javascript communication to get from webview and refill data to webview.

I have this issue too. 😭
This issue occurred only device (iPhone), not simulator.

This issue seems to be not just a webview_flutter plugin problem.
It seems to occur when the PlatformView is stacked on top of the PlatformView.
So I think it looks like an flutter/engine issue.

Steps to Reproduce
지식iN 성지 (PlatformView) > Detail(PlatformView) >
App state background > App state foreground > navigation pop >
Nothing is shown on the screen.
However, it can be rendered again through user interaction.
For example, tapping BottomNavigationBarItem will render the screen.

Flutter 1.9.1+hotfix.4 • channel stable • https://github.com/flutter/flutter.git
Framework • revision cc949a8e8b (13 days ago) • 2019-09-27 15:04:59 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0

$flutter doctor
[✓] Flutter (Channel stable, v1.9.1+hotfix.4, on Mac OS X 10.14.6 18G95, locale ko-KR)
...
• No issues found!

I also have this problem.

Waitting for help @Hixie

i used pageView to avoid this problem.
when my webview turn to back,pageView jumpTo 1,when my webview turn to front pageView jumpTo 0.
such as this:
PageView(
                      controller: _pageController,
                      physics: NeverScrollableScrollPhysics(),
                      children: <Widget>[KeepStateWidget(webView), Center()])

when you whant to open another page,you need call changeWeb(false),when back you need to call changeWeb(true)
void changeWeb(bool show){
   _pageController.jumpToPage(show ? 0 : 1);
}

goPage(name){
  changeWeb(false);
  Navigator.pushNamed(name).then((result) {
    changeWeb(true);
  });
}

but i thank this is not the resolution to fix this problem.
This seems to be a bug in ios's handling of the hidden display of platforms view.
Flutter officials are expected to take this issue seriously and fix it as soon as possible.
Looking forward to reply。

Hi It is useful to me, bug What KeepStateWidget means ?

i used pageView to avoid this problem.
when my webview turn to back,pageView jumpTo 1,when my webview turn to front pageView jumpTo 0.
such as this:
PageView(
                      controller: _pageController,
                      physics: NeverScrollableScrollPhysics(),
                      children: <Widget>[KeepStateWidget(webView), Center()])

when you whant to open another page,you need call changeWeb(false),when back you need to call changeWeb(true)
void changeWeb(bool show){
   _pageController.jumpToPage(show ? 0 : 1);
}

goPage(name){
  changeWeb(false);
  Navigator.pushNamed(name).then((result) {
    changeWeb(true);
  });
}

but i thank this is not the resolution to fix this problem.
This seems to be a bug in ios's handling of the hidden display of platforms view.
Flutter officials are expected to take this issue seriously and fix it as soon as possible.
Looking forward to reply。

Hi It is useful to me, bug What KeepStateWidget means ? @nuptdzs

when you use pageView to switch page,the view will redo initState().
你在用pageView切换的时候会遇到重复执行initState的bug，所以用KeepState来包裹pageView里的内容，可以避免这个问题。
class KeepStateWidget extends StatefulWidget {
  final child;

  KeepStateWidget(this.child);

  @override
  State<StatefulWidget> createState() {
    return KeepStateState(child);
  }
}

class KeepStateState extends State<KeepStateWidget>
    with AutomaticKeepAliveClientMixin {
  final child;

  KeepStateState(this.child);

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return child;
  }

  @override
  bool get wantKeepAlive => true;
}

i used pageView to avoid this problem.
when my webview turn to back,pageView jumpTo 1,when my webview turn to front pageView jumpTo 0.
such as this:
PageView(
                      controller: _pageController,
                      physics: NeverScrollableScrollPhysics(),
                      children: <Widget>[KeepStateWidget(webView), Center()])

when you whant to open another page,you need call changeWeb(false),when back you need to call changeWeb(true)
void changeWeb(bool show){
   _pageController.jumpToPage(show ? 0 : 1);
}

goPage(name){
  changeWeb(false);
  Navigator.pushNamed(name).then((result) {
    changeWeb(true);
  });
}

but i thank this is not the resolution to fix this problem.
This seems to be a bug in ios's handling of the hidden display of platforms view.
Flutter officials are expected to take this issue seriously and fix it as soon as possible.
Looking forward to reply。

Hi It is useful to me, bug What KeepStateWidget means ? @nuptdzs

when you use pageView to switch page,the view will redo initState().
你在用pageView切换的时候会遇到重复执行initState的bug，所以用KeepState来包裹pageView里的内容，可以避免这个问题。
class KeepStateWidget extends StatefulWidget {
  final child;

  KeepStateWidget(this.child);

  @override
  State<StatefulWidget> createState() {
    return KeepStateState(child);
  }
}

class KeepStateState extends State<KeepStateWidget>
    with AutomaticKeepAliveClientMixin {
  final child;

  KeepStateState(this.child);

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return child;
  }

  @override
  bool get wantKeepAlive => true;
}

非常感谢，的确能解决这个问题，但是我建议使用IndexedStack来维持界面状态，代码更加简洁。

i used pageView to avoid this problem.
when my webview turn to back,pageView jumpTo 1,when my webview turn to front pageView jumpTo 0.
such as this:
PageView(
                      controller: _pageController,
                      physics: NeverScrollableScrollPhysics(),
                      children: <Widget>[KeepStateWidget(webView), Center()])

when you whant to open another page,you need call changeWeb(false),when back you need to call changeWeb(true)
void changeWeb(bool show){
   _pageController.jumpToPage(show ? 0 : 1);
}

goPage(name){
  changeWeb(false);
  Navigator.pushNamed(name).then((result) {
    changeWeb(true);
  });
}

but i thank this is not the resolution to fix this problem.
This seems to be a bug in ios's handling of the hidden display of platforms view.
Flutter officials are expected to take this issue seriously and fix it as soon as possible.
Looking forward to reply。

Hi It is useful to me, bug What KeepStateWidget means ? @nuptdzs

when you use pageView to switch page,the view will redo initState().
你在用pageView切换的时候会遇到重复执行initState的bug，所以用KeepState来包裹pageView里的内容，可以避免这个问题。
class KeepStateWidget extends StatefulWidget {
  final child;

  KeepStateWidget(this.child);

  @override
  State<StatefulWidget> createState() {
    return KeepStateState(child);
  }
}

class KeepStateState extends State<KeepStateWidget>
    with AutomaticKeepAliveClientMixin {
  final child;

  KeepStateState(this.child);

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    super.build(context);
    return child;
  }

  @override
  bool get wantKeepAlive => true;
}

非常感谢，的确能解决这个问题，但是我建议使用IndexedStack来维持界面状态，代码更加简洁。

起初我也考虑过用IndexedStack，但好像并不能解决这个问题。

Still have the same problem with the latest version
/Users/mayer/development/flutter/bin/flutter doctor --verbose
[✓] Flutter (Channel master, v1.10.15-pre.367, on Mac OS X 10.14.6 18G84, locale zh-Hans-CN)
    • Flutter version 1.10.15-pre.367 at /Users/mayer/development/flutter
    • Framework revision a192e29603 (29 minutes ago), 2019-10-31 19:31:42 -0700
    • Engine revision 8ea19b1c76
    • Dart version 2.6.0 (build 2.6.0-dev.8.2 bbe2ac28c9)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/mayer/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.0, Build version 11A420a
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 40.2.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (1 available)
    • LECHENG的 iPhone • 319ce14e3c039f4f9f588e398878952f1f4ecba4 • ios • iOS 13.1.2

• No issues found!
Process finished with exit code 0

This is fixed in https://github.com/flutter/engine/pull/13469 which wasn't rolled into the framework yet. It should be rolled soon, if you want to give it a try before the roll you can use a locally built engine.


Pandas / CSV agent only show partial results from dataframe head

System Info
Hi my data has 10 rows and I tried with both pandas and csv agent, in the observations I can see the agents are able to process all rows, but in the final answer both agents only output the first 5 rows from df.head(). I tried to set 'number_of_head_rows' to 10 but it doesn't work. Is there any way to make the agents to show results from all rows rather the the head?
Who can help?
No response
Information

[X] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[X] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
from langchain.chat_models import AzureChatOpenAI
from langchain.agents import create_pandas_dataframe_agent
from langchain.agents.agent_types import AgentType
pd_agent = create_pandas_dataframe_agent(AzureChatOpenAI(deployment_name="gpt-4", model_kwargs={
"api_key": openai.api_key,
"api_base": openai.api_base,
"api_type": openai.api_type,
"api_version": openai.api_version
}, temperature=0.0),
df,
agent=AgentType.CHAT_ZERO_SHOT_REACT_DESCRIPTION,
verbose=True,
handle_parsing_errors=True)
Expected behavior
should output the results from whole table

Hi @lynngao , I think the bot has commented correctly. As an alternative what you can do ->

In your local / repo find-> langchain/agents/agent_toolkits/pandas/base.py
In this update the variable - number_of_head_rows -> to the number you want ( currently as default it is setup as 5 ).

I think then you'll be able to get expected number of outputs in the head section correctly.


No main class in resulting jar file

If compiled as is, build results in a GeyserConnect.jar without a main class

The new GeyserConnect jar isn't a standalone program, but a Geyser extension.
For usage, create a Geyser-Standalone server, with the GeyserConnect jar in the extensions folder - that way, you can use GeyserConnect like you're used to, but with more flexibility over Geyser related configuration

Thanks for the clarification.  I'll try that.  Been a little while since i visited this project, I had a customer demo I was doing building the older maven build in a Tekton pipeline.  I'm going to have to do a little homework I guess


Usability/collapsible headings

I'm a git noob. What do I need to do to install your changes so I can view/test these features?

I sorted out how to install these changes and have used this for about an hour of work. The new selection method, i.e., click on the heading group bar to select all cells, is fantastic. Now that I'm clicking and double clicking the heading cell bars a lot more, I'm finding this a little difficult.
I'm not sure if its the lack of feedback when I roll over the bar or the width of the slection area.   Two thoughts that might help are:
1 Highlight the bar when the mouse rolls over its selection area, i.e., as is done with other controls such as buttons.
2. Make the selection area (not the line) slightly bigger, though this might require greater separation of the bars.

I try changing the default heading selection action, i.e., to reveals the children, using the configurable. When I went tot he config panel, instead of a checkbox for this feature it was a key binding

http://goo.gl/80KyBI

So i guess you sorted the git? Ah, sorry, that's probably a bug, I've made
a mistake with the yaml file copying and pasting!
On 26 Feb 2016 4:01 a.m., "Fractal Feeling"<EMAIL_ADDRESS>wrote:

I try changing the default heading selection action, i.e., to reveals the
children, using the configurable. When I went tot he config panel, instead
of a checkbox for this feature it was a key binding
[image: unnamed image]
https://cloud.githubusercontent.com/assets/16606323/13342852/d7370534-dc99-11e5-896b-dd148ae4b234.png
http://goo.gl/80KyBI
—
Reply to this email directly or view it on GitHub
https://github.com/jcb91/IPython-notebook-extensions/pull/1#issuecomment-189101611
.

Ah, sorry, I missed a comment there. Ok, so the clicking bars is a bit
fiddly. A hover highlight is a good idea, I'll add that later today. Making
them wider is also possible, I just kept them quite narrow for now because
of the space they take up, which is subtracted from the cell width. Maybe
the width could be configurable, even, to accommodate users on both narrow
and wide displays...
On 26 Feb 2016 8:32 a.m., "Josh Barnes"<EMAIL_ADDRESS>wrote:

So i guess you sorted the git? Ah, sorry, that's probably a bug, I've made
a mistake with the yaml file copying and pasting!
On 26 Feb 2016 4:01 a.m., "Fractal Feeling"<EMAIL_ADDRESS>wrote:

I try changing the default heading selection action, i.e., to reveals the
children, using the configurable. When I went tot he config panel, instead
of a checkbox for this feature it was a key binding
[image: unnamed image]
https://cloud.githubusercontent.com/assets/16606323/13342852/d7370534-dc99-11e5-896b-dd148ae4b234.png
http://goo.gl/80KyBI
—
Reply to this email directly or view it on GitHub
https://github.com/jcb91/IPython-notebook-extensions/pull/1#issuecomment-189101611
.

This is looking and working great! The hover highlight for the heading brackets greatly improves usability as it provides the necessary visual feedback. This is working so well that I've gotten rid of the arrow on the left and just use the brackets.
A couple more thoughts to tune this:

When a bracket has been selected, i.e., to select all the child cells, rather than highlighting all the cells, just highlighting the selected bracket in the same colour as the cell selection highlight (i.e., #42A5F5) and change the right border width to 3px. This clearly show which heading level has been selected and might look cleaner than highlighting all cell.

Change the hover colour/width to match selection, i.e., same as above. This improves the selection feedback.

You might add hover css for .chb-start and end so the cell bracket tops/bottoms don't disappear on hover.

For 1, I'm reluctant to alter the existing css for showing selected cells (which is where the highlighting comes from, that's base Jupyter behaviour for multi-cell selections). It might make sense if you select only a bracket, but if your selection also includes things outside that bracket (as when you have something selected, then shift-click a bracket), it isn't obvious to me what a new user should expect to see, given the existing notebook behaviour. It would be easy enough to change the colour of all brackets on a selected cell with a simple css rule, but that isn't really the same thing, would probably be more confusing rather than less, and doesn't work for cells which don't have a bracket. The most sensible solution I can think of would be for brackets to change colour only if all the cells in the corresponding section are selected, but that means recolouring all the brackets in the whole _notebook _ every time the selection changes, which might turn out to be a bit much. I can't really say I'm up for writing the logic for that right now. Maybe in future if it seems like a particularly popular thing, and the notebook css doesn't change too much!
In 2., I see what you mean about hover colour, but not hover width. Do you mean make the bracket lines thicker for brackets which are selected, similar to collapsed heading brackets, something like that?
For 3, your bracket tops and bottoms disappear on hover? Mine don't seem to - could you post a picture?

Reg "bracket tops and bottoms disappear on hover" - I checked again and I was wrong.

Re: "hover width. Do you mean make the bracket lines thicker for brackets which are selected"
Yes

Item #1 - I didn't explain very well. I think we are saying the same thing.... That is, when I

select a bracket, the selected bracket changes colour and line width  (I think to match the hover). This shows that you've selected a set of cells in a heading group.
select a few cells, the brackets don't change

I tried to draw it like this

Ah, it seems your image has had the vital brackets cropped off :confused:

Oops


DD2: CTD on startup

Dragon's Dogma 2 is still CTDing on startup even with the new nightly release, REF Nightly 953 (52c6916751ea695ec62694d9d480ff4e6e89b844)
I've had this issue since the newest Dragon's Dogma 2 patch released. I've never turned on the Frame Generator feature added, I can't even toggle it on in the settings. I completely uninstalled and reinstalled the game with both the previous nightly release and this one just to make sure my copy of the game was fresh. When REFramework is installed, I start the game, it hangs on a black screen for a bit, and then CTD, and continues to do so until I remove the dinput8.dll
There's no reframework_crash.dmp generated, so unfortunately all I have is the log.
re2_framework_log.txt
OS: Windows 11
Graphics card: NVIDIA GeForce RTX 3080
CPU: 13th Gen Intel(R) Core(TM) i7-13700K

Try the newest nightly build and report back
https://github.com/praydog/REFramework-nightly/releases/

Unfortunately still is crashing nightly 957 as well, exact same way as described before. Here is the log for that as still no reframework_crash.dmp
re2_framework_log.txt

I am also facing the same problem. I have tried basically every potential option and I cannot get the game to get past the black loadup screen that the OP was saying and I also dont get a crash.dmp file.

I think the issues are resulting from D3D12 getting hooked too early - not sure why this is happening yet. So far common link I am seeing is this appears to be happening on Windows 11. I'd need to test on my W11 PC to verify.

fwiw, I am on Windows 11 with 13600kf and 4090, don't have this issue. But I did get some occasional crash when exiting out of menu and toggling frame generation in menu in game

I am on windows 10 with a rtx 3080 and i9-10900 intel cpu

I'm continuing to look into this. I've made some headway but will need some time. Something Capcom did to the renderer is making this a bit harder to solve, but I'm getting there.

Everything looks good on my side, even toggling frame generation in game no longer crashes. Thank you!
However, I noticed a minor issue where the crash dmp is still generated after me quiting the game from menu manually. This does not impact the gaming experience though (hence minor)
re2_framework_log.txt
reframework_crash.dmp

I got it to launch perfectly multiple times, including loading into the game and exiting and making sure it reboots again. I also haven't had the issue that the person above me posted with the Framework generating a crash.dmp
Thank you so much for all your hard work!


Publish to nuget ThreeTenABP 1.3.1

The PR https://github.com/xamarin/XamarinComponents/pull/1154 updates ThreeTenABP to version 1.3.1.
But there was an issue publishing this version to nuget.

@4brunu
In the future, please, be carefull with:
    <TargetFrameworks>MonoAndroid9.0</TargetFrameworks>

I noticed that in the last moment, so I did not publish it.

Thanks, will do.
Should it be MonoAndroid11.0?

Closing this as your PR fixed this issue 👍


Error converting shapefile to topojson

I am getting an error while trying to convert a geojson file to topojson using node.js utility installed in Ubuntu.
I converted map.shp to mapg.json using command:
ogr2ogr -f GeoJSON map.json map.shp
Everything seemed fine and .json file was created
Then I tried to convert .json file to topojson using:
topojson -o mapt.json --id-property name map.json
and I am getting some strange error like :
/usr/local/lib/node_modules/topojson/node_modules/shapefile/package.json:2
"name" shapefile", ^
node.js:134 throw e; //process.nextTick error, or 'error' event on first tick
SyntaxError:unexpected token .......
What I am doing wrong??
Regards

It looks like node_modules are corrupted. I would recommend re-installing topojson. I think just running npm install -g topojson again will do it, though it might be better to npm rm -g topojson it first?

No I am getting same result even if I tried several times uninstall and fresh install
Please please can you check if there is something wrong with shp file I used?
I sent it to<EMAIL_ADDRESS>Thank you in advance

The problem almost certainly isn’t related to the shapefile because the error is in parsing the package.json:
/usr/local/lib/node_modules/topojson/node_modules/shapefile/package.json:2
"name" shapefile", ^

There should be a colon (:) after "name" in the shapefile module’s package.json.
You may need to clear your npm cache. Try npm cache clean.

No :(((
I tried a fresh install but what I get now is:
topojson maps.json --id-property Name map.json
fs.js:696
return binding.stat(pathModule._makeLong(path));
^
Error: ENOENT, no such file or directory 'maps.json'
at Object.fs.statSync (fs.js:696:18)
at Object.module.exports [as readFileSync] (/usr/lib/node_modules/topojson/node_modules/rw/lib/rw/read-file-sync.js:5:10)
at inputJson (/usr/lib/node_modules/topojson/bin/topojson:245:30)
at pop (/usr/lib/node_modules/topojson/node_modules/queue-async/queue.js:24:14)
at Object.q.defer (/usr/lib/node_modules/topojson/node_modules/queue-async/queue.js:55:11)
at /usr/lib/node_modules/topojson/bin/topojson:196:5
at Array.forEach (native)
at Object. (/usr/lib/node_modules/topojson/bin/topojson:195:8)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
Please suggest any solution for this
Regards

As the error suggests, it is trying to read a file names maps.json which
doesn't exist. Are you trying to write to that file instead? Please read
the command line reference for instruction on how to specify arguments.

Finally I get it worked and converted.
Is there any method how I can define the right projection for d3 mapping?
I got  now
  height = 1050,
  legend = TRUE,
  setProjection = '#! function( element, options ) {
  var projection, path;
  projection = d3.geo.mercator()
  .scale(480)
  .center([29.34034978813841, 65.012062015793])
  path = d3.geo.path().projection( projection );
  return {path: path, projection: projection};

} !#'
)
but some black rectangle with white curves as meridians show
Thank you

Please use Stack Overflow if you want further assistance. These issues are for reporting bugs and feature requests only. Thank you.

I understand sorry.


Update CreateRecipesPatch.cs

its for me and my buddies

I think you would be better off cloning the code and making a custom build just for you and your buddies. Doing this would affect anybody using the mod.


Footer tweaks

need to add a powered by threshold note here as well. I'll be doing that later today or tomorrow.


Add TA-131639

Fixes DOC-11251

TFTR @arulajmani !
(FYI for anyone reading, the reason this build is failing is b/c the link to v23.1.27 release notes does not exist yet, once https://github.com/cockroachdb/docs/pull/18978 merges that link will exist and I'll trigger re-build of this)

@rmloveland please hold off on merging this for now. We need to find a better way to eliminate false positives without manual inspection of the logs before publishing. If we don’t do a good enough job, we’ll create a lot of undue concern.

@rmloveland please hold off on merging this for now. We need to find a better way to eliminate false positives without manual inspection of the logs before publishing. If we don’t do a good enough job, we’ll create a lot of undue concern.

👍

Please consider my suggestions. thanks!

thanks @florence-crl! applied all of your suggestions

@rmloveland I made some suggested changes to the doc here: https://docs.google.com/document/d/1QNqNR-hfnEUD8K4wlBiOSqgF8W79zlXTP7WoDhWFAkU/edit?usp=sharing. Any chance you can pull those changes into this PR? Thank you!


Add to bag doesn't work for products without variants

Summary
Add to cart doesn't produce any effect
Steps to reproduce
Try adding item to cart
https://storefront-saleor-example.vercel.app/products/saleor-sunglasses?variant=UHJvZHVjdFZhcmlhbnQ6MzMw
A link to a reproduction repository
No response
Output from envinfo
No response

Hi @timuric I found the reason why it does not work. It does not work because this particular product are unavailable 🙂 If you will I can provide solution later for that.

Fixed


fixed missing inherited association mappings

This PR duplicates the already existing PR #958 related to the same issue.


Project preview attributions

On the new design wireframes we have nice project previews. We need a way to deal with the attributions (whichever are definitely necessary) since having them on such a small map is not visually appealing.

Maybe in the sidebar under the FAQ would be acceptable, since they will likely all have the same basemap attribution, and the source of the satellite data is listed on the item itself.

Are we positive we need it on this page?
On Carto's "Map" page they don't show them but will show them when you open the project:

https://wiki.openstreetmap.org/wiki/Legal_FAQ#3._Using is all I got for OSM

Hmmm. There's definitely some room for interpretation in their description of browsable electronic map. But to be on the safe side let's just show them.
We could do one of two things:

Lucien's suggestion in the sidebar
Something similar to how Carto handles their instances of attribution.

that looks nice - default to hiding unless they actually want to know.

We might just do that for the default across the entire application too

Would we want a toggle-able attribution on a map that we are aiming to make static? We hadn't planned on showing any controls on the project previews for example. I think showing it on the page  outside of the map component will prove to be complex because of the data-flow directions and the fact that the attributions are dynamic based on what imagery a certain project uses.


The provided link for Themes and Theming is wrong

Update link of "Refer this file ...." at the last point in Themes and Theming

fixed


RPC error on macOS

Under the Bitcoin Core menu, in Option n) "Access Bitcoin node information" (bitcoin-cli)", all of the commands except version throw an RPC error.
error: Could not locate RPC credentials.

No error for me on my Mac, data on internal drive. Must test with external.

I've updated the START command to include path of config...
-conf=$HOME/.bitcoin/bitcoin.conf
-datadir to the same directory already exists.
I need to add a symlink next, it may have been overlooked for Mac edition.

This should be fixed in v2.0.0


Not showing

Does the terminal need to have any special settings? Using zsh...
Nothing happens when I use the example in the repo.

Nope nothing special, very weird, can you tell us anything more?

Not really... Followed the example and the if (bar.complete) part works, but the progress bar doesn't show up
var ProgressBar = require('progress');

var bar = new ProgressBar(':bar', { total: 10 });
var timer = setInterval(function () {
  bar.tick();
  if (bar.complete) {
    console.log('\ncomplete\n');
    clearInterval(timer);
  }
}, 100);

I just tested this is zsh on Mac OS X: zsh 5.0.5 (x86_64-apple-darwin14.0)
What does your "zsh --version" give you?

Same version.

Well maybe some kind of setting you have on then?

the progressbar shows in cmd window, but doesn't show in webstorm ide's console on windows, any thing wrong?

@wzshuang as far as I know it has to do with the way it draws and webstorms terminal emulation which is not displaying a raw terminal. I have similar results with testing suites etc.
I dont believe it is something that we can affect from within the code.

@nullivex I debuged the code and note that 'this.stream.isTTY' is undefined, I don't know what TTY is, I will google it.

@wzshuang did you change the context of this?

@hallas no, I didn't change the source code, just debug it.

I'm having the same issue on Linux (Elementary OS -Freya-)

Just stumbled upon this problem too. Trying to use it in WebStorm IDE, but it's not rendering. Are there any news on this? It would be very convenient to be able to see the progress inside the IDE window.

A long time has passed since but...
In short, the issue with WebStrom is that console there isn't TTY that is required for progress to work.
There is a workaround for that (not without some tradeoffs). Take a look at the latest comment from Sergey Simonchik on JetBrains tracker.
https://youtrack.jetbrains.com/issue/WEB-1933
Quote:

Fixed in WebStorm 2018.2 if nodejs.console.use.terminal registry key is enabled - for that, please do the following:

"Help | Find Action..." on the main menu;
Type "registry" and click "Registry..." found element;
Find nodejs.console.use.terminal key and enable it.

Thank you for finding that @wanjas.

Same problem...in local shell work well but on the cloud, when i look console i don't view the progress bar


THRIFT-5214: Connectivity check on go's TSocket

Client: go
Implement connectivity check on go's TSocket and TSSLSocket for
non-Windows systems.
The implementation is inspired by
https://github.blog/2020-05-20-three-bugs-in-the-go-mysql-driver//

[x] Did you create an Apache Jira ticket?  (not required for trivial changes)
[x] If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
[x] Did you squash your changes to a single commit?  (not required, but preferred)
[x] Did you do your best to avoid breaking changes?  If one was needed, did you label the Jira ticket with "Breaking-Change"?
[ ] If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

@dcelasun I did some tweak on the implementation and this version runs much better, and I think if you have time to take a look at the code, it's ready for review :)
I didn't mark it as ready for review because I still want to test it in our real prod first (currently it's running in our staging server). I'll mark it as "ready for review" once I'm satisfied with the prod test result. Which should happen before end of day Tuesday in the US.

I lied. I didn't really test it in our prod environment (that's too risky), but I did manage to get two staging services, one running new code and one running old code, to run side-by-side for 24+ hours. In our staging setup all staging services are behind the same load balancer pool, so they are not handling exactly the same requests, but it should still be comparable:

Latency wise, sometimes the new code has slightly higher latency, and sometimes the old code has slightly higher latency, but overall they are quite similar (but new code seem to be tend to be the slightly slower one more often)
Error rate wise, it's similar to latency that it's not consistently one is better than the other, but new code does appear to be lower more often.

So I guess the conclusion we can get from there is that the new code might make latency slightly higher, but should help client pools a bit, and overall it doesn't make things worse?
Gonna mark it as "Ready for review".

Another option we could consider is to make this feature optional, either by adding a new constructor and/or field to TSocket/TSSLSocket, or add another TSocket implementation (TMonitoredSocket maybe?)

new code seem to be tend to be the slightly slower one more often

I think a little overhead here is acceptable.

overall it doesn't make things worse?

Agreed and generally LGTM but this PR breaks cross tests against C++:
===============================================================================
Following 1 tests were expected to cleanly succeed but needed retry:
===============================================================================
server-client:          protocol:         transport:               result:
go-cpp                  binary            buffered-ip              flaky(1 retry)
===============================================================================
*** Following 1 failures were unexpected ***:
If it is introduced by you, please fix it before submitting the code.
===============================================================================
server-client:          protocol:         transport:               result:
go-cpp                  binary            framed-ip                failure(timeout)
===============================================================================
Unexpected failures are logged to test/log/unexpected_failures.log
You can browse results at:
	file:///thrift/src/test/index.html
# If you use Chrome, run:
# 	cd /thrift/src
#	python -m http.server 8001
# then browse:
# 	http://localhost:8001/test/
Full log for each test is here:
	test/log/server_client_protocol_transport_client.log
	test/log/server_client_protocol_transport_server.log
1 failed of 2081 tests in total.
Test execution took 951.7 seconds.
Sun May 24 08:52:03 2020
Makefile:1130: recipe for target 'cross-'(binary)'' failed
make: *** [cross-'(binary)'] Error 1

RET=$?
if [ $RET -ne 0 ]; then
  if [ -f "test/features/log/unexpected_failures.log" ]; then
    cat "test/features/log/unexpected_failures.log"
  fi
  if [ -f "test/log/unexpected_failures.log" ]; then
    cat "test/log/unexpected_failures.log"
  fi
fi
TEST: [go-cpp_binary_framed-ip]
*************************** server message ***************************
Sun May 24 08:39:03 2020
Executing: /thrift/src/test/go/bin/testserver --certPath=../../keys --protocol=binary --transport=framed --port=33477
Directory: /thrift/src/test/go/bin
config:delay: 5
config:timeout: 8
===============================================================================
2020/05/24 08:39:03 error processing request: Connection not open

@dcelasun the breaks you linked was from travis run of a previous version. I changed the code to check isValid instead of IsOpen before every Read/Write, and fixed that issue.
In the travis run of the current version, there's only one build failures and it's related to github unavailable: https://travis-ci.org/github/apache/thrift/jobs/690775140

Sorry, my bad. I had Travis open on another tab and didn't realize it was an older build.

Another option we could consider is to make this feature optional

I'm strongly against optional features like this, they just increase our maintenance burden. If there are any significant regressions (though I don't see how) we'll address them afterwards.
If there is nothing further to add, I'll go ahead and merge this once tests are green.

In that case let me squash the two commits. I put the fixup one separately so it's easier for you to tell what is changed :)


Cannot modify files created under my username

When trying to edit/delete files with my username as the owner, I get an error attached below. Ironically, I'm able to modify files which have "Unknown" as their owner. I'm not sure whether this is a problem specific to my user, but I created this issue just for tracking purposes.

fixed in https://github.com/topi314/godrive/commit/c09c885a885800e1d0b1dfba4f0a475d173631c3


clippy unneeded_field_pattern warnings in consumer's code

memoffset 0.5.1 and 0.5.3 cause clippy to warn in the consumer's crate.  This should either be fixed or suppressed within memoffset.
warning: All the struct fields are matched to a wildcard pattern, consider using `..`.
  --> bfffs-fio/src/lib.rs:95:17
   |
95 |                 offset_of!(BfffsOptions, pool_name),
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(clippy::unneeded_field_pattern)]` on by default
   = help: Try with `BfffsOptions { .. }` instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unneeded_field_pattern
   = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)

Thanks for the report! https://github.com/Gilnaa/memoffset/pull/35 should fix this.


Gradle 8.0-milestone-3 regression: Transform selection algorithm has changed (longer chain is selected)

Version
Regression in Gradle 8.0-milestone-3 compared to Gradle 7.5
Issue
Suppose :lib publishes artifact types A and B, and :app has 2 transforms from A to B and B to C.
Scenario 1: If :app requests B, Gradle will get artifact B published from :lib directly without running the transform to convert A to B. This is the case in both Gradle 7.5 and Gradle 8.0-milestone-3.
Scenario 2: If :app requests C, the behavior in the two versions are different.

a) In Gradle 7.5, Gradle will get B from :lib and run only 1 transform to convert B to C.
b) In Gradle 8.0-milestone-3, Gradle will get A from :lib and run 2 transforms to convert A to B, then B to C. => This is a behavior change from Gradle 7.5, it is inconsistent with scenario 1, and it is also inefficient (longer chain is selected). It is breaking one of our tests in AGP when we try to update to Gradle 8.0-milestone-3.

Steps to reproduce

Open the attached project: MyApplication.zip
Run ./gradlew --stop && ./gradlew clean :app:printArtifacts. Observe that 2 transforms are executed (this corresponds to scenario 2b above):

> Transform full.jar (project :lib) with CustomTransform
Running CustomTransform on MyApplication/lib/build/intermediates/full_jar/debug/full.jar to produce MyApplication/lib/build/.transforms/5423cd115abb5d76cca6a332703a7b9c/transformed/full.jar.transformed

> Transform full.jar (project :lib) with CustomTransform
Running CustomTransform on MyApplication/lib/build/.transforms/5423cd115abb5d76cca6a332703a7b9c/transformed/full.jar.transformed to produce MyApplication/lib/build/.transforms/0814f6542c157e4e9bc67383f208a4f1/transformed/full.jar.transformed.transformed

> Task :app:printArtifacts
artifactFiles contain: [MyApplication/lib/build/.transforms/0814f6542c157e4e9bc67383f208a4f1/transformed/full.jar.transformed.transformed]

In gradle-wrapper.properties, switch to using Gradle 7.5 and run the above command again. Observe that only 1 transform is executed (this corresponds to scenario 2a above):

> Transform debug (project :lib) with CustomTransform
Running CustomTransform on MyApplication/lib/build/intermediates/consumer_proguard_dir/debug to produce MyApplication/lib/build/.transforms/a4bb0cfcffa01a919b9e4293031893a2/transformed/debug.transformed

> Task :app:printArtifacts
artifactFiles contain: [MyApplication/lib/build/.transforms/a4bb0cfcffa01a919b9e4293031893a2/transformed/debug.transformed]

Expected behavior
In scenario 2, case (2a) should happen and case (2b) should not happen for all versions of Gradle.

@hungvietnguyen Can you please check the behaviour for Gradle 7.6 RC3 as well?

@wolfs There is a sample project attached in the 1st comment. If you change the Gradle version to 7.6, do you get the 7.5 output or 8.0?

I get the 7.5 output when using 7.6, so the change seems to have happened in between.

Yes, the behavior of Gradle 7.6-rc-3 is the same as Gradle 7.5.

I debugged this and I think it is this change: https://github.com/gradle/gradle/commit/1263f2b79b6d47383d4739305be0f0264dcb3967
We seem to try to disambiguate between the two variants coming in via the two transform chains (one of length one, the other one of length two). The longer chain wins since it has the extra org.gradle.libraryelements attribute. I don’t know why we did the change above, nor why we don’t eliminate longer transform chains already earlier in the disambiguation.

Side note:

It would be great to have a doc to describe the exact, unambiguous transform selection algorithm.
IIUC, org.gradle.libraryelements=jar is added implicitly to jars by Gradle, so it slightly adds to the complexity (i.e., it is hard for the users to reason about the behavior if they are not aware of this fact).


feat: Prepend token symbol

Description
resolves #396
Demo

https://github.com/aeternity/aescan/assets/15363559/250803b8-0d3b-4f2d-8ed8-4faddeed4a0a
Checklist:

[x] I have read and followed the Contributing Guide
[x] add price label component and reuse over app

Opened a new PR. It has already been approved by Liubov here https://github.com/aeternity/aescan/pull/637 Please take a look at the notes there @michele-franchi

Could you please add links for testing?

Could you please add links for testing?

Aha, it didn't produce any links
Here u go
https://pr-809-aescan-testnet.stg.service.aepps.com/
https://pr-809-aescan.stg.service.aepps.com/

I can't see % for some reason:

2. is this expected that there is no listed tokens?

Good catch, all fixed now