Error building posenet.decoder.so

The main issue I have is https://github.com/google-coral/project-posenet/issues/52 and I'm trying to build my own posenet.decoder.so using https://github.com/google-coral/edgetpu/issues/127#issuecomment-636036478 to solve that.
OS: Ubuntu 18.04
Tensorflow version: 1.14
Steps I followed:

Install bazel, clone project-posenet repo.
Set env variable LD_LIBRARY_PATH=/path/to/project-posenet/posenet_lib/x86_64/posenet.decoder.so
Clone edgetpu repo and run bazel build src/cpp/posenet/posenet_decoder.so

This is causing the following error.
INFO: Found 1 target...
ERROR: /home/vilas/tpu/edgetpu/src/cpp/posenet/BUILD:91:10: Compiling src/cpp/posenet/posenet_decoder_tflite_plugin.cc failed: (Exit 1): gcc failed: error executing co
mmand /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 35 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 35 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
src/cpp/posenet/posenet_decoder_tflite_plugin.cc: In function 'TfLiteStatus {anonymous}::PrepareImpl(TfLiteContext*, TfLiteDelegate*)':
src/cpp/posenet/posenet_decoder_tflite_plugin.cc:103:10: error: 'unique_ptr' is not a member of 'std'
     std::unique_ptr<TfLiteIntArray, decltype(&TfLiteIntArrayFree)> nodes(
          ^~~~~~~~~~
src/cpp/posenet/posenet_decoder_tflite_plugin.cc:103:10: note: suggested alternative: 'unique_copy'
     std::unique_ptr<TfLiteIntArray, decltype(&TfLiteIntArrayFree)> nodes(
          ^~~~~~~~~~
          unique_copy
src/cpp/posenet/posenet_decoder_tflite_plugin.cc:103:35: error: expected primary-expression before ',' token
     std::unique_ptr<TfLiteIntArray, decltype(&TfLiteIntArrayFree)> nodes(
                                   ^
src/cpp/posenet/posenet_decoder_tflite_plugin.cc:103:37: error: expected primary-expression before 'decltype'
     std::unique_ptr<TfLiteIntArray, decltype(&TfLiteIntArrayFree)> nodes(
                                     ^~~~~~~~
src/cpp/posenet/posenet_decoder_tflite_plugin.cc:104:51: error: expected primary-expression before ')' token
         ConvertVectorToTfLiteIntArray({node_index}), TfLiteIntArrayFree);
                                                   ^
In file included from external/org_tensorflow/tensorflow/lite/context.h:19:0,
                 from ./src/cpp/posenet/posenet_decoder_op.h:4,
                 from src/cpp/posenet/posenet_decoder_tflite_plugin.cc:7:
src/cpp/posenet/posenet_decoder_tflite_plugin.cc:106:32: error: 'nodes' was not declared in this scope
         context, registration, nodes.get(), delegate));
                                ^
external/org_tensorflow/tensorflow/lite/c/common.h:169:10: note: in definition of macro 'TF_LITE_ENSURE_STATUS'
     if ((a) != kTfLiteOk) {      \
          ^
Target //src/cpp/posenet:posenet_decoder.so failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.525s, Critical Path: 0.37s
INFO: 13 processes: 13 internal.
FAILED: Build did NOT complete successfully

Any suggestions on how to solve this?

ahh, all you need is an #include <memory> in src/cpp/posenet/posenet_decoder_tflite_plugin.cc LOL

ahh, all you need is an #include <memory> in src/cpp/posenet/posenet_decoder_tflite_plugin.cc LOL

Also, this should already be fixed for posenet_decoder and I've prebuilt it in posenet decoder: https://github.com/google-coral/project-posenet/tree/master/posenet_lib
Lastly, this is what you want:
LD_LIBRARY_PATH=/path/to/project-posenet/posenet_lib/x86_64/

Also, this should already be fixed for posenet_decoder and I've prebuilt it in posenet decoder: https://github.com/google-coral/project-posenet/tree/master/posenet_lib
Lastly, this is what you want:
LD_LIBRARY_PATH=/path/to/project-posenet/posenet_lib/x86_64/

Thanks a lot @Namburger , now I can build the posenet_decoder.so and the OSError: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29 not found (required by ./posenet_lib/x86_64/posenet_decoder.so) issue seems resolved.
But, running simple_pose.py still brings another issue:
RuntimeError: src/cpp/posenet/posenet_decoder_op.cc:128 (shorts->type == kTfLiteUInt8 || shorts->type == kTfLiteFloat32) was not true.Node number 3 (PosenetDelegateForCustomOp) failed to prepare.
which is already described here.
According to your suggestion

I built libedgetpu-std using instructions in libedgetpu repo. Just ran sudo make.
Copy libedgetpu/out/throttled/k8/libedgetpu.so.1.0 to edgetpu local repo, i.e. to edgetpu/libedgetpu/throttled/k8/ because the install script references this location for installation.
Install the edge tpu runtime using ./scripts/runtime/install.sh in edgetpu repo.

Just to make sure that the install worked, I checked /usr/lib/x86_64-linux-gnu/libedgetpu.so.1.0 which has the correct modified time. However, this still doesn't resolve the above RuntimeError issue when I run simple_pose.py. Would appreciate any thoughts on this or maybe I'm doing something incorrectly.

Thanks a lot @Namburger , now I can build the posenet_decoder.so and the OSError: /lib/x86_64-linux-gnu/libm.so.6: version GLIBC_2.29 not found (required by ./posenet_lib/x86_64/posenet_decoder.so) issue seems resolved.
But, running simple_pose.py still brings another issue:
RuntimeError: src/cpp/posenet/posenet_decoder_op.cc:128 (shorts->type == kTfLiteUInt8 || shorts->type == kTfLiteFloat32) was not true.Node number 3 (PosenetDelegateForCustomOp) failed to prepare.
which is already described here.
According to your suggestion

I built libedgetpu-std using instructions in libedgetpu repo. Just ran sudo make.
Copy libedgetpu/out/throttled/k8/libedgetpu.so.1.0 to edgetpu local repo, i.e. to edgetpu/libedgetpu/throttled/k8/ because the install script references this location for installation.
Install the edge tpu runtime using ./scripts/runtime/install.sh in edgetpu repo.

Just to make sure that the install worked, I checked /usr/lib/x86_64-linux-gnu/libedgetpu.so.1.0 which has the correct modified time. However, this still doesn't resolve the above RuntimeError issue when I run simple_pose.py. Would appreciate any thoughts on this or maybe I'm doing something incorrectly.

Update (with solution): Most likely the way I was building posenet_decoder.so was incorrect. The steps mentioned here worked:

git clone --recurse-submodules https://github.com/google-coral/libcoral
cd libcoral
bazel build --compilation_mode=opt --copt=-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION --verbose_failures --sandbox_debug --subcommands --define PY3_VER=38 --action_env PYTHON_BIN_PATH=/usr/bin/python3 --cpu=k8 --define darwinn_portable=1 --experimental_repo_remote_exec --crosstool_top=@crosstool//:toolchains --compiler=gcc --linkopt=-l:libusb-1.0.so --linkopt=-Wl,--strip-all //coral/posenet:posenet_decoder.so

Copy bazel-bin/coral/posenet/posenet_decoder.so to project-posenet/posenet_lib/x86_64 and run simple_pose.py

Update (with solution): Most likely the way I was building posenet_decoder.so was incorrect. The steps mentioned here worked:

git clone --recurse-submodules https://github.com/google-coral/libcoral
cd libcoral
bazel build --compilation_mode=opt --copt=-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION --verbose_failures --sandbox_debug --subcommands --define PY3_VER=38 --action_env PYTHON_BIN_PATH=/usr/bin/python3 --cpu=k8 --define darwinn_portable=1 --experimental_repo_remote_exec --crosstool_top=@crosstool//:toolchains --compiler=gcc --linkopt=-l:libusb-1.0.so --linkopt=-Wl,--strip-all //coral/posenet:posenet_decoder.so

Copy bazel-bin/coral/posenet/posenet_decoder.so to project-posenet/posenet_lib/x86_64 and run simple_pose.py

Update (with solution): Most likely the way I was building posenet_decoder.so was incorrect. The steps mentioned here worked:

git clone --recurse-submodules https://github.com/google-coral/libcoral
cd libcoral
bazel build --compilation_mode=opt --copt=-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION --verbose_failures --sandbox_debug --subcommands --define PY3_VER=38 --action_env PYTHON_BIN_PATH=/usr/bin/python3 --cpu=k8 --define darwinn_portable=1 --experimental_repo_remote_exec --crosstool_top=@crosstool//:toolchains --compiler=gcc --linkopt=-l:libusb-1.0.so --linkopt=-Wl,--strip-all //coral/posenet:posenet_decoder.so

Copy bazel-bin/coral/posenet/posenet_decoder.so to project-posenet/posenet_lib/x86_64 and run simple_pose.py
Hi siddhantsahu:
The ways can fix the issue after i test. Thank your information!

Update (with solution): Most likely the way I was building posenet_decoder.so was incorrect. The steps mentioned here worked:

git clone --recurse-submodules https://github.com/google-coral/libcoral
cd libcoral
bazel build --compilation_mode=opt --copt=-DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION --verbose_failures --sandbox_debug --subcommands --define PY3_VER=38 --action_env PYTHON_BIN_PATH=/usr/bin/python3 --cpu=k8 --define darwinn_portable=1 --experimental_repo_remote_exec --crosstool_top=@crosstool//:toolchains --compiler=gcc --linkopt=-l:libusb-1.0.so --linkopt=-Wl,--strip-all //coral/posenet:posenet_decoder.so

Copy bazel-bin/coral/posenet/posenet_decoder.so to project-posenet/posenet_lib/x86_64 and run simple_pose.py
Hi siddhantsahu:
The ways can fix the issue after i test. Thank your information!


Uncaught error when opening pages with htpp service

Hi,
in my application after login i redirect to list page and in the list page i get the list of items using service (http.post) and each of items has their own detial page.i also some other pages using htt.post to get data at the "ngOnInit" but when ever i first time enter each page or some time only the very first time i leave my main page i get the following error. but i never get any error either my lohin page or my main page where i get list items.
JS: EXCEPTION: Error: Uncaught (in promise): Error: java.net.MalformedURLExcepti
on: no protocol:
JS: STACKTRACE:
JS: Error: Uncaught (in promise): Error: java.net.MalformedURLException: no prot
ocol:
JS:     at resolvePromise (/data/data/org.nativescript.platformtest/files/app/tn
s_modules/zone.js/dist/zone-node.js:511:32)
JS:     at resolvePromise (/data/data/org.nativescript.platformtest/files/app/tn
s_modules/zone.js/dist/zone-node.js:496:18)
JS:     at /data/data/org.nativescript.platformtest/files/app/tns_modules/zone.j
s/dist/zone-node.js:544:18
JS:     at ZoneDelegate.invokeTask (/data/data/org.nativescript.platformtest/fil
es/app/tns_modules/zone.js/dist/zone-node.js:323:38)
JS:     at Object.NgZoneImpl.inner.inner.fork.onInvokeTask (/data/data/org.nativ
<EMAIL_ADDRESS>s:37:41)
JS:     at ZoneDelegate.invokeTask (/data/data/org.nativescript.platformtest/fil
es/app/tns_modules/zone.js/dist/zone-node.js:322:43)
JS:     at Zone.runTask (/data/data/org.nativescript.platformtest/files/app/tns_
modules/zone.js/dist/zone-node.js:223:48)
JS:     at drainMicroTaskQueue (/data/data/org.nativescript.platformtest/files/a
pp/tns_modules/zone.js/dist/zone-node.js:449:36)
JS: Unhandled Promise rejection: java.net.MalformedURLException: no protocol:  ;
Zone: angular ; Task: Promise.then ; Value: Error: java.net.MalformedURLExcepti
on: no protocol:  Error: java.net.MalformedURLException: no protocol:
JS:     at onRequestComplete (/data/data/org.nativescript.platformtest/files/app
/tns_modules/http/http-request.js:38:34)
JS:     at org.nativescript.widgets.Async.CompleteCallback.onComplete (/data/dat
a/org.nativescript.platformtest/files/app/tns_modules/http/http-request.js:30:13
)
JS: Error: Uncaught (in promise): Error: java.net.MalformedURLException: no prot
ocol:
Also i would like to ask another thing before using RadSideDrawer all of my pages was in the single  code. and lets say i scroll halfway in the list items in my main page and tap to get the detial page after returning my main page with back() function or device back button my main page was not reload the page and sended me back to my scroll position which is what i wish to do.But after RadSideDrawer  code to work with RadSideDrawer . But now when i use back() function my app always reload the page and i end up losing my scroll position.is there any way to solve this.
Thanks.

@tomylee001001 this gist may help you with RadSideDrawer:
https://gist.github.com/NathanWalker/e8f4f7c42af04fc725764a9867936e3d
Not sure on your error, sounds like you may have invalid url. Paste here the url you are posting to.

hi @NathanWalker ,
The odd things about the error i am getting is first almost all of my pages using http request to get data from my web service and every page using the same base site url pluss web method to get the data but i am not getting any error in my login page or my main page.when i navigate from my main page for the first time i get this error and i never get this error on the same page twice.Second thing is even though i am getting this error i still get the data from my web service.but i think this cause other problems in my app.
as for the radsidedrawer i am already using the code u posted as my base code.(thanks again for that).
i have two problem about it and maybe one of them is something to do with the error am i getting.
1)this problem can be something to do with .before radsidedrawer i was using single  and when i navigate from my main list page which has listview in it and use location.back() or deice back button my was returning the same scroll stop of my list and there were no reloads but after  radsidedrawer when i navigate back with location.back() my list page reloads entirely.
2)after i start using the radsidedrawer when i tap the detail on one of my list items in my main list page my detail page open but before getting the mention error on my pages my detail page stuck after construct and before ngoninit and do nothing until i tap the open drawer button on my action bar.then page loads.and until i get the error on my other pages this generally continues .even opening the sidedrawer with swide do not load the page always do i need to press the action-bar open drawer button to unstuck the page.Also this detail page is the only page which i use http request outside of my navigatin panel in my side draw the othe pages i go from the nav panel in my drawer has no issue of something like this.
thanks.

