Assertion error assert len(byref_srcs) == len(bl.byref_indexes)

[ScriptingProvider] stack block 181a19a4c: AssertionError:
[ScriptingProvider] Traceback (most recent call last):
[ScriptingProvider]   File "/Users/0xalsr/Library/Application Support/Binary Ninja/plugins/binja-blocks/blocks.py", line 786, in annotate_stack_block_literal
[ScriptingProvider]     assert len(byref_srcs) == len(bl.byref_indexes)
[ScriptingProvider] AssertionError

This was found running the Annotate all blocks command on DSC for iOS 18.1.1 22B91 iPhone17,2 with the libsystem_c.dylib (loaded by default), Foundation and libsystem_blocks.dylib images loaded.
The instance of this block:
181a19a4c                                    struct Block_literal_181a19a4c stack_block_var_90
181a19a4c                                    stack_block_var_90.isa = &__NSConcreteStackBlock
181a19a58                                    stack_block_var_90.flags = 0xc0000000
181a19a58                                    stack_block_var_90.reserved = 0
181a19a74                                    stack_block_var_90.invoke = ___32-[NSData(NSData) isEqualToData:]_block_invoke
181a19a74                                    stack_block_var_90.descriptor = &block_descriptor_1e0fc55d8
181a19a74
181a19a7c                                    if (x8_1 != 0)
181a19a7c                                        x19 = isEqualToData
181a19a7c
181a19a80                                    stack_block_var_90.__offset(0x28).q = x21
181a19a80                                    stack_block_var_90.__offset(0x30).q = x1
181a19a84                                    x8_3 = &stack_block_var_90.byref_ptr_38

Its descriptor:
1e0fc55d8  struct Block_descriptor_1e0fc55d8 block_descriptor_1e0fc55d8 =
1e0fc55d8  {
1e0fc55d8      uint64_t reserved = 0xc0008000
1e0fc55e0      uint64_t size = 0x38
1e0fc55e8      char const* signature = 0x182608a7f {"v40@?0r^v8{_NSRange=QQ}16^B32"}
1e0fc55f0      uint64_t layout = 0x10
1e0fc55f8  }

The error occurred in a number of other instances; stack block 181a199fc, stack block 1822c1eb4, stack block 1822c1f5c.

Assertion replaced by more helpful error logging in ca496eb, closing this issue.  The underlying specific situations where byrefs are not picked up properly for some reason will now be easier to diagnose, but are not addressed by ca496eb, and may or may not be addressable in a plugin at all.


Refactor KubemarkCluster into ComputeCluster

What this PR does / why we need it:
Refactor the current KubemarkCluster into a compute cluster; this is required for two reasons:

To disambiguate from the KubemarkCluster" CRD that will be introduced in the following steps
To ensure this component does not become a bottleneck at scale (it currently creates a client at each reconciliation, and we already saw in Cluster API that this is a problem; it must be refactored by implementing something similar to the cluster tracker in CAPI)

Which issue this PR fixes:
rif: https://github.com/kubernetes-sigs/cluster-api-provider-kubemark/issues/63
Special notes for your reviewer:
Release notes:
Deprecate Machine.Spec.KubemarkHollowPodClusterSecretRef in favor of Machine.Spec.BackingCluster

/hold
for https://github.com/kubernetes-sigs/cluster-api-provider-kubemark/pull/64 and https://github.com/kubernetes-sigs/cluster-api-provider-kubemark/pull/65 to merge first

/hold cancel
PR should be ready (pending discussion about naming)

@elmiko this one should be ready, but let's keep it on hold till we get e2e tests running by merging https://github.com/kubernetes-sigs/cluster-api-provider-kubemark/pull/69 + corresponding test infra PRs (TODO)
/hold

the upstream work in cluster-api is still on-going, i'm happy to keep this pull open.
/remove-lifecycle rotten


error:Invalid or damaged PDF file

Hello, iOS loads the PDF address with pdf. js. There are two electronic signatures in it, but they can only be displayed for the first time, and they can't be loaded later (hint: Invalid PDF structure). If only an electronic signature PDF can be loaded every time, how can I solve this problem?

It looks like the PDF is corrupted or it's not served correctly (try opening it with https://mozilla.github.io/pdf.js/web/viewer.html), but it's impossible to tell without the actual PDF file as requested in the issue template. Please take care of filling out the entire issue template when you make an issue, otherwise it's not actionable for us.

thanks for reply, like this pdf  'http://testfile.douziit.com/carchain/sign/1541040722327.pdf'  only load once and then load faild

It loads just fine for me in the default viewer, so either a viewer modification is causing this or the server is intermittently not serving the file correctly. You can verify by checking the status of the PDF request in the network tab of the console.


NOT CENTERED IMAGE

When you fullscreen the image of the track it is not centered and is stuck on the left.  If you dont fix this im going to tweak out bro.

Also the main image isn't centered too (idk why you would want to Fullscreen it).

ok mb


Create the sender identity endpoints

Please add the following endpoints on the new Sender Identity section, below the Domains.

[x] Get a list of sender identities
[x] Get a single sender identity
[x] Add a sender identity
[x] Update a sender identity
[x] Delete a sender identity

Done ✅


Add high DPI awareness support

Currently if you start the game with SP enabled Windows provide DPI virtualization for the window size. This is done to SP using GetMonitorInfoW and MonitorFromWindow to position the game's window. Without marking the thread as DPI aware it gives back virtual sizes and then Windows scales the game's window itself to match the real size later on.
This gives a blurry result because SP draws the game at the virtual resolution Windows gave it. Fixing parts of this is fairly simple, I've already done some rough tests in a local branch.
We could easily just mark the game's thread as DPI aware, this would solve the blurriness but would create big problems for actual high DPI displays.
A better solution would be to actually implement DPI scaling for the game. The first part of doing this is easily done, pass back a virtual resolution to the game ourselves and then actually draw the game at a higher resolutions. This would require some touch ups in some places like the fixed function shaders and StretchRect but overall would be manageable.
The problems start once we get to UI rendering. The game's bitmap fonts and UI elements are not intended to be drawn at high DPIs. We can kind of get away with cubic sampling for the UI elements but text just looks downright bad. Meaning if we want to look good at high DPIs we need to replace the game's fonts with one's we've rendered based on the current DPI. Mods would continue to be screwed sadly.
The best thing I can think of might be to introduce a custom material specifically for font rendering then we replace the game's fonts with that whenever it loads core.lvl like we do for shaders already.
Solving this properly is probably going to take a fair amount of work but I think it is worth looking into.

Implemented by 32e0fe5cd1dad938d37f3e41e5ab78b56786f9e7


moment.toDate documentation outdated

Description of the Issue and Steps to Reproduce:
Moment documentation currently indicates toDate returns a reference to the wrapped date object, and any changes to underlying date obj will be passed through
https://momentjs.com/docs/#/displaying/as-javascript-date/
However, in code, toDate now returns a copy of date as per
https://github.com/moment/moment/commit/b4b4efec9622bfb69eae49fd350fe6f19c31f897
Can you clarify which one should be the expected behavior?
Thanks

Copy is expected. We changed that a couple months ago.

Thank you for the quick response. I'll submit a PR in docs for this

I merged the docs PR so I'm going to close this. It will go out next build of the site.


[Dashboard] Create test cases for protocol stats

Before applying, Read our Contributor Guidelines and README.
Create test cases negative and positive scenarios for next functions, which you can find here:

get_general_stats
get_supply_stats
get_collateral_stats
get_debt_stats
get_utilization_stats

Create new folder tests in dashboard_app dir

@djeck1432 can i work on this

@djeck1432 I would like to take this task, I love orange. I am a first time contributor.

@djeck1432
This would be nice to have as my first contribution to the spotnet draft in less than 8 hours.

This would be nice to have as my first contribution to the spotnet draft in less than 8 hours. I love orange


Minor JNI/C fixes

Discovered these while compiling with VC:

gdx2d.c: use char* instead of void* for pointer arithmetic.
gdx-box2d: fixed return type for jniSetMaxLength (should be void).

Looks good to me.


♻ TinaCMS - Use css instead of @react-hook/window-size

Cc: @JackDevAU
There are a few places where we are using @react-hook/window-size to adjust elements based on screen size. It would be better to use css media breakpoints instead to keep everything consistent.
This may require setting a breakpoint for 1000px in a configuration file and then using it in the Tailwind config to ensure consistency with our existing breakpoints.

[x] See if a 1000px is necessary
[x] Refactor the code to use css media breakpoints

Figure: Places where @react-hook/window-size is being used in the code

Cc: @JackDevAU @wicksipedia @Ben0189
As per my conversation with @jeffsee55, there might be some extra usage in using the react hook, but its ok to convert to css if everything works.

[ ] Check whether the iframe works correctly in css as there might be some extra usage in the sidebar.ts and Sidebar.ts files
[ ] Check that index.tsx works properly in css (might be some problems with the stickiness)

Update

The usage in sidebar.ts and Sidebar.ts is valid as the rendering conditions are rather complex

✅ Done - details above


Add multi-platform support to CI configuration

There are now requests for multi-platform support for CouchDB in our Docker images. As far as I'm aware, none of the CouchDB team regularly builds or runs CouchDB on any platform other than amd64, and in the past, i386 (though we discourage i386 use at this time).
As a prerequisite to us publishing any sort of alternative platform binaries, we need to be running our full CI workflow on those platforms on a regular basis.
The additional platforms being requested, in descending order of popularity, seem to be:
arm64v8
ppc64le
arm32v8
arm32v7
sparc
s390x

We have been warned by the Docker project that relying on qemu for emulation in a CI context is not recommended [1], especially when compute resources are heavily constrained (as they are in Travis CI). So, ideally, we'd be doing this on Jenkins CI, which means we need real hardware donations, or we need partners like WorksOnArm.
As of 2018-01-22 the ASF has only amd64 and arm64v8 build platforms. The ppc64le build systems the ASF maintains are earmarked only for Hadoop build use.
Expected Behaviour
CouchDB is tested on and runs correctly on a variety of hardware platforms.
Current Behaviour
CouchDB is not tested on anything other than amd64.
Context
At least one sister Apache project (OpenWhisk, incubating) has requested ppc64le Docker images from the project. There has also been interest from the Docker project to add support for arm32v7 support.

@wohali Tested CouchDB v2.3(current master) with Erlang v21 and Elixir v1.8 on ppc64le, the build completes successfully and the entire test suite executes successfully with no test failures. Please advise on the way forward/next steps to support CouchDB CI on ppc64le platform.

@sarveshtamba Thanks, we'll take this from here.
Now that we have multiplatform support in the CI file (for arm), we can close this.


Faq can be used with keyboard

Please use the matching pull request template
Choose a template by going into Preview and then clicking on the link.
It will reload this page and fill it with a checklist to help you make
the pull request as good as possible.
Available Templates

