Crawl animation glitch

To reproduce hold only crawl key
Happens when the crawl key binding is in toggle mode

Minecraft 1.19 and mod version 0.11.0

thank you. ill check it out later.

can't replicate.

This is a demo of the glitch
https://user-images.githubusercontent.com/38355785/177991678-3a2f9758-ce6e-44bd-8403-fb1a34e11cd4.mp4

any other mods?

This mod and Fabric API 0.57.0 only

Not sure what is wrong. Are you just spamming crawl key? Glithcy translation of player 1 block lower when starting swimming is vanilla behavior. Feel free to write or call me in discord: fewizz#3328

So, why are you holding key when in toggle mode? =_=

But i ran Minecraft under Fedora Linux and this behavior does not happens with the sneak or any other vanilla movement actions

Somehow related to X Window System.


Fix bug that did not remove an unfunded offer (RIPD-1298)

@scottschurr @nbougalis

We need a much better explanation of this bug fix in the commit message.

Three thoughts:

Do we need a comparable fix in BookStep::fwdImp()?  The  specific case I ran into happened in revImp(), so I'm just guessing that it could happen in  fwdImp().  I'm thinking of something around line 565 that would look like...

return processMore || offer.fully_consumed();

This change will affect transaction outcomes, so it will cause de-syncing among servers running with vs without this fix.  Should we save the fix and bundle it with another that takes an amendment?  Or should we put this on a time switch?
It would be great to see a unit test for this.  Perhaps one test for the revImp() case and another test for the fwdImp() case?

Current coverage is 64.40% (diff: 100%)

Merging #1850 into develop will decrease coverage by 0.02%

@@            develop      #1850   diff @@
==========================================
  Files           704        704
  Lines         50747      50747
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits          32696      32683    -13
- Misses        18051      18064    +13
  Partials          0          0

Powered by Codecov. Last update 35fa20a...2e360e2

This will need to be hooked to an amendment or something since it changes transaction processing behavior.

Message should read:
Fix unfunded offer not removed:

(Description)

Looks magnificent.  :+1:

@vinniefalco Will fix the title when I squash it down.

@vinniefalco (Description will be what's in the second commit now)

Squashed and rebased onto 0.40.0-b3

Just to be clear, still :+1:.

Squashed

Merged as bb0b97f46bcc783955e0fcd1511fa2086c48cb1a


Britton Winterrose DS1 U3-S2

Sprint Challenge Code Review
Unit 3 Week 2 - SQL and Databases

Part 1 — Making and Populating a Database
Code review

What went well:

You did the thing

You commented your things

You did the things correctly and efficiently

What could be better:

You need parentheses to close the cursor and connection, ex: cur.close() instead of cur.close

Comments would be a little better inside the function definitions as '''docstrings'''. Generally, use # comments to explain parts of code and '''docstrings''' to explain what a function, method, or class does (with the exception that the main method doesn't really need a docstring--what you might think to put there could actually be a docstring at the top of the .py file)

If this were your own work, probably use a # comment for each querystring

Use a pep8 linter (see part 5)

Part 2 — The Northwind Database
Code review

What went well:

You did the thing

You commented your things

You did the things correctly and efficiently

I like how you printed the results

What could be better:

meh... use pep8 linter

Part 3 — Sailing the Northwind Seas
Code review

What went well:

You did the things

You commented your things

You did the things correctly

What could be better:

Efficiency could be improved in finding the top category -- you use 2 SELECT statements, but you can almost always do it in 1
your query:

SELECT CategoryName AS Largest_Category
  FROM (SELECT CategoryName,
               COUNT (ProductName) AS Number_of_Products
        FROM Product
        INNER JOIN Category ON Product.CategoryID = Category.Id
        GROUP BY CategoryName)
 ORDER BY Number_of_Products DESC
 LIMIT 1

possible alternative (using implicit join):
SELECT c.CategoryName, COUNT(p.Id) FROM Category c, Product p
    WHERE c.Id = p.CategoryId
    GROUP BY 1
    ORDER BY 2 DESC LIMIT 1;

for readability, it might be better to say GROUP BY c.CategoryName and ORDER BY COUNT(p.ID), but this shows you the power of SQL

Similarly, your top territory by employees could be more efficient
yours:

SELECT TopTerritory AS The_Top_Territory_Is,
       Number_of_Employees AS It_has_this_many_employees
  FROM (SELECT TerritoryDescription AS TopTerritory,
               COUNT(EmployeeID) AS Number_of_Employees
          FROM EmployeeTerritory
         INNER JOIN Territory ON EmployeeTerritory.TerritoryId = Territory.Id
         GROUP BY TerritoryDescription)
 ORDER BY Number_of_Employees DESC
 LIMIT 1

possible alternative:
SELECT t.TerritoryDescription AS The_Top_Territory_Is,
       count(et.EmployeeId) AS It_has_this_many_employees
FROM Territory t, EmployeeTerritory et
    WHERE t.Id = et.TerritoryId
    GROUP BY t.TerritoryDescription)
    ORDER BY Number_of_Employees DESC
        LIMIT 1

Part 4 — Questions (and your Answers)
Code review

What went well:

well thought out, thorough answers

What could be better:

meh

Part 5 — Code Readability
Code review

What went well:

code is readable

well-name variable names

What could be better:

Watch out for white space

Pay attention to line continuation indentations

should be:

questions = [
    "What are the ten ...

looks like this:

should be:

lines too long

should be:

you can escape new lines with the usual backslash \


WIP: Feat/pacts for verification

This PR adds the following new features:

Adds a new Pact Source to enable pact verification using the new "pacts for verification" endpoint (https://github.com/pact-foundation/pact_broker/issues/307)
Pending pacts, WIP pacts and tags are now supported
Updates the provider CLI with new these (and other) options (currently does not allow users to specific "selectors" via the CLI, this would be easily achieved after this PR is sorted), which uses the new source
Adds basic environment variable support to the verifier to match the existing one

General comments:

The code is still WIP and there are TODOs/Cleanups that need to happen (including moving to that streaming API where it makes sense). It does work though 👍
I'd specifically created a new PactSource because I wasn't aware of any backwards compatibility issues by changing it. If we don't need that because the only public interface is the CLI, then I'll replace the old implementation instead
To pass the pending/verification notices to the actual verifier, I've threaded an optional PactVerificationContext which contains the notices alongside the Pacts and Pact source through the same process. As there are a few layers in which this passes, it's had an unfortunately side-effect of requiring a lot of functions to change. This probably also needs to be considered for backwards compatibility
There are a few places where duplication started appearing as a result of this (e.g. the CLI Main), I'll clean that up

If you have better/other ideas that I could try here, let me know (I considered a number of options, but they didn't feel right).
Areas I'd like some specific feedback/assistance on:

Use of serde_json to serialise/deserialise the payloads. Dealing with the raw serde_json::Value was making this code very unreadable. Moving to to serde_json::to_string (and from_value) made this a lot nicer. Is there a reason this approach wasn't taken elsewhere?
Where to put things. The pact_broker.rs file is getting pretty big. Currently, I've just dumped some types in there along side the new implementation to fetch pacts. Let me know if you'd like it moved
Test approach: should we create a Pact test for this? :) Any other pointers? I've tried following previous
Code formatting: my editor badly wants to try and reformat the code, but doing so would have made this PR unreadable. How do you do this now?

Areas I'd like some specific feedback/assistance on:
Use of serde_json to serialise/deserialise the payloads. Dealing with the raw serde_json::Value was making this code very unreadable. Moving to to serde_json::to_string (and from_value) made this a lot nicer. Is there a reason this approach wasn't taken elsewhere?

This is more historical than anything else. When the project was started, serde didn't exist and it's predecessor wasn't that great. Serde is awesome, I have not trouble with using it to do the persistence if there is a 1-1 mapping.

Where to put things. The pact_broker.rs file is getting pretty big. Currently, I've just dumped some types in there along side the new implementation to fetch pacts. Let me know if you'd like it moved

I'm pretty bad at that, just keep adding to the same file. I do it in the Kotlin code too, and have been splitting things out when I notice. So, what I'm saying, it won't bother me.

Test approach: should we create a Pact test for this? :) Any other pointers? I've tried following previous

Yes! Tests are good. If you look at pact_broker.rs around line 800 you'll find some Pact tests using the Rust consumer DSL. Might be a good idea to break these out into a separate file.

Code formatting: my editor badly wants to try and reformat the code, but doing so would have made this PR unreadable. How do you do this now?

I don't. I detest code formatting for no other reason than satisfying someone's OCD. I correct the formatting only for the lines I'm changing to preserve the change history for the file.

Awesome, thanks for the feedback Ron. I'll aim to get stuck into the fixes over the next few days.

I also added a (very) minor change, to obfuscate the Auth details if put into a print statement:

Green build, good to merge


Changing to Producton

Excuse me guys I have limited experience with RoR so this will be basic stuff.
I finally managed to get Stories running in production mode with:
RAILS_ENV=production bundle exec rake assets:precompile
I ran into a few errors but it was a matter of setting proper options in /config.
I then run my app with:
rails server -e production
My question is that most of the images (posts featured images and user avatars) are now linked to S3.  I was wondering how do I properly configure this AND do I need to run a special command to copy all images to the S3 server?
I should have some improvements to contribute soon. Thanks!

This can be closed. Settings for S3 are in config/environments/production.rb
Seems to work great...unbelievably fast with S3!


xfce.thunar: depends on pcre

Motivation for this change
The library pcre is needed for regular expressions in the Search & Replace feature of the bulk renamer.
Fixes https://github.com/NixOS/nixpkgs/issues/126618
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 126622 run on x86_64-linux 1

4 packages built:

xfce.thunar (xfce.thunar-bare ,xfce.thunar-build ,xfce.thunarx-2-dev)
xfce.thunar-archive-plugin
xfce.thunar-dropbox-plugin
xfce.xfdesktop

Result of nixpkgs-review pr 126622 at 81e6e2fd run on x86_64-linux 1

4 packages built successfully:

xfce.thunar (xfce.thunar-bare ,xfce.thunar-build ,xfce.thunarx-2-dev)
xfce.thunar-archive-plugin
xfce.thunar-dropbox-plugin
xfce.xfdesktop

2 suggestions:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near lib/attrsets.nix:366:7:
    |
366 |       value = f name (catAttrs name sets);
    |       ^

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/desktops/xfce/core/thunar/default.nix:48:5:
   |
48 |     ./thunarx_plugins_directory.patch
   |     ^

I think we should enable UTF-8 in pcre library as the option is disabled for me with local language(Turkish). But this PR looks ok.

Result of nixpkgs-review pr 126622 run on x86_64-linux 1

4 packages built:

xfce.thunar (xfce.thunar-bare ,xfce.thunar-build ,xfce.thunarx-2-dev)
xfce.thunar-archive-plugin
xfce.thunar-dropbox-plugin
xfce.xfdesktop


Support SPIRV as Shader Language

See https://eleni.mutantstargoat.com/hikiko/2018/03/04/opengl-spirv/
TLDR is: When using proper (GLSL 450) openGL Shaders, we can cross compile them to SPIRV (and potentially ship it with a game) and the Graphics APIs should all support SPIRV ("compiled shader"), which can directly be evaluated by those.
This yields in faster speed as the drivers don't have to manually compile instructions and also maximum platform compatibility.
Projects like https://github.com/KhronosGroup/SPIRV-Cross allow SPIRV to be cross compiled to GLSL, HLSL (Direct X) and Metal (Mac OS X), so that even when SPIRV Extensions aren't available, one can use the native backends for shaders at least.
This is in particular interesting as Vulkan as a Backend also supports SPIRV

Me: If we had a gradle task to SPIRV, we could even support HLSL for the engine
@riccardobl on Discord:
yes but there are several many problems

jme compiles shaders multiple times(when youi change the defines )
it needs opengl 450
i think it is not fully portable

Me:
2. I think is not true: The syntax has to be GLSL450, but the output needs the extension ARB_spirv
1 could be a problem indeed, packaging the SPIRV compilers is undesireable, maybe they have a solution for that though.
@riccardobl
i don't have that extension, btw (https://www.khronos.org/registry/OpenGL/extensions/ARB/ARB_gl_spirv.txt)
Mesa 20.0.0-devel (git-0f60aa4 2019-12-07 bionic-oibaf-ppa)
they are the default for amd cards on linux
Me:
okay, WebGL doesn't support it either, which is sad
http://renderingpipeline.com/webgl-extension-viewer/
potential gains could be:

Copying Unity Shaders in and it just works
becoming more platform agnostic as well

@riccardobl:
it won't, because we have different uniforms
and uncompiled shaders are more platform agnostic
because every platform will compile with its compiler


zgpu: Crash when minimizing window on Windows

Hi!
I haven't had a chance to test macos, but on Windows I'm getting a crash when trying to minimize the window, both in my project and with the example gui_test_wgpu.
error: [zgpu] Validation: Swap Chain size (width: 0, height: 0) is empty.
 - While validating [SwapChainDescriptor "main window swap chain"]
 - While calling [Device].CreateSwapChain([SwapChainDescriptor "main window swap chain"]).

I can try to look into this when I get some free time. Looks like maybe we don't handle a case where the swap chain is 0 sized.

Tested on macOS and no crash, looks like it may be Windows specifically passing a window resized event with 0 sized dimensions?

@foxnne It now works fine on Windows, could you also verify macOS?

Works fine on macOS, thanks for the fix!


issue #221: HomeStore to report capacity stats

HomeStore to provide used/total space which will be consumed by HomeObject/SM
Testing:
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206264] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=0 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206265] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=0 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206264] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=8192 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206265] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=8192 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206265] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=16384 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206264] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=16384 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206264] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=24576 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206264] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=28672 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206265] [test_solo_repl_dev.cpp:293:on_write_complete] Write complete with cap stats: used=32768 total=1277747200
[11/07/23 18:14:40-07:00] [info] [test_solo_repl_dev] [206264] [test_solo_repl_dev.cpp:254:write_io] Before write, cap stats: used=32768 total=1277747200

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (3911682) 68.86% compared to head (ef41adb) 68.99%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #222      +/-   ##
==========================================
+ Coverage   68.86%   68.99%   +0.13%
==========================================
  Files          93       93
  Lines        7608     7616       +8
  Branches      978      980       +2