@NathanWalker  i aslo find something else about this error.for trying something in "nativescript-imagepicker" i open new project using "tns create name --ng" and only install "nativescript-imagepicker" and "nativescript-permissions" and add the test code inside the app.component.ts and when i run the app it also give this error.

No idea if this will help anyone, but I got this same error (JS: EXCEPTION: Error: Uncaught (in promise): Error: java.net.MalformedURLException: no protocol:, etc, etc) and it turned out it's because I had an image tag with an empty src attribute.
It seems as though NS tries to locate the resource of the empty src tag and this causes the "MalformedURLException".
Only took 30 mins of desk banging to work that one out :)


cargo-update: 13.4.0 -> 14.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/nabijaczleweli/cargo-update/releases.
meta.description for cargo-update is: Cargo subcommand for checking and applying updates to installed executables
meta.homepage for cargo-update is: https://github.com/nabijaczleweli/cargo-update
meta.changelog for cargo-update is: https://github.com/nabijaczleweli/cargo-update/releases/tag/v14.0.0
Updates performed

Rust version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 14.0.0 with grep in /nix/store/7m3gqs1ji5pf1nb14c10ykwprp3hrjfq-cargo-update-14.0.0
found 14.0.0 in filename of file in /nix/store/7m3gqs1ji5pf1nb14c10ykwprp3hrjfq-cargo-update-14.0.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

cargo-update

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7m3gqs1ji5pf1nb14c10ykwprp3hrjfq-cargo-update-14.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A cargo-update https://github.com/r-ryantm/nixpkgs/archive/a07066a031adba3ecb1c03f92c691a9154f6793e.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/a07066a031adba3ecb1c03f92c691a9154f6793e#cargo-update

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7m3gqs1ji5pf1nb14c10ykwprp3hrjfq-cargo-update-14.0.0
ls -la /nix/store/7m3gqs1ji5pf1nb14c10ykwprp3hrjfq-cargo-update-14.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

cargo-update

Maintainer pings
cc @Gerschtli @Br1ght0ne @JohnTitor @matthiasbeyer for testing.

Add a :+1: reaction to pull requests you find important.

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

1 package built:

cargo-update


Specify rounding mode as half to even

This PR

specifies the rounding mode as half to even, rather than half away from zero. This follows NumPy and Python 3.x, rather than C and Python 2.7 round half away from zero behavior.

Thanks for the fix @kgryte.

includes a TODO to consider whether round should support alternative rounding modes

My preference would be not to bother, since this is mostly a niche detail and current libraries don't implement multiple options.
I did a quick scan of NumPy issues, and while this question (e.g., why does round(0.5) give 0?) is asked multiple times, no one argues an alternative matters to them.
For reference, here is the rationale for the rule: https://github.com/numpy/numpy/issues/3382#issuecomment-18692720, Round-0.5-to-the-nearest-even, the rule numpy uses, is usually considered the best option for serious numerical code because it rounds up just as often as it rounds down, thus avoiding a source of statistical bias.

Removed TODO.

Thanks, merged!


Clean up ScrollbarPainter

Fixes https://github.com/flutter/flutter/issues/107181
This is a cleanup of the ScrollbarPainter. Ended up yak shaving this while working on https://github.com/flutter/flutter/issues/13253. This will make it a bit cleaner, more readable, and easier to work with. 😉
These need to land first:

https://github.com/flutter/flutter/pull/107177
https://github.com/flutter/flutter/pull/107172
#106835
#107756

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] I added new tests to check the change I am making, or this PR is test-exempt.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

test-exempt: refactor with no semantic change


perf: improve flashy loading while lazy loading

Improve flashy loading when lazy loading
After introducing lazy loading, I noticed an unpleasant User Experience when the pages were loaded along with the sidebar. So instead of lazy loading the whole page, we only lazy load the sub-page which so the loading indicator only shows in the content panel at the right side of the sidebar.
Following react-router-dom v6, we can take advantage of Outlet to simplify this.
This change includes the following

Breadcrumbs link will be no longer specified on each page, instead, we use the function to build breadcrumbs links for each path map.
Breadcrumbs are now generated by using the function BuildBreadcrumbLinksByTitles.

Project -> Monitors -> View Monitor -> Custom Fields represented by /dashboard/:projectId/monitors/:id/custom-fields
Breaking down breadcrumb with a link representation for each item (reversed)

Custom Fields = /dashboard/:projectId/minitors/:id/custom-fields (current pathname)
View Monitor = /dashboard/:projectId/monitors/:id (current pathname - 1)
Monitors = /dashboard/:projectId/monitors (current pathname - 2)
Project = /dashboard/:projectId (current pathname - 3)

This is how I expected breadcrumbs to be. If in any case breadcrumbs behave differently, we can use this BuildBreadcrumbLinks
Each sub-page no longer needs to use ModelPage as it's been covered in its container component along with Outlet component.

Pull Request Checklist:

[ ] Please make sure all jobs pass before requesting a review.
[ ] Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if such).
[x] Have you lint your code locally before submission?
[ ] Did you write tests where appropriate?

Related Issue?
Screenshots (if appropriate):
Before
https://github.com/OneUptime/oneuptime/assets/20983608/02b6450c-6b32-4c2c-8fc2-d585b949a386
After
https://github.com/OneUptime/oneuptime/assets/20983608/44c3130f-b62a-41cf-a2ae-c16aed1682bd

@simlarsen @nawazdhandala You can check this one if it makes sense, I can continue working on this for other pages.
If you have questions or concerns, please let me know.
Thank you

Yes, please do.

@soknaly  Thank you for all your work! Happy new year to you and family.

Thank you @simlarsen! Happy New Year to you and your family too 🎆


Cannot start docker

I'm following the instructions on the readme, and docker fails to run:
2022/04/29 18:08:01 bazel-remote built with go1.18 from git commit<PHONE_NUMBER>e5a22ecc9aadb100c484a0ff88086f.
2022/04/29 18:08:01 Initial RLIMIT_NOFILE cur: 32768 max: 65536
2022/04/29 18:08:01 Setting RLIMIT_NOFILE cur: 65536 max: 65536
2022/04/29 18:08:01 mkdir /data/cas.v2: permission denied

I've tried running it as both my user and sudo and tried different paths. I tried this first:
docker run -u 1000:1000 -v /home/myuser/bazel_cache:/data -p 9090:8080 -p 9092:9092 buchgr/bazel-remote-cache

I got the same issue with:
sudo docker run -u 1000:1000 -v /cache:/data -p 9090:8080 -p 9092:9092 buchgr/bazel-remote-cache

I got the same error message from trying to use the quay.io instructions.
Note that I'm trying to run this on an AWS workspace (RPM based distro)
Perhaps some steps are missing for setting it up?

Hi, does /home/myuser/bazel_cache exist (or /cache from your sudo example) ? If so, what are their permissions? Could you run ls -ld /home/myuser/bazel_cache (and similarly for /cache) and share the results here?

Oh, and another thing to check is if your (non-root) user/group id are 1000. If not, you should change the -u 1000:1000 argument to match your actual uid and gid. You can check with the id command.

Hi, did you figure out what the problem was?

No sorry, I gave up and used a different tool instead (direct webdav)
On Thu, May 19, 2022 at 1:46 PM Mostyn Bramley-Moore <
@.***> wrote:

Hi, did you figure out what the problem was?
—
Reply to this email directly, view it on GitHub
https://github.com/buchgr/bazel-remote/issues/547#issuecomment-1132131609,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAWYHKWLFQGWB4ZF2MUHG3VK2LBNANCNFSM5UW3HKAA
.
You are receiving this because you authored the thread.Message ID:
@.***>

No problem.
Closing this since I have no way to debug it myself (but I assume it was a simple ownership/permission error).

sudo docker run -u 1000:1000 -v ~/Desktop/ws/dummy_remote_cache:/data -p 9090:8080 -p 9092:9092 quay.io/bazel-remote/bazel-remote
2023/01/17 08:47:49 bazel-remote built with go1.19.4 from git commit be88dadd8d6e94f4634def7e1b97290acea3a7f0.
2023/01/17 08:47:49 Initial RLIMIT_NOFILE cur: 1048576 max: 1048576
2023/01/17 08:47:49 Setting RLIMIT_NOFILE cur: 1048576 max: 1048576
2023/01/17 08:47:49 Storage mode: zstd
2023/01/17 08:47:49 Zstandard implementation: go
2023/01/17 08:47:49 Limiting concurrent file removals to 5000
2023/01/17 08:47:49 mkdir /data/cas.v2: permission denied
I had similar issues above, here is how I solved:
chmod 777  ~/Desktop/ws/dummy_remote_cache
I know it's not good, I can drop +x later on. FYI.


how to get more recent rpms of distributive?

I'm using the MI ansible installer and it fails on the distributive call.
Cross linking to the issue there.
https://github.com/CiscoCloud/microservices-infrastructure/issues/686

Answered in CiscoCloud/microservices-infrastructure #686. Does that resolve your issue?

Yes, thanks.


How to access CalendarColor?

How do I get the calendar color? I see there is a function CalendarColor in https://github.com/python-caldav/caldav/blob/master/caldav/elements/ical.py#L8, how ever I could not figure out how to use it.
I can use calendar.get_properties([caldav.dav.DisplayName()]) to get the name, so I tried calendar.get_properties([caldav.icalendar.CalendarColor()]). But that returns AttributeError: module 'vobject.icalendar' has no attribute 'CalendarColor'
I know hat it works, because I am able to access it through PHP: https://gitlab.rlm.pw/ralmn/nextdom-plugin-caldav/blob/aa05a4a045b04b614204cc5c7402dca0303f3bf5/3rdparty/simpleCalDAV/config/listCalendars.php#L48

Calendar color is not part of RFC4791 and hence not officially supported. However, try caldav.elements.ical.CalendarColor

Todo-items:

Look into if there exists any rfc for this extention and document it
Consider to let the ical elements be imported into the caldav namespace
Currently the ical namespace is sent in every xml request, should probably try to avoid it when it's not used.
Test code exercising the ical elements.

The apple ical namespace seems to be completely undocumented, or at least its very well hidden, couldn't find anything through a quick Internet search now (somewhat handicapped as I'm trying to figure out things from my phone). However, I've learned that it's supported by many server implementations.

Thank you very much for your quick support!
Indeed it works with
import caldav.elements.ical # for calendarColor
[..]
print(calendar.get_properties([caldav.elements.ical.CalendarColor()]))

For the resources, here what I found:

https://wiki.wocommunity.org/display/~probert/CalDAV+and+CardDAV+properties
https://sabre.io/dav/clients/ical/
https://tools.ietf.org/html/rfc7986#section-5.9

For the backend I use Nextcloud, which itself uses Sabre\DAV.
Feel free to close or keep this issue open.

None of the resources above tells anything about the calendar-color and calendar-order xml attributes as far as I can tell.  The URL http://www.apple.com/ns/ical (redirects to https and) gives a 404.  Still, several calendar server implementations seem to support those two attributes.  Anyway, I consider myself done now.


Make submarine respond to player commands

Players should be able to use WASD controls to move their submarines around the map.  W accelerates, S brakes, and A / D steer.

Added WASD control.s


DO NOT MERGE: Repro sig aflmap

It is unclear whether AflMapFeedback is better than MaxMinFeedback. CLosing as using AFlMapFeedback was only a test.


One presenter for multiple views

Hi,
I have two activities that has almost the same buisnes logic, so I wanted to create one presenter and use it across multiple activites.
I tried adding more than 1 activities in extends Presenter<....> but it's not supported. Should I create one parent activity that other activities extends (which is not going to be easy) use some interface or is there other option?

Inheritance


Short solution needed: "Delete keys by pattern in Redis" (redis)

Please help us write most modern and shortest code solution for this issue:
Delete keys by pattern in Redis (technology: redis)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

Delete keys by pattern in Redis


Implement data table on evidence page for OTAR015 CRISPR/Cas9 data

Preliminary notes:

Basic data table implementation
Data table to be displayed under the Pathways and systems biology tab
Cells within data table may contain link to Project Score website

Full design spec to be confirmed once data mapping is complete

Proposal for table columns for the Evidence page:

Disease (label & EFO ID)
Links to Project Score pages for target and disease (links)
Score
Method*: CRISPR screens in cell lines representing the following cancers xxx, xxx and xxx. (Add links here?)
Publication

JSON to be defined
*To be written for each of the 14 cancer/tissue types

@LucaFumis, can we please hardcode in the PMID for Fiona's paper (30971826)?
http://europepmc.org/abstract/MED/30971826
Also, can we put all three tables - Affected Pathways, Systems Biology, and CRISPR-Cas9 (Cancer Cell Lines) - in tabs?


[kbmulti] Various changes

@sir-indy
0.02: Introduce setting "Show help button?". Make setting firstLaunch invisible by removing corresponding code from settings.js. Add marker that shows when character selection timeout has run out. Display opened text on launch when editing existing text string.

Thanks!


[Infra] Move ClientApp/ out of repo root

#no-changelog

After this is merged, I'll move https://github.com/firebase/firebase-ios-sdk/tree/main/CocoapodsIntegrationTest to the new IntegrationTesting/ directory.


[ANTLR] remove space between 'stretch' and N

This PR will fix issue #145 by adding a definition of Lexer grammar.
timingType
    : 'length'
    | StretchN
    ;

StretchN : 'stretch'Digit* ;
Identifier : FirstIdCharacter GeneralIdCharacter* ;

This qasm file and a generated tree from the file are here:
OPENQASM 3;
include "stdgates.inc";

stretch s;
stretch1 s1;
stretch10 s10;
stretch100 s100;
stretch255 s255;

program
  header
    version
      OPENQASM
      3
      ;
    include
      include
      "stdgates.inc"
      ;
  statement
    classicalDeclarationStatement
      classicalDeclaration
        noDesignatorDeclaration
          noDesignatorType
            timingType
              stretch
          identifierList
            s
      ;
  statement
    classicalDeclarationStatement
      classicalDeclaration
        noDesignatorDeclaration
          noDesignatorType
            timingType
              stretch1
          identifierList
            s1
      ;
  statement
    classicalDeclarationStatement
      classicalDeclaration
        noDesignatorDeclaration
          noDesignatorType
            timingType
              stretch10
          identifierList
            s10
      ;
  statement
    classicalDeclarationStatement
      classicalDeclaration
        noDesignatorDeclaration
          noDesignatorType
            timingType
              stretch100
          identifierList
            s100
      ;
  statement
    classicalDeclarationStatement
      classicalDeclaration
        noDesignatorDeclaration
          noDesignatorType
            timingType
              stretch255
          identifierList
            s255
      ;