Framework changes to the framework
Tools changes to anything in the tools directory
Translations changes to the translation files
Documentation-Website changes to the website
History-Website changes to the history-ui
History-Microservice changes to the history-microservice
Documentation changes to a md file (Readme for example)
Examples adding or adjusting examples
DockerFiles adding or modifying dockerfiles
Full changes to multiple categories

its better to use details and summary tag for this purpose than ul
and li

li and ul should be replaced to summary and details

hi, thanks for fixing this.. Please have a look at the issues that codacy and eslint list.


java.nio.BufferOverflowException TensorFlowYoloDetector

Hello,
I am using Yolov2-tiny to detect a single class a running this on this example app. Because I only need a single class, I have been experimenting by reducing layers on yolov2-tiny and the filter sizes.  After a second reduction of the model, I have ran into the error "java.nio.BufferOverflowException".
Full Error
E/AndroidRuntime: FATAL EXCEPTION: inference
Process: org.tensorflow.demo, PID: 32033
java.nio.BufferOverflowException
at java.nio.HeapFloatBuffer.put(HeapFloatBuffer.java:180)
at org.tensorflow.Tensor.writeTo(Tensor.java:488)
at org.tensorflow.contrib.android.TensorFlowInferenceInterface.fetch(TensorFlowInferenceInterface.java:488)
at org.tensorflow.contrib.android.TensorFlowInferenceInterface.fetch(TensorFlowInferenceInterface.java:442)
at org.tensorflow.demo.TensorFlowYoloDetector.recognizeImage(TensorFlowYoloDetector.java:168)
at org.tensorflow.demo.DetectorActivity$3.run(DetectorActivity.java:330)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.os.HandlerThread.run(HandlerThread.java:65)
I/Process: Sending signal. PID: 32033 SIG: 9
Here is my setup

Hardware: Samsung S8
System: Windows
-Models: Trained inside Linux VM and converted to .pb file using darknet.
Preview Size: Changed from 640x480 to 1920x1080

Models

Trial 1

Model: Yolov2-tiny (no modifications)
Model size: 43MB
-Inference Time: ~600ms
-Status: Works with no issues

Trial 2

Model: Yolov2-tiny (Removed a convolutional layer and scaled down filters)
Model size: 10MB
-Inference Time: ~400ms
-Status: Works with no issues

Trial 3

Model: Yolov2-tiny (removed 2 convolutional layers and scaled down filters)
Model size: 2.7MB
-Inference Time: None
-Status: Throws the exception status above
-Note: This version works if I lower the parameter YOLO_BLOCK_SIZE in
DetectorActivitty.java from 32 to 16. The problem with this is that it gives me an
inference time of 600MS and that negates the purpose of scaling down the model

All three of these model work well when used with darknet and were converted using darkflow in the exact same environment and commands.
As mentioned by  @UsamaIslam in #12649 , he fixed this issue by changing the MAX_RESULTS parameter when using fast rcnn with this example app. I tried doing the same, but it didn't work. I don't fully understand this exception so I need help understanding why this fails with Trial 3 and not the other two trials.
I would appreciate any suggestions on how I could make this work.

Is there a reason you cannot use TensorFlow Lite? See also https://blog.francium.tech/real-time-object-detection-on-mobile-with-flutter-tensorflow-lite-and-yolo-android-part-a0042c9b62c6. Note that the TensorFlow Mobile library/bindings are deprecated.

@jdduke I originally tried to use TF LIte. I tried to build the sample application in https://blog.francium.tech/real-time-object-detection-on-mobile-with-flutter-tensorflow-lite-and-yolo-android-part-a0042c9b62c6 a couple of times, but I could not make it work. Ran into multiple issues when using flutter and I found no solution for the problems online. I used a different flutter example with TF Lite and yolo2, but this one did not feature detection on a video feed. Because I need to make progress on other parts of the project I didn't have time to figure out how to figure out how to add this.
If you could refer me to a project that implements yolo2-tiny in TF Lite with real time detection that would be a best case scenario.

I see. In theory you should be able to swap out your use of TensorFlowInferenceInterface with the standard TensorFlow Lite Interpreter, assuming you have the .tflite model available. Can you provide a link to the .tflite model you tried using? Note that we're also working on YoloV3 compat (see https://github.com/YunYang1994/tensorflow-yolov3/pull/312).

Hello @jdduke,
I will try changing the the app to use TF lite interpreter. I'll give an update once I do.
Thank you,
Miguel

Tei has made Yolo-v3 work.
Hi Miguel, is it possible to attach the problematic model for us to debug? thanks

@mkulisic
Is this still an issue.

@Saduf2019 I eventually managed to solve the problem.

@mkulisic
Please move this to closed status if resolved.


Fixes [Docs] Sistent Page Bugs - Text and Link errors #11553

Notes for Reviewers
This PR fixes #11553
Signed commits

[ ] Yes, I signed my commits.

Have made the necessary updates to the import code, Button variant and "How to use Sistent tokens/theme" link.

🚀 Preview for commit 63beec261b19fc0498bb69abab09f1fa7f288823 at: https://66d06f5ab5c0a80ce7a97fbd--meshery-docs-preview.netlify.app


Pipe stderr somewhere when running the test harness

Currently, it is hard to tell when a node in the test harness panics, and if it does, nothing of it is preserved anywhere, as the process stderr is just ignored.

Closing, as fixing #209 should fix this issue.


Fix broken link to Nano text editor tutorial

The original link to the Nano text editor is broken.
This commits replaces the broken link with a functional one.

thanks, this is a good catch!


[Feature] Git configuration sync

Summary
Configure AppSmith to fetch it's applications from a Git repository
Motivation
Rather than having a database as the source of truth for applications, it would be great if they could be persisted in a Git repository which AppSmith instances can then (via a URL and custom branch) read and/or write to/from via SSH.
This unlocks the ability to have dev, staging and production instances of AppSmith with their apps managed in a GitFlow workflow.

@mikefrancis thank you for the feature request. This is indeed something we are considering today. We'll implement this as a part of version control tracked in this issue #2285 and will allow users to revert apps to previous versions as well as import/export applications.

Closing as duplicated by #2285


Roll engine f1f19bba8f00..cb0f7ece1f25 (2 commits)