==========================================
+ Hits         5239     5255      +16
- Misses       1906     1907       +1
+ Partials      463      454       -9

Files
Coverage Δ

src/include/homestore/blkdata_service.hpp
100.00% <ø> (ø)

src/include/homestore/homestore.hpp
70.37% <ø> (ø)

src/include/homestore/replication_service.hpp
100.00% <ø> (ø)

src/lib/blkdata_svc/blkdata_service.cpp
42.45% <100.00%> (+1.10%)
:arrow_up:

src/lib/replication/service/repl_service_impl.cpp
62.06% <100.00%> (+2.31%)
:arrow_up:

src/lib/replication/service/repl_service_impl.h
60.00% <ø> (ø)

... and 8 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

We need some more clarification on the capacity stats.
From SM->CM/DM perspective, we need

capacity stats PER PG.
capacity stats of whole SM/HS.

As in HO we enforce one PDEV per PG policy and more general the HO take control of the chunk selection, it makes more sense to leave 1) to HO as HS doesnt have any information regarding allocation policy.
This PR on HS is more on 2) and actually it returns the available/total capacity of the whole data service, not individual repl_dev/PG. In this sense , this API should not be put into ReplicationService, but just HomeStore::instance().getCapacityStat()

@xiaoxichen SM needs 2) as well. In fact, the current heartbeat request proto only includes 2)
https://github.corp.ebay.com/SDS/nuobject_proto/blob/main/src/proto/cm_svc.proto#L12
and the storage info is the total stats.
https://github.corp.ebay.com/SDS/nuobject_proto/blob/main/src/proto/sm_svc.proto#L14
So, this has to be part of replication service for HO to access it and pass it to SM above

@xiaoxichen The best place to get Per PG stats (if we were to have it) is from HomeObject, as HomeStore don't have knowledge about PG. And HomeObj heapChunkSel maitains per PG chunk list, vchunk can query underlying blkallocator to get total/used stats.

@yamingk  @raakella1  thanks for clarification and Yes we need #2.
But if we are collecting the metrics of the whole SM, do we really want to put this into the ReplicationService interface? Or maybe better just put it into class HomeStore
I was got confused as it put into ReplicationService so I was assume it is doing something related with PG.  And yes as @yamingk said the PG stats need to be in HO.

We need some more clarification on the capacity stats.
From SM->CM/DM perspective, we need

capacity stats PER PG.
capacity stats of whole SM/HS.

As in HO we enforce one PDEV per PG policy and more general the HO take control of the chunk selection, it makes more sense to leave 1) to HO as HS doesnt have any information regarding allocation policy.
This PR on HS is more on 2) and actually it returns the available/total capacity of the whole data service, not individual repl_dev/PG. In this sense , this API should not be put into ReplicationService, but just HomeStore::instance().getCapacityStat()

@xiaoxichen SM needs 2) as well. In fact, the current heartbeat request proto only includes 2) https://github.corp.ebay.com/SDS/nuobject_proto/blob/main/src/proto/cm_svc.proto#L12 and the storage info is the total stats. https://github.corp.ebay.com/SDS/nuobject_proto/blob/main/src/proto/sm_svc.proto#L14 So, this has to be part of replication service for HO to access it and pass it to SM above

https://github.corp.ebay.com/SDS/nuobject_proto/blob/main/src/proto/pg.proto#L28
The per PG stat needed here,  we may need avail_bytes into the proto as when we define the proto we assumed all PGs share the entire SM so PG do not have a capacity. But after we apply one to one mapping it makes senes to let PG have a avail_bytes.
As you said this need to be done on HO and not part of this PR/

ReplicationService

@xiaoxichen ReplicationService Instance is a singletone.


Depend on TileDB core 2.19, TileDB-Py 0.25, TileDB-R 0.23 [WIP]

Issue and/or context:
Changes:
Notes for Reviewer:
This PR is in draft status. It is  not ready to be reviewed. Please do not review this PR.

Did you mean to remove '[WIP]' from the subject and 'please do not review' from the first para?

[sc-38615]


[New Feature] Show overcapped crticial strike chance in brackets

When a character has more critical strike chance than the maximum possible amount (100%) then the overcapped critical strike chance should be shown behind that value in brackets.
This is a very useful min-maxxing feature allowing you to instantly spot whether you have allocated too much crit chance on your build.
This feature already exists for other stats like resistances.

This repo is older and not used for active development please repost on https://github.com/PathOfBuildingCommunity/PathOfBuilding/issues if you still are having this problem.


Add travis rebased

It's a rebase of broken https://github.com/googlesamples/android-testing/pull/136
I did it, because there is no progress since one year.
This PR is also based on unmerged https://github.com/googlesamples/android-testing/pull/194 when you approve https://github.com/googlesamples/android-testing/pull/194 first I can rebase this PR again to have a smaller footprint here

I see you use https://buildkite.com and I can't view build https://buildkite.com/bazel/android-testing/builds/41

It looks like you need no colaboration


where can I find  aura-core repository or  rc-link python server?

It seems lack the link to backend server.  aura-core  or rc-link
Is it rc-flight?

Yes, I believe that's the correct location.  I was in the middle of a large
overhaul of the project, and then lost my job, had to find a new one,
relocate ... it's all good, but stressful, and I have unfortunately had
zero time to work on any open-source projects in the last year or so.
On Sat, Dec 31, 2022 at 10:56 PM wang liang @.***>
wrote:

It seems lack the link to backend server. aura-core or rc-link
Is it rc-flight?
—
Reply to this email directly, view it on GitHub
https://github.com/RiceCreekUAS/rc-gcs/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXYYDOUVFR5OTQ5352C3KLWQEE63ANCNFSM6AAAAAATN4XOQA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Curtis Olson


aws amplify cannot run npx ampx sandbox

Environment information
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ aws configure sso
SSO session name [jeromes]:
The only AWS account available to you is:<PHONE_NUMBER>59
Using the account ID<PHONE_NUMBER>59
The only role available to you is: amplify-policy
Using the role name "amplify-policy"
CLI default client Region [us-east-1]:
CLI default output format [None]:
CLI profile name [amplify-policy-225476886059]: default

To use this profile, specify the profile name using --profile, as shown:

aws s3 ls --profile default
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ npx ampx sandbox

ampx sandbox

Starts sandbox, watch mode for Amplify backend deployments

Commands:
  ampx sandbox delete            Deletes sandbox environment
  ampx sandbox secret <command>  Manage sandbox secrets

Logs streaming
  --stream-function-logs  Whether to stream function execution logs. Defa
                          ult: false. Use --logs-filter in addition to th
                          is flag to stream specific function logs
                                                                [boolean]
  --logs-filter           Regex pattern to filter logs from only matched
                          functions. E.g. to stream logs for a function,
                          specify it's name, and to stream logs from all
                          functions starting with auth specify 'auth' Def
                          ault: Stream all logs                   [array]
  --logs-out-file         File to append the streaming logs. The file is
                          created if it does not exist. Default: stdout
                                                                 [string]

Options:
  --debug            Print debug logs to the console
                                               [boolean] [default: false]
  --help             Show help                                  [boolean]
  --dir-to-watch     Directory to watch for file changes. All subdirector
                     ies and files will be included. Defaults to the ampl
                     ify directory.                              [string]
  --exclude          An array of paths or glob patterns to ignore. Paths
                     can be relative or absolute and can either be files
                     or directories                               [array]
  --identifier       An optional identifier to distinguish between differ
                     ent sandboxes. Default is the name of the system use
                     r executing the process                     [string]
  --outputs-format   amplify_outputs file format
           [string] [choices: "mjs", "json", "json-mobile", "ts", "dart"]
  --outputs-version  Version of the configuration. Version 0 represents c
                     lassic amplify-cli config file amplify-configuration
                      and 1 represents newer config file amplify_outputs
                          [string] [choices: "0", "1.1"] [default: "1.1"]
  --outputs-out-dir  A path to directory where amplify_outputs is written
                     . If not provided defaults to current process workin
                     g directory.                                [string]
  --profile          An AWS profile name.                        [string]
  --once             Execute a single sandbox deployment without watching
                      for future file changes                   [boolean]

SSMCredentialsError: UnrecognizedClientException: The security token included in the request is invalid.
Resolution: Make sure your AWS credentials are set up correctly and have permissions to call SSM:GetParameter
Cause: The security token included in the request is invalid.
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ cat ~/.ssh/id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDYPMukd/L/Gk9+6nqC6W8qjiVNZGg62LW7xNymiX97XG3ZcKvgric000TgFt2Xn9Bd8nC6cgj6Ju2DIHa4jktxXcyz+C2J1wgvdEPOSXk2L4VQiPDNLG0/eGXiHFOnI8OOYaBVFNaHOEoRwUtGMP6Xay6nt9pJ3NFNkWPUqSgMrlD9C5O8FsuNx3bQNnK/Ep1C2s1mA61kcYnMaRrdmQuNyQPCS/dJ7pl54EL4ZiIAP5qA/yF2c6QaZrmg8rs5lxKP57jgZk3rR2S1Rmeu+s+Lmxi8l5aPMPRihN6gX9yAIWFUBixMMAZiZuSEYp/iYAtyVtIjsFYAFYBvBZEYSFQ9mLIMlDPjW8kkG8aHlsLj/MGNLzJzb0GqVsHAhbMf4V2RktoC1f0+S0h4uBjuoidLk9ohV9RRTI11Y9Buw5drUdQ04D1ofDsr9rYZ+bF5Rb7HW6zpb/7p+FsUl/htzonaridONOQx8TuccCKd3c2tu9gZenwh5ouCBCYwn5r88mU= jeromes@gamingrig
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ cat ~/.aws/
cli/         config       credentials  sso/
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ cat ~/.aws/
cli/         config       credentials  sso/
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ cat ~/.aws/config
[default]
region = us-east-1
sso_session = jeromes
sso_account_id =<PHONE_NUMBER>59
sso_role_name = amplify-policy
[sso-session amplify-admin]
sso_start_url = https://d-9067d3d0c0.awsapps.com/start
sso_region = us-east-1
sso_registration_scopes = sso:account:access
[sso-session jeromes]
sso_start_url = https://d-9067d3d0c0.awsapps.com/start
sso_region = us-east-1
sso_registration_scopes = sso:account:access
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ nano ~/.aws/con
fig
jeromes@gamingrig:~/Projects/amplify-vite-react-template$ npx ampx sandbox

ampx sandbox

Starts sandbox, watch mode for Amplify backend deployments

Commands:
  ampx sandbox delete            Deletes sandbox environment
  ampx sandbox secret <command>  Manage sandbox secrets

Logs streaming
  --stream-function-logs  Whether to stream function execution logs. Defa
                          ult: false. Use --logs-filter in addition to th
                          is flag to stream specific function logs
                                                                [boolean]
  --logs-filter           Regex pattern to filter logs from only matched
                          functions. E.g. to stream logs for a function,
                          specify it's name, and to stream logs from all
                          functions starting with auth specify 'auth' Def
                          ault: Stream all logs                   [array]
  --logs-out-file         File to append the streaming logs. The file is
                          created if it does not exist. Default: stdout
                                                                 [string]

Options:
  --debug            Print debug logs to the console
                                               [boolean] [default: false]
  --help             Show help                                  [boolean]
  --dir-to-watch     Directory to watch for file changes. All subdirector
                     ies and files will be included. Defaults to the ampl
                     ify directory.                              [string]
  --exclude          An array of paths or glob patterns to ignore. Paths
                     can be relative or absolute and can either be files
                     or directories                               [array]
  --identifier       An optional identifier to distinguish between differ
                     ent sandboxes. Default is the name of the system use
                     r executing the process                     [string]
  --outputs-format   amplify_outputs file format
           [string] [choices: "mjs", "json", "json-mobile", "ts", "dart"]
  --outputs-version  Version of the configuration. Version 0 represents c
                     lassic amplify-cli config file amplify-configuration
                      and 1 represents newer config file amplify_outputs
                          [string] [choices: "0", "1.1"] [default: "1.1"]
  --outputs-out-dir  A path to directory where amplify_outputs is written
                     . If not provided defaults to current process workin
                     g directory.                                [string]
  --profile          An AWS profile name.                        [string]
  --once             Execute a single sandbox deployment without watching
                      for future file changes                   [boolean]

SSMCredentialsError: UnrecognizedClientException: The security token included in the request is invalid.
Resolution: Make sure your AWS credentials are set up correctly and have permissions to call SSM:GetParameter
Cause: The security token included in the request is invalid.

Describe the bug
ive followed tutorial 5 times and always get this error what the heck is going on
?
Reproduction steps
https://docs.amplify.aws/react/start/account-setup/

NEVERMIND CLOSE THIS ISSUE..... YOUR TUTORIAL IS EXTREEMLY CONFUSING HOWEVER

Hey @movingelectrons, thank you for reaching out. Were you able to deploy the Amplify application?
Is there any particular information that was confusing in the quick start?

npx ampx sandbox returned 'Failed to instantiate nodejs function construct'

I'm getting the same error when running npx ampx sandbox --profile [my-selected-aws-profile] from the Full Stack tutorial.
How can I update the permissions to fix this?

@EmihleM2 could you open a new issue as the error appears to be related to a Lambda function defined in the project.

I am stuck on the same. I have not gone down the sso route but rather adding an iam user.
I'm using the npx ampx sandbox --profile  {profileName} command.
I'm getting this ⤵
SSMCredentialsError: AccessDeniedException: User: arn:aws:iam::xxx:user/xxxl is not authorized to perform: ssm:GetParameter on resource: arn:
aws:ssm:eu-west-2:xxx:parameter/cdk-bootstrap/xxx/version with an explicit deny in an identity-based policy

I've added an incline policy to this user and kept adding permissions.
At the end I gave the user all the stars available but I'm still getting the same error.
Thought that this would help but it didn't...
https://stackoverflow.com/questions/65653103/aws-system-manager-getparameters-permission-being-implicitly-denied

Found a solution. Had to create an IAM access key combo, add that to my aws credentials folder, and then use that profile in the step. The tutorial didn't include prep for that step or it assumed that you didn't already have a default set of credentials for another account set up.

@jaypostle thank you for the information, created a issue on the docs repository to update the guide: https://github.com/aws-amplify/docs/issues/7993
Closing the issue, do reach out if you are still experiencing this issue.

Found a solution. Had to create an IAM access key combo, add that to my aws credentials folder, and then use that profile in the step. The tutorial didn't include prep for that step or it assumed that you didn't already have a default set of credentials for another account set up.

@jaypostle I'm struggling with this one.
Also coming from gen 1. First time booting up a gen 2.
Getting error:
SSMCredentialsError: AccessDeniedException: User: arn:aws:iam::962870860415:user/m1-reddit-mac is not authorized to perform: ssm:GetParameter on resource: arn:aws:ssm:us-east-1:962870860415:parameter/cdk-bootstrap/hnb659fds/version because no identity-based policy allows the ssm:GetParameter action

I'm fairly new to managing permissions and credentials in AWS. Any more details you could share?

Found a solution. Had to create an IAM access key combo, add that to my aws credentials folder, and then use that profile in the step. The tutorial didn't include prep for that step or it assumed that you didn't already have a default set of credentials for another account set up.

I'm also stuck with this one. And running "aws sso login" as @ykethan suggested didn't work.
Error:
SSMCredentialsError: UnrecognizedClientException: The security token included in the request is invalid. Resolution: Make sure your AWS credentials are set up correctly and have permissions to call SSM:GetParameter Cause: The security token included in the request is invalid.

Cannot run npx ampx sandbox, I've checked everything but not works facing with this error ===> could not determine executable to run
I also did "aws sso login" and try to reinstall and install, I did every way, but not works

hey @AndaHendriksen, if the sso login did not mitigate the issue, I would suggest checking the local create AWS profile present. If you already have a profile named default, i would suggest naming the new profile to a different name.
@Lilikh could not determine executable to run appears to be different issue from the posted issue here. But to mitigate the issue i would suggest removing the local package-lock.json and the node_modules folder then re-installing the dependencies


Figure out better organizational system

Template system (Add common footer, surrounding head tag, etc)
Support per-project builds & custom stack

Maybe --
Turn this into a monorepo of frontend websites
Each folder is built + deployed to S3 bucket folder
Cloudflare worker handles the routing, injecting universal footer


bug(google-maps): google.maps.event.addDomListener() is deprecated

Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
Using the google-maps component, I get the following warning
js?key=AIzaSyAIaEtUO9A0jP2wlE4wIi3t7Dl4z6xwMP4:261 google.maps.event.addDomListener() is deprecated, use the standard addEventListener() method instead

This isn't a bad issue, but it the log is displayed around 100 time in the google console, which make debugging quite impossible.
Reproduction
Steps to reproduce:

Use: `"@angular/google-maps": "14.0.4"

Expected Behavior
No warnings
Actual Behavior

Environment

Angular: v14.0.4
CDK/Material: v14.0.4
Browser(s): Chrome
Operating System (e.g. Windows, macOS, Ubuntu): Windows 10

This only happens when using clustering and it should be resolved together with #23695. I have an implementation of the new clustering library (#24853), but rolling it out will be tricky, because it doesn't support the same features as the old one.
Closing as a duplicate of #23695.


[FLINK-9770][rest] Fix jar listing

What is the purpose of the change
Ensures that uploaded jars adhere to the naming scheme that the JarListHandler expects.
Verifying this change
Manually verified.

upload any jar
refresh page
jar should show up

+1

merging.


linux fails to holepunch locally

The Linux build fails to hole punch with both peers on the same machine..
Both peers successfully connect to server and both receive the hole punch message.
They successfully create reusable non blocking listen socket and listen, they also successfully create and bind (not connect) the first socket connecting to the given public endpoint, but fail on the connect call.

(The Creating Connection socket to: <IP_ADDRESS>:52542 line is misleading as <IP_ADDRESS>:52542 is just the local binding not the target endpoint)

Turns out linux_socket.cpp was using the wrong comparison when checking if an error code was EAGAIN or EINPROGRESS and was throwing when it shouldn't have.
Now instead the linux build has gotten stuck further along.

It appears to be throw an exception when polling for a successful connection, in linux_platform.cpp:450

Well after modifying the client.cpp hole_punch code to process a failed connection better, the linux build has now progressed to almost hole punching. One of the peers retries a few times, fails on all of them, but then receives an incoming connection on the listen socket, which is tries to authenticate.
Listener output:

(It appears the listener dies on an exception, but this exception appears to simply be from an empty message, which indicates connection has been closed, so the listener does not appear to have any erroneous behavior at this point in time)
Connector output:

(Appears to fail when converting the socket that connects to a regular data socket)

After preventing checking of sockets while a socket is being authenticated, the linux and windows build now both hole punch on the same machine.


Honda  Homepage Clone

Description
Description of the project here:
I want to add Honda  Homepage Clone which will be made using HTML,CSS,JS and the code will be responsive.
Code of Conduct

[X] I follow Contributing Guidelines of this project.

/assign


shell meta load add concurrency

What problem are we solving?
How are we solving the problem?
How is the PR tested?
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.

This can cause problems where file metadata is created first before the directory. To fix this, we can iterate through the folders as a single thread, and then concurrently to process all the files.

This can cause problems where file metadata is created first before the directory. To fix this, we can iterate through meta dump twice: the first time to process the folders as a single thread, and the second time concurrently process all the file metadata.

@chrislusf I'm not sure if this is a problem at the time of loading.
The base scheme allows you to load in any order, and the display may suffer at the moment, but this is expected
create table seaweedfs.filemeta
(
    dirhash   bigint        not null comment 'first 64 bits of MD5 hash value of directory field',
    name      varchar(1000) not null comment 'directory or file name',
    directory text          null comment 'full path to parent directory',
    meta      longblob      null,
    primary key (dirhash, name)
)
    charset = utf8;

for example, this would not work well for Redis.

@chrislusf I left one pass before creating folders in one thread, since only folders always go at the beginning of the file.


Adding myself to AUTHORS.rst (https://github.com/magul)

Could you squash the fixup commit?

@svaarala done.

Thanks!


Fix SimVisaLibrary.read violating viRead success code specification

hi! this fixes #45.
i believe this implementation is spec. compliant, with one possible exception: there's a case that the spec. doesn't seem to state what should happen in.
Rule 6.1.7 states that when using ASRL with VI_ATTR_ASRL_END_IN = VI_ASRL_END_TERMCHAR, when a termination character is read it should get treated as having an END indicator.
as far as I can tell, however, the spec. does not state what should happen when using ASRL with VI_ATTR_ASRL_END_IN = VI_ASRL_END_LAST_BIT and a character arrives with the matching bit set. should it get treated as END or should it get treated as a termination character? the status code depends on which it gets treated as.
since the only three cases for VI_ATTR_ASRL_END_IN are VI_ASRL_END_NONE (uninteresting), VI_ASRL_END_TERMCHAR, and VI_ASRL_END_LAST_BIT and since Rule 6.1.7 explicitly states that VI_ASRL_END_TERMCHAR causes the character to get treated as having an END indicator, not as a termination character, it seemed to me that it is more more appropriate for VI_ASRL_END_LAST_BIT to also cause the character to get treated as having an END.
either way, this fixes #45 though.

Thanks @gschaffner


Nothing happens on click to confirm email

I am using this started for an open source web site https://github.com/bzhr/funky_fresh. Identity widget is loaded in the index page https://github.com/bzhr/funky_fresh/blob/master/src/pages/index.js
In the console I can see the widget is loaded by checking the window.netlifyIdentity object. But when I hit the confirm email link in my email I am redirected to the index page, the token is in the URL, but nothing happens.
If the email is from Gmail the user can sign in with gmail and the email will be confirmed, however some users won't use gmail emails, so this isn't a solution. Not sure if I am doing something wrong, or there's an issue with the identity widget.

It's because you're loading the widget async. It initializes after the DOMContentLoaded event fires, but that's already happened by the time it loads.
You have two options:

Remove the async attribute from the script tag.
Load the identity widget from npm and call init yourself.

I used option one, it seems the widget now loads. Thanks.

Note: https://github.com/netlify/netlify-identity-widget/pull/126 will add support for async loading.

The service is great! Keep up the good work!


autocomplete="off" doesn't work in Chrome

using autocomplete="off" does not stop Chrome's autofill from working.
The current workaround is to pass a random value to it
I use autocomplete="nope" and it works great.  You can put in any string value that is not "off" or "on" in there.
I suggest autocomplete="awesomplete"
https://www.20spokes.com/blog/what-to-do-when-chrome-ignores-autocomplete-off-on-your-form
https://stackoverflow.com/a/38961567/395414
link to the spec

BTW I thought my PR would fix this, in the new Chrome's version, it didn't. 😭

Ok, after some investigation, it seems to fix some cases and some not. Maybe you can try in your own context @FranciscoG.

@antoinelyset your PR seems to have broken the autocomplete behavior in Firefox 63. I'm now seeing the native autcomplete menu on top of the Awesomplete menu:

Ugh, so I guess if it didn't fix it in Chrome and it broke it in Firefox, I'm gonna revert it until we figure out the best course of action.

@LeaVerou thanks so much for the quick turnaround.

No worries, though I did a release yesterday, and now I'm not sure what to do. :(

Aargh. This is problematic indeed, no good solution...
For the record it did fix the Chrome's bug in pre-69 version. Since 69 it's back.
We should let it "off", but maybe being able to parametreize would be useful.
For the release, just bump it to 1.1.4, it will like 1.1.2 with some fixes included.

Sorry about this!  Very frustrating indeed that Chrome is inconsistent.  My original solution worked for my needs at the time but I have since switched jobs and have not been able to test it since.

Is there an anticipated timeframe for releasing the reverted change made in https://github.com/LeaVerou/awesomplete/pull/17162?

Bump? Going to have to revert to using 1.12 because of this.

I'm also wondering how (if) this issue can be resolved - I tried to get consistent "autocomplete" behaviour for IE11, FF and Chrome (showing the suggestion on first click), but with Chrome showing both dropdowns (while FF would need two clicks without additional lib) its a bit unsatisfying :-(

I guess I should release a new version with the revert. Would that work for y'all? If so, I can do it later today.

@LeaVerou Hate to bug but can we get an update on this? (Happy New Year 🎉 )


Request::input — Asterisk operator incorrectly plucks when multi-dimentional dynamic array submitted

Laravel Version: 5.6.25
PHP Version: 7.2.9
Database Driver & Version: NA

Description:
When you use asterisk access operator in multi-dimentional array, the key names are lost. I think because pluck() (that's used deep in the input() method) receives wrong key.
Further debug in tinker console.
Steps To Reproduce:
$request->input('flags');
array (
  'red_flag' =>
  array (
    0 => '0',
    1 => '1',
    2 => '1',
  ),
  'blue_flag' =>
  array (
    0 => '1',
    1 => '1',
    2 => '0',
  ),
)

$request->input('flags.*.0')
array (
  0 => '0',
  1 => '1',
)

Expected:
$request->input('flags.*.0')
array (
  'red_flag' => '0',
  'blue_flag' => '1',
)

Additional Information
$request->input('flags.*')
array (
  0 =>
  array (
    0 => '0',
    1 => '1',
    2 => '1',
  ),
  1 =>
  array (
    0 => '1',
    1 => '1',
    2 => '0',
  ),
)

#26213 # Workaround
collect($request->input('flags'))->pluck(0);
Illuminate\Support\Collection::__set_state(array(
   'items' =>
  array (
    0 => '0',
    1 => '1',
  ),
))

though it still loses the key names after pluck
Proper Workaround
$index = 0;
        $xx = (new Collection($request->input('flags')))->mapWithKeys(function($item, $key) use ($index) {
            return [$key =>  $item[$index]];
        })->all();

array(
  "red_flag" => "0"
  "blue_flag" => "1"
]

For me, [0 => '0', 1 => '1'] is the expected result.

This is actually as intended. Keys aren't meant to be preserved here.


When run Bitmovin and merge code with bitmovin integration

When we add URL from object you shared on android getting this error, For ios pod issue

Hi @ankit-wow ,
thanks for taking the time to report this issue - could you please provide more detail on the error you are seeing on Android?
Thanks

Closing due to now feedback


missing in charts/ directory: postgresql

Hello,
I'm getting an error while installing, is there a template for postgres missing?
$ helm upgrade --install airflow airflow/ --namespace airflow --values examples/kube/dags-volume-readwritemany/values.yaml
Release "airflow" does not exist. Installing it now.
Error: found in Chart.yaml, but missing in charts/ directory: postgresql

This is from following https://medium.com/terragoneng/setting-up-airflow-on-kubernetes-with-aws-efs-c659f3a16292

Nevermind, fixed with
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo update
cd airflow
helm dependency update


signTransaction doesn't work

For standard call:
{"jsonrpc":"2.0",
 "method":"emerald_signTransaction",
 "params":[
	{"from":"0xb485aa7a24264bd5172792e997cdaf7cbc55f58f",
	 "to":"0x2c22ac70c91879211192e1109be56ded4562c756",
	 "gas":"0x5208",
	 "gasPrice":"0x04a817c800",
	 "value":"0x016345785d8a0000",
	 "passphrase":"12345678"
	}
 ],
 "id":11}

I got:
{
	"jsonrpc": "2.0",
	"error": {
		"code": -32602,
		"message": "Invalid params: data did not match any variant of untagged enum Either."
	},
	"id": 11
}

If I add nonce (which I don't have currently):
{"jsonrpc":"2.0",
 "method":"emerald_signTransaction",
 "params":[
	{"from":"0xb485aa7a24264bd5172792e997cdaf7cbc55f58f",
	 "to":"0x2c22ac70c91879211192e1109be56ded4562c756",
	 "gas":"0x5208",
	 "gasPrice":"0x04a817c800",
	 "value":"0x016345785d8a0000",
	 "nonce": "0x100",
	 "passphrase":"12345678"
	}
 ],
 "id":11}

the response is (nothing in logs):
{
	"jsonrpc": "2.0",
	"error": {
		"code": -32603,
		"message": "Internal error"
	},
	"id": 11
}

Just tested and it works for me.
Am getting similar error when there is no corresponding Keyfile in storage for sender.
@splix cab you verify with emerald_listAccounts, that from address exists in your keyfile storage?

If account doesn't exist - {"jsonrpc":"2.0","error":{"code":-32603,"message":"Internal error"},"id":11}. No informative error.

If account exists, it's ok:
> curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"emerald_signTransaction", "params":[{"from":"0xe99855f8b0af594a7f8529dc0f0ad3f145d0a1f3", "to":"0x2c22ac70c91879211192e1109be56ded4562c756", "gas":"0x5208", "gasPrice":"0x04a817c800", "value":"0x016345785d8a0000","nonce":"0x1000", "passphrase":"1234567890"}], "id":11}' http://<IP_ADDRESS>:1920
{"jsonrpc":"2.0","result":["0xf86f8210008504a817c800825208942c22ac70c91879211192e1109be56ded4562c75688016345785d8a000080819ea0dfb8f81a6910d62ce0a134d66daa4dc92be2b282f08799e2835b0ef6ea79e699a020cc67e58b0cf9fbb73a14082dc653a6cf2e84e32c9fd34ccf200d8762af2c94"],"id":11}

And without nonce:
> curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"emerald_signTransaction", "params":[{"from":"0xe99855f8b0af594a7f8529dc0f0ad3f145d0a1f3", "to":"0x2c22ac70c91879211192e1109be56ded4562c756", "gas":"0x5208", "gasPrice":"0x04a817c800", "value":"0x016345785d8a0000", "passphrase":"1234567890"}], "id":11}' http://<IP_ADDRESS>:1920
{"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params: data did not match any variant of untagged enum Either."},"id":11}

@splix did you use not existing account, that's right?

@dulanov existing account.
$ cat ~/Library/Emerald/default/keystore/UTC--2017-06-07T02-31-24Z--43b4d5d8-5f15-4026-be2f-ac706dec3870
{"version":3,"id":"43b4d5d8-5f15-4026-be2f-ac706dec3870","address":"b485aa7a24264bd5172792e997cdaf7cbc55f58f","name":"test","description":null,"crypto":{"cipher":"aes-128-ctr","cipherparams":{"iv":"b743b94d7b9b423e0dc7d5d8e4c5b70e"},"ciphertext":"12bff627446143b2aa98befdec251b8562ace337f817d07ce99da5cfafca3035","kdf":"scrypt","kdfparams":{"dklen":32,"salt":"587a001ad1233e01b6b62835fb8b4a83ae8ee736f2d748217f1dc5589ad462b0","n":1024,"r":8,"p":1},"mac":"1ae5586eba8e6cf3e643139d348423d8b980711ac04fc0a8bb68febc0a73f1c6"}}%

and returned by listAccounts:
$ curl --request POST \
  --url http://localhost:1920/ \
  --header 'content-type: application/json' \
  --data '{"jsonrpc":"2.0",
 "method":"emerald_listAccounts",
 "params":[],
 "id":11}'
{"jsonrpc":"2.0","result":[{"address":"0xb485aa7a24264bd5172792e997cdaf7cbc55f58f","name":"test"},{"address":"0x2c22ac70c91879211192e1109be56ded4562c756","name":"test 2"},{"address":"0x83596bfbd39a5e8f62d2d36bacbaa3645cf0e4f2","name":"test"}],"id":11}

Anyway, Invalid params: data did not match any variant of untagged enum Either. doesn't look like it's related to existence of file at all

I found why it didn't work with nonce specified. Emerald expects even number for hex, so 0x100 didn't work. But 0x1000 works fine.
So there're two issues:

it requires nonce
it requires even number of digits for hex (I know that it's correct, but shouldn't be requirement)

@splix nonce is mandatory field to sign transaction, so we definitely need it.

I also reproduce the error for odd nonce:
> curl -s -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0", "method":"emerald_signTransaction", "params":[{"from":"0xe99855f8b0af594a7f8529dc0f0ad3f145d0a1f3", "to":"0x2c22ac70c91879211192e1109be56ded4562c756", "gas":"0x5208", "gasPrice":"0x04a817c800", "value":"0x016345785d8a0000","nonce":"0x100", "passphrase":"1234567890"}], "id":11}' http://<IP_ADDRESS>:1920
{"jsonrpc":"2.0","error":{"code":-32603,"message":"Internal error"},"id":11}


Behavior of Shift + End changed

VSCode Version: 1.8.0-insiders

Steps to Reproduce:

Select one line up with Shift+↑
Try to only select till the line end with Shift+End

Expected:
The cursor jumps to the end of the line where the cursor currently is (like in stable)

Actual:
The cursor jumps to the end of the line where the selection ends

Same problem with Pos1

Duplicate of #17011.


Generic error message: 'DremioBadRequestException' object has no attribute 'replace'

When I run the models with dbt on Dremio, and the creation of a view fails I always receive the same generic error.
'DremioBadRequestException' object has no attribute 'replace'
Would it be possible to get the real error message instead?
What's the macro we have to edit to get the specific error that we can check in the Dremio jobs instead?

Hi @nicodp-leap , are you using dbt-dremio <IP_ADDRESS> or dbt-dremio 1.1.0?

Hi @jlarue26, I'm using dbt-dremio 1.1.0

@ArgusLi @ravjotbrar please confirm we have addressed this under another issue.

Hi @nicodp-leap! Could you please give me a way to reproduce this bug? Also does this bug still occur with dbt-dremio 1.3.0?


Doc: Incorrect reference for no group ldap file

https://docs.cloudfoundry.org/api/uaa/#ldap contains the following text:
The file to be used for group integration. Options are: ldap/ldap-no-groups.xml, ldap/ldap-groups-as-scopes.xml, ldap/ldap-groups-map-to-scopes.xml

The first option should be ldap/ldap-groups-null.xml

Fixed via
https://github.com/cloudfoundry/uaa/commit/03816dfff531ddef204f8f8199c189c8c7087faf


koord-scheduler: DeviceShare supports preempting devices

Ⅰ. Describe what this PR does
Enhanced DeviceShare scheduling plugins

support preempting Devices

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it

Create a Pod and apply for all GPUs on a specified node. In the scenario I tested, a node has two GPU instances

$ cat << EOF | kubectl apply -f -
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: test-reserve-gpu
  name: test-gpu-deploy
  namespace: default
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: test-reserve-gpu
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: test-reserve-gpu
        koordinator.sh/qosClass: LS
    spec:
      containers:
      - args:
        - "3600"
        command:
        - sleep
        image: nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda10.2
        name: test
        resources:
          limits:
            cpu: "1"
            memory: 1Gi
            koordinator.sh/gpu: "200"
      schedulerName: koord-scheduler
EOF
deployment.apps/test-gpu-deploy created

Check Pod status

$ kubectl get pod -o wide
NAME                               READY   STATUS    RESTARTS   AGE   IP         NODE                    NOMINATED NODE   READINESS GATES
test-gpu-deploy-849874876f-cfvrr   1/1     Running   0          10s   <IP_ADDRESS>   cn-beijing.<IP_ADDRESS>   <none>           <none>

Create a Pod with high priority than pre-created pod

$ cat << EOF | kubectl apply -f -
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: high-test-reserve-gpu
  name: high-test-gpu-deploy
  namespace: default
spec:
  progressDeadlineSeconds: 600
  replicas: 1
  revisionHistoryLimit: 10
  selector:
    matchLabels:
      app: high-test-reserve-gpu
  strategy:
    rollingUpdate:
      maxSurge: 25%
      maxUnavailable: 25%
    type: RollingUpdate
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: high-test-reserve-gpu
        koordinator.sh/qosClass: LS
    spec:
      containers:
      - args:
        - "3600"
        command:
        - sleep
        image: nvcr.io/nvidia/k8s/cuda-sample:vectoradd-cuda10.2
        name: test
        resources:
          limits:
            cpu: "1"
            memory: 1Gi
            koordinator.sh/gpu: "100"
      priorityClassName: system-cluster-critical
      schedulerName: koord-scheduler
EOF
deployment.apps/high-test-gpu-deploy created

Watch the Pod status

$ kubectl get pod -o wide
NAME                                   READY   STATUS        RESTARTS   AGE   IP         NODE                    NOMINATED NODE          READINESS GATES
high-test-gpu-deploy-dcd465c44-mq9bv   0/1     Pending       0          4s    <none>     <none>                  cn-beijing.<IP_ADDRESS>   <none>
test-gpu-deploy-849874876f-8fpsk       0/1     Pending       0          4s    <none>     <none>                  <none>                  <none>
test-gpu-deploy-849874876f-cfvrr       1/1     Terminating   0          21s   <IP_ADDRESS>   cn-beijing.<IP_ADDRESS>   <none>                  <none>

Get events of preempted pod

$ kubectl get event | grep cfvrr
38s         Normal    Preempted           pod/test-gpu-deploy-849874876f-cfvrr        Preempted by default/high-test-gpu-deploy-dcd465c44-mq9bv on node cn-beijing.<IP_ADDRESS>

As the result shows, Pod test-gpu-deploy-849874876f-cfvrr is preempted by high-test-gpu-deploy-dcd465c44-mq9bv.
$ kubectl get pod
NAME                                   READY   STATUS    RESTARTS   AGE
high-test-gpu-deploy-dcd465c44-mq9bv   1/1     Running   0          6m39s
test-gpu-deploy-849874876f-8fpsk       0/1     Pending   0          6m38s

Ⅳ. Special notes for reviews
V. Checklist

[x] I have written necessary docs and comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in make test

/approve


Update readme for clarity

Readme was a little unclear, so fixing a little Prisma vs Prismaliser usage

Thanks for catching that!


feat: Add hidden branch-meta commands

This adds hidden branch-meta commands for the internal metadata access.
Useful for debugging / addressing user issues.
This neglects the parent-child relationship maintenance and just try to
rebuild the relationship from parents for all branches.

Can we change the av branch-meta set-parent command to just av branch-meta set and that way we can add other options in the future?
av branch-meta set <branch name> --parent=<parent branch name>

Also, adding av branch-meta rebuild-children as a command would be good IMO.

Done.


separate generic mod

Adds option -g which when enabled store contents of generic.rs in separate file.
It's useful for common crates like stm32f1 where one crate for several pacs.
Use syn::parse instead of vector of quote!.

r? @Emilgardis
(rust_highfive has picked a reviewer for you, use r? to override)

r? @therealprof
#360

bors r+


remove empty lines in secret

This PR does the following:

Ensures that the mirror secret is in correct format, eliminating any extra lines
Unit tests to test the same

The changes were actually squashed into the last commit of the ce-release-1.13.1 branch. We can therefore close this one.


Check SHAs are up to date in a GH action

As per discussion in https://github.com/Watts-Lab/surveys/pull/104, we should use a github action to check that SHAs are up to date on push, and if not, disallow merge.

Possible task for @mykoal


Add scroll view to the "your lists" category.

Checklist

[x] Bug Report - The issue you are reporting might be there already. Please search on the issues tracker before creating or reporting an issue.
[x] Before reporting, please ensure (if you can) that you have tested it with the latest (dev) version of the software.
[x] Don't forget to tag your issue, it makes it easier to discover.
Summary:

There is no scroll view for "Your lists" segment.Add scroll view to it.
Steps to reproduce:
1.Go to menu.
2.Click on your lists.
3.see the error.
Expected behavior:
Adding a scroll view will be the best.
Observed behavior:
There is no scroll view.
Device and Android version:
asus 3s max,OS 7.1
Screenshots:

I want to work on this

This is not a bug, the RecyclerView implements a Scrollview, so this scrolls by default.
https://developer.android.com/reference/android/support/v7/widget/RecyclerView


Arrow function allows return of different type with explicit void declaration as the return, normal function declarations though throws an error

TypeScript Version:  3.8.3
Search Terms:
arrow function allows a return of different type with explicit void declaration
Code
const a = () => 3;

const f1: () => void = () => {
  // all good
  return a();
};

function f2(): void {
  // Type 'number' is not assignable to type 'void'. ts(2322)
  return a();
}

Expected behavior: both return statements should have the ts(2322) error.
Actual behavior: only the function declaration has the ts(2322) error, even though both functions have the same type.
Playground Link: http://www.typescriptlang.org/play/?ssl=1&ssc=1&pln=9&pc=2#code/MYewdgzgLgBAhjAvDAFASiQPhgZgNwBQBoksAZgIwBcqGi2AbiAJYAmStWMA3gTDACcAplACuAsPHSEAvoQJlRYYFGbgYZAEzoaTNjz6CR4yXGkEZQA
Related Issues: #20006

This is the intended behavior.

Would you mind clarifying the reasoning? I found it strange considering that the final type of both functions is exactly the same: () => void. I tried to search about it in the documentation but didn't find anything. Thanks.

void means "there may or may not be a value here. Don't use it"

That's all true @AnyhowStep, but it doesn't explain why in the function declaration it throws and in the arrow function it doesn't.

The same reason why we have excess property checks in some places, and don't in others.
A tradeoff between correctness, usability, and intent.

In my opinion, this:
const f: () => void = a();

Should be disallowed yes, if a is a function that has a different return type. If you want this assignment to work, then you either use inference, or you use () => any and accept any function type. What I'm understanding here, in other words, is that declaring () => void is pointless.
But opinions aside in what's correct or not here, it's super strange that the function declaration behavior is different. It should've been at least consistent. For the user (developer) point of view, both are functions and behave exactly the same.
This definitely looks like related to #20006, as this behavior seems very opaque.


Mark pyside2 as optional and update dependencies

Marks pyside2 as optional and part of an extra qt. In doing so, the dependencies in the poetry.lock file are also updated. setup.py is regenerated to pick up this change.
Closes #331

I did the following in order to test this:

Checked out this branch, built with contrib/build_dist.sh
installed on a raspberry like this:

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /tmp/hwi-1.1.0.tar.gz
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: pyaes<2.0,>=1.6 in ./.env/lib/python3.7/site-packages (from hwi==1.1.0) (1.6.1)
Requirement already satisfied: mnemonic<0.19.0,>=0.18.0 in ./.env/lib/python3.7/site-packages (from hwi==1.1.0) (0.18)
Requirement already satisfied: typing-extensions<4.0,>=3.7 in ./.env/lib/python3.7/site-packages (from hwi==1.1.0) (3.7.4)
Requirement already satisfied: hidapi<0.8.0,>=0.7.99 in ./.env/lib/python3.7/site-packages (from hwi==1.1.0) (0.7.99.post21)
Requirement already satisfied: ecdsa<0.14.0,>=0.13.0 in ./.env/lib/python3.7/site-packages (from hwi==1.1.0) (0.13.3)
Requirement already satisfied: libusb1<2.0,>=1.7 in ./.env/lib/python3.7/site-packages (from hwi==1.1.0) (1.7.1)
Requirement already satisfied: pbkdf2 in ./.env/lib/python3.7/site-packages (from mnemonic<0.19.0,>=0.18.0->hwi==1.1.0) (1.3)
Requirement already satisfied: setuptools>=19.0 in ./.env/lib/python3.7/site-packages (from hidapi<0.8.0,>=0.7.99->hwi==1.1.0) (46.3.0)
Building wheels for collected packages: hwi
  Building wheel for hwi (PEP 517) ... done
  Created wheel for hwi: filename=hwi-1.1.0-py3-none-any.whl size=165060 sha256=0f167086935eed75d0b46ce45f263eedb3fe98c359f75df9dfae5d497dc5db06
  Stored in directory: /home/bitcoin/.cache/pip/wheels/b8/5b/29/bfd76885851bac876a1a11273251908906bc479ccb59534dc8
Successfully built hwi
Installing collected packages: hwi
Successfully installed hwi-1.1.0
(.env) bitcoin@raspberrypi:~/.specter $

Looks good to me!


make.go: make sure things don't get uselessly rebuilt

Brad pointed out that at least zsearch.go seeems to be regenerated every time make.go is run. Look into that.

Could I take a look ?

From make.go:genSearchTypes() on line 443 we are launching go generate camlistore.org/app/publisher/js
From camlistore.org/app/publisher/js/main.go there is this a go directive :go:generate go run gensearchtypes.go -out zsearch.go

Proposition:
We could check whether or not if the file is already generated, then if yes, we could check if it's the same as tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/zsearch.go ?
Then if the file is the same, we don't launch go generate...

I'm already on it. the problem is even though we do check the modtimes, zsearch.go is mirrored from what we have in the repo (and not created by go generate), which actually has an older modtime than the source file it is generated from.

I think I'm pretty close so I'm going to send a CL soon, but feel free to beat me to it if you want. maybe you'll come up with a better solution.

https://camlistore-review.googlesource.com/#/c/camlistore/+/11366

@sterchelen also, please don't take this as if we didn't want any help. it just so happens that I had already started on that earlier today. Feel free to work on any issue you're interested in.

No problem. I'm here to help and to learn !

I love the idea of having a self-sufficient make.go. Has anyone considered expanding this to a more generalize build mechanism for the broader golang community?

@bruceadowns I'm not sure what you mean. Ideally a go project should not need anything more than "go build/install".
Even though Camlistore is indeed a pretty complex piece of software, I feel it's more of a failure of our part that we do need to have make.go. We should work towards removing that need imho.
Additionally, a large part of it is just to provide an isolated building environment, which is not really needed nowadays with containers.
Anyway, our make.go is mostly specific to Camlistore, so I'm not sure how much you'd want to reuse/generalize for other projects.


TypeError Cannot read property 'logo' of null

Appears under components/Navigation.vue:19:

@the-mcnaveen,
Thanks for reporting. I'm looking at it. Let me know if you find anything first, and feel free to submit a PR!

@the-mcnaveen, we had a user report similar behavior in #12 .
Are you running the npm run generate command to get this error?

I fixed it buddy :smile:
Here is the .env template

GHOST_URI=http://SITE_URL
GHOST_KEY=59442ae645d040a3490f0065a5
SITE_URL=http://SITE_URL

And I faced one more error. So fixed it and made PR #16

@the-mcnaveen,
Glad that fixed the problem.
I appreciate your commit to number #16. I need to make sure that we're automatically applying linting for a consistent style and rule set (we have a nuxt rule set already) upon commits.


Improvements

Can one of the admins verify this patch?

@resin-jenkins retest this please

restest this please

retest this please

@resin-jenkins retest this please

@resin-jenkins retest this please


index blank page after detele _install folder

Hello huys, after delete "_install" folder my index is blank/empty, no error, nothing, on localhost wampp work perfectly, why?

Put into Development Mode via config file /_protected/app/configs/config
You will prob get an error related to Service.class.php
Go to _protected/framework/Server/Service.class.php and find line 164 add /* at beginning and */ at end of coding like below. Save and upload, refresh site.

{
// Check if mod_rewrite is installed and is configured to be used via .htaccess
/* if (!strtolower(getenv('HTTP_MOD_REWRITE')) === 'on') {
$sOutputMsg = 'mod_rewrite Works!';
        if (Uri::getInstance()->fragment(0) === 'test_mod_rewrite') {
            exit($sOutputMsg);
        }

        $sPage = @file_get_contents(PH7_URL_ROOT . 'test_mod_rewrite');
        return $sPage === $sOutputMsg;
    }*/

    return true;
}

Hi there @Shearsmith1337!
Could you try to enable the development mode to show the PHP errors (exceptions) on the page?
To do so, please edit _protected/app/configs/config.ini, and replace environment = production to environment = development, and then save it.
Then, go back to your web browser and refresh the page.
From there, you will normally see an explanatory PHP error message. Let me know the error(s) you see from there. I will be able to help you once you can share the error message 🙂
Good luck,
Have a great day ☀

@Shearsmith1337  your scripts run perfectly on wampp server because you have your Apache running, Try to install and configure Apache 2.4 on your local machine. you wont experience the problem at that.


[TO-PR] [Twitter] Privacy Report Submission.

name: Twitter
ratings:
locationTracking: 0
dataRetention: 1
userControl: 0
darkPatterns: 0
crossSiteTracking: 1
summary: "/privacy-report-card/details/twitter"
reference: "https://google.com/privacy"
category: "privacy-report-detail"
Twitter's Privacy Policy - Summary

sunnary

This issue was automatically created from an API call.


How to create a scenario to park the car in Town 05?

Describe our question or idea
Hello
I am planning to create a scenario in which the car needs to enter the parking lot and park by itself. But while going through the current available scenarios, I was not able to find the solution. Since the waypoint does not goes through the parking lot, I find it difficult. Do you have any idea about how can I do this?
Expected behavior
Vehicle enters the parking lot
Screenshots

@glopezdiest Do you have any feedbacks on this?

@siddharthjain38 The issue is that there are no waypoints avaialble inside the parking lot. I think its because there is no road associated with it. Do you know any way to create a simple openscenario file to use with carla?

Try using world postion and then changing carla's get_waypoint method to position it to a custom location


[BOT PR] to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
If they are not already assigned, you can assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
2538f578ff76719ba6716c0191d7a408c625ede3
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
2538f578ff76719ba6716c0191d7a408c625ede3
link
/test istio-unit-tests

prow/e2e-bookInfoTests-v1alpha3.sh
2538f578ff76719ba6716c0191d7a408c625ede3
link
/test e2e-bookInfo-envoyv2-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


The generated website with 1.1 has bad urls

My point clouds do not load, due to erros where urls do not exists like the example given below.
http://sinnovations.blob.core.windows.net/points/test4/resources/pointclouds/1km_6206_643.laz/data/r//r.laz 404 (The specified blob does not exist.)
Looks like in url = this.pcoGeometry.octreeDir + "/" + this.getHierarchyPath() + "/" + this.name; that getHierarchyPath returns paths with suffix "/", and therefore the path has two "//"

Interesting. The double "//" has been there for a long time but  that's the first time I hear about it causing problems. Maybe it's the server configuration that does not accept double dashes.

Could be that I am using Microsoft Azure blob storage to host generated data. Its not that common yet in the GIS community.

Also noticed that with output set to laz, then the generated website do not include the needed las js files.
About the double slash, i just remembered that I used the previously version without problem on azure blob storage. I think its related to the new Hierarchy that was added. this.getHierarchyPath()

Also noticed that with output set to laz, then the generated website do not include the needed las js files

Yes, I just uploaded http://potree.org/downloads/PotreeConverter/PotreeConverter_1.1.1.zip to fix this.
I'll fix the "//" tomorrow.

Cool. Awesome stuff btw.
I have 200km2 lidar data available that I would like to turn into potree format. Its already provided in a grid. I looked at all the documentation / examples that i could find, but was not able to figure out if its a trivial task to generate the potree  Hierarchy  in parrallel.
I have a algorithm service that enables me to very quickly scale and run many command line jobs. So i would be able to use potreeconverter on each grid element. I wonder if its possible to then combine the results from each job after.
Do you have any other place (google groups or similar?) where questions like above would be better to take up then here in the issue tracker?

Fixed the double slashes: https://github.com/potree/potree/commit/2caa4246949744457da8d944f45f7190060cd0c4

Do you have any other place (google groups or similar?) where questions like above would be better to take up then here in the issue tracker?

Not yet, I'll think about it

I have 200km2 lidar data available that I would like to turn into potree format. Its already provided in a grid. I looked at all the documentation / examples that i could find, but was not able to figure out if its a trivial task to generate the potree Hierarchy in parrallel.
I have a algorithm service that enables me to very quickly scale and run many command line jobs. So i would be able to use potreeconverter on each grid element. I wonder if its possible to then combine the results from each job after.

Parallel conversion is not possible, yet. Parallel conversion and merging afterwards is something I thought about but I haven't had the time, yet.

Just generated this group:
https://groups.google.com/forum/#!forum/potree

Cool. Parallel conversion would be awesome.  I will see if the forum gets any usage.

It will take some time until I can start with that, though.
In the meantime I'll try to improve the current process. The last commits to the develop branch nearly doubles performance for me but they're not thouroghly tested, yet.

No worries. I am just giving voice to what would be beneficial for us :)
Thanks for using your time on this cool project.


Global stopOnFail(true) should be overrideable with local stopOnFail

having set the global stopOnFail() to false should be overrideable
/**
 * RoboFile constructor.
 */
public function __construct()
{
	$this->stopOnFail(true);
}

the stopOnFail(false) in the taskExecStack() doesn't prevent the stop.
$this->taskExecStack()
	->stopOnFail(false)
	->exec('my failing command')
	->run();

Note that stopOnFail for stack-based commands has a completely separate function than Result::stopOnFail.  If Result::stopOnFail() is set to true, that takes precedence over the local stopOnFail functions. This is by design.
See also the new "Collections" classes (#271) as an alternative to Result::stopOnFail(), and also please see #270.


Please make this easier to understand

Hello, a youtube video with every step would be a godsend with this - as ive never used node.js and have no idea wth im doing.
Would grately appreciate it.

Mac OSX - its a little confusing for a first timer, already have zero trust, tls and everything configured on all devices but the process of getting it done on osx is quite intimidating.

I've just made a file called extended_guide.md that should help clear some things up. If you have problems with something that wasn't mentioned in that file, let me know.

Could you expand it into a details step 1, 2, 3, 4?
I will attempt to use the current guide and see how far i get.


Phenology notebook

Proposed changes
Uplift of the DCAL Phenology notebook, with some code simplification and additional markdown explanation at all stages.
Checklist (replace [ ] with [x] to check off)

[X] Remove any unused Python packages from Load packages
[X] Remove any unused/empty code cells
[X] Remove any guidance cells (e.g. General advice)
[X] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[X] Include relevant tags in the final notebook cell and re-use tags if possible
[X] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated

@caitlinadams @andrewdhicks The notebook and script are in a pretty good state now and could do with a fresh review if either of you have time.

I'll have a look at it this afternoon @cbur24
Xarray has also just released their latest version, so I'll look at updating the nearest etc functions so they are dask-enabled.

Thanks @andrewdhicks.  For the xr_phenology function I removed the dependency on first and last (used a neat little work-around with .median()), but if you could also look at other aspects of that function that could be daskified (even just one example that I could build off) then that'd be greatly appreciated.  In my testing I've found the function to be very fast, but also very memory hungry. Scaling could be difficult if we can't enable dask.

Hi @cbur24, the notebook looks really good and the xr_phenology function makes it nice and clear!

[ ] Move to Real_world_examples folder?
[ ] Add a Conclusions section, maybe pointing out what we have learnt from the various per-pixel plots?
[ ] Next steps: If there are any relevant advanced notebooks, or we can just describe how to go back and change the area or vegetation index?

Minor code and formatting issues:

[ ] in the Description section, NDVI and EVI are formatted as code/monospaced. Maybe bold instead?
[ ] remove warnings filters - we are moving to fixing issues in our scripts, and explaining actual relevant user warnings in the notebook
[ ] remove autoreload once you have finished doing the dev work on
[ ] add ; to the end of the line ndvi.mean(['x','y']).plot.line('b-^', figsize=(11,4))
[ ] Per-pixel phenology statistics: to fix the aspect ratio of the plots, try:fig, ax = plt.subplots(nrows=5, ncols=2, figsize=(18,15), sharex=True, sharey=True)

for a in fig.axes:
    a.set_aspect('equal')

Also, a quick question: I've only ever seen "zonal" stats being referred to when there is a zone classification raster involved. Is it just term for aggregating over area, and in this case we just have a single zone?
I'll let you know how I go with the dask-ifying.

@andrewdhicks thank you for the comprehensive review. I've addressed/incorporated all but one of your suggestions.  I was thinking it might make more sense to leave this notebook in the Frequently_used_code section because we aren't really addressing a specific environmental management problem, but rather simply demonstrating a capability.  If one of our users comes up with a specific use-case then lets write a separate notebook for that.
And yeah, I use the word 'zonal' as a general term to mean 'spatial mean', I think I picked it up in a remote sensing class somewhere.

I've added the dask functionality, but it requires xarray v0.16.0.
There's a few things that I'm not sure about:

I'm using HiddenPrint to hide the output for each chunk being processed. We should look at switching over to a more configurable logging method at some point.
I'm using dask's persist() method to save interim results to the dask cluster, which won't scale.
I has to remove the per-pixel time coord being returned from xr_phenology, but I'm not sure what time it held.

Converted to Draft until sandbox gets upgraded to xarray>=0.16.0


Upload Component: Behavour change after version 4.28.4. Attached files now lost after StateHasChanged called.

Describe the bug
When you bind the URL parameter to a variable you have to call StateHasChanged to get the Upload component to acknowledge the change.
Before version 4.28.5 this worked fine. Subsequent versions the list of files attached is lost.
To Reproduce
Bind URL to a parameter which is initially null.
Select a file to upload.
Force a change to the URL.
Run StateHasChanged
Action the upload.
The POST will action but there will be no files in the form.
Expected behavior
The file to be uploaded via the POST using the URL parameter now updated to a new value.

It was caused most probably by this change: https://github.com/radzenhq/radzen-blazor/commit/2077b0a35f429e844dba554b81a46ab4ec665d76
Not sure however if we can do anything to improve this.

OK thanks for the response. I have updated my code to send a header using the RadzenUploadHeader component with the variable data as that gets updated without a need to force using StateHasChanged.


generate tag variant track

Hi All,
I want to generate a track using copy from last frame option. It generates the track made of a sequence of bounding boxes. But there is a problem in my case, I want the track to carry multiple labels at the different time point, e.g. a person might carry sit then after a while the label change to stand then to stand and walk.
How can I achieve this in VOTT? Currently, the labels of the track get copied to all the previous frames in that particular track.
Thanks in advance,
Gurkirt

This problem is not there on a current branch with a unique id to each track. To use the dev branch, we need to press crtl+d twice every frame.


Feature: ShEX and local graph database for SPARQL querying

Goal

Implementing local graph SPARQL querying in the BioDataFuse workflows.
Serve as the base for other functions which will use SIB SPARQL LLM components to turn natural language prompts into SPARQL queries.

Possible solution
After the RDF generation workflow:

Generate ShEX schema, based on the actual contents of the generated graph. Two options:
a. Slice a complete BDF ShEX ttl based on what's on the generated graph,
b. Generate ShEX from VoID (see VoID generator and SIB SPARQL LLM)
Host local graph database instance, upload generated RDF graph
Provide wrapper functions for for the request-based SPARQL queries (use SPARQLWrapper?)

Additional context
To be followed by addition of a SIB SPARQL LLM module, which makes use of the ShEX and some sample queries to fine-tune an LLM to create queries compliant with our graph shapes.

Closed with #196


Service Lifecycle

Incorporate reference counting in the DeviceManager to better handle the lifecycle management APIs across multiple activities.
README.md in the example project explains the lifecycle management guidelines.

Please test with combustion-android-ble branch feature/service_lifecycle

looking great!


Add maven Badge

Once released on nexus, add badge for maven nexus location

Badges and instructions updated to point to maven central as the canonical release


WIP: Add Config API type to replace flags

What this PR does / why we need it:
This PR adds the initial Config API type that will eventually replace the use of flags to configure global controller options.
Still TODO:

[ ] Switch the controller.Context struct to use these new types
[ ] Adjust how default values are applied to the Config struct (this is currently handled by pflag)
[ ] Add a config loader that fetches a Config resource in the same namespace as cert-manager with the name default
[ ] Add a config watcher that automatically exits cert-manager and restarts when it observes a change in config

Which issue this PR fixes: fixes #777
Release note:

See also: https://github.com/luxas/sample-config
Looks like we don't have to re-invent the wheel entirely here :tada:


Created a new dump public method

This method allows to create a profile dump file using Python API
Signed-off-by: Vitalii Solodilov<EMAIL_ADDRESS>

Coverage increased (+0.2%) to 57.059% when pulling 73ff6abf30487fcab7c2ef45f9e54192fe9eb112 on mcdoker18:impr/dump_api into 19c458c24c397628d73c6bdbfba06bd0153de452 on what-studio:master.

If you don't mind with changes. Can you help me with python 3.3. test?
Collecting gevent>=1.1a1
  Downloading https://files.pythonhosted.org/packages/f8/85/f92a8f43c9f15ffad49d743d929863a042ce3e8de5746c63bb4d6ce51a02/gevent-1.3.4.tar.gz (4.6MB)
    100% |████████████████████████████████| 4.6MB 225kB/s
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-nm40uv/gevent/setup.py", line 417, in <module>
        run_setup(EXT_MODULES, run_make=_BUILDING)
      File "/tmp/pip-build-nm40uv/gevent/setup.py", line 401, in run_setup
        "signal_os_incompat = gevent.monkey:_subscribe_signal_os",
      File "/opt/python/3.3.6/lib/python3.3/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/setuptools/dist.py", line 268, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/setuptools/dist.py", line 313, in fetch_build_eggs
        replace_conflicting=True,
      File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/pkg_resources/__init__.py", line 804, in resolve
        requirements = list(requirements)[::-1]
      File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/pkg_resources/__init__.py", line 2930, in parse_requirements
        "version spec")
      File "/home/travis/virtualenv/python3.3.6/lib/python3.3/site-packages/pkg_resources/__init__.py", line 2906, in scan_list
        raise RequirementParseError(msg, line, "at", line[p:])
    pkg_resources.RequirementParseError: Expected ',' or end-of-list in cffi >= 1.11.5 ; sys_platform == 'win32' and platform_python_implementation == 'CPython' at  ; sys_platform == 'win32' and platform_python_implementation == 'CPython'

Thanks for the great work.  The build failure is not due to your patch.  So I'll fix the failure after merging it.


train_gcn_v.py    line 45: cfg.log_level  Error

train_gcn_v.py
line 45: cfg.log_level     Error : Logger must be a logging.Logger object
How can I fix it ?

Hi @1878708493 , I suspect it may relate to the version of mmcv. Would you mind sharing full error message? Or you may want to try pip install mmcv==0.2.15?


[BUG] Wrong tooltips on 'Kubernetes ISOs > selected ISO' screen

Describe the bug
Both tooltips on Kubernetes ISOs > selected ISO are wrong.
To Reproduce
Steps to reproduce the behavior:

Go to 'Images > Kubernetes ISOs', then click on ISO and look at the action buttons' tooltips - both are 'Update Kubernetes Version', which is incorrect.

Expected behavior
Button should have proper tooltips, something like 'Edit' and 'Delete'.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.04 LTS
Browser: Chrome
Version: 83.0.4103.61 (Official Build) (64-bit)

Additional context
None.

Fixed


Update String library to use Bytes type

Type of change

Improvement (refactoring, restructuring repository, cleaning tech debt, ...)

Changes
The following changes have been made:

Updated the String library to uses the Bytes type
Added new functionality to the String type:

from_bytes()
join()
set()
split()
swap()
as_vec()

Notes

The as_bytes() function now returns a Bytes type over a Vec<u8>, this is a breaking change.

Related Issues

Closes #82

Is there a point in the rust tests since they only call a wrapper i.e. check if something does not panic but not the actual behaviour?

I would eventually like to return the String once that is supported by the SDK. This also follows the same format of tests for the entire repository.


scroll on vertical bar chart

hi, I want to have a long bar chart and  I want to be scrolling. in features , cant find this feature for bar chart and my chart labels is disappear. please add this feature on bar chart.

(attached file is showing what I want)
thankyou!

shall I make a pull request on this issue?

@kurkle has the best answer for this

@sabaashrafi Was Your problem of getting a vertical scroll to the chartJS plugin solved?
I need the solution for the same. Please help me.

Implementing scroller on html container will be affected by the max height limitation of the canvas in browser.
Although Chrome supports 65,535px on height, I noticed when the canvas height exceed 8192px can cause the performace issue.
So the canvas internal scroll bar is still a prefered solution.


test(sdk/elixir): port integration tests from core/integration to the sdk

I try port the integration tests from core/integration to the Elixir SDK by using Python and TypeScript as a role model.
The hard part is that I cannot use --sdk=.. is not working since we merged the relocated runtime Pull Request. I'm not sure why it is not working though. So I decided to set the SDK path and commit though the environment variable and let the test suite run against that version.

Closing this for now.


Games uploaded to itch.io can't regain keyboard focus after losing it

To reproduce:

Upload a game to itch.io that accepts keyboard inputs, following the wiki instructions here: https://pygame-web.github.io/wiki/pygbag/ (I used the window-template-wip.tmpl template).
After the game starts, click somewhere else on the page.
The game will lose keyboard focus (as expected), but won't regain it even when you click it (so the game essentially becomes unplayable).
(You can actually manually refocus it by hitting tab enough times, since that cycles focus through everything on the page).

I was able to fix this by adding some window.focus() calls to index.html :
    window.onload = function () {

        var wasmterm

        if (!config.xtermjs) {
            // xterm js placeholder
            wasmterm = { print : console.log, sixel : function(){}}
        } else {
            // it uses  document.getElementById('terminal') to get its host
            wasmterm = new WasmTerminal( "terminal", 100, 35 )

            window.xterm = wasmterm.xterm

        }

        pythonvm(wasmterm, config)

        window.focus(); // ADDED THIS
    }
    window.onclick = function () { window.focus(); }  // ADDED THIS
    </script>

Maybe those (or something similar) should be there by default?

is it fixed in 0.1.4 ?
( anyway please upgrade itch games so they use the versionned cdn url of 0.1.4 )

Hmm it's hard to say because I can't seem to get a build to work on itch with version 0.1.4. It shows the loading bar, but then produces this partially black, partially powder blue, non-interactive display. See: https://ghastly.itch.io/test-project, password = pw
This build was generated by running pygbag webzone (webzone being the name of the directory), with pygbag version 0.1.4, python version 3.10.5, and pygame version 2.1.2. It runs fine from localhost so I think it's some kind of security / permissions issue it's encountering on itch:

(Blotted some things out bc I have no idea what this stuff is)
Here's a pristine version of the project as well:
webzone.zip
Hope this helps!

please could you add that one file https://pygame-web.github.io/archives/0.1.4/pythonrc.py
to your web.zip and reupload / restest.
I think i made a mistake on template and that it is trying to get pythonrc.py (prebuilts) where it would expect custom.py (game)

nvm, your browser hides from you some debug info i got :
runpy.js?cpython3.11:251  GET https://v6p9d9t4.ssl.hwcdn.net/html/6345359/pythonrc.py 403
it is indeed getting pythonrc from iframe source instead of cdn. uploading a fix right now

running in itch iframe should be fixed right now

Awesome, thanks! The game seems to run properly now in 0.1.4, however the re-focusing issue does not seem to be fixed (with the default template, in Firefox at least). When you click outside the game area and then back inside, it still will no longer receive key inputs from that point onward. This can be observed in the example project I posted above.

When you click outside the game area

do you get the focus/blur events in javascript console when doing that ?
itch is a bit different from fullscreen windowed because the iframe is not a window and may not receive all events. Maybe a test for running inside iframe is required and a different logic

i only get the "blur" event on v8

i get the focus event only when hitting "tab" on v8 and then the keyboard works again.
i guess the windows onclick trick is the only way

I think I'm seeing the same thing as you. Clicking outside the game area for the first time produces:
221 DISCARD : blur {'isTrusted': True}
Clicking inside prints nothing.
Tabbing focus back to the game produces:
221 DISCARD : focus {'isTrusted': True}
And clicking outside produces the blur event again.

I don't know if this might help:
When using CTRL + SCROLL with the mouse to adjust zoom on the web, the keyboard focus returns to the iframe.
Started searching for the issue and found people that might have solved it using tabindex="0" and .focus():
https://github.com/novnc/noVNC/issues/506#issuecomment-134302378
I'm still learning about all this so I don't think I'm able to solve this on my own yet. However, if I finally get it I'll fix it and PR.

yeah the trick is to set a listener to do a .focus() when iframe gets selected by mouse click after it has lost focus ( blur event )
Then remove the listener to gain cpu cycles.

never perceived it before because i also have mouse controls on most games, those work fine, but keyboard indeed stops working, tested on itch


chart-repo-sync: fix repo urls under a subpath

Fixes a bug that meant chart-repo-sync wouldn't work with chart
repositories under a sub directory (e.g.
https://charts.bitnami.com/incubator).

Codecov Report

Merging #416 into master will decrease coverage by 1.19%.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           master     #416     +/-   ##
=========================================
- Coverage   84.47%   83.27%   -1.2%
=========================================
  Files          26       26
  Lines        1462     1483     +21
=========================================
  Hits         1235     1235
- Misses        176      197     +21
  Partials       51       51

Impacted Files
Coverage Δ

src/api/cmd/chart-repo-sync/sync.go
60.1% <0%> (-7.14%)
:arrow_down:

Continue to review full report at Codecov.

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


Add Examples to bottom of every function page.

Fixes https://github.com/GoogleContainerTools/kpt/issues/2268

Not scoped to this PR, but I realized, we need to come up with better labels for these examples. For ex: suffix --> Add suffix in resource names something more descriptive. @mengqiy

we need to come up with better labels for these examples. For ex: suffix --> Add suffix in resource names something more descriptive.

There are 2 things here:

The name of the example that will show up in the site (we want it to be descriptive)
Package path that can be fetched using kpt pkg get (we want it to be short)

Eyob and I had some discussion recently about changing the metadata.yaml file. Currently we have examples which is a string list. We can change it to be a map from example name on site to the example URL. Then we can make name descriptive while the URL short.


Installation guide

Hi imachung,
I want to use your source code of ZeroNet-Instant-Messenger. I pulled your code, but there is not any documentation on how to run the project.
Can you help me in this regard?

ZiM is somewhat ... um ... archived, but I'm currently working on another project which will replace it. It will be released soon.


CLI: Upgrade tty-table dependency to 0.9.0

Fixes #2955

Some of the list commands were broken with similar error when invoked through 'watch'

Some of the list commands were broken with similar error when invoked through 'watch'

That would be plausible if watch does some tty magic. The issue is platform-specific though, and watch kontena node ls seems to work fine here on Ubuntu. Could someone try to repro this on Mac OS?