Could you also add a simple test in test_grammar.py (such as the example you've pasted above)?


reprocess expid<PHONE_NUMBER>51 (tileid 25007, 22852, 25935, 24351, 24387), night = 20221121

Exposures from 20221121 were reprocessed on 12/1 after a pileup of non-TGT redshifts at z~0.9 was observed in nearly all MAIN BRIGHT tiles. The exposures listed here still have the pileup. They were marked as good during initial QA on 11/28 but should be reclassified as unsure and reprocessed.
An example of the pileup is shown below (see upper right plot):

@schlafly do I need to mark expid<PHONE_NUMBER>51 (tileid 25007, 22852, 25935, 24351, 24387), night = 20221121 as bad and reprocess?

Yes, thank you!

@schlafly I have marked the exposures above as bad and reprocessed with desi_tsnr_afterburner. The corresponding rows in the exposures-daily
rows matching tiles
  25007, 22852, 25935, 24351, 24387
in
  /global/cfs/cdirs/desi/spectro/redux/daily/exposures-daily.csv

TILEID EXPTIME  EFFTIME_SPEC  NIGHT   EXPID
------ -------- ------------ -------- ------
 25007  1053.30         0.00 20221121 154146
 22852   803.10         0.00 20221121 154147
 25935   949.90         0.00 20221121 154149
 24351   658.40         0.00 20221121 154150
 24387  1010.90         0.00 20221121 154151

and tiles-daily
rows matching tiles
  25007, 22852, 25935, 24351, 24387
in
  /global/cfs/cdirs/desi/spectro/redux/daily/tiles-daily.csv

TILEID NEXP EXPTIME  EFFTIME_SPEC LASTNIGHT
------ ---- -------- ------------ ---------
 25007    1  1053.30         0.00  20221121
 22852    1   803.10         0.00  20221121
 25935    1   949.90         0.00  20221121
 24351    1   658.40         0.00  20221121
 24387    1  1010.90         0.00  20221121

files look good to me.
Please have a look, thanks.

This looks good to me.  I've cleared QA and am closing.


fix: use one-based day of week for aws cron expressions

TL;DR
Fixed a display issue for AWS-style cron expressions using an integer day-of-week field. We need to parse those expressions using a one-based index.
Type

[x] Bug Fix
[ ] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[x] Unit tests added

Tracking Issue
https://github.com/lyft/flyte/issues/616
Follow-up issue
NA

Codecov Report

Merging #120 (f2d19f9) into master (d174b24) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #120   +/-   ##
=======================================
  Coverage   70.74%   70.74%
=======================================
  Files         387      387
  Lines        6516     6516
  Branches     1049     1049
=======================================
  Hits         4610     4610
  Misses       1906     1906

Impacted Files
Coverage Δ

src/common/formatters.ts
99.13% <100.00%> (ø)

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 f0ba33e...f2d19f9. Read the comment docs.

:tada: This PR is included in version 0.17.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Make Stopwatch and ScopedMetric more precise

Stopwatch and ScopedMetric both used to store their times in
microseconds. The high-frequency timer source on Windows is typically
10 MHz, so 0.1 microsecond precision. Truncating to microseconds throws
away precision, and is also (in the ScopedMetric case) quite expensive.
In the case of Chromium there were some measurements that were done
millions of times with an average duration of ~0.003 to 0.004
microseconds.
This change experimentally switches to chrono::steady_clock as our clock
source. This is similar in cost to the previous implementation, but not
as fast as QPC without conversion would be. This code is significantly
more accurate when measuring short time periods, and this code is
portable.
In short, this data is more precise, more accurate, similar cost, and
portable. This code is still expensive enough that
QueryPerformanceCounter will show up on profiles unless we get rid of
the three very-high-frequency profiling events.
This will resolve issue #2004.

This is a proof-of-concept, using portable code to measure time. It's still too expensive to use with "canonicalize str" and friends, and I need to remove the test code. Typical test code on my Windows machine look like this:
459.3 ms for 10000000 calls to HighResTimer().
240.2 ms for 10000000 calls to HighResTimerQPC().
So, it is slower than my other optimized versions, but as fast as the existing code, roughly.

This might be correct but I'm not sure that the checks on Linux are actually running. PTAL.


add export secret command

Related to #150
When you create a new cluster, the first thing you typically do is go to the ArgoCD UI to check on status. We currently tell users to run the kubectl command to get the admin secrets rather than us providing the information directly. This works as long as that's all the information you need from the cluster.
When you start involving more complex things, it gets messier. For example, when you use the reference implementation example, you have to run a few different kubectl commands to get all credentials required to fully interact with the things deployed in the cluster. I find this quite annoying to document and run as an end user.
I want to allow users to get all information with one command and would like to introduce the export secret command. This command does two things:

Dump core package credentials. ArgoCD admin password and Gitea admin credentials.
Dump any secrets labeled with cnoe.io/exportable=true.

By default it looks like this:
$ ./idpbuilder export secret
---------------------------
Name: argocd-initial-admin-secret
Namespace: argocd
Data:
  password : abc
---------------------------
Name: gitea-admin-secret
Namespace: gitea
Data:
  password : giteaPassword
  username : giteaAdmin

If using the ref impl example, then you just have to label the secrets that you want end users to see.
$ kubectl label secrets -n keycloak  keycloak-config  cnoe.io/exportable=true

$ ./idpbuilder export secret

---------------------------
Name: argocd-initial-admin-secret
Namespace: argocd
Data:
  password : abc
---------------------------
Name: gitea-admin-secret
Namespace: gitea
Data:
  password : giteaPassword
  username : giteaAdmin
---------------------------
Name: keycloak-config
Namespace: keycloak
Data:
  KC_DB_PASSWORD : abc
  KC_DB_USERNAME : keycloak
  KEYCLOAK_ADMIN_PASSWORD : abc
  POSTGRES_DB : keycloak
  POSTGRES_PASSWORD : abc
  POSTGRES_USER : keycloak
  USER_PASSWORD : abc

I like the idea of using the labels to allow the adhoc credential printing, but will this search all namespaces? If not how do we know in advance which namespaces to query?

This is a great idea that you propose here. 2 remarks

Rename the command ./idpbuilder export secret to ./idpbuilder list credentials. Why: credentials implicitly means for a user something related to access a system, service as an admin user, etc
Use labels: cnoe.io/core-package=<PACKAGE-NAME> and cnoe.io/credentials=true as every secret (if you are cluster admin) can be "exported" using "kubectl get secret ..."

Thanks for this, I like the idea.
big +1 from me on what @cmoulliard suggested.
As for the command, to stay closer to the kubectl syntax, I would call it ./idpbuilder get credential(s) with ./idpbuilder get credentials --all or -A listing all credentials (with an output similar to what you suggested) and also the option to only show credentials or secrets for a single component. for example `./idpbuilder get credential --label cnoe.io/core-package=argo-cd" shows only the following.
Name: argocd-initial-admin-secret
Namespace: argocd
Data:
  password : abc

The latter is particularly useful for demo purposes with codespaces or c9. Also the --label flag should accept an array of labels so you can print several secrets.

`./idpbuilder get credential --label cnoe.io/core-package=argo-cd"

The idp tool should translate that. Command proposed then is: ./idpbuilder get credential <PACKAGE_SHORT_NAME> or ./idpbuilder get credential --package <PACKAGE_SHORT_NAME>
Example: ./idpbuilder get credential argocd or ./idpbuilder get credential --package argocd or ./idpbuilder get credential --pkg argocd
Remark: If we provision in the future different clusters, then we could extend the command with an additional parameter: ./idpbuilder get credential <PACKAGE_SHORT_NAME> <CLUSTER_NAME>

Great idea! also +1 to Charles' comments.

Changed commands to idpbuilder get secrets. credentials is not really accurate in our context since kubernetes secrets can contain things other than credentials. In addition, if we want to stay close to kubectl command, then we should just do that.
Per Charles' comment, I've introduced two labels keys:

cnoe.io/cli-secret If set to "true", the values are displayed through this command.
cnoe.io/package-name. If set, this values can be used for the --packages flag.

I've also introduced a flag called --packages. Out of the box, it supports two values: argocd and gitea. This is really meant for narrowing down secrets that get printed out.
When you run idpbuilder get secrets, it gets secrets from core packages and all secrets labeled appropriately.
./idpbuilder get secrets
---------------------------
Name: gitea-admin-secret
Namespace: gitea
Data:
  password : giteaPassword
  username : giteaAdmin
---------------------------
Name: argocd-initial-admin-secret
Namespace: argocd
Data:
  password : abc

./idpbuilder get secrets -p argocd
---------------------------
Name: argocd-initial-admin-secret
Namespace: argocd
Data:
  password : abc


TCP interface

statsd from v0.8.0 introduced the support for a TCP listener. This is useful in a number of cases, and I think it'd be good to have it in this Docker image.
For now I've forked the repository,changed the Dockerfile so it clones statsd v0.8.0 instead of v0.7.2, and updated the statsd configuration in conf/opt/statsd/config.js. Ideally it would be nice to be able to specify on which interface statsd should listen when the container is run.
Any thoughts how this could be implemented? Let me know if you feel that a PR for that would be useful.

PR in #91


Update shopify.mdx to identify plan restriction and enablement flag

Summary
Shopify currently does not support O2O without a feature flag that Support/SE must set. Due to this restriction, O2O to Shopify is currently restricted to Enterprise plan levels.
Documentation checklist

[X] The documentation style guide has been adhered to.

Hi @reichbc, thanks for raising this. I've checked with the PM but didn't get sign off on that. Please feel free to circle back internally if further consideration is needed.


Left Sub-Menu Transition Slides Over Main Menu

Title
Left Sub-Menu Transition Slides Over Main Menu
Description
When opening the left sub-menu on any enabled page with the main menu open, the sub-menu slides overtop of the main menu.
Steps to Reproduce

Open any page with a left sub-menu.
Open the main menu.
Open the left sub-menu.

Expected Behavior
Basis of sub-menu should be the right edge of the main menu, so if closed it originates from the left side of the screen and if open it originates from the right side of the menu.
Actual Behavior
Sub-menu slides over-top of main menu.

Additional Context
No response
Python Version

[ ] Python <= 3.9
[X] Python 3.10
[ ] Python 3.11

Acknowledgements

[X] I have searched the existing issues to make sure this bug has not been reported yet
[X] I am using the latest version of the software
[X] I have provided enough information for the maintainers to reproduce and diagnose the issue

https://github.com/JamesonRGrieve/Agent-LLM-Frontend
Please direct front end issues to the front end repository.


QueryRewrite: incorporate query filters into nav rewrite

Query filters can have navigations, so we need to make sure nav expansion ran on them recursively. Currently when producing joins or collection subqueries we generate simple EntityQueryables, completely disregarding any potential filters.

fixed in 8bf8a4ca25eeb3a8c78672b3951456c2a28e1337

@maumar i tested preview8 but function HasQueryFilter is not wroking. Is that okay?

@filipbekic01 - This issue is not closed in 3.0-preview8 milestone. That means it is not included in preview8. Though it is closed for 3.0 so it would finally be available in RTM release. The milestone may change in future to reflect exactly which preview it will be part of.

This issue is not closed in 3.0 20190929. we need help

@DUWENINK - Please file a new issue with repro steps.


Securing access to Kapacitor / Configuring authentication

The documentation makes no mention as to how to enable authentication on Kapacitor. The auto-generated configuration however has an option for it:
[http]
  auth-enabled = false

I wish to run Kapacitor in a hostile environment and manage it remotely. Therefor I need some form of authentication. Chronograf also seems to have options for specifying credentials to use with Kapacitor.
How are these credentials configured? Does this feature even exist?
If not, is it possible to use a reverse-proxy with basic auth infront of Kapacitor?

Sorry for the belayed response, this slipped under my radar.
Open source Kapacitor does not have authentication support. This is a premium feature.

If not, is it possible to use a reverse-proxy with basic auth infront of Kapacitor?

Yes, its should be possible to setup a reverse proxy for the purpose of authenticating Kapacitor.

Thanks for the reply. Since other influxdata products support authentication, I wonder what the rationale is for this? Is remote access to kapacitor an unusual use case?

Hello,
Have there been any updates such that we'd be able to run Kapacitor and evaluate real-time data streams in connection with our CHORDS portal at tzvolcano.chordsrt.com?
@dsarahstamps @mistermartin @daniels303

To be frank, this is really bad, and even worse that the username/password that can be specified are not even checked (#1669). Considering that the Kapacitor user for influx has to be admin for the subscription, combined with the fact that you can't even get a simple user/password security in it, virtually means that Kapacitor allows you to do whatever you want in InfluxDB as long as you can get access to its Kapacitor port! For me that implies running Kapacitor is a security risk.

The patch for this must be trivial. Someone should just open source a patch to enable the use of the http Auth settings properly.


Hover with VRPN issues position data is not correct

Hi, whoenig
I'm using the crazyflie to do the path following through the VRPN. I launch the hover_vrpn.launch to retrieve the position data from the Optitrack Track. Everything seems working well, the crazyflie is able to fly and hover above a certain point, I also can get position information from the Optitrack Track through the VRPN. The position data is CORRECT when the yaw angle is fixed.
But the issue is the retrieved position information is NOT correct when I rotate the crazyflie (change the yaw angle). The x, y, and z position are varying with the changing of the yaw angle in a fixed point. I move the crayflie by hand to test whether the retrieved position data is correct or not.
I'm thinking the issue is about the tf frame, but I can't find a solution.
I appreciate if you can give me some suggestions.
I'm sorry for my bad English.
Best
Chris

There is some setting in the Motive software that you need to change in order to let OptiTrack operate in the default ROS coordinate frame. I don't have an optitrack system to be more specific, but I hope you can find such a setting. (Advanced network settings. Up axis: Z).

Hi, whoenig
I appreciate for your help, actually, I change the "Up Axis" to Y-up and
also Z-up, but both give me the same error I described above. I used the
Mocap package (Optitrack Track Ros Package) in another robot (not
crazyflie) to retrieve the position information which gives me the correct
one.
So I think the problem should be about the coordinate frame transformation.
Could you give me some suggestions? Do we need to change the coordinate
frame in ROS, or the only thing we can do is the Optitrack Track setting?
Thanks again for your help
Best
Chris
On Thu, Apr 11, 2019 at 4:56 PM whoenig<EMAIL_ADDRESS>wrote:

There is some setting in the Motive software that you need to change in
order to let OptiTrack operate in the default ROS coordinate frame. I don't
have an optitrack system to be more specific, but I hope you can find such
a setting. (Advanced network settings. Up axis: Z).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/whoenig/crazyflie_ros/issues/132#issuecomment-482376912,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AvNNGUn2YXmNmxSEX-1fIKMLjkSZdN1Qks5vf8umgaJpZM4crBA_
.

You can simply use a different ros package for tracking. The example uses ros_vrpn_client (see https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/launch/hover_vrpn.launch#L46-L52). You can also remove those lines and replace them with your favorite motion capture tracking package. Crazyflie_ros simply uses the tf information.

Appreciate, I will try it, and I'll post my updates if got some.
Best
Chris
On Thu, Apr 11, 2019 at 5:19 PM whoenig<EMAIL_ADDRESS>wrote:

You can simply use a different ros package for tracking. The example uses
ros_vrpn_client (see
https://github.com/whoenig/crazyflie_ros/blob/master/crazyflie_demo/launch/hover_vrpn.launch#L46-L52).
You can also remove those lines and replace them with your favorite motion
capture tracking package. Crazyflie_ros simply uses the tf information.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/whoenig/crazyflie_ros/issues/132#issuecomment-482387208,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AvNNGV5RHnAFnUDAvEnCyxL9c_JBsdfyks5vf9EggaJpZM4crBA_
.

Hi, ChrisYang0830
Maybe we have encountered the same problem, and I have been worried about it for a long time. I think we can exchange it to solve it together.

Hi, ChrisYang0830
Maybe we have encountered the same problem, and I have been worried about it for a long time. I think we can solve it together.

Hello Manakoy
I think I find a way to solve this problem. First, you need to make it clear of the relationship between the Optitrack coordinate frame and the ROS default coordinate frame. If they are not coincident, you need to adjust the Optitrack coordinates frame by setting the UP axis to Z-up or Y-up.
Then you can use following functions below to output the coordinates in ROS.
transform.getOrigin().getX();
transform.getOrigin().getY();
transform.getOrigin().getZ();

Hello Manakoy
I think I find a way to solve this problem. First, you need to make it
clear of the relationship between the Optitrack coordinate frame and the
ROS default coordinate frame. If they are not coincident, you need to
adjust the Optitrack coordinates frame by setting the UP axis to Z-up or
Y-up.
Then you can use following functions below to output the coordinates in ROS.
transform.getOrigin().getX();
transform.getOrigin().getY();
transform.getOrigin().getZ();
On Fri, Apr 26, 2019 at 12:34 AM Manakoy<EMAIL_ADDRESS>wrote:

Hi, ChrisYang0830
Maybe we have encountered the same problem, and I have been worried about
it for a long time. I think we can exchange it to solve it together.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/whoenig/crazyflie_ros/issues/132#issuecomment-486958481,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALZU2GOP36PLXGOX6LBSKALPSKWBNANCNFSM4HFMCA7Q
.

I've changed the up Axis to the z axis. Because of the up Axis of melodic is z axis. But this doesn't  have changed anything. Therefore, i modified  vrpn_client_ros.cpp.
The following sections have been modified:
    tracker->pose_msg_.header.stamp = ros::Time::now();      }      tracker->pose_msg_.pose.position.x = tracker_pose.pos[0];      tracker->pose_msg_.pose.position.y = tracker_pose.pos[1];      tracker->pose_msg_.pose.position.z = tracker_pose.pos[2];      tracker->pose_msg_.pose.orientation.x = tracker_pose.quat[0];      tracker->pose_msg_.pose.orientation.y = tracker_pose.quat[1];      tracker->pose_msg_.pose.orientation.z = tracker_pose.quat[2];      tracker->pose_msg_.pose.orientation.w = tracker_pose.quat[3];      pose_pub->publish(tracker->pose_msg_);    }

Change the previous 0,1,2 to 0,2,1.
And then I run:
$roslaunch vrpn_client_ros sample.launch
$roslaunch crazyflie_demo hover_vrpn.launch
I moved crazyflie by hand to verify that its information in rviz is correct. And then, I pressed the button on the handle to make it hover at 0.5m.But it failed, and crazyflie just flew around the ground.

Hello, ChrisYang0830
Sorry, I don't seem to understand you very well. I don't quite understand how to call and where to call this function. I want to know which file you are correcting to correct the coordinates.
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2019年4月27日(星期六) 上午6:34
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [whoenig/crazyflie_ros] Hover with VRPN issues position data isnot correct (#132)
Hello Manakoy
I think I find a way to solve this problem. First, you need to make it
clear of the relationship between the Optitrack coordinate frame and the
ROS default coordinate frame. If they are not coincident, you need to
adjust the Optitrack coordinates frame by setting the UP axis to Z-up or
Y-up.
Then you can use following functions below to output the coordinates in ROS.
transform.getOrigin().getX();
transform.getOrigin().getY();
transform.getOrigin().getZ();
On Fri, Apr 26, 2019 at 12:34 AM Manakoy<EMAIL_ADDRESS>wrote:

Hi, ChrisYang0830
Maybe we have encountered the same problem, and I have been worried about
it for a long time. I think we can exchange it to solve it together.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/whoenig/crazyflie_ros/issues/132#issuecomment-486958481,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALZU2GOP36PLXGOX6LBSKALPSKWBNANCNFSM4HFMCA7Q
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello, ChrisYang0830 Sorry, I don't seem to understand you very well. I don't quite understand how to call and where to call this function. I want to know which file you are correcting to correct the coordinates.
…
------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年4月27日(星期六) 上午6:34 收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [whoenig/crazyflie_ros] Hover with VRPN issues position data isnot correct (#132) Hello Manakoy I think I find a way to solve this problem. First, you need to make it clear of the relationship between the Optitrack coordinate frame and the ROS default coordinate frame. If they are not coincident, you need to adjust the Optitrack coordinates frame by setting the UP axis to Z-up or Y-up. Then you can use following functions below to output the coordinates in ROS. transform.getOrigin().getX(); transform.getOrigin().getY(); transform.getOrigin().getZ(); On Fri, Apr 26, 2019 at 12:34 AM Manakoy<EMAIL_ADDRESS>wrote: Hi, ChrisYang0830 Maybe we have encountered the same problem, and I have been worried about it for a long time. I think we can exchange it to solve it together. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#132 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZU2GOP36PLXGOX6LBSKALPSKWBNANCNFSM4HFMCA7Q . — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Actually, you don't need to change anything in the vrpn_client_ros and also the hover_vrpn.launch if you just want to achieve the hovering function. The file to control the hover function is located in the crazyflie_controller/src/controller.cpp. The function
targetDrone.pose.position.x
targetDrone.pose.position.y
targetDrone.pose.position.z
are used to import coordinates from the VRPN, however, these data is varying with yaw rotating in my Optitrack. So I replaced this function with
transform.getOrigin().getX();
transform.getOrigin().getY();
transform.getOrigin().getZ();
Such that, I can get the correct coordinates from the VRPN.
Sorry that I'm new to the Gitbuh, I don't know how to insert the link of code into the text.

I changed part of controller.cpp as you said.. But it doesn't seem to work. Video with experiment in the attachment.
            msg.linear.x = m_pidX.update(0, transform.getOrigin().getY());
            msg.linear.y = m_pidY.update(0.0, transform.getOrigin().getX());
            msg.linear.z = m_pidZ.update(0.0, transform.getOrigin().getZ());

I uploaded my crazyflie_ros. Can you help me see where is the problem?  Many thanks！
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2019年4月28日(星期天) 凌晨1:46
收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [whoenig/crazyflie_ros] Hover with VRPN issues position data isnot correct (#132)
Hello, ChrisYang0830 Sorry, I don't seem to understand you very well. I don't quite understand how to call and where to call this function. I want to know which file you are correcting to correct the coordinates.
…
------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年4月27日(星期六) 上午6:34 收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [whoenig/crazyflie_ros] Hover with VRPN issues position data isnot correct (#132) Hello Manakoy I think I find a way to solve this problem. First, you need to make it clear of the relationship between the Optitrack coordinate frame and the ROS default coordinate frame. If they are not coincident, you need to adjust the Optitrack coordinates frame by setting the UP axis to Z-up or Y-up. Then you can use following functions below to output the coordinates in ROS. transform.getOrigin().getX(); transform.getOrigin().getY(); transform.getOrigin().getZ(); On Fri, Apr 26, 2019 at 12:34 AM Manakoy<EMAIL_ADDRESS>wrote: Hi, ChrisYang0830 Maybe we have encountered the same problem, and I have been worried about it for a long time. I think we can exchange it to solve it together. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#132 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZU2GOP36PLXGOX6LBSKALPSKWBNANCNFSM4HFMCA7Q . — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Actually, you don't need to change anything in the vrpn_client_ros and also the hover_vrpn.launch if you just want to achieve the hovering function. The file to control the hover function is located in the crazyflie_controller/src/controller.cpp. The function
targetDrone.pose.position.x
targetDrone.pose.position.y
targetDrone.pose.position.z
are used to import coordinates from the VRPN, however, these data is varying with yaw rotating in my Optitrack. So I replaced this function with
transform.getOrigin().getX();
transform.getOrigin().getY();
transform.getOrigin().getZ();
Such that, I can get the correct coordinates from the VRPN.
Sorry that I'm new to the Gitbuh, I don't know how to insert the link of code into the text.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I changed part of controller.cpp as you said.. But it doesn't seem to work. Video with experiment in the attachment. msg.linear.x = m_pidX.update(0, transform.getOrigin().getY()); msg.linear.y = m_pidY.update(0.0, transform.getOrigin().getX()); msg.linear.z = m_pidZ.update(0.0, transform.getOrigin().getZ()); I uploaded my crazyflie_ros. Can you help me see where is the problem? Many thanks！
…
------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年4月28日(星期天) 凌晨1:46 收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [whoenig/crazyflie_ros] Hover with VRPN issues position data isnot correct (#132) Hello, ChrisYang0830 Sorry, I don't seem to understand you very well. I don't quite understand how to call and where to call this function. I want to know which file you are correcting to correct the coordinates. … ------------------ 原始邮件 ------------------ 发件人<EMAIL_ADDRESS>发送时间: 2019年4月27日(星期六) 上午6:34 收件人<EMAIL_ADDRESS>抄送<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [whoenig/crazyflie_ros] Hover with VRPN issues position data isnot correct (#132) Hello Manakoy I think I find a way to solve this problem. First, you need to make it clear of the relationship between the Optitrack coordinate frame and the ROS default coordinate frame. If they are not coincident, you need to adjust the Optitrack coordinates frame by setting the UP axis to Z-up or Y-up. Then you can use following functions below to output the coordinates in ROS. transform.getOrigin().getX(); transform.getOrigin().getY(); transform.getOrigin().getZ(); On Fri, Apr 26, 2019 at 12:34 AM Manakoy<EMAIL_ADDRESS>wrote: Hi, ChrisYang0830 Maybe we have encountered the same problem, and I have been worried about it for a long time. I think we can exchange it to solve it together. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#132 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/ALZU2GOP36PLXGOX6LBSKALPSKWBNANCNFSM4HFMCA7Q . — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. Actually, you don't need to change anything in the vrpn_client_ros and also the hover_vrpn.launch if you just want to achieve the hovering function. The file to control the hover function is located in the crazyflie_controller/src/controller.cpp. The function targetDrone.pose.position.x targetDrone.pose.position.y targetDrone.pose.position.z are used to import coordinates from the VRPN, however, these data is varying with yaw rotating in my Optitrack. So I replaced this function with transform.getOrigin().getX(); transform.getOrigin().getY(); transform.getOrigin().getZ(); Such that, I can get the correct coordinates from the VRPN. Sorry that I'm new to the Gitbuh, I don't know how to insert the link of code into the text. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Hello, Manakoy
There are many reasons that influence the attitude of the crazyflie. You can try to change the parameters of the PID update function m_pidX.update. If you open the function update(float value, float targetValue) in the pid.hpp, you will find the first parameter is the current value of the crazyflie, and the second value is the targetValue. If you want to crazyflie to hover at the original point, the targetValue should be 0. However, in the controller.cpp, msg.linear.x = m_pidX.update(0, transform.getOrigin().getY()); the current value is put in the second. So probably you can try to change the position of these two values and see if the crazyflie is able to hover. If not, probably you need to adjust the PID value.


How to use path with spaces?

for example i try to sync this path: /home/user/.config/discord/Code Cache. How i can mount this path? Code\040Cache doesn't work.

Did you quote the target?  I don't generally use spaces with Linux filesystems.

WHATTOSYNC=('/home/user/space test/') This seemed to work fine for me


Grouping items in a report

On the report page, implement the ability to group the same actions located next to each other.
The page should have a button or switch that will enable/disable the grouping mode.
When items are grouped, statistics (time, distance, speed, etc.) should be summed across these items .

Version 1.1 has more advanced filtering. Maybe grouping doesn't make sense.

Although, it may make sense to make another view of the report, in which to show a graph of summary data. 🤔


Support mysql-8.0 on ubuntu-xenial stemcells

This is a duplicate of #736, and most of the work comes courtesy of @abg
This change consumes the mysql "Linux Generic" pre-compiled tarball rather than a source tarball so that BBR can backup the MySQL 8.0 databases under ubuntu-xenial foundations. Building from source is not currently possible in these environments because ubuntu-xenial stemcells ship with an older compiler toolchain that is no longer supported by MySQL 8.0.
Some implications of this change:

The MySQL 8.0 pre-compiled distribution vendors OpenSSL v1.1.x.
As of MySQL 8.0.31 (included in this change) that is specifically OpenSSL 1.1.1q. This is not the OpenSSL library provided by the stemcell or otherwise provided by the release.
This is our main concern with this implementation. A CVE in OpenSSL 1.1.1q may not be entirely trivial to patch should this be required and a newer MySQL 8.0 release is not available. It may be possible to substitute libraries controlled by at least this BOSH release to make patching less onerous, but I don't think it will be possible to consume the OpenSSL provided by the stemcell using this approach.

The pre-compiled distribution links against the ncurses v5 ABI.
This works out of the box with xenial, but ubuntu-jammy stemcells currently only provided the ncurses v6 ABI. To address this, this commit bundles ncurses v6 and compiled with the backwards compatible v5 ABI and vendors the shared libraries in the MySQL 8.0 distribution.

This duplicate PR was created from a branch so that our CI/CD would pick it up. The original PR #736 was from a fork, and hence wouldn't be picked up by our CI.

We should update the testing matrix to no longer exclude testing on ubuntu-xenial X mysql:8.0


Agent.service.register() ignores token?

I might be doing something stupid, but I’m starting out with Consul and I bind a token using c = Consul(token="my-token"), can verify it’s on c.agent.token, but it’s not sent when I try to register a service.  Which leads to a local success but entries like
2015/10/21 20:43:12 [WARN] agent: Service 'metrics.test' registration blocked by ACLs

in my consul logs.  So the data never reaches my cluster.
Glancing over https://github.com/cablehead/python-consul/blob/master/consul/base.py#L593-L655 looks like it completely ignores the token?  Or is it me?

Thanks for catching this.
Hrm, I can't work out how ACLs for services are supposed to work. I quickly add a passthrough for c.agent.service.register for token.. but in tests/test_std.py:test_acl_implicit_token_use i added a quick check expecting service creation to be denied, unless using a valid token, but I couldn't get consul to deny service creation.
Could you take a shot at adding a test to that function to demonstrate that tokens are working as expected?

Yeah as I wrote, it works locally but the services  aren't federated to the cluster with the log error I pasted.   :)
So all you can test for is to endure, that there's a token…

Ah gotcha. Thanks for the clarification. KK, I think I can see a way to test it now.

token should work with agent.service.register and agent.check.register now
pushed as v0.4.7

Thank you, it works now indeed!


Feat channel abandon

Adds and restyles channel abandon button on channel page.

Waiting for pagination to merge.


Build ebpfcore as a DLL for testing

Description

Update to latest usersim
Fix bug in libbpf_link.cpp found by latest usersim, where ebpf_free() was being used to free memory allocated by strdup() rather than an ebpf allocator
Fix memory leaks in libbpf_program.cpp where strdup was used to allocate memory that was never freed
Fix bugs in test_helper.cpp found by latest usersim, where ebpf_free() was being used to free memory allocated by new.
Build ebpfcore_usersim.dll using the same files as used for ebpfcore.sys.
Add a test case that exercises the DriverEntry/DriverUnload code paths.

Testing
Tests will be expanded in the future once IOCTL support is added to usersim.
Documentation
No impact.
Installation
Installer files are updated in this PR.

Blocked on https://github.com/microsoft/usersim/pull/80

Blocked on https://github.com/iovisor/ubpf/pull/335


/bin/tar: Argument list too long

Hi,
thanks for the work, the software is a good wrapper and I am using it to build trees of huge datasets (5k+ bacterial species). An issue I have encountered in Linux (no idea if it applied to other OS's) is that if the list of --proteome items is too long, it reaches the size limit for terminal arguments (visible with the command getconf ARG_MAX) and you get an error "/bin/tar: Argument list too long".
To overcome this I think it would be useful if, instead of through command line arguments, the list of proteomes could be inputted as a file.
Thanks again!

Dear @selenocysteine,
glad to hear you like the tool. Have you tried to provide a file with the  [@configfile] option? I am not sure whether this resolves your issue. If not, maybe @iimog can help more.
Best, Alex

Hi Alex, thanks for your fast answer. It works if you use a file inputted with configfile!

Glad to hear, I will close the issue then!


Fix broken links

I was following this tutorial and ran into a couple links to files which seem to have been moved.
Issue #, if available:
Description of changes:  Updated the links to the new locations
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks for submitting this.  It has been corrected in the new corresponding file.


Meta practice first

send method use

Number
Octal
Permission Representation Ref

0
No permission
---

1
Execute permission
--x

2
Write permission
-w-

3
Execute and write permission: 1 (execute) + 2 (write) = 3
-wx

4
Read permission
r--

5
Read and execute permission: 4 (read) + 1 (execute) = 5
r-x

6
Read and write permission: 4 (read) + 2 (write) = 6
rw-

7
All permissions: 4 (read) + 2 (write) + 1 (execute) = 7
rwx

Example
$ chmod 755 testfile
$ls -l testfile
-rwxr-xr-x  1 amrood   users 1024  Nov 2 00:10  testfile
$chmod 743 testfile
$ls -l testfile
-rwxr---wx  1 amrood   users 1024  Nov 2 00:10  testfile
$chmod 043 testfile
$ls -l testfile
----r---wx  1 amrood   users 1024  Nov 2 00:10  testfile


Is there a setting option for run at startup?

BEFORE MAKING A FEATURE REQUEST, PLEASE READ THE
CONTRIBUTING GUIDE.
FEATURE REQUESTS THAT DO NOT PROPERLY FILL
IN THE TEMPLATE MAY BE IGNORED OR REJECTED.

What makes the feature necessary?
There was a startup option at tray in the old version, but I can't find that option in the newest version
How would the feature work?
Need a setting option for run at startup

there is, under the "tray" mod in the menu.

Thanks
Is that the menu you mentioned?

no, in the notion-enhancer menu

Found it! Thank you!!

for some reason the option to start notion on starup doesnt work on popos, does anybody knows how to fix it? thanks


tests: Improve messages related to ROX-22594.

Description
These are changes I was making when getting familiar with the test while investigating the flakes in ROX-22594. The flakes turned out to have an unrelated cause, but I think these improvements are worth merging anyway.

improve messages and comments
use consistent gerund form
add a couple of log messages
add a check for multiple clusters
add comments to messages which are checked by tests

Checklist

[ ] Investigated and inspected CI test results
[x] ~Unit test and regression tests added~
[x] ~Evaluated and added CHANGELOG entry if required~
[x] ~Determined and documented upgrade steps~
[x] ~Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)~

Testing Performed
Here I tell how I validated my change
CI is enough.
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/test all

/test all

/retest

/test all


Codespaces proof-of-concept

Fixes #203
Would appreciate feedback from @britt-allen or @matthewzhou. There is some documentation for how to set things up here

There are no instructions for what to do after you get to this screen. This screen comes immediately after clicking "New with options..." @ian-r-rose

I did not have an option to add "Recommended Secrets" as the docs say immediately following creation of a codespace with options. This is the screen (below) I was taken to immediately after. It's unclear if I should expect to see the form listed in the docs or if I have to navigate to it. If the latter the instructions are lacking.

Did you try to create the codespace from the devcontainer branch?

You should go to the devcontainer branch to create the codespace. If this is in main, that step will not be necessary, so it seemed incorrect to add it to the docs

Wow this was SO easy, I am not sure whatever magic you did in the background, but this just works. Thanks @ian-r-rose. I cannot wait to show this off to future MDSA trainees.
One question the docs doesn't answer: "Should we let Visual Studio Code periodically run git fetch?" this is a pop up I got while using codespaces. Want to provide guidance, but seems like it's a personal preference thing. If I do have git fetch running in the background can I still run git pull to get changes into my working directory or will I only be able to use git merge since git fetch is being run?

Thanks for testing it out!

One question the docs doesn't answer: "Should we let Visual Studio Code periodically run git fetch?" this is a pop up I got while using codespaces. Want to provide guidance, but seems like it's a personal preference thing.

To be honest, I'm not sure what to recommend here, I don't really understand what the VS Code git extension does when you say yes. I suspect you are right that it's a personal preference thing, though I usually avoid automated git actions because (in my experience) it's an easy way to get into trouble with your git history.

If I do have git fetch running in the background can I still run git pull to get changes into my working directory or will I only be able to use git merge since git fetch is being run?

I think you should still be able to run normal git operations, even if the extension is also doing things occasionally in the background. But I'm not 100% sure, having not really experimented with it myself.


Corrected the misspelled 'beacuse' to 'because' in file fluid/pkg/ddc…

…/alluxio/transform_api_gateway_test.go at line 85

Ⅰ. Describe what this PR does
pkg\ddc\alluxio\transform_api_gateway_test.go:85:34: corrected "beacuse" to "because"
Ⅱ. Does this pull request fix one issue?

fixes #3902
Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/lgtm

/assign @yangyuliufeng


Publish-RDWebClientPackage Errors

I am trying to follow along in this guide for a server that is not connected to the internet.  I was able to download the module RDWebClientManagement successfully and import the module.  I have problems with steps 5 and 6.  I can't do the install-RDWebClientPackage because i am not online.  Then when i go to run the command 'Publish-RDWebClientPackage -Type Test -Latest' on my server it failes with The requested Client Package is not installed.

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

ID: 38213294-2784-2341-ac3e-77d2b017e2a2
Version Independent ID: 8d30b4c5-68df-5fa2-d7e9-ede9b406527f
Content: Set up the Remote Desktop web client for your users
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/remote-desktop-web-client-admin.md
Product: windows-server-threshold
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@szolla Please see this thread for more details.

@szolla I'm contacting the dev team right now to see if they can help you. I also recommend emailing the team directly through the link at the bottom of the page.

@szolla The dev team told me that the current version of the web client doesn't support offline installation. I suggest that you make a request to add the feature in the Remote Desktop suggestion box. If you have any further questions, please email the dev team.

Hi,
i'm getting this error can you help me how to fix this?
PS C:\Windows\system32> Publish-RDWebClientPackage -Type Production -Latest
UpdateIISContext : RD Web Access does not appear to be installed on the system.
At C:\Program Files\WindowsPowerShell\Modules\RDWebClientManagement\1.0.3\RDWebClientManagement.psm1:865 char:11
if (!(UpdateIISContext $iisContext))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,UpdateIISContext


ESP32 C3 Super Mini Dev Board

Please Help. When I try to compile, I get this error:
In file included from c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:11,
from C:\Users\mpken\AppData\Local\Temp.arduinoIDE-unsaved202446-7204-2hb6t6.q0vwo\gpioviewer\gpioviewer.ino:9:
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer\src/ESPAsyncWebServer.h:35:10: fatal error: AsyncTCP.h: No such file or directory
35 | #include <AsyncTCP.h>
|          ^~~~~~~~~~~~
compilation terminated.
exit status 1
Compilation error: exit status 1
This is the Code I used:
/***
This example is intended to demonstrate the use of the GPIO Viewer Library.
Tutorial : https://youtu.be/UxkOosaNohU
Latest Features : https://youtu.be/JJzRXcQrl3I
Documentation : https://github.com/thelastoutpostworkshop/gpio_viewer
***/
#include <gpio_viewer.h> // Must me the first include in your project
GPIOViewer gpio_viewer;
void setup()
{
Serial.begin(115200);
// Comment the next line, If your code aleady include connection to Wifi in mode WIFI_STA (WIFI_AP and WIFI_AP_STA are not supported)
gpio_viewer.connectToWifi("yes", "yes");
gpio_viewer.setPort(5555);                 // You can set the http port, if not set default port is 8080
// Your own setup code start here
// Must be at the end of your setup
// gpio_viewer.setSamplingInterval(25); // You can set the sampling interval in ms, if not set default is 100ms
gpio_viewer.begin();
}
// You don't need to change your loop function
void loop() {
}
// The rest of your code here

The AsyncTCP.h library is not instllaed, you have to install it throught the Arduino IDE library manager.  See the installation instructions here: https://github.com/thelastoutpostworkshop/gpio_viewer

More problems...Please help.
In file included from C:\Users\mpken\AppData\Local\Temp.arduinoIDE-unsaved202446-8116-1yj938d.vwo9\sketch_may6a\sketch_may6a.ino:1:
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h: In member function 'int GPIOViewer::readGPIO(int, uint32_t*, pinTypes*)':
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:500:33: error: 'analogGetChannel' was not declared in this scope; did you mean 'analogChannel'?
500 |         uint8_t analogChannel = analogGetChannel(gpioNum);
|                                 ^~~~~~~~~~~~~~~~
|                                 analogChannel
Multiple libraries were found for "ESPAsyncWebServer.h"
Used: C:\Users\mpken\OneDrive\Documents\Arduino\libraries\ESPAsyncWebServer
Not used: C:\Users\mpken\OneDrive\Documents\Arduino\libraries\ESP_Async_WebServer
exit status 1
Compilation error: exit status 1

I removed the multiples.  This is the latest error message:............................
In file included from C:\Users\mpken\AppData\Local\Temp.arduinoIDE-unsaved202446-8116-1yj938d.vwo9\sketch_may6a\sketch_may6a.ino:1:
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h: In member function 'int GPIOViewer::readGPIO(int, uint32_t*, pinTypes*)':
c:\Users\mpken\OneDrive\Documents\Arduino\libraries\GPIOViewer\src/gpio_viewer.h:500:33: error: 'analogGetChannel' was not declared in this scope; did you mean 'analogChannel'?
500 |         uint8_t analogChannel = analogGetChannel(gpioNum);
|                                 ^~~~~~~~~~~~~~~~
|                                 analogChannel
exit status 1
Compilation error: exit status 1

In the Arduino IDE Boards Manager, make sure you have the latest version of the Espressif ESP32 boards :

This is what I have installed.

You are using the alpha version of the boards, this is not yet supported, use 2.0.14 version

Glad it works!


String is thrown instead of an Error

Due to the recent changes to this line for Node v0.12 support, when supplying a damaged PDF a string is thrown instead of an error. It used to be an instance of an Error, which I think is more correct.

Ahh..
Anyway, fix published as 0.1.10.

Thanks! :+1:


When encoding entries to triples, use the correct escaping rules. [phab:D8]

Created by fromberger at 2015-01-29 18:37:20:
The string encoding used for RDF triples isn't quite the same as the Go
quoted-string rules, in particular it doesn't allow the \xHH syntax for literal
bytes.  This change uses the correct encoding, and allows a workaround for
files that have Unicode characters that aren't in UTF-8 format.
Fixes #195.

fromberger wrote at 2015-01-29 18:42:31:

One of the escape cases was in the wrong place.

schroederc accepted this revision at 2015-01-29 18:46:36

fromberger closed via commit 2ee6d1cc0c34e0ed7bc772c9e270ec881469e6e2 at 2015-01-29 19:03:16

commit 88f1d74145a9c1cdf0dbe9d05f1afc9df79c1a4f
8e677ac47e59c1fe078046bcca357c72389c9ff6


will this project support server connect each other

will the devzat server support connect each other to expend the server

I feel like this would be very suitable for a plugin. I will start working on it.

interesting

Development started here: https://github.com/Arkaeriit/devzat-courier

I feel like this would be very suitable for a plugin. I will start working on it.

thanks a lot

The plugin is now in a working order.

absolutely incredible 👏


[Rector] Apply BooleanInIfConditionRuleFixerRector

Description
@kenjis @paulbalandan here based on https://github.com/codeigniter4/CodeIgniter4/pull/7943#pullrequestreview-1630449886
I apply BooleanInIfConditionRuleFixerRector to ensure pass bool to if cond.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[ ] Unit testing, with >80% coverage
[ ] User guide updated
[ ] Conforms to style guide

@kenjis updated 👍

phpstan baseline regenerated 👍

@kenjis updated 👍

should be ready for merge 👍

@samsonasik I think this is a good direction to go but will need some more individual attention to the changes. Please review @paulbalandan and @kenjis suggestions.

@kenjis @paulbalandan the type check is based on type defined in param, so that check fix also phpstan, except, we use assert before if to enforce type.

@samsonasik Can you update the PR branch, and run rector again?

@kenjis done :+1:

@kenjis updated 👍

Please run to remove ignoreErrors.
$ vendor/bin/phpstan analyze --generate-baseline phpstan-baseline.php

Run vendor/bin/rector process system/CLI/CLI.php first, and run phpstan to update the baseline.

@kenjis done 👍

@samsonasik Thank you! 👍
PHPStan and Rector check have passed.
I'm going to merge this after all checks have passed.

Ready to merge :+1:


Update maximum length of a list name

The maximum name of a list name should be 20 characters instead of 50 when creating a new list in /<CF_ACCOUNT_ID>/configurations/lists/new.

Hi @licitdev
Actually, you just found an issue in the Cloudflare dashboard.
The Cloudflare API operation for creating lists allows you to define a list name up to 50 characters long, and the dashboard is currently limiting names to a max of 20 characters, when it should be enforcing the same 50-character limit.
This issue will be fixed soon in the dashboard. Thank you for reporting it!


Remove the extra adjoint solve warning.

This removes the warning about performing an adjoint solve immediately following another adjoint solve. This will happen regularly in the case of multiple QoIs. Resolves https://github.com/LLNL/serac/issues/539 .

Codecov Report

Merging #544 (73374a6) into develop (ffcfce0) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #544      +/-   ##
===========================================
- Coverage    96.14%   96.12%   -0.02%
===========================================
  Files          103      103
  Lines         6457     6456       -1
===========================================
- Hits          6208     6206       -2
- Misses         249      250       +1

Impacted Files
Coverage Δ

src/serac/physics/solid.cpp
95.83% <ø> (-0.02%)
:arrow_down:

...lities/functional/tests/functional_comparisons.cpp
97.50% <0.00%> (-0.50%)
: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 ffcfce0...73374a6. Read the comment docs.


Dev container feature ordering, multiple features in same repository

Exploring more widespread usage of features as they are implemented today a couple of interesting scenarios came up:

Feature writing feels a little more complicated than it feels it should be. Some features that exist today have checks or code to guard against the features not executing in a predictable manner. This also complicates having features like user creation that a user could define as the first or last part of the execution.
The more atomic a feature was the easier it was to reuse it in different scenarios.
Allow features to be referenced multiple times in a devcontainer.json so that it's possible to execute them multiple times with different parameters. Situations came up where it would have been useful to execute a feature multiple times to install multiple versions of an sdk. This would also simplify the feature itself, avoiding the need to write it in a way that can loop.
Having the feature source code in a repository also allowed for faster iteration and can even help with using features to implement repo specific scripts.

Proposal
Thinking of this situation the proposal is:

Convert features in devcontainer.json to an array so that it's possible to control the order of execution and to define multiple executions of the same feature.
Add a source marker to the feature, that would allow the source code of the feature be part of the repository or the filesystem.
Make features more independent, meaning all code is in the same folder (or subfolders).
Define a feature.json, similar to how GitHub Actions work, where we could eventually support different ways features could be executed besides the install.sh supported today.

Questions
I think the biggest question is to define how we want to handle backwards compatibility with the way features are implemented and defined today.

For future reference: I think this was partly broken out from #8, correct?

Add a source marker to the feature, that would allow the source code of the feature be part of the repository or the filesystem.

By this, do you mean that you do not need to implement install.sh when you are dealing with multiple features in a collection?  Assuming so, there's also https://github.com/microsoft/dev-container-spec/issues/21 which defines multiple potential scripts down the road. Would the pointer to the source here be to a folder? (Or put another way, what are you thinking the folder structure would look like?)

I think the biggest question is to define how we want to handle backwards compatibility with the way features are implemented and defined today.

By this do you mean, the current object-based syntax (non-array) in devcontainer.json?  If so, I think the question is whether we just convert to an array behind the scenes and keep it with an assumed alphabetical order, or have tools / services that support the old format do a "squiggle" to indicate its deprecated and will be removed somewhere along the way.

@Chuxel Yeah I just felt that some are not as explicit and I thought a discussion on the specific points.

By this, do you mean that you do not need to implement install.sh when you are dealing with multiple features in a collection? Assuming so, there's also https://github.com/microsoft/dev-container-spec/issues/21 which defines multiple potential scripts down the road. Would the pointer to the source here be to a folder? (Or put another way, what are you thinking the folder structure would look like?)

For this I was thinking something closer to how Actions work. Meaning that we can have a feature.json file in the root of the feature that defines what scripts or applications are to be used for each of the lifecycle scripts. It would still be a good idea to say that if that file is not present the default is install.sh, etc. That way the configuration is only needed if users need to do something different than the default.
For the file structure I was thinking something like:
collectionFolder
+-- features-collection.json
+-- common (or similar name)
|    +-- (library files)
+-- feature1
|    +-- feature.json
|    +-- install.sh (or others)
|    +-- (other files)
+-- feature2
(etc)

Like proposed in https://github.com/microsoft/dev-container-spec //issues/7 the idea would be that we can still distribute groups of features as a single collection, on 1 tar file. This way library scripts or data common to a group of features would still be distributed with them. But from the point of the spec each feature would be parsed/executed separately, in its own layer and is considered independent. The 'features-collection.json' file is more of a UX help on what features exist at the moment of searching and where they are located. 'feature.json' would be the file that we would use to execute a particular feature referenced in 'devcontainer.json'

By this do you mean, the current object-based syntax (non-array) in devcontainer.json? If so, I think the question is whether we just convert to an array behind the scenes and keep it with an assumed alphabetical order, or have tools / services that support the old format do a "squiggle" to indicate its deprecated and will be removed somewhere along the way.

I like the second idea since it maintains things working as today and supports the array syntax moving forward.

Got it - that makes sense and would be compatible with #21. Having one giant file right now does get cumbersome for editing. features.json then could be closer to devcontainer.json in its format without that getting out of hand.  e.g. extensions and settings should probably be under customizations to mirror #1. Thoughts @chrmarti @bamurtaugh ?

Using an array in the way described above makes sense, as it seems to make config feel more manageable.
I'm trying to discern all of the features files that could exist in a project. I have the following understanding:

devcontainer-features.json: list of all features in a project, with metadata for each
install.sh: entry point to install features

How do feature.json and features-collection.json tie in? Is features-collection.json an alternative option to or new name for devcontainer-features.json? Do you have an example of what a feature.json would look like compared to the other files here?

The way I think about it is that we have files required to execute each feature and files for organization, UX and search of the available features.
The special case is when we have libraries of scripts that are shared by different features.
Concept
Feature

A feature is a folder with or without a feature.json file in it.
It is considered a single unit from the point of view of its execution, with one entrypoint for each lifecycle event.
Each feature would be executed in a single layer of the build process.
Features should be as simple as possible to facilitate reuse and composition.
If there is a feature.json it should contain everything required to execute it and display it to the user.
In principle this should be all that is needed for an application that implements the spec to successfully execute it.

Structure
+-- feature
|    +-- feature.json
|    +-- validate.sh (default)
|    +-- aquire.sh (default)
|    +-- install.sh (default)
|    +-- (other files)
The filenames would be the default names if a feature.json is not present or does not contain that information.
feature.json

Property
Type
Description

id
string
Id of the feature/definition. The ids should be unique in the contest of the repository where they exist.

name
string
Name of the feature/definition

description
string
Description of the feature/definition

metadata
any
Freeform data added by users for their own purposes.

keywords
array
List of keywords relevant to a user that would search for this definition/feature.

validate.app
string
App to execute. (Optional, defaults to /bin/sh)

validate.parameter
string
Parameters/script to execute. (Defaults to validate.sh)

aquire.app
string
App to execute. (Optional, defaults to /bin/sh)

aquire.parameter
string
Parameters/script to execute. (Defaults to aquire.sh)

configure.app
string
App to execute. (Optional, defaults to /bin/sh)

configure.parameter
string
Parameters/script to execute. (Defaults to install.sh)

options
object
Possible options to be passed as environment variables to the execution of the scripts

Options

Property
Type
Description

id
string
Id of the option

id.type
string
Type of the option

id.enum
string array
possible values

id.default
string
default value for the option

id.description
string
Description for the option

In this way feature.json becomes the complete information about the feature itself.
Feature Collection
In the case where the intent is to have a library of scripts common to a group of features or the intent is to distribute them as a single package then the structure can be one folder up and include a feature-collection.json file.
Structure
collectionFolder
+-- features-collection.json
+-- common (or similar name)
|    +-- (library files)
+-- feature1
|    +-- feature.json
|    +-- install.sh (or others)
|    +-- (other files)
+-- feature2
(etc)
feature-collection.json
The structure of this file could be as proposed here https://github.com/microsoft/dev-container-spec/pull/15/ and in a way it can be generated automatically by appending each feature.json file for each feature.
Strictly speaking its not required for execution, since the application, through the id can identify the particular feature its is looking for and execute it, but it can serve as the information included with a release so that applications can show this information to the users prior to downloading the package.
devcontainer.json
For devcontainer.json the changes would be to support the features tag as an object or as an array.
In the case of an array, then the structure would be:

Property
Type
Description

id
string
reference to the particular feature to be included.

options
object
Type of the option

ID can be any of the following:

Type
Description

feature
Included features with the application.

organization/repository/{feature or collection}/@version
Reference to a particular release

https://<../URI/..>/devcontainer-features.tgz#{feature}
Direct reference to a download.

./{local-path}  -or-  ../{local-path}
Path relative to devcontainer.json

If we agree I can update the proposal with this changes.

The explanation above was super helpful, thanks so much for writing it up @edgonmsft.

If we agree I can update the proposal with this changes.

Meaning we'd adopt the bullets under the Proposal header in the original issue? I think that makes sense.

Yeah I'm transforming it into more of a spec document and merging it with https://github.com/microsoft/dev-container-spec/pull/15 to do 1 document

Generally sounds like a good plan to me!  I have a few smaller comments, which i'll leave for PR #15 when that is updated :)

Added the proposal here: https://github.com/devcontainers/spec/pull/27


question?

so this is better than blank?

Don't want to compare the two. You should use the one which fits in your criteria for "best".
Like this one, is small in size, doesn't require python. etc.


The  is not rendeing

I used em to emphasize text, and it used to show em instead of applying the emphasize. I solved the issue with some help, and it turned out to be in render-heading.html, and the solution was to edit line 9 to be like this {{ .Text | safeHTML }}. Hopefuly you will solve it so that it doesn't afeect more users.

Sorry for so late to reply.
Thanks for your feedback, I will fix it soon.


Undeclared dependency in AbstractTraceableHttpClient

Environment
PHP: 7.4.33
sentry/sdk: (omitted)
sentry/sentry: 3.17.0
sentry/sentry-symfony: 4.7.0
symfony/*: 5.4.21
Steps to Reproduce
Note: Installation done through composer

install Symfony LTS (5.4)
install symfony/http-client and nyholm/psr7
disable sentry/sdk in composer.json
install sentry/sentry-symfony
use default configuration (tracing enabled)
trigger the error by running code that makes an HTTP request

Expected Result
The HTTP request should be processed without error.
Actual Result
The requests throws a class-not-found error.
NOTICE: PHP message: php.CRITICAL: Uncaught Error: Class 'GuzzleHttp\Psr7\Uri' not found {"exception":"[object] (Error(code: 0): Class 'GuzzleHttp\\Psr7\\Uri' not found at /app/vendor/sentry/sentry-symfony/src/Tracing/HttpClient/AbstractTraceableHttpClient.php:54)"} []

The reason for this error is that GuzzleHttp\Psr7\Uri is used in AbstractTraceableHttpClient::request() without declaring it a dependency in either sentry/sentry-symfony or sentry/sentry. However, guzzlehttp/psr7 is a dependency of sentry/sdk.
A possible fix were to have a dependency on Psr\Http\Message\UriFactoryInterface in AbstractTraceableHttpClient since that is already required by sentry/sentry.

I'll prepare a release that includes the fix for this issue (https://github.com/getsentry/sentry-symfony/pull/708). Sorry about that!

Meh, didn't think of looking up closed issues, sorry.

I would prefer if this were solved without a direct dependency on guzzlehttp/psr7 as the affected code does not require a specific implementation to achieve its goal ($partialUri could be created from any UriInterface instance).

@cleptric we should avoid similar issues in the future by adding https://packagist.org/packages/maglnet/composer-require-checker in CI

Released via 4.8.0


Completed tasks should move to the bottom of the group

Feature requested by
DeadEnvoy - Curseforge
Describe the solution you'd like
Tasks marked as completed should automatically be placed at the bottom of a group in the task tracker
Additional context
The origin request is in relation to the task manager, however, the task managers main purpose is to manage tasks and should not act as an alternative to the task tracker in all manners. This feature should therefore not be implemented in the task manager, as this would collide with feature request #4.

Released in v1.3-beta