https://github.com/flutter/engine/compare/f1f19bba8f00...cb0f7ece1f25
git log f1f19bba8f0089490962316867bd222727510ac5..cb0f7ece1f251c78a07550db89d0fcb3edf61e3c --no-merges --oneline
cb0f7ece1 Roll src/third_party/skia 63c4d3596915..e9912ca049a0 (8 commits) (flutter/engine#7918)
043d92c48 Embedder API for setting the persistent cache path (flutter/engine#7915)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/6251946869522432

Commit queue failed; closing this roll.


AddModelFromFile seems to be missing AddModelFromFile

Hello,
running the examples with the last stable version of Drake I get this error:
AttributeError: 'pydrake.multibody.parsing.Parser' object has no attribute 'AddModelFromFile'. Did you mean: 'AddModelsFromUrl'?
It looks like Drake does not have that method anymore. Is there another way to complete the loading of the model?
Thanks.

Hi! I think the latest way to load the model is with Parser.AddModels. Note that this returns a list of model instance indices rather than a single index

Thanks!
On Thu, Jun 13, 2024 at 10:27 PM Vince Kurtz @.***>
wrote:

Hi! I think the latest way to load the model is with Parser.AddModels
https://drake.mit.edu/pydrake/pydrake.multibody.parsing.html#pydrake.multibody.parsing.Parser.AddModels.
Note that this returns a list of model instance indices rather than a
single index
—
Reply to this email directly, view it on GitHub
https://github.com/vincekurtz/kinova_drake/issues/12#issuecomment-2166704941,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABOXXF5P7GU2YLHMRLICSSLZHH6B5AVCNFSM6AAAAABJG5A2P2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRWG4YDIOJUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Pablo Bustos García de Castro
ROBOLAB  http://robolab.unex.es Computer Vision and Robotics Lab
INDEHESA http://indehesa.unex.es Institute for SIlvopastoralism Research
School of Technology - Universidad de Extremadura, Cáceres 10003, Spain
Phone: +34 927 257259
ResearchGate https://www.researchgate.net/profile/Pablo_Bustos
ORCID-ID: 0000-0003-3202-2493


Question: Old NOTAMs?

Long story short, I believe a long time friend of mine is being catfished. This person made a claim that can easily be proven or disproven by looking at past NOTAMs, but I am unable to find ones from around July 20th, either in London or the Devon area. Are you able to assist at all?

I can give you the NOTAM briefing sheets that were live on July 20th if that would help? It would be every NOTAM published in the UK both on that date and ones that are due to become active soon.
Or would an earlier date be better?

Yeah! If you can do that, that would be amazing!!
On Sat, Sep 7, 2024 at 7:08 AM Jonty Wareing @.***>
wrote:

I can give you the NOTAM briefing sheets that were live on July 20th if
that would help? It would be every NOTAM published in the UK both on that
date and ones that are due to become active soon.
Or would an earlier date be better?
—
Reply to this email directly, view it on GitHub
https://github.com/Jonty/uk-notam-archive/issues/4#issuecomment-2335167127,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AECH2L543SZBZZKI2A6VLXTZVLUCXAVCNFSM6AAAAABNZRBNUKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZVGE3DOMJSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I've uploaded all the html NOTAM briefing sheets as they were at 8am on June 20th here: https://jonty.co.uk/bits/notams_june_20th_2024_8am/
I also uploaded the machine-readable XML version, just in case it's useful.
These are a bit of a pain to read! If you're having trouble let me know and I'll see if we can find what you're looking for. If you'd rather discuss the details of exactly what it is you're trying to find in private, drop me an email<EMAIL_ADDRESS>


update BAHASA in password

some of the use of language is less in accordance with KBBI (Kamus Besar Bahasa Indonesia) rules.

Hello,
thank you
@idhamperdameian, is ok for you ?

@caouecs Yes it's look good for me.

Thank you

Thank you @idhamperdameian :)
Y r welcome @caouecs 👍

Sama2 bro @idindrakusuma


SmaccAsyncClientBehavior onExit() freezes when cancelGoal() is called on the attached action client

Describe the bug
I created a custom asynchronous client behavior by inheriting from SmaccAsyncClientBehavior which sends a goal to an action server (using the attached smacc action client) and cancel the goal inside onExit(). The goal gets sent successfully and EvCbFinished is transmitted. But when onExit() for the behavior is called due to a transition to another state, the cb's onExit() never finishes. The action server does receive a request to cancel all goals and actually cancels the goals. I have other orthogonals in this state which include subscriber clients and even their callbacks don't get called.
Expected behavior
The onExit() of CB should finish and the state should transition
Environment (please complete the following information):
ROS DETAILS:

OS: Ubuntu 22.04 LTS
Humble

REPO DETAILS:

Repository: robosoft-ai/SMACC2
Branch: humble
Commit (First 5 Digits): c1fa655b

BUILD DETAILS

Build Command: colcon build --symlink-install

Additional context
I took a look at the implementation of the smacc_action_client_base and believe that this line is an issue. This line pauses all of the callback execution of the node and the node never receives the cancellation response from the action server consequently the future never returns. When I replaced it with rclcpp::spin_until_future_complete(getNode()->get_node_base_interface(), fut);, onExit() of the CB finishes and the state machine transitions to the next state.
┆Issue is synchronized with this Jira Task by Unito

Hello @sukhrajklair, thank you for sharing your findings.
I appreciate your efforts in addressing this issue. It's crucial that we explore this further as it may reveal potential improvements. Nevertheless, I'd like to carefully consider your hypothesis and proposed solution.
You mentioned that a specific line halts all callback executions within the node, which consequently prevents the node from receiving the cancellation response from the action server, leaving the future unresolved. However, I'm inclined to disagree that all callbacks are halted. There's another thread, the "signal detector thread," that operates independently from the onExit function of the AsynchronousClientBehavior. This thread should handle the cancel request/response and unlock the future.
Regarding your solution—replacing the problematic line with rclcpp::spin_until_future_complete(getNode()->get_node_base_interface(), fut)—it's intriguing that this change allowed the onExit of the CB to complete and facilitated the state transition. However, I believe this approach may introduce conflicts with the "signal detector" thread's main ROS loop. Therefore, I'm hesitant to endorse this solution without further examination.
To proceed effectively, I suggest creating a basic test case to replicate this behavior. This would allow us to collaboratively assess whether a fix or modification is necessary.

Hello @pabloinigoblasco
I'm still new to the SMACC2 library, so plesae take everything I say with a grain of salt. I've created an example state machine and clients which reproduce the issue I faced. Please check it out here

ClModeSelect+CbModeSelect subscribes to a topic called "/mode_command" and generates an event based on the value received.
ClFibonacci+CbFibonacci creates an action client and sends goal to the Fibonacci_action_server provided in action_tutorials_cpp pkg
Please follow these steps to reproduce the issue:

build the simple_action_client_example pkg that I added to the smacc2_sm_reference_library directory in my above linked forked repo
run the state machine: ros2 run simple_action_client_example simple_action_client_example_node
run the Fibonacci action server: ros2 run action_tutorials_cpp fibonacci_action_server
publish msg on /mode_command topic: ros2 topic pub /mode_command example_interfaces/msg/Int32  "{data: 1}". This should cause the state machine to transition to StStart2. Upon entry to StStart2, CbFibonacci sends a goal to the fibonacci_action_server.
publish another msg /mode_command topic: ros2 topic pub /mode_command example_interfaces/msg/Int32  "{data: 0}". This generates an event and should trigger a transition back to StStart1 which will consequently call onExit() of CbFibonacci. Inside onExit(), it calls cancelGoal() of ClFibonacci. The action server receives a request to cancel all goals and so it does. However, the onExit() never finishes. Any further msgs published on /mode_command topic do not generate any event in the state machine.

When I say "all callback executions within the node are halted", I basically extrapolated this from my observation in the step 5 of the above process.
When I replace fut.wait() with  rclcpp::spin_until_future_complete(getNode()->get_node_base_interface(), fut) and repeats the above steps, the onExit() of CbFibonacci finishes and state machine transitions back to StState1.

Hello @sukhrajklair we have been analyzing this.
Indeed the bug is there, I can confirm that.
However the proposed solution is incorrect because it blocks the signal detector thread. We are working in an alternative solution that I hope it will be around in the next few days.
Thanks.

This is the solution I propose, esentially removing the condition of synchronicity in a cancel request.
https://github.com/robosoft-ai/SMACC2/pull/542
There is some small discussion here why that future wait was created, though. Your demo still works with this solution.
Regards.

@pabloinigoblasco I can't think of any reason, at least for my application, why I would need the cancel request to be synchronous.  So this solution works. I appreciate your effort on this.

@brettpac I appreciate the timely response. I've created a PR with my code.

Thank you @sukhrajklair, we'll be merging it shortly.


deprecate all finders but find_by_css and find_by_xpath

In order to make splinter simpler to use by decreasing the number of methods on the public API, we should deprecate all the find_by_* methods but find_by_css and find_by_xpath.
Thoughts?

Closing this issue due to #933.
The find_by_ methods will remain and a find() method has been added.


Does _extends actually work?

See https://github.com/probot/probot/issues/1660

Probot is shallow copying the configuration files. I opened a PR for deepmerging.
https://github.com/probot/octokit-plugin-config/pull/263


Scale animation to fit parent container

HStack {
  LottieView("loading").loopMode(.loop)
}.frame(width: 200, height: 200, alignment: .center)

See here for solution?
https://github.com/airbnb/lottie-ios/issues/1050

Hi @Psli, thanks for reporting this issue. Could you link me the animation you're trying to use so I can try to reproduce it? I haven't run into this on my project at least.
In the meantime, if you end up making some changes to the library that fixes this issue, feel free to let me know!

This is a test project https://github.com/Psli/TestLottieUI.git
LottieView(...).frame(width: 200, height: 200, alignment: .center) not working

Thanks, I'll take a look later

Hey @Psli, I've submitted a PR that may fix your issue. Could you try using the mac-scaling-fix on your project and check if the issue persists?

Hey @tfmart , the PR fix my issue. Thanks!

Great! I've merged the branch and released a new version 1.3.1 which contains this patch, so I'll be closing this issue. If you run into any other problem, feel free to reach out!


acorn.tokenizer() does not report comments

AFAIU a tokenizer, created via acorn.tokenizer(), does not report comments via its getToken() method.
Is there an option I'm missing? Is this intended?

Comments are not tokens - they don't have any meaningful sense for program execution. You should use onComment option instead.

This is what tokenizers traditionally do -- they read significant program tokens. As @RReverser mentions, you can use an onComment callback to be notified when a comment is skipped (it should even be possible to wrap the tokenizer in a shim so that it outputs comments in the same stream as the tokens)


Radio buttons are not working

Hi,
When we select the radio buttons and send the data, I is not selecting anything. What's the problem
Thank's :)

@Hujjat thank you for using our product. Can you please send us a link to your project or a github repository where we can check the code?
Best,
Alex

@alexandru-paduraru thank's for help.
I used the default file that I have downloaded. You can check the wizard-book-room.html.
When I fill the form, in second tab, I select room type from those radio options, then, when I click the finish button, I is not sending the room type information. Please check it once.
Thank's :)

@Hujjat got it. It seems the checked attribute should be set with property, not with attribute. So even if in the browser it is adding the checked attribute, it is not changing the value of the property from false to true:

the line 165: this $(this).find('[type="radio"]').attr('checked','true'); with $(this).find('[type="radio"]').prop('checked','true');
the line 174: this $(this).find('[type="checkbox"]').attr('checked','true'); with $(this).find('[type="checkbox"]').attr('checked','true');

Then everything will be right.
Let us know if everything is fine.
Best,
Alex

@alexandru-paduraru Thank's a lot. That worked :) 👍
Is there anyway to go to next tab when we select the checkbox or radio. I mean after changing the checked property, it should go to next tab. How would you trigger the next button.
Thank's :)

@alexandru-paduraru  THANK YOU !!!!! 🥇


workaround for docker/docker-registry#892 /crasher on CoreOS' cloud-configs

avoids race conditions (docker/docker-registry#892) when multiple workers are
attempting to run sql migrations simultaneously. dunno why this isn't the
registry's default since this isn't specially hard to trigger so we're just
playing safe here.

@brendandburns i suspect this is up to you, as usual :smiley:

LGTM, sorry was on vacation.  Merging.


Add expansion blocks to palette

This feature allows a palette block to "expand" into another block when
dragging out of the palette.  The idea is that the block rendered in
the palette can be an abbreviation, and the "real" block might be bigger,
for example, it might include longer arguments etc.
To configure an expansion block, do the following in the palette configuration:
      palette: [{
        name: 'Draw',
        color: 'blue',
        blocks: [{
          block: 'pen()',       // this is what you see in the palette
          expansion: 'pen red', // this is what you get when you drag
          title: 'ptest'
        }],

This commit also adds a basic uitest that simulates mouse events
to test the controller, which exercises the expansion feature.

Looking forward to trying this out! We had discussed supporting expansion as a callback function as well. Is that still an option? We would use it to generate unique parameter names.

Ah, forgot - easy enough to add.  I'll add it.
David
On Wed, May 20, 2015 at 10:57 AM, Chris Pirich<EMAIL_ADDRESS>wrote:

Looking forward to trying this out! We had discussed supporting expansion
as a callback function as well. Is that still an option? We would use it to
generate unique parameter names.
—
Reply to this email directly or view it on GitHub
https://github.com/dabbler0/droplet/pull/54#issuecomment-103918110.


process.chdir should support asar paths

the following code does not work in asar archives
process.chdir(__dirname)
But it could be useful to set current directory to __dirname as explained here #447

The __dirname in asar archive does not exist on filesystem, and operating systems do not allow setting current working to somewhere does not exist, so I'm afraid this is technically impossible.


⚠ Bofrost.at has degraded performance

In 8ccf24b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1212 ms

Resolved: Bofrost.at performance has improved in 9cea552 after 6 minutes.


Add support for CVE-2016-5195 (Dirty COW)

Example Go PoC here: https://github.com/mengzhuo/dirty-cow-golang
I may take a crack at this if I have some free time soon

Cool, that'd be awesome :)
I need to invest some time in adding more exploits too, but struggling to find any atm!


Support Gab.ai API tokens

Describe the feature
OpenAI and Anthropic API tokens are already supported.
Please also include support for e.g. Grok and Gab.ai (Arya)
Potential Solutions
Create a generic API token section which can (using examples provided) with mimal edits be used to support AI from other AI companies, or self-hosted AI running at a home-office.

There are PRs for groq #108  #134.
Generally, only very big models show useful performance with SWE-agent.
Feel free to open a PR if you really want to have a certain model supported (though it might make more sense to work on #64), but I will close this as an issue.


Background

Styling the background to the following parameters should help:

background size: cover;
background-repeat: no-repeat;

close


Wrong package dimensions!

I used this library in a new design.
Ordered boards and a stencil for a prototype, applied solder paste and luckily wanted to place this part first.
Found out the part didn't match the footprint. The part is LQFP 7x7, this library is LQFP 5x5. As far as I have been able to find STM32F0 doesn't exist in LQFP 5x5.
The part exists in a QFN 5x5 package, but the pinout is slightly different. The two ground pins on the 7x7 package are changed to IO pins and GND is moved to the exposed pad.
So I binned my boards and will redesign and order new PCBs.
Should have double checked, but I didn't realize LQFP32 came in different sizes.

wrong footprint, confirm

Goddammit. I just got tripped up by this too. STM32F051K6Ux series is very similar in pinout, and I believe I can bodge it into place. I've submitted a pull request with what I hope is a fixed package. @oakwhiz could you please accept the merge so nobody else has issues? Thanks a lot.

Sorry to hear that. I have a hardware tested package too, which I can send over for comparison too.

@elcojacobs that would be great, if you don't mind....
You can drop it here if it's easier:
https://drive.google.com/drive/folders/1uRD02_Hx2o399GkrKzJnrV6LCrgeTTay?usp=sharing


Add notes on automated release.

Also:

Make maven publication fully automated (no release confirmation in OSSRH)
Remove redundant release script.

@bsideup @kiview I hope this looks OK to you - please use this as a chance to ask any questions or make suggestions about the process too!!

I also think that we should set POM's version to "0-SNAPSHOT" and then do https://axelfontaine.com/blog/final-nail.html (it has a next blog post about using the property, but it doesn't work for libraries)

+1 for using "0-SNAPSHOT", seems like the correct approach nowadays.

@bsideup @kiview I've addressed your comments so will merge.


Add conversion for aten.t.default

Problem description
Conversion pass for aten.t.default to its ttnn equivalent; ttnn.permute in this case. aten.t.default is a subset of transpose and can be realized with permute op.
Proposed
Covers 3 types of input.

2D tensor: transpose via exchanging both dims using ttnn.permute
0D (scalar) & 1D tensor: Returned as it is. Right now no conversion takes place for this type of input.
Any other N-D tensor: Throws an assert.

Clarification
Is there a identity ttnn op which takes a tensor and returns it as it is?

@mcw-zwakeelTT We have some new directories, so let's put this under: tests/lowering/tensor_manipulation. We'll fix test_transpose later. Also don't forget the import ttnn.


services.AddScoped<IServiceContext, ServiceContext>() seems to cache queries

I have a T4 generated ServiceContext with Interface IServiceContext holding limited amount of entities. I use _serviceContext.Set to query data.
If I add those as singleton, everything is extremely fast, but data is 'cached'. That is changing in D365CE is not reflected in the entitity until I restart application. If scoped is used, data is retrieved (not 'cached') but application is much slower.. ..performance is becoming issue. What do I wrong?
`	[System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "<IP_ADDRESS>")]
public partial class ServiceContext : Microsoft.Xrm.Sdk.Client.OrganizationServiceContext
{
	/// <summary>
	/// Constructor.
	/// </summary>
	public ServiceContext(Microsoft.Xrm.Sdk.IOrganizationService service) :
			base(service)
	{
	}`

`            services.AddCdsServiceClient(
options => Configuration.Bind("CdsServiceClient", options)
);
        services.AddScoped<IServiceContext, ServiceContext>();`

vs
`            services.AddCdsServiceClient(
options => Configuration.Bind("CdsServiceClient", options)
);
        services.AddSingleton<IServiceContext, ServiceContext>();`

`public static class CdsServiceCollectionExtensions
{
///
/// Include a CdsServiceClient as a singleton service within the Service Collection
/// Optional include transient services for IOrganizationService
/// and OrganizationServiceContext
///
///
///
public static void AddCdsServiceClient(this IServiceCollection services, Action configureOptions)
{
CdsServiceClientOptions cdsServiceClientOptions = new CdsServiceClientOptions();
configureOptions(cdsServiceClientOptions);
        services.AddSingleton(sp =>
            new CdsServiceClientWrapper(
                cdsServiceClientOptions,
                sp.GetRequiredService<ILogger<CdsServiceClientWrapper>>(),
                cdsServiceClientOptions.TraceLevel)
            );

        services.AddTransient<IOrganizationService, CdsServiceClient>(sp =>
            sp.GetService<CdsServiceClientWrapper>()._cdsServiceClient.Clone());

        if (cdsServiceClientOptions.IncludeOrganizationServiceContext)
        {
            services.AddTransient(sp =>
                new OrganizationServiceContext(sp.GetService<IOrganizationService>()));
        }
    }
}`

Can you generate the ServiceContext class with the CrmServiceUtil instead and see fi that varies your behavior?
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/generate-early-bound-classes

I have them generated with this tool (version <IP_ADDRESS>). If I change code below from transient to scoped, the performance is better. The last is not required either. On every webrequest the constructor of CdsClient is executed. The idea is from this post:
https://colinvermander.com/2020/04/02/tracing-cdsserviceclient-in-net-core-and-asp-net-core/ as all calls could be traced (not working yet, work in progress) and I want no httpclient socket exhausting.
`services.AddScoped<IOrganizationService, CdsServiceClient>(sp =>
sp.GetService()._cdsServiceClient.Clone());
        if (cdsServiceClientOptions.IncludeOrganizationServiceContext)
        {
            services.**AddScoped**(sp =>
                new OrganizationServiceContext(sp.GetService<IOrganizationService>()));
        }`

@UM001 I am unclear as to what your trying to do here and what your issue is...
from my read... you have created a OrganizationServiceContext ,
It sounds like you mixing OrganizationServiceContext queries with IOrganization Actions?
The existing behavior of the OrganizationServiceContext keeps track of changes that are made though it and attempts to Optimize those calls using the underlying ServiceContext logic.. however expects the author to manage the change and merge behavior using the MergeOptions enum.
For example:
given this code where cli is a CdsServiceClient.
            CrmServiceContext ctx = new CrmServiceContext(cli);
            var recs0 = from acctQ in ctx.AccountSet
                        where acctQ.Id == Guid.Parse("1ece5cd4-ae56-e711-abaa-00155d701c02")
                        select acctQ;
            Trace.WriteLine(recs0.FirstOrDefault().PrimaryContactId?.Id); // report what is there now.

            var accountUpdateTarget = recs0.FirstOrDefault();
            accountUpdateTarget.PrimaryContactId = new EntityReference("contact", Guid.Parse("a7bf9a01-b056-e711-abaa-00155d701c02"));
            ctx.UpdateObject(accountUpdateTarget);
            ctx.SaveChanges(); // Update with new ER.

           var recs1 = from acctQ in ctx.AccountSet
                       where acctQ.Id == Guid.Parse("1ece5cd4-ae56-e711-abaa-00155d701c02")
                       select acctQ;

            Trace.WriteLine(recs1.FirstOrDefault().PrimaryContactId?.Id);

This snippet will use a OrganizationServiceContext to look at the value of PrimaryContactId on the target account and report it's ID.   Then it will update it to a new value ( Abbie Gardiner from he sample data in this case )  and requery it.
The requery will now report Abbie's ID vs whatever was there to begin with.
this is because the ctx.UpdateObject marked the record as "dirty" and the ctx.SaveChanges committed the changes and cleared the record..
Now,  if you do this:
            CrmServiceContext ctx = new CrmServiceContext(cli);
            var recs0 = from acctQ in ctx.AccountSet
                        where acctQ.Id == Guid.Parse("1ece5cd4-ae56-e711-abaa-00155d701c02")
                        select acctQ;
            Trace.WriteLine(recs0.FirstOrDefault().PrimaryContactId?.Id); // report current value.

            // Update Account.
            Account UpdateAccountPrimaryContact = new Account()
            {
                Id = Guid.Parse("1ece5cd4-ae56-e711-abaa-00155d701c02"),
                PrimaryContactId = new EntityReference("contact", Guid.Parse("a7bf9a01-b056-e711-abaa-00155d701c02"));
            };
            cli.Update(UpdateAccountPrimaryContact);

            var recs1 = from acctQ in ctx.AccountSet
                       where acctQ.Id == Guid.Parse("1ece5cd4-ae56-e711-abaa-00155d701c02")
                       select acctQ;

            Trace.WriteLine(recs1.FirstOrDefault().PrimaryContactId?.Id);

This will report the current value of the PrimaryContactId,  then update it using .Update and requery...
the difference this time will be the initial value reported for PrimaryContactId will be passed back because, as far as the the OrganizationServiceContext is concerned , nothing change and it already had that data.
To get the new "right value" back you would need to add ctx.ClearChanges(); after the .update command to force the OrganizationServiceContext to flush its local cache and reread.
Now, if you do not want to do that, you can also set the OrganizationServiceContext.MergeOption to NoTracking or OverwriteChanges.  which should be used with caution.  See : https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.client.mergeoption?view=dynamics-general-ce-9 for more info.

Thank you for your clear explanation. I experienced a very slow application so went looking into performance improvements. I saw that for every transaction the cds client is created. So I changed 'OrganizationServiceContext ' to singleton first:
` services.AddSingleton<IServiceContext, ServiceContext>();``
Great speed improvements. However, that works like a 'cache' as it injects the data to all other transactions during on the web server. So I changed that one to AddScoped. I also changed AddTransient to AddScoped for this one:
services.AddScoped<IOrganizationService, CdsServiceClient>(sp => sp.GetService()._cdsServiceClient.Clone());
It seems that constructing a cdsserviceclient is very resource intensive. I do not know exactly why. My servicecontext for D365FO is 40MB of dll. I do not exactly how to investigate that. I did improve performance with addscoped, which most likely will go wrong if in one web request multiple queries/ changes are run over the organizationservicecontext.

Its that large because you created a strongly type class made of the full possibility of Dynamics.  if you need to be dynamic, then you should use the late bound concepts of the system... if you want strongly typed object, you should scope that to only the objects you actually need.
Externally, there is a tool available in XrmToolbox ( https://www.xrmtoolbox.com/ ) that you can use that called the early bound generator.
The classes generated by this tool are fully compatible with the CdsServiceClient.


Outdated documentation

README.md is quite outdated and could use an update. It hasn't been updated since before many major features such as the split wasm/rust crate structure, preserve-encodings, etc.

It might be worth having a proper documentation tool like docusaurus for this


Document why a single node field is a requirement for data to show up in Gatsby

the reason is that we can't properly cache nodes without being able to update 1 of them.

This is documented here https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/features/graphql-wordpress-and-gatsby.md


Avoid corruption of surrogate pairs in CopySpec filtering

fixes #14134
Context
Ant's ReaderInputStream corrupts data (see https://bz.apache.org/bugzilla/show_bug.cgi?id=40455),
so FilterChain is switched to commons-io ReaderInputStream
Contributor Checklist

[x] Review Contribution Guidelines
[x] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[x] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[x] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[x] Provide unit tests (under <subproject>/src/test) to verify logic
[x] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

Thanks @vlsi


Add ideone documentation

Description
Ideone documentation page.
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[x] 📝 Documentation
[ ] 🇺🇸 Translation
[ ] 🗑 Chore

Thank you for your contribution! I'll merge it a little bit later.


MariaDB

hi,
If I were to switch to MariaDB, what configuration would need to be changed? I am already running traccar on MySQL.
Thanks,
M.M

I guess just the connection config if it's different from MySQL.

alright. Are you aware of any working config of Traccar with MariaDB. If yes will you be able to share the connection parameters with me. Thanks

Have you tried to search the answer?

yes, I did. I found this
In traccar.cfg you need to change the database config to:
<entry key='database.driver'>org.mariadb.jdbc.Driver</entry>
<entry key='database.dataSource'>org.mariadb.jdbc.MySQLDataSource</entry>

Additionally I had to add the MariaDB jdbc to the classpath in the wrapper.cfg file:
wrapper.java.classpath.3=/usr/share/java/mariadb-jdbc/mariadb-java-client.jar

but I am not too sure whether it's still relevant. And moreover the last line speaks of adding the classpath in wrapper.cfg... is that required?
Thanks

I have never tried it myself, so I don't know the answer.
Instead of adding classpath in wrapper, you can use following config parameter:
<entry key='database.driverFile'>/usr/share/java/mariadb-jdbc/mariadb-java-client.jar</entry>

I am using mariadb without any problem following intructions from https://www.traccar.org/mysql/
Installed Packages
Name      : mariadb
Arch        : x86_64
Epoch     : 1
Version   : 5.5.47
Release  : 1.el7_2

I managed to get it to work with MariaDB using it's own connector. It all starts up fine and there are no errors in the log and the data is reaching the server, But I noticed something just turn up in the log file
INFO   | jvm 1    | 2016/04/03 21:12:17 | java.sql.SQLWarning: Out of range value for column 'devicetime' at row 1
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at org.mariadb.jdbc.MariaDbConnection.getWarnings(MariaDbConnection.java:836)
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at com.mchange.v2.c3p0.impl.NewProxyConnection.getWarnings(NewProxyConnection.java:933)
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at com.mchange.v2.c3p0.SQLWarnings.logAndClearWarnings(SQLWarnings.java:54)
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.refurbishResourceOnCheckin(C3P0PooledConnectionPool.java:399)
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at com.mchange.v2.resourcepool.BasicResourcePool.attemptRefurbishResourceOnCheckin(BasicResourcePool.java:1760)
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at com.mchange.v2.resourcepool.BasicResourcePool.access$200(BasicResourcePool.java:44)
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at com.mchange.v2.resourcepool.BasicResourcePool$1RefurbishCheckinResourceTask.run(BasicResourcePool.java:1378)
INFO   | jvm 1    | 2016/04/03 21:12:17 | 	at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:696)
INFO   | jvm 1    | 2016/04/03 21:12:17 | [C3P0PooledConnectionPoolManager[identityToken->z8kfsx9f1pkgf6j1i41l84|58e8e8d]-HelperThread-#2] INFO com.mchange.v2.c3p0.SQLWarnings - Out of range value for column 'fixtime' at row 1

Thanks,
M.M

Just did a describe table and the structure is:
MariaDB [trackerdata0001]> describe positions;
+------------+---------------+------+-----+---------------------+-----------------------------+
| Field      | Type          | Null | Key | Default             | Extra                       |
+------------+---------------+------+-----+---------------------+-----------------------------+
| id         | int(11)       | NO   | PRI | NULL                | auto_increment              |
| protocol   | varchar(128)  | YES  |     | NULL                |                             |
| deviceid   | int(11)       | NO   | MUL | NULL                |                             |
| servertime | timestamp     | NO   |     | CURRENT_TIMESTAMP   | on update CURRENT_TIMESTAMP |
| devicetime | timestamp     | NO   |     | 0000-00-00 00:00:00 |                             |
| fixtime    | timestamp     | NO   |     | 0000-00-00 00:00:00 |                             |
| valid      | bit(1)        | NO   |     | NULL                |                             |
| latitude   | double        | NO   |     | NULL                |                             |
| longitude  | double        | NO   |     | NULL                |                             |
| altitude   | float         | NO   |     | NULL                |                             |
| speed      | float         | NO   |     | NULL                |                             |
| course     | float         | NO   |     | NULL                |                             |
| address    | varchar(512)  | YES  |     | NULL                |                             |
| attributes | varchar(4096) | NO   |     | NULL                |                             |
+------------+---------------+------+-----+---------------------+-----------------------------+
14 rows in set (0.00 sec)

Possibly it tries to insert 0 timestamp value which is not valid.

But it never happened with MySQL, and that's a bit puzzling.

I don't have the error so far after I added another parameters in the JDBC connection string: zeroDateTimeBehavior=convertToNull
My MariaDB connection parameters which seems to work well so far, in case anyone finds this useful
    <entry key='database.driver'>org.mariadb.jdbc.Driver</entry>
    <entry key='database.url'>jdbc:mariadb://<IP_ADDRESS>:3306/trackerdata?allowMultiQueries=true&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=ANSI_QUOTES</entry>
    <entry key='database.driverFile'>/usr/share/java/mariadb-java-client-1.4.0.jar</entry>
    <entry key='database.user'>mydbuser</entry>
    <entry key='database.password'>mydbpwd</entry>

I have used the version 10.1 of MariaDB downloaded from here:
https://downloads.mariadb.org/mariadb/repositories/#mirror=nus&distro=Ubuntu&distro_release=trusty--ubuntu_trusty&version=10.1
With the connector from the below link
https://mariadb.com/my_portal/download/java-client


How can I change Text Colour????

Hey , I read the docs but I don't get How can I change Text Color of ON and OFF....
any help?

The color of the text is defined in the stylesheets. You can just override the color css attribute for the .bootstrap-switch class.


Add Verisign public DNS

You have a good list of public resolvers in this script, but I spotted an omission: Verisign public DNS on <IP_ADDRESS> and <IP_ADDRESS>
https://www.verisign.com/en_US/security-services/public-dns/index.xhtml?loc=en_US

Thanks. You can use the custom DNS option when running the script.


[wip] Remove non-API docs and translations

This is the same as https://github.com/Qiskit/qiskit/pull/11352. Now that qiskit.org/ecosystem/ibm-runtime redirects to docs.quantum.ibm.com, we can simplify the docs.
See the PR description in https://github.com/Qiskit/qiskit/pull/11352 for details on the motivation for each change. The only difference from Qiskit is that we still keep the tutorials around because learning.quantum.ibm.com uses them.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.407%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2325

Relevant Lines:
5010

💛  - Coveralls


Current website does not represent the project well enough

sleepy.bike website lacks information about for who it is built, why and how.
Here we gather resources to facilitate discussion about the content and design we want to present on the main page. It is a Work In Progress, feel free to add and edit what is below.

The page should present some basic information about the community it is serving and the project in general.
There are two dimentions/perspectives: users and contributors that create two intertwined communities we want to serve. We need to keep them both in mind and try to find good balance between them.
The page should answer questions:

what?
why? What motivates people to participate in hospitality exchange? Why we started this project?
how? How a user interacts with the platform? How this project solves the issues other hospex communities have faced?
for who? Who are members of a community at large and contributors community

Have a logo and speak our values.

logo

What are our values?
Trust built on transparency, Openness (open finances, open source, open governance (democratic, well described and followed), open collaboration of volunteers, open communication with members (user-centric))
Do we want to have a tag line (aka short description)? What would it be?
How much of a background story of the project to present?
Do we want to write about Solid or keep it as a technical / internal architecture choice?

Some of the user researchish information that we have, to get some insights into the bicycle touring community preferences:
What do we know about bicycle touring community, based on the survey and our own experiances

A pad with a draft (by @TMC89).
Maybe it can go as an About page, @mrkvon?

There has been some dispute about intellectual property rights to the logo, between me and @mariha. Please read https://github.com/OpenHospitalityNetwork/sleepy.bike/issues/2 for details. (archive)


[PF-590]: Implemente DatabaseConfiguration which config DB data source

Background: StairwayCompoment which manages Stairway life cycle can be moved to common library, but that needs Stairway DataSource.
Also the whole logic is a common class. In the future, if client want to customize other connection pool, we can expose that like what we did for JMXEnable.
Buffer use:
https://github.com/DataBiosphere/terra-resource-buffer/pull/129

That looks promising. I note additional parameters are needed to properly configure the connection pool.
It will be worth documenting how a service would derive from these to make its own database data source.

Thanks, added those two pool configs TDR has. Also in DatabaseConfiguraiton's javadoc, I said:
see: bio.terra.common.stairway.StairwayDatabaseConfiguration to understand how to use it in SpringBoot. Is that enough for client understanding how to use it?


Tag button text change

Can we change 'What's wrong with it' in the Food category to 'Related health issue or hazard', in line with the other categories - sorry must have missed this one!

@axgreen no problem, I've added it in to #25
Should be changed on the preview site too.


Feature/call graph generation

I'm currently trying to fix the errors in this version and improve code quality.
I'll add another comment when this branch is ready to merge.

I'm currently trying to fix the errors in this version and improve code quality.
I'll add another comment when this branch is ready to merge.

Many of the bugs I'm fixing are caused by usage of Elastic4s' ElasticClient class, which does not appear to actually exist in the copy of the library I have on my machine.
I'm currently replacing usages of it with HttpClient, and updating some code to support differences in return types.

The Travis CI build doesn't seem able to resolve references to either ElasticClient or HttpClient.
Does anyone know what the issue here is?

Please try again in your environment with activated auto-import (see email).

Alright, I think that's all the changes I'm going to make.
This branch is ready to be merged.

Thanks Alex! I'll have look tomorrow. Just made it home after some travel chaos.


Add games?

Azure Striker Gunvolt 3
Live A Live

Thank you!

I have added the game(s) you requested in the most recent release: https://github.com/hobby-grade/Nintendo-Switch-Discord-Status/releases/tag/1.0.4
Thank you for checking out the project, reach out if you have any more suggestions!


No loader is configured....

I am trying to switch from Netlify to Deno Deploy and I am running into this issue:
✘ [ERROR] No loader is configured for ".node" files: node_modules/three-em-0-3-16/three_em_node.win32-x64-msvc.node

which seems to be related to some deno/node  incompatibility.  Three_em fortunately do have a deno version of their library, but I don't know how to substitute it. I tried adding an import map
{
  "imports": {
    "three_em"<EMAIL_ADDRESS>  }
}

to no avail.

@vorcigernix thank you for opening the issue, you can maybe try using a custom deps.ts and see if it helps... What error are you getting from using the import map?
Libraries that use .node (native library) files can be tricky to get working correctly, as they typically contain platform-specific code. In your case it seems like a Windows-specific version of the library is being included, is that intended? Deno Deploy only uses Linux-based machines/containers if I'm not mistaken.

@jpaquim Thanks, will try the deps file. I think it completely ignores the import map during the npm build.
And sorry, I haven't included all the errors for brevity, it clearly tries to use all binaries (windows, mac, linux).
Full error output is
✘ [ERROR] No loader is configured for ".node" files: node_modules/three-em-0-3-16/three_em_node.linux-x64-gnu.node

    node_modules/three-em-0-3-16/index.js:172:38:
      172 │ ...     nativeBinding = require('./three_em_node.linux-x64-gnu.node')
          ╵                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

error during build:
Error: Build failed with 5 errors:
node_modules/three-em-0-3-16/index.js:1:45: ERROR: Could not resolve "fs"
node_modules/three-em-0-3-16/index.js:2:25: ERROR: Could not resolve "path"
node_modules/three-em-0-3-16/index.js:63:36: ERROR: No loader is configured for ".node" files: node_modules/three-em-0-3-16/three_em_node.win32-x64-msvc.node
node_modules/three-em-0-3-16/index.js:109:36: ERROR: No loader is configured for ".node" files: node_modules/three-em-0-3-16/three_em_node.darwin-x64.node
node_modules/three-em-0-3-16/index.js:172:38: ERROR: No loader is configured for ".node" files: node_modules/three-em-0-3-16/three_em_node.linux-x64-gnu.node
    at failureErrorWithLog (/home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:1596:15)
    at /home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:1052:28
    at /home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:997:67
    at buildResponseToResult (/home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:1050:7)
    at /home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:1162:14
    at responseCallbacks.<computed> (/home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:697:9)
    at handleIncomingPacket (/home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:752:9)
    at Socket.readFromStdout (/home/vorcigernix/develop/jdu2/node_modules/esbuild/lib/main.js:673:7)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)

It is probably not going to work. NPM build is not aware of deno substitutes (in either file), so it fails to build.

@vorcigernix If you're getting errors in the imports during the build, maybe you can try marking it as an external package in the vite/rollup build config: https://rollupjs.org/guide/en/#external
Then it shouldn't touch the import, leaving it up to the runtime (Deno in this case) to resolve it.


UHD-404VW Seamless Matrix Support

Will this work this unit?:
OREI Professional 4K 4X4 HDMI Matrix Video Wall, Seamless Switching HDCP 2.2 UltraHD
https://a.co/d/gqpgmC6

No, I don't think it will. The switch you show id either controlled by a PC app or a browser. There is no telnet connection or command set in the specification or manual.

Is this supported:
https://www.orei.com/products/uhd44ex230k-4-in-4-hdmi-matrix-switch-extender

Or perhaps you have a list of devices that are supported?


Soft delete on users

Is there a date in mind to implement soft deletes on the user model? I see it's on the road map from the config file.
I'm currently setting the trait on my User model, so that does at least give an interim solution, but it'd be great to have this built into the interface.

At this time I do not know but I will try and add it within the next couple of months.
I want to do so in way to make it completely optional so it will not have a breaking change for current package users but will allow them to add it on update and new installation as an option.
Thank you :)


Feature/ab#11 azure storage implementation

This PR implements the use of Azure blob storage to store the recordings of the board. This changes the way the recordings are stored from initially storing the recording as a string in CosmosDB to now storing it as a text file in blob storage. CosmosDB does not allow for values larger than 2MB, so this ensures that we will not reach that limit.
Some refactoring has also been performed to make the business logic testable. Most of the logic has been moved into a separate class and the infrastructure code is not longer mixed with the business logic.
AB#11

I suggest that we implement tests as a separate task.

I've added some changes, let me know if you have any other feedback.

Huh, I thought I would receive notifications when you added changes, I have no further comments as is :) looks good


Set env vars in zshenv, not zprofile

According to the Zsh docs:

.zshenv is sourced on all invocations of the shell, unless the -f
option is set. It should contain commands to set the command search
path, plus other important environment variables.

.zlogin is sourced in login shells. It should contain commands that
should be executed only in login shells. .zlogout is sourced when
login shells exit. .zprofile is similar to .zlogin, except that it
is sourced before .zshrc. .zprofile is meant as an alternative to
.zlogin for ksh fans; the two are not intended to be used together,
although this could certainly be done if desired. .zlogin is not the
place for alias definitions, options, environment variable settings,
etc.; as a general rule, it should not change the shell environment at
all. Rather, it should be used to set the terminal type and run a
series of external commands (fortune, msgs, etc).

Since the brew shellenv command sets environment variables, including PATH, that likely means that it should be eval'ed in .zshenv.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

@mike-burns I think the use of .zprofile might have to do with apple and the path_helper included in /etc/zprofile which is loaded after ~/.zshenv and can clobber the path as discussed here https://apple.stackexchange.com/questions/432226/homebrew-path-set-in-zshenv-is-overridden.
I did the same experiment on my mac as one of the comments on that stack exchange post and you can see that the /etc/zprofile  is sourced after ~/.zshenv.

Oooh, dang. They should have modified /etc/zshenv instead I guess. Well what's done is done. Thanks for surfacing that.


Introduce MaintenanceMode

This can be controlled using maintenance.mode enabled/disabled/none as a config item, which makes it possible to use it without any controller support, and also via a new maintenance_mode boolean in the EdgeDevConfig protobuf message.
If the configitem is set to enabled or disabled that wins over the EdgeDevConfig boolean.
When the device is in MaintenanceMode it ignores all config changes except Commands (so the device can be rebooted) and ConfigItems (so ssh and USB keyboard can be enabled).
Down the road we might also want to have the device itself decide to go into maintenance mode (e.g., if the vault can't be unlocked, or if we run out of space in /persist). But that isn't part of this PR. However, the mergeMaintenanceMode() function can be useful to take such local input into account to set MaintenanceMode.

However, I feel we need to write an Eden test for this right away (I don't think it should block merge of this -- but it needs to get done ASAP). Perhaps @giggsoff can help with a quick hack on the Eden side?

Yeah I was looking for the "writing eden tests for dummies" yesterday for exactly that reason, but I couldn't find it in my bookshelf. FWIW: I think the test sequence can be relatively simple:
provision the default network instance and an app instance.
Put device in maintenance mode.
Change some setting (debug.default.loglevel or anything) and verify the change is sent back to the controller.
Reboot device. Verify it comes back up.
Verify that the network instance and app instance are not reported to the controller.
Put it out of maintenance mode. Verify that the network instance and app instance are reported on the controller.
@giggsoff what is a good eden test to take as a starting point to create the above?

I think this is out chance to write a really kick-ass howto on Eden test creation (I'm mostly looking at @giggsoff and @sadov of course ;-))
Such a document is very much missing in our collective library.

So, guys -- at this moment we have some documentation about EDEN's test writing and running:

https://github.com/lf-edge/eden#tests
https://github.com/lf-edge/eden/blob/master/tests/README.md
https://github.com/lf-edge/eden/blob/master/tests/escript/README.md

You mean -- some description of writing such a test would be useful to you?


[pcl] Add feature and fix find libusb, fix pkgconfig

This PR will fix 2 issues:

Export pcl component pcl-cuda-common pkgconfig (upstream PR https://github.com/PointCloudLibrary/pcl/pull/5026).
Add feature libusb and fix the condition of finding libusb (upstream PR https://github.com/PointCloudLibrary/pcl/pull/5028).

Fixes #21223 #21241

@AlexLeungZ @weibingrong @raahilsha-z @LOVELESSYI  Can you please test this PR?
Thanks.

What about this bug?
https://github.com/microsoft/vcpkg/issues/21241#issuecomment-963273030

What about this bug? #21241 (comment)

I can't reproduce this, can you provide the repro step?

What about this bug? #21241 (comment)

I can't reproduce this, can you provide the repro step?

Just the same as #21241, maybe it is some bugs on my side, I am not sure

@AlexLeungZ Can you provide the file list in /mnt/d/Git/GitHub/robocon-test-code/vcpkg/packages/pcl_x64-linux/bin?

@AlexLeungZ Can you provide the file list in /mnt/d/Git/GitHub/robocon-test-code/vcpkg/packages/pcl_x64-linux/bin?

I rebuild the whole thing with this fix https://github.com/microsoft/vcpkg/issues/21241#issuecomment-963273030 , so they are all gone.

@AlexLeungZ Can you provide the file list in /mnt/d/Git/GitHub/robocon-test-code/vcpkg/packages/pcl_x64-linux/bin?

I rebuild the whole thing with this fix #21241 (comment) , so they are all gone.

Yeah I know that, but I need to know which file you deleted in that folder first, It may be unreasonable.

@AlexLeungZ Can you provide the file list in /mnt/d/Git/GitHub/robocon-test-code/vcpkg/packages/pcl_x64-linux/bin?

I rebuild the whole thing with this fix #21241 (comment) , so they are all gone.

Yeah I know that, but I need to know which file you deleted in that folder first, It may be unreasonable.

There is no /bin in /pcl_x64-linux right now, I just can't provide the list

@AlexLeungZ @weibingrong @raahilsha-z @LOVELESSYI Can you please test this PR?
Thanks.

It fails to build on my x64-linux wsl machine
{
    "name": "robocon-lidar-pcl",
    "version": "1.2",
    "description": "LiDar dev with pcl, cuda and vtk for robocon.",
    "dependencies": [
        "libusb",
        "cuda",
        "vtk",
        {
            "name": "pcl",
            "features": [ "cuda", "vtk" ]
        }
    ]
}

[cmake] -- Configuring x64-linux-dbg
[cmake] CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
[cmake]     Command failed: /home/alex/.local/lib/pypy3.6/site-packages/cmake/data/bin/cmake /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/src/89d532cf08-93412c82b5.clean -DBUILD_surface_on_nurbs=ON -DPCL_BUILD_WITH_BOOST_DYNAMIC_LINKING_WIN32=0 -DPCL_BUILD_WITH_FLANN_DYNAMIC_LINKING_WIN32=0 -DPCL_BUILD_WITH_QHULL_DYNAMIC_LINKING_WIN32=0 -DPCL_SHARED_LIBS=0 -DWITH_PNG=ON -DWITH_QHULL=ON -DWITH_OPENNI2=OFF -DWITH_QT=OFF -DWITH_PCAP=OFF -DWITH_CUDA=ON -DBUILD_CUDA=ON -DBUILD_GPU=ON -DBUILD_tools=OFF -DWITH_OPENGL=OFF -DWITH_VTK=ON -DWITH_LIBUSB=OFF -DCMAKE_MAKE_PROGRAM=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/downloads/tools/ninja-1.10.2-linux/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg -D_VCPKG_INSTALLED_DIR=/mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg_installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/packages/pcl_x64-linux/debug
[cmake]     Working Directory: /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/x64-linux-dbg
[cmake]     Error code: 1
[cmake]     See logs for more information:
[cmake]       /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-out.log
[cmake]       /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-err.log
[cmake]
[cmake] Call Stack (most recent call first):
[cmake]   /mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:423 (vcpkg_execute_required_process)
[cmake]   ports/pcl/portfile.cmake:47 (vcpkg_cmake_configure)
[cmake]   scripts/ports.cmake:142 (include)
[cmake]
[cmake]
[cmake] Error: Building package pcl:x64-linux failed with: BUILD_FAILED
[cmake] Please ensure you're using the latest portfiles with `git pull` and `./vcpkg update`, then
[cmake] submit an issue at https://github.com/Microsoft/vcpkg/issues including:
[cmake]   package: pcl[core,cuda,vtk]:x64-linux -> 1.12.0#1
[cmake]   vcpkg version: 2021-11-02-af04ebf6274fd6f7a941bff4662b3955c64f6f42
[cmake]   vcpkg-tool version: b5a1ba275 2021-11-09 (5 hours ago)
[cmake]
[cmake] Additionally, attach any relevant sections from the log files above.
[cmake] -- Running vcpkg install - failed
[cmake] CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:831 (message):
[cmake]   vcpkg install failed.  See logs for more information:
[cmake]   /mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg-manifest-install.log
[cmake] Call Stack (most recent call first):
[cmake]   build/CMakeFiles/3.21.2/CMakeSystem.cmake:6 (include)
[cmake]   CMakeLists.txt:2 (project)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/mnt/d/Git/GitHub/vcpkg-playground/build/CMakeFiles/CMakeOutput.log".
[cmake] See also "/mnt/d/Git/GitHub/vcpkg-playground/build/CMakeFiles/CMakeError.log".

/mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg-manifest-install.log
vcpkg-manifest-install.log
/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-out.log
config-x64-linux-dbg-out.log
/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-err.log
config-x64-linux-dbg-err.log

@AlexLeungZ @weibingrong @raahilsha-z @LOVELESSYI Can you please test this PR?
Thanks.

It works for me! Thank you very much!

@JackBoosY do you mind fixing https://github.com/PointCloudLibrary/pcl/issues/4422 as well?
The problem is that target pcl_io_ply is linked to pcl_io in build phase https://github.com/PointCloudLibrary/pcl/blob/pcl-1.12.0/io/CMakeLists.txt#L341, but during install phase, pcl_io is missing an INTERFACE_LINK_LIBRARIES to pcl_io_ply in their custom PCLConfig.cmake (I still don't understand why PCL didn't use install to let cmake auto generate something like PCLTargets.cmake to guarantee consistency dependencies between build and install phase).
A quick and dirty fix I did was removing the pcl_io_ply target and merge the sources and headers that were in pcl_io_ply directly into pcl_io during add_library and that kinda worked for my situation. If you could figure out a proper patch that links pcl_io_ply to  pcl_io in PCLConfig.cmake that would be amazing.

@AlexLeungZ @weibingrong @raahilsha-z @LOVELESSYI Can you please test this PR?
Thanks.

It fails to build on my x64-linux wsl machine
{
    "name": "robocon-lidar-pcl",
    "version": "1.2",
    "description": "LiDar dev with pcl, cuda and vtk for robocon.",
    "dependencies": [
        "libusb",
        "cuda",
        "vtk",
        {
            "name": "pcl",
            "features": [ "cuda", "vtk" ]
        }
    ]
}

[cmake] -- Configuring x64-linux-dbg
[cmake] CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
[cmake]     Command failed: /home/alex/.local/lib/pypy3.6/site-packages/cmake/data/bin/cmake /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/src/89d532cf08-93412c82b5.clean -DBUILD_surface_on_nurbs=ON -DPCL_BUILD_WITH_BOOST_DYNAMIC_LINKING_WIN32=0 -DPCL_BUILD_WITH_FLANN_DYNAMIC_LINKING_WIN32=0 -DPCL_BUILD_WITH_QHULL_DYNAMIC_LINKING_WIN32=0 -DPCL_SHARED_LIBS=0 -DWITH_PNG=ON -DWITH_QHULL=ON -DWITH_OPENNI2=OFF -DWITH_QT=OFF -DWITH_PCAP=OFF -DWITH_CUDA=ON -DBUILD_CUDA=ON -DBUILD_GPU=ON -DBUILD_tools=OFF -DWITH_OPENGL=OFF -DWITH_VTK=ON -DWITH_LIBUSB=OFF -DCMAKE_MAKE_PROGRAM=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/downloads/tools/ninja-1.10.2-linux/ninja -DCMAKE_SYSTEM_NAME=Linux -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/scripts/toolchains/linux.cmake -DVCPKG_TARGET_TRIPLET=x64-linux -DVCPKG_SET_CHARSET_FLAG=ON -DVCPKG_PLATFORM_TOOLSET=external -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE -DCMAKE_VERBOSE_MAKEFILE=ON -DVCPKG_APPLOCAL_DEPS=OFF -DCMAKE_TOOLCHAIN_FILE=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON -DVCPKG_CXX_FLAGS= -DVCPKG_CXX_FLAGS_RELEASE= -DVCPKG_CXX_FLAGS_DEBUG= -DVCPKG_C_FLAGS= -DVCPKG_C_FLAGS_RELEASE= -DVCPKG_C_FLAGS_DEBUG= -DVCPKG_CRT_LINKAGE=dynamic -DVCPKG_LINKER_FLAGS= -DVCPKG_LINKER_FLAGS_RELEASE= -DVCPKG_LINKER_FLAGS_DEBUG= -DVCPKG_TARGET_ARCHITECTURE=x64 -DCMAKE_INSTALL_LIBDIR:STRING=lib -DCMAKE_INSTALL_BINDIR:STRING=bin -D_VCPKG_ROOT_DIR=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg -D_VCPKG_INSTALLED_DIR=/mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg_installed -DVCPKG_MANIFEST_INSTALL=OFF -G Ninja -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/packages/pcl_x64-linux/debug
[cmake]     Working Directory: /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/x64-linux-dbg
[cmake]     Error code: 1
[cmake]     See logs for more information:
[cmake]       /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-out.log
[cmake]       /mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-err.log
[cmake]
[cmake] Call Stack (most recent call first):
[cmake]   /mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg_installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:423 (vcpkg_execute_required_process)
[cmake]   ports/pcl/portfile.cmake:47 (vcpkg_cmake_configure)
[cmake]   scripts/ports.cmake:142 (include)
[cmake]
[cmake]
[cmake] Error: Building package pcl:x64-linux failed with: BUILD_FAILED
[cmake] Please ensure you're using the latest portfiles with `git pull` and `./vcpkg update`, then
[cmake] submit an issue at https://github.com/Microsoft/vcpkg/issues including:
[cmake]   package: pcl[core,cuda,vtk]:x64-linux -> 1.12.0#1
[cmake]   vcpkg version: 2021-11-02-af04ebf6274fd6f7a941bff4662b3955c64f6f42
[cmake]   vcpkg-tool version: b5a1ba275 2021-11-09 (5 hours ago)
[cmake]
[cmake] Additionally, attach any relevant sections from the log files above.
[cmake] -- Running vcpkg install - failed
[cmake] CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:831 (message):
[cmake]   vcpkg install failed.  See logs for more information:
[cmake]   /mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg-manifest-install.log
[cmake] Call Stack (most recent call first):
[cmake]   build/CMakeFiles/3.21.2/CMakeSystem.cmake:6 (include)
[cmake]   CMakeLists.txt:2 (project)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
[cmake] See also "/mnt/d/Git/GitHub/vcpkg-playground/build/CMakeFiles/CMakeOutput.log".
[cmake] See also "/mnt/d/Git/GitHub/vcpkg-playground/build/CMakeFiles/CMakeError.log".

/mnt/d/Git/GitHub/vcpkg-playground/build/vcpkg-manifest-install.log vcpkg-manifest-install.log
/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-out.log config-x64-linux-dbg-out.log
/mnt/d/Git/GitHub/vcpkg-playground/vcpkg/buildtrees/pcl/config-x64-linux-dbg-err.log config-x64-linux-dbg-err.log

OpenNI2 doesn't export its pkgconfig file, which caused this issue.

@AlexLeungZ Can you provide the file list in /mnt/d/Git/GitHub/robocon-test-code/vcpkg/packages/pcl_x64-linux/bin?

I rebuild the whole thing with this fix #21241 (comment) , so they are all gone.

Yeah I know that, but I need to know which file you deleted in that folder first, It may be unreasonable.

There is no /bin in /pcl_x64-linux right now, I just can't provide the list

Can you please revert your custom changes, rebuild pcl and provide the file list?

@AlexLeungZ Can you provide the file list in /mnt/d/Git/GitHub/robocon-test-code/vcpkg/packages/pcl_x64-linux/bin?

I rebuild the whole thing with this fix #21241 (comment) , so they are all gone.

Yeah I know that, but I need to know which file you deleted in that folder first, It may be unreasonable.

There is no /bin in /pcl_x64-linux right now, I just can't provide the list

Can you please revert your custom changes, rebuild pcl and provide the file list?

The /bin error seems to be gone, but the libusb error is still there.
It was built from a arm64-linux machine, clean build with clean vcpkg (from this PR with git pull)
and no modified packages was used expect for the vtk one, as it still wasn't been fixed yet. FYI: #21195
vcpkg.json
{
    "name": "robocon-test-code",
    "version": "1.3.2",
    "dependencies": [
        "vtk",
        {
            "name": "pcl",
            "features": [ "vtk" ]
        }
    ]
}

/media/robocon/nvme/vcpkg-playground/build/vcpkg-manifest-install.log
vcpkg-manifest-install.log
/media/robocon/nvme/vcpkg-playground/vcpkg/buildtrees/pcl/config-arm64-linux-dbg-out.log
config-arm64-linux-dbg-out.log
/media/robocon/nvme/vcpkg-playground/vcpkg/buildtrees/pcl/config-arm64-linux-dbg-err.log
config-arm64-linux-dbg-out.log
config-arm64-linux-dbg-err.log
CMake Error at /media/robocon/nvme/vcpkg-playground/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (_find_package):
  Could not find a package configuration file provided by "libusb" with any
  of the following names:

    libusbConfig.cmake
    libusb-config.cmake

  Add the installation prefix of "libusb" to CMAKE_PREFIX_PATH or set
  "libusb_DIR" to a directory containing one of the above files.  If "libusb"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  cmake/Modules/FindOpenNI.cmake:55 (find_package)
  /media/robocon/nvme/vcpkg-playground/vcpkg/scripts/buildsystems/vcpkg.cmake:788 (_find_package)
  cmake/pcl_targets.cmake:878 (find_package)
  CMakeLists.txt:325 (PCL_ADD_GRABBER_DEPENDENCY)

@AlexLeungZ Can you please make sure your vcpkg is latest? There should have a file vcpkg-cmake-wrapper.cmake in installed/x64-linux/share/libusb, please check first.

@AlexLeungZ Can you please make sure your vcpkg is latest? There should have a file vcpkg-cmake-wrapper.cmake in installed/x64-linux/share/libusb, please check first.

It is a fresh reinstall, the vcpkg was git clone right before the installing.
And there is no installed/arm64-linux/share/libusb
robocon@robocon: /media/robocon/nvme/vcpkg-playground/vcpkg$ git pull
From https://github.com/JackBoosY/vcpkg
 * branch                dev/jack/21223-21241 -> FETCH_HEAD
Already up to date.
robocon@robocon: /media/robocon/nvme/vcpkg-playground/vcpkg$ git status
On branch dev/jack/21223-21241
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   ports/vtk/portfile.cmake

no changes added to commit (use "git add" and/or "git commit -a")

@AlexLeungZ Please also merge this PR changes, you didn't apply patch fix-find-libusb.patch.

@AlexLeungZ Please also merge this PR changes, you didn't apply patch fix-find-libusb.patch.

I have already did
git clone https://github.com/microsoft/vcpkg
sudo ./vcpkg/bootstrap-vcpkg.sh
sudo vcpkg/vcpkg integrate install
gh pr checkout 21276

@AlexLeungZ Please test again.

@AlexLeungZ Please test again.

What I have tested:
pcl[core]:arm64-linux: won't build if feature [libusb] was not selected, with libusb error same as this one: https://github.com/microsoft/vcpkg/pull/21276#issuecomment-965364329
pcl[core. libusb]:arm64-linux: successfully built
pcl[core, libusb, vtk]:arm64-linux: testing

@AlexLeungZ  Please test again.

pcl[core, libusb, vtk]:arm64-linux: failed with some weird bug
collect2: error: ld returned 1 exit status
[462/464  99% :: 2520.312] /usr/bin/c++ -DH5_BUILT_AS_STATIC_LIB -DUNICODE -D_UNICODE -I/media...
ninja: build stopped: subcommand failed.

/media/robocon/nvme/vcpkg-playground/build/vcpkg-manifest-install.log
vcpkg-manifest-install.log
/media/robocon/nvme/vcpkg-playground/vcpkg/buildtrees/pcl/install-arm64-linux-dbg-out.log
install-arm64-linux-dbg-out.log

Depends on https://github.com/microsoft/vcpkg/pull/21341.

pcl[core, cuda, libusb, vtk]:x64-linux: successfully built
Thanks for the patch, still testing on arm64-linux

maybe a little bit off topic, but is there anyway to install pcl[cuda] with vcpkg without downgrading GCC and G++? https://github.com/microsoft/vcpkg/discussions/21356

Will update fix-pkgconfig.patch using the change which the upstream approved.

The upstream approved all the 2 PRs.

It is normal that arm device can not install pcl[openni2] as it is has dependencies on kinectsdk1 which is not support of arm.
{
  "name": "openni2",
  "version-string": "<IP_ADDRESS>",
  "port-version": 13,
  "description": "OpenNI is open source library for access to Natural Interaction (NI) devices such as RGB-D camera.",
  "homepage": "https://github.com/OpenNI/OpenNI2",
  "supports": "!uwp",
  "dependencies": [
    "kinectsdk1"
  ]
}

Is it normal that arm device can not install pcl[openni2] as it is has dependencies on kinectsdk1 which is not supported for arm??
{
  "name": "openni2",
  "version-string": "<IP_ADDRESS>",
  "port-version": 13,
  "description": "OpenNI is open source library for access to Natural Interaction (NI) devices such as RGB-D camera.",
  "homepage": "https://github.com/OpenNI/OpenNI2",
  "supports": "!uwp",
  "dependencies": [
    "kinectsdk1"
  ]
}

{
  "name": "kinectsdk1",
  "version-string": "1.8",
  "port-version": 3,
  "description": "Kinect for Windows SDK for Kinect v1 sensor.",
  "supports": "!arm"
}

Hm, changing supports to dependencies has side effects on the buildability of depending ports. This is entirely unnoticed by CI because of the unsupported state being silently cascaded instead of requiring an action (adding supports to the depending port or adding platform to the dependency).

Will this be patch?
Right now, my openni2.json look like this
{
  "name": "openni2",
  "version-string": "<IP_ADDRESS>",
  "port-version": 13,
  "description": "OpenNI is open source library for access to Natural Interaction (NI) devices such as RGB-D camera.",
  "homepage": "https://github.com/OpenNI/OpenNI2",
  "supports": "!uwp",
  "dependencies": [
        {
      "name": "kinectsdk1",
      "platform": "!arm"
    }
  ]
}

Base on openni2/vcpkg.json and openni2/portfile.cmake, i think it is a windows-only feature

Also, when I compile codes with pcl-visualization (PCL1.12, VTK9), the code will not run and gives some random errors.
For example, when I compile the following code:
2Dplot .cpp
#include <iostream>
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl/visualization/cloud_viewer.h>

int main(int argc, char **argv)
{
	pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>);

	if (pcl::io::loadPCDFile<pcl::PointXYZ>("lidarData.pcd", *cloud) == -1)
	{
		PCL_ERROR("Could not read the pcd file\n");
		return (-1);
	}

	pcl::visualization::CloudViewer viewer("Simple Cloud Viewer");

	viewer.showCloud(cloud);
	while (!viewer.wasStopped())
	{
	}

	return (0);
}

The code did compiled but when I run it, some errors occurred.
.../bin$ ./2Dplot
... ... ... ...
2021-11-21 05:01:14.598 (   1.065s) [        5B244700]vtkOpenGLPolyDataMapper:310   WARN| vtkOpenGLPolyDataMapper::SetFragmentShaderCode was deprecated for VTK 9.0 and will be removed in a future version.  Use vtkOpenGLShaderProperty::SetFragmentShaderCode instead.
X connection to p�}Td broken (explicit kill or server shutdown).

[1]+  Exit 1                  ./2Dplot

@AlexLeungZ The VTK issue seems have a upstream issue here: https://discourse.vtk.org/t/vtk-9-0-rc1/2916.
And the opennni issue is in the openni2 side.

@AlexLeungZ

The VTK issue seems have a upstream issue here: https://discourse.vtk.org/t/vtk-9-0-rc1/2916.
And the opennni issue is in the openni2 side: port openni2 should be refactory, it's only support Windows now.
The official doc is https://github.com/occipital/openni2.

The warning is not the issue, the biggest issue is this one X connection to p�}Td broken (explicit kill or server shutdown).

@AlexLeungZ

The VTK issue seems have a upstream issue here: https://discourse.vtk.org/t/vtk-9-0-rc1/2916.
And the opennni issue is in the openni2 side: port openni2 should be refactory, it's only support Windows now.
The official doc is https://github.com/occipital/openni2.

For the VTK, those warning can be ignore, the real issue is that the program crash after X connection to p�}Td broken (explicit kill or server shutdown).

@AlexLeungZ I think this is not related to my changes.
Please open a new issue to report that and we will fix that in other PRs.

rep

True, sorry about that, my bad

Thanks for the fixes @JackBoosY and thanks for the testing @AlexLeungZ :D

@JackBoosY Hi, I was wondering if you remember why you added -DWITH_OPENMP=OFF in this PR (more specifically, in the "Disable more options" commit)? I went through the PR and the linked issues, but could not find any reason why the multiprocessing library might have caused any problems, and on which triplets? If there is no reason why it must be disabled, I would like to re-enable it so that vcpkg provides a faster, parallelized PCL. Thanks in advance for your answer.

Maybe there have some issues when enabling this feature.

Maybe there have some issues when enabling this feature.

@JackBoosY But you don't remember anything specific? I am currently testing with different triplets and OpenMP enabled, and so far everything works fine. If I don't find any problem, I will probably create a pull request to remove -DWITH_OPENMP=OFF

Maybe there have some issues when enabling this feature.

@JackBoosY But you don't remember anything specific? I am currently testing with different triplets and OpenMP enabled, and so far everything works fine. If I don't find any problem, I will probably create a pull request to remove -DWITH_OPENMP=OFF

Feel free to reopen this feature in another PR : )


Instructions for role-based security are missing

Where can we find the instructions about how to implement role-based security for the web portal? they don't seem to exist.

@DeanGross Thank you for the feedback.
Are you referring to RBAC security in particular?
Please see the RBAC overview and/or Database engine permissions adding any details you think would be helpful and we can assign an author.

Sorry for not being more clear, on https://docs.microsoft.com/en-us/sql/reporting-services/web-portal-ssrs-native-mode?view=sql-server-2016#what-is-the-web-portal there is a statement that we can "Configure role-based security that determines access to items and operations.". Where can I find the instructions for doing this in the SSRS web portal?

Thank you for the update, assigning this to the author for review.

Hi, @DeanGross -- see the article https://docs.microsoft.com/en-us/sql/reporting-services/security/role-definitions-predefined-roles?view=sql-server-ver15 for info on role-based security in SSRS.
I can add a link to that article from the web portal article, https://docs.microsoft.com/en-us/sql/reporting-services/web-portal-ssrs-native-mode?view=sql-server-2016#what-is-the-web-portal.


Optimise linked proposals search

Code looks good. Can you attach an overview?

@ailisp preview link

Looking good @Megha-Dev-19 !


Add jacoco

@rultor merge

@rultor merge

@kerelape OK, I'll try to merge now. You can check the progress of the merge here


Red5 Service does not start on Windows

I am able to run and use the Red5 server using red5.bat and red5-shutdown.bat, but the Red5 Media Server service does not start with service-specific error code 4. I installed it using install-service.bat.
Following is what I see in the logs:
red5-error.log
2016-12-09 18:38:24 Commons Daemon procrun stderr initialized
java.lang.NoClassDefFoundError: Main
Caused by: java.lang.ClassNotFoundException: Main
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Exception in thread "main"
commons-daemon.???.log
[2016-12-09 18:38:24] [info]  [ 9360] Commons Daemon procrun (<IP_ADDRESS> 64-bit) started
[2016-12-09 18:38:24] [info]  [ 9360] Running 'Red5' Service...
[2016-12-09 18:38:25] [info]  [ 9948] Starting service...
[2016-12-09 18:38:25] [error] [ 7504] FindClass Main failed
[2016-12-09 18:38:25] [error] [ 9948] Failed to start Java
[2016-12-09 18:38:25] [error] [ 9948] ServiceStart returned 4
[2016-12-09 18:38:25] [info]  [ 9360] Run service finished.
[2016-12-09 18:38:25] [info]  [ 9360] Commons Daemon procrun finished
Is this an issue with the Red5 service?

We've found this happens on a number of windows versions after Win 7; with all things being the same, we assume the problem lies in the native procrun code.

I see. For now, I have just created a scheduled task that runs Red5.bat on startup as a workaround.

I have the same problem, and my OS is Win10.

Apache recently fixed an issue with procrun in commons-daemon 1.2.2; hopefully that resolves this problem.

The problem is still present. Windows10 + commons-daemon-1.2.2 and am still getting:
[2019-10-31 14:39:31] [info]  [11548] Apache Commons Daemon procrun (<IP_ADDRESS> 64-bit) started.
[2019-10-31 14:39:31] [info]  [11548] Running Service 'Red5'...
[2019-10-31 14:39:31] [info]  [ 3228] Starting service...
[2019-10-31 14:39:31] [error] [10924] FindClass Main failed
[2019-10-31 14:39:31] [error] [ 3228] Failed to start Java
[2019-10-31 14:39:31] [error] [ 3228] ServiceStart returned 4.
[2019-10-31 14:39:31] [info]  [11548] Run service finished.

I'll try to slot some time this weekend to run it on my win 10 laptop.

I learned from this https://bz.apache.org/bugzilla/show_bug.cgi?id=63767 that a "fully-patched" windows is required to work with the daemon lib; please ensure that your OS is up-to-date.

Anys news on this issue?

still ocurred at my win10 21H2, 囧。


[BUG] Tailwind Css Code For Input Range Generator>

Description
Tailwind css code copy feature for Input Range Generator feature is missing or not working
Screenshots
No response
Additional information
No response
🥦 Browser
Opera
👀 Have you checked if this issue has been raised before?

[X] I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read and understood the rules in the Contributing Guidelines

Are you willing to work on this issue?
Yes I am willing to submit a PR!

@beyzanur-seyhan you got assigned, good luck!

@beyzanur-seyhan you got assigned, good luck!

Thanks :)

:tada: This issue has been resolved in version 2.66.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: