Extend OniCommand

Fix #1961.
Update OniCommand to take any number of arguments.
Currently, restricted to strings... not sure if that is an issue.
Added a quick CI test too.

@bryphe , do you know if/how to add a function for gx to call? I'd like to test that with this, but I'm not sure how to remap it.

Awesome work on this, @CrossR !
Nice test case, great way to exercise the end-to-end functionality - gives me confidence that it won't be regressed 👍

@bryphe , do you know if/how to add a function for gx to call? I'd like to test that with this, but I'm not sure how to remap it.

I'm not sure if there is an option to configure it - it might be we just need to override it. :nnoremap gx :echo 'hello'<CR> seems to take over the default behavior. I looked at :help netrw-gx and it seems that you can specify a program to handle the URL, but not a Vim command.
We could try something like:
:nnoremap gx :call OniCommand("browser.openUrl", expand("<cWORD>"))<CR>

@justinmk might have ideas too 😄
Thanks for putting this together, @CrossR  - I think this will open up for some interesting ways plugins could start to leverage. For example, this helps to enable #1917 - having a command to show the quickinfo tooltip from VimL.


Balanced durability mode doesn't work with RabbitMQ

Describe the bug
When using RabbitMQ with default DurabilityMode = Balanced app is unable to start.
All Wolverine and Marten packages are latest as for now: Wolverine 2.1.2 and Marten 7.4.0
There are two other issues strictly related to that and giving necessary context:
#645 and #746
Firstly this exception is thrown:
fail: Wolverine.Runtime.Agents.StartLocalAgentProcessing[0]
      Invocation failed!
      System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
       ---> System.ArgumentNullException: Value cannot be null. (Parameter 'serializer')
         at Wolverine.Runtime.Routing.MessageRoute..ctor(IMessageSerializer serializer, ISendingAgent sender, IEnumerable`1 rules, IReplyTracker replyTracker)
         at Wolverine.Runtime.Routing.MessageRoute..ctor(Type messageType, Endpoint endpoint, IReplyTracker replies)
         at Wolverine.Runtime.Routing.MessageRouterBase`1.<>c__DisplayClass2_0.<.ctor>b__1(Endpoint endpoint)
         at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
         at Wolverine.Runtime.Routing.MessageRouterBase`1..ctor(WolverineRuntime runtime)
         at Wolverine.Runtime.Routing.MessageRouter`1..ctor(WolverineRuntime runtime, IEnumerable`1 routes)
         at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         --- End of inner exception stack trace ---
         at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
         at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
         at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture)
         at System.Activator.CreateInstance(Type type, Object[] args)
         at JasperFx.Core.Reflection.TypeExtensions.CloseAndBuildAs[T](Type openType, Object ctorArgument1, Object ctorArgument2, Type[] parameterTypes)
         at Wolverine.Runtime.WolverineRuntime.RoutingFor(Type messageType)
         at Wolverine.Runtime.MessageBus.PublishAsync[T](T message, DeliveryOptions options)
         at Wolverine.Runtime.MessageContext.EnqueueCascadingAsync(Object message)
         at Wolverine.Runtime.Agents.InternalMessageHandler`1.HandleAsync(MessageContext context, CancellationToken cancellation)
         at Wolverine.Runtime.Agents.InternalMessageHandler`1.HandleAsync(MessageContext context, CancellationToken cancellation)
         at Wolverine.Runtime.Handlers.Executor.InvokeAsync(MessageContext context, CancellationToken cancellation)

Which is the same as described in #645
Secondly there is workaround for this which is setting:
options.Durability.Mode = DurabilityMode.Solo;
I use it temporarily in solo mode to proceed with development but unfortunately it won't be acceptable on prod environment in my project.
This workaround is taken from #746
Thirdly and actually really strange:
It is possible to run it without above workaround.
You just need to run your app twice.
In the first run you'll get exception described above.
When you run again everything will be fine.
In the first run there is a log:
Found no other existing nodes, deciding to assume leadership in node 1
and right after that above exception is thrown.
In the second run these logs are printed:
Starting agents for Node da6a8488-5f77-48b1-b481-5f55a9b67653 with assigned node id 2
Found no elected leader on node startup, requesting node 1 to be the new leader
Wolverine assigned node id for envelope persistence is 2

and app runs properly.
To reproduce
Use what is described in #746

@ArkadiuszChorian Hey, the previous issue was closed because I cannot reproduce the issue locally at all. Without reproduction steps that actually cause the issue, I can't merely "use what is described in #746"

Only guess I have at this point is that this might help: https://github.com/JasperFx/wolverine/issues/660

@jeremydmiller thanks, I see. We'll make repro repo soon.

I'm making some guesses at the root cause and pushing a PR to the next release. Just re-open if 2.2.0 doesn't help please

@jeremydmiller thanks for making an attempt to resolve the issue. Hope it will help, so waiting for 2.2.0.
Despite that we were able to setup quite polished repro repo for this:
https://github.com/ArkadiuszChorian/wolverine-balanced-durability-issue
Many thanks @nmapx and @doctorspider42 for help with reproducing the issue and setting up that repo.

Hi again @jeremydmiller. We tested 2.2.0 on our repro repo and unfortunately #791 didn't help - Balanced mode still not working.

@jeremydmiller here is reopened issue #818


No setup or pyprojects file

Hi,
I installed your code via pypi and had few issues with it.
After 1 or 2 lines patches It's the most useful tool for me now.
I see your related python packages aren't using any distribution/ setup file, they are very "barebone", is it intentional and would you accept contributions to make it "standard" python packages ? (I'm wondering how you push to pypi without this actually...)
I didn't test the HEAD yet but in the distribution there is an issue with cuttingpower which expects an int while it is a float...
Also the images didn't work out of the box for me, but I have more work todo for the "fix" I did (which is just working for me now but doesn't fix everything) so I'm not contributing it yet.
Anyway, thank you a lot for those projects!

Hi Fabien,
I’ll look at the float/int problem you mention and fix it (when needed).
Images work for me, and I tested several scenario's. If you indicate the problem you encounter I’ll look at it.
The latest release (HEAD) fixes a viewbox problem I encountered when generation .svg files from OpenSCAD.
I distribute to pypi using Flit . This is indeed a barebones solution. As far as I know, no setup file is needed for a pure (100%) Python package. No special installation/compilation is needed after all.
What additional benefit would a setup file have, except for complication things?
I am glad the tool is useful to you!
Regards,
Johannes

Hi Johannes,
I'm not sure which library is different in your environment, here the linked images are not supported at all (unless I miss something in the code) and the inline (base64) ones throw such error:
cannot identify image file <_io.BytesIO object at 0x7f260f5ae660>

I plan to have a look at this one (I only have a fix for linked images at the moment) since you don't experience the same behavior. Maybe opening a separate bug ticket is worth it in case we need to discuss version dependencies etc... (looks like something broke compatibility, I'm running archlinux so I have "latest" versions of everything).
I didn't know Flit, I'll have a look. I believe the more "complicated" (now I'm using poetry, it's very very simple) ways have a few advantages:

clear and controlled dependencies & package "metadata"
ease of development for contributors (pip install -e .)

but maybe this is also achieved by your solution, it's just not clear for me yet how to deal with it without manual copying files etc... I like to work directly on the files from the git repository, which is easily done with pip.
I see your projects aren't supported at all by pip if not fetching from pypi, hence can't be installed in "editable mode" (files stay in place).
I believe this is a big stop for many casual contributors which are used to a simple workflow that always works.
So it makes things a bit more "complicated" once (when you write the pyproject file) but then it's easier for everybody...
One more thing, but it looks like your version (I didn't check the original) strips the items which are out of the "cutting zone" (aka svg viewport). Given how laser engravers work it's a bit a pitty, preventing people from having a centered origin (vs bottom left corner) - which can be VERY useful in some cases.
I guess this can be worked around by adding some new parameter like "--centered" and applying offets... but being able to have the origin at the center would really be useful :)

`cannot identify image file <_io.BytesIO object at 0x7f260f5ae660>`

Images should be included (inline) and of  type base64 (you can check that within the .svg file.
I did some tests using .png and .jpg file formats, but others should work also (because of build in library support) but I did not test that.
I updated the README to reflect that.
I use Manjaro linux (latest version), which is based on archlinux, so that should be comparable.
I just installed the latest version of svg2gcode in a separate environment and did a test on a 'complicated' .svg and everything works fine.
(I also ran it on the Mac and this works fine: the output is binary compatible with that of linux Manjaro (Intel vs. ARM64))
Which software do you use to produce the .svg files? Because that could make a difference in the way files are included.
I fixed the type issue (argument 'cuttingpower' is now type float).
I added pyproject.toml (which includes dependencies) and HOWTOBUILD.md to the project. The .toml file is generic for other types of install I read (see_HOWTOBUILD.md_ ).
Everything that is visible (in view) within the .svg file (when you save it) should be reproduced within the gcode files.
Point is that laser cutters use a lower left corner for the origin (0,0) and svg2gcode translates the .svg to start at this origin.

Great !!
I'm using inkscape (too?), but figured there is something fishing related to the display settings, which doesn't make sense. I'll try again in case it was a pebcak. Anyway, I often use "linked" images and support is trivial, I'll be happy to open a feature request bug & propose a pull request unless you are faster than me ;)
About the visibility, do you mean negative coordinates aren't supported in laser engraver ? I'm coming from the 3D printing world and I assumed relative coordinates are also possible... so negative coordinates should be... in case it's really not an option, do you have some ideas to work around the problem and be able to "center" an object like a target instead of guessing the perfect bottom/left corner and eyeball the margin ? If this can be included in the software it would be awesome!
On top of this, it would be useful (I think, tell me if I'm wrong) to configure the minimum power too.
If I'm thinking even more, being able to specify the minimum value (speed + power) vs max value (speed + power) may enable the best results rendering images ? Finding the perfect line between min and max... maybe it's not linear, I have very little idea about that and don't think it's linear but applying different curves and checking results empirically can be efficient enough... ?
Anyway, I'm very happy with this project and it really fits my needs so far with the little comments I make :)
Thanks again for your time.

Anyway, the original subject can be closed as far as I understand.

It was my intention to support linked files also, so if you implemented that a pull request is fine by me.
Allow me some time to evaluate it though!
(I am currently busy updating grblhud to include Zaxis probes and work offsets (so the bit can be placed exactly on top of an object to be CNC’d) and several other things).
Laser engravers (cutters) support negative coordinates because grbl/gcode does. It is a matter of choice of course where you zero your X Y axis (and place your laser head). I guess the reason - for me - to use ‘positive’ coordinates is that images files (representations) are easily represented as a two dimensional array (having positive indices), also programs like Inkscape have positive coordinates as ‘default’. Also the laser engraver/cutter I have has axes markings starting at (0,0) to (400,400) (or so). So I defined a reference point (always) at left bottom.
But, as you point out, that does not need to be the case.
A bit too rigid thinking on my side I guess. I think maybe let the origin be defined by the user and not translate the left most, bottom most coordinates to (0,0)?
So maybe an option to set the origin, otherwise let it be defined by the SVG file.
I have to look into this to see if my code supports this …
You ask about setting the laser head on a reference point.
A way to place the laser at a reference point is to turn it on (G0 X0 Y0; M3; S1; make sure G0 does not hit anything and the laser is on lowest power!) and place it by hand exactly at a marking on the object you are engraving (cutting). If x/y-axis alignment is needed you can laser the boundingbox (svg2gcode writes that to the gcode file it emits) with laser set to 1. You can repeat this and shift the object below until it is aligned.
It is also possible to jog (or by using gcode commands) to the marking (laser on 1) and subsequently shift the work coordinates of the laser machine to make this the new origin (G92 X0 Y0 I think)
This all is easy  to do using grblhud.
Your remarks about image engraving are spot on. A minimum setting is a good idea. I will look at that.
I experimented a lot with images and it is essential to turn up the contrast as much as possible using photo edit software. Maybe some software allows for a non linear contrast change!
The image rendering software I wrote applies a linear ‘formula’ but that can be made pluggable.
My experience is that above a certain laser intensity wood burns black and intensities higher than that does not show. That is why you can set the maximum laser intensity. A minimum intensity makes sense because only at a certain intensity wood burns (so intensity levels below that do not show).
I created test images with a linear intensity difference in several directions and ‘printed’ them. I based the cutoff laser intensity I used on this. I also concluded that intensity levels seemed fairly linear until the maximum. I also concluded that the dynamic range of the printed image is relatively low (300) compared to that of the original image.
The calibration depends of cause on the type of wood (hard, soft, color) and the laser head used.
I testend two laser heads and the one with low(er) power produced much beter images.
But, long story short: I produced very good images using this software. Better than most and as good as the best images I have seen online.
Note that the image software takes movement precision into account (by never using speed G0 code and always using a steady pace reversing at the edges).

I use the laser in standalone mode now, mine have an ESP32+ small touch display where I can run things directly.
I'll be interested later for some automation eventually, but since it's not like a 3D printer but you have to physically put something on the "bed" I'm not too much in hurry for that.
Original images are better if they have a high contrast, but there are some tricks to make them more contrasted if they are not... then what I do which I'm quite happy with so far, with fixed speed & power (depending on the material) is to print some kind of ruler with a gradient under it.
I take the approximate position of the first "fully dark" and "fully white" zones in the gradient and then I make my images use this exact range as min and max (so they show very low contrast on the computer).
I'm losing some dynamic range this way, even though not very noticeable since burning material also have a low dynamic range in general... but being able to set "min" and "max" power would solve the loss of information.
I'm going to do a pull request for the linked files support...
And was wondering why --cuttingpower uses a ratio and --imagepower an absolute value ?
Using absolute values for both would allow dropping the support for --maxlaserpower and simplify the CLI...


footer problem

footer have problems @faisal07777 pls assign it to me

@Amankr200 this issue was assigned to someone.
make sure to join discord server.


What would be a good first contribution?

Hmm, what do you have in mind? There is no true end goal, aside from having everything we can think of.

Silver is a common ore in mods and addons. Would I need to create a texture and the correct rules along with the block?

Feel free to do as much as you would like, most of what is needed is the unique textures for the rp side. And maybe an idea of where it would generate for the bp. If you want, you can make a copy of the tin block/rules and use it as a template.

Should I make a deepslate and normal variant?

Yes, please


adding freerdp-nightly-binaries repo to sources results in Packages 404 Not Found

I followed the instructions to add the sources freerdp-nightly-binaries repo to my sources on Ubuntu 15.04.

Add the following entry to a sources list:
deb http://pub.freerdp.com/repositories/deb/DIST/ freerdp-nightly main
Where DIST is one of the supported distributions below.
The package is called freerdp-nightly and binaries and libraries are installed to /opt/freerdp-nightly/
To get they apt key:
wget -O - http://pub.freerdp.com/repositories/ADD6BF6D97CE5D8D.asc | sudo apt-key add -

Here's what I did:
$ wget -O - http://pub.freerdp.com/repositories/ADD6BF6D97CE5D8D.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://pub.freerdp.com/repositories/deb/DIST/ freerdp-nightly main" >> /etc/apt/sources.list.d/freerdp-nightly.list'
$ sudo apt-get update
$ sudo apt-get install -y freerdp-nightly

Which results in this:
W: Fehlschlag beim Holen von http://pub.freerdp.com/repositories/deb/DIST/dists/freerdp-nightly/main/binary-amd64/Packages  404  Not Found [IP: <IP_ADDRESS> 80]

W: Fehlschlag beim Holen von http://pub.freerdp.com/repositories/deb/DIST/dists/freerdp-nightly/main/binary-i386/Packages  404  Not Found [IP: <IP_ADDRESS> 80]

Is there something I'm doing wrong?
Edit: I just noticed that I missed the "DIST"  text passage.

I'm sorry. I just noticed that I missed the "DIST"  text passage.


terragrunt: 0.29.0 -> 0.29.1

Motivation for this change
Bump terragrunt to 0.21.1
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

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

1 package built:

terragrunt


VORTEX-6183 Tab delimited CSVs breaking upon startup

Fixes VORTEX-6183
Proposed Changes

the word "TAB" is substituted for an actual tab in the prefs file so the token delimiter isn't lost to the aether upon MIST startup

Lets close this out and tag up on this and talk about the other path forward


How to use styling only on header

It is possible to use styling (change cell background) on Header Row only?

Did you learn how to do it?


Azure KS does not support all regions that are in their list

Rancher versions: 2.0 master 7/1
Steps to Reproduce:

Go to Add Cluster
Click on region for Azure Kubernetes Service

Results:  There are quite a few regions that azure does not support in the list.  Here is the list

https://github.com/rancher/ui/pull/2029


updating zlib 1.3.1

lib3mf now uses zlib 1.3.0, which is affected by the vulnerability (BDSA-2023-2778 CVE-2023-45853). Is lib3mf affected by this? zlib(v1.3) https://autodesk.app.blackduck.com/api/components/b9185555-6e31-401e-b373-bfec7955a8ab/versions/eb888ce9-e2b6-47f7-980e-b65e7d68e92a
BDSA-2023-2778 https://autodesk.app.blackduck.com/api/vulnerabilities/BDSA-2023-2778/overview
so updating to zlib v1.3.1
Adding Mac OS target to 10.15 in cmake.

Looks good Pradeep.

Hi Vijai, I would like to merge this to develop and take this to release branch as well. Is that okay for you?


Add colorbar legend to to heatmap and dotplot

https://www.d3-graph-gallery.com/graph/custom_legend.html

A continuous bar legend seems the best choice to me. Something like this: http://bl.ocks.org/syntagmatic/e8ccca52559796be775553b467593a9f
We could link it to a separate  so that it could be placed outside the plot.
Is this similar to what you had in mind @Munfred?


fixed ngx_slab_sizes_init() function lost, which will result in consuming a new page every ngx_slab_allc

ngx_slab_sizes_init() function will initialize ngx_slab_max_size and ngx_slab_exact_size, which will be used when allocing memory.

Current master branch has been fixed this problem, thanks for your contribution.


Changing Sample Rate

Hey there. Thanks for working on this - great tool. I'm wondering if there's an easy way to downconvert sample rate of a file. In command line sox, I would just do:
sox in.wav -r 16000 out.wav
I can set the rate on the input and the output, but it seems to just slow the audio down, rather than cutting/interpolating samples.
Thanks!

Hi, and thank you! The effect used to change the sample rate is the rate effect, so what you'd want to do is to add that effect to the chain. There are other sample rate changing effects, but AFAIK the rate effect is what is used by the -r command line argument.

Perfect, that's exactly what I need. Thanks!


Change to use hkps over port 443 instead of 11371 to resolve issue https://github.com/actions/runner-images/discussions/9963

Update: Changed in the second commit to hkps over port 443 to improve security. Works also like a charm.
Change to use port 80 instead of 11371  to fix this issue: https://github.com/actions/runner-images/discussions/9963
We tested the commands manually on our machines to verify if the script would work.
Description
New tool, Bug fixing, or Improvement?
Please include a summary of the change and which issue is fixed. Also include relevant motivation and context.
For new tools, please provide total size and installation time.

Related issue:
Check list

[X] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[X] Changes are tested and related VM images are successfully generated

Could someone approve this? We're facing the same issue.


firmware-linux-nonfree: fixed-output derivation

Motivation for this change
make the derivation fixed-output to avoid rebuild/redownload on each mass-rebuild

@GrahamcOfBorg build firmwareLinuxNonfree microcodeAmd

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: firmwareLinuxNonfree, microcodeAmd
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: firmwareLinuxNonfree, microcodeAmd
Partial log (click to expand)
building
installing
48 blocks
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p87gxxsi82mc159dwbxfvjdy1svvvc5a-amd-ucode-2018-03-20
strip is /nix/store/1hi76hr87bd1y1q1qjk0lv8nmcjip1c8-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/p87gxxsi82mc159dwbxfvjdy1svvvc5a-amd-ucode-2018-03-20
checking for references to /build in /nix/store/p87gxxsi82mc159dwbxfvjdy1svvvc5a-amd-ucode-2018-03-20...
/nix/store/pjrgd3wb2pykf481d4icsip8alifks37-firmware-linux-nonfree-2018-03-20
/nix/store/p87gxxsi82mc159dwbxfvjdy1svvvc5a-amd-ucode-2018-03-20

Success on aarch64-linux (full log)
Attempted: firmwareLinuxNonfree, microcodeAmd
Partial log (click to expand)
building
installing
48 blocks
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/3b0q7kbzs0wpvf607c83dn5n7pn4qxzc-amd-ucode-2018-03-20
strip is /nix/store/zrs21zqcchgyabjf4xfimncdq16njizc-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/3b0q7kbzs0wpvf607c83dn5n7pn4qxzc-amd-ucode-2018-03-20
checking for references to /build in /nix/store/3b0q7kbzs0wpvf607c83dn5n7pn4qxzc-amd-ucode-2018-03-20...
/nix/store/pjrgd3wb2pykf481d4icsip8alifks37-firmware-linux-nonfree-2018-03-20
/nix/store/3b0q7kbzs0wpvf607c83dn5n7pn4qxzc-amd-ucode-2018-03-20

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/how-to-prevent-fixed-output-paths-from-being-copied-to-the-nix-store-on-each-evaluation/8479/8


What happens if no image provided for a level?

I think it'll be common as we roll this out for nonprofits to not always provide images - perhaps we can have some nice abstract defaults or just not show the image pane altogether if no images provided.
Another situation is if the nonprofit provides images for some but not all levels.

A quick solution would be to only allow the split-panel layout if images (and maybe descriptions) are provided.


[FEATURE REQUEST] ... ToolKit Selections History Tracking

Problem Description
When I go to debug a new anomaly in my ToolKit-enabled nYNAB budget file, I can't remember which ToolKit features I have most recently enabled causing much confusion and unfortunate time spent.
Solution I'd like
Maybe I'm missing something, but in case I'm not, I'd like a feature added to ToolKit itself to be able to show me which features I've last enabled/disabled, then which ones I changed just before that, etc. so I can revert knowledgeably. It would also be nice to be able to hide features Disabled or Enabled alternatively when viewing the feature list.

I'm curious to hear your thoughts on the new options UI. It's a bit more compact fitting more on the screen and now that you can enable/disable features without refreshing, it may help with your first issue?
I don't see us actually implementing any sort of "audit log" of which features are enabled/disabled. I do hope you find the new UI more useful though!


[spdlog] Update to 1.5.0

Describe the pull request

What does your PR fix? Fixes issue #

Which triplets are supported/not supported? Have you updated the CI baseline?

Does your PR follow the maintainer guide?

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Sil3ntStorm sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

CI failures appear to be caused by some issue on Azure?

The regressions caused by other ports have been fixing in this PR #10508.

/azp run

Could you please try to look into the regressions on Windows platform?
You can get the log here .

Failure is in the azure-kinect-sensor-sdk port.

/azp run

/azp run

Not going to fix any of the third party stuff that is causing these CI failures.

/azp run

Since  azure-kinect-sensor-sdk depends on spdlog.
This regression on x64-windows-static caused by azure-kinect-sensor-sdk is related with this PR.
Could you please look into it?
optimized;C:/vsts/_work/4/s/installed/x64-windows-static/lib/jpeg.lib;debug;C:/vsts/_work/4/s/installed/x64-windows-static/debug/lib/jpegd.lib (found version "62")
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
-- Performing Test COMPILER_HAS_DEPRECATED
-- Performing Test COMPILER_HAS_DEPRECATED - Success
-- Clang-format not found
CMake Error at CMakeLists.txt:303 (configure_file):
  configure_file Problem configuring file

Related issue #10931

This is an issue with CI #worksonmymachine
./vcpkg.exe install azure-kinect-sensor-sdk --triplet x64-windows-static
Installing package azure-kinect-sensor-sdk[core]:x64-windows-static... done

./vcpkg.exe list
azure-c-shared-utility:x64-windows-static          2020-02-04.1     Azure C SDKs common code
azure-kinect-sensor-sdk:x64-windows-static         1.4.0-alpha.0-2  Azure Kinect SDK is a cross platform (Linux and ...
azure-macro-utils-c:x64-windows-static             2020-02-04.1     A library of macros for the Azure IoT SDK Suite
cjson:x64-windows-static                           2019-11-30       Ultralightweight JSON parser in ANSI C
ebml:x64-windows-static                            1.3.10           a C++ libary to parse EBML files
fmt:x64-windows-static                             6.1.2            Formatting library for C++. It can be used as a ...
glfw3:x64-windows-static                           3.3.2            GLFW is a free, Open Source, multi-platform libr...
gtest:x64-windows-static                           2019-10-09-1     GoogleTest and GoogleMock testing frameworks.
imgui:x64-windows-static                           1.74             Bloat-free Immediate Mode Graphical User interfa...
libjpeg-turbo:x64-windows-static                   2.0.4            libjpeg-turbo is a JPEG image codec that uses SI...
libsoundio:x64-windows-static                      2.0.0-3          libsoundio is C library providing cross-platform...
libusb:x64-windows-static                          1.0.23           a cross-platform library to access USB devices
libyuv:x64-windows-static                          fec9121-1        libyuv is an open source project that includes Y...
matroska:x64-windows-static                        1.5.2            a C++ libary to parse Matroska files (.mkv and ....
spdlog:x64-windows-static                          1.5.0            Very fast, header only, C++ logging library
umock-c:x64-windows-static                         2020-02-04.1     A pure C mocking library

git status
On branch update/spdlog
Your branch is up to date with 'origin/update/spdlog'.

nothing to commit, working tree clean

Thanks for your update @Sil3ntStorm.
@ras0219-msft
Could you help take a look about this?
It seems that there is something wrong with CI machine.
I also cannot reproduce this on my local.
I noticed the problem is here:
# Generate .NET Version file.
configure_file(VersionInfo.cs.in ${CMAKE_CURRENT_SOURCE_DIR}/src/csharp/VersionInfo.cs)

But I don't know what happened.

Yes, that's also why I was like it makes no sense to fail like that.
For all I know, it's just supposed to copy that file into the other location and replace some text in it if needed. It doesn't even seem to have anything to do with any code.
Why would that fail, unless maybe the disk is full?

/azp run

I noticed another PR is also due to this.
This should be related with the disk since permission denied.
I have removed the tombstones and try to rerun this.
So let's wait for the new CI results.

Seems like it's still having the same error

There was something wrong with removing tombstone. So I tried it again just now.

/azp run

All triplets has been passed now. Please try to update as the reviewed.

Any reason why not all of the compile time features in the cmake script are exposed in vcpkg? This means that any consumer wanting those can't use the precompiled version because it can (and will) lead to ODR violations.
https://github.com/gabime/spdlog/blob/cf6f1dd01e660d5865d68bf5fa78f6376b89470a/CMakeLists.txt#L81-L93

@Sil3ntStorm
Thanks for posting this.
If some users have the requirement for these features, of course, it is possible to add them.

Added the missing features.
Unfortunately there doesn't seem to be a way to specify conditions for a feature, so it's in the description for now.

/azp run

/azp run

/azp run

CMake Error: Could not open file for write in copy operation C:/agent/_work/1/s/buildtrees/azure-kinect-sensor-sdk/src/11aa54ede6-616869ab19/src/csharp/k4a.x64.props.tmp
CMake Error: : System Error: Permission denied

I see CI is still not doing what it's supposed to...

/azp run

LGTM now, testing...

It seems that only feature fmt  can be built now.
@Sil3ntStorm
Could you please help confirm if spdlog currently only supports feature fmt?
If other features are not supported, it might be better to remove them.

@NancyLi1013 I don't even know what you're talking about. Note that I stopped trusting the absolut clusterf* of CI you got running here and also stopped bothering looking at the results, they're always bogus anyway.

They're present in the released CMakeLists.txt
https://github.com/gabime/spdlog/blob/cf6f1dd01e660d5865d68bf5fa78f6376b89470a/CMakeLists.txt#L52-L93

@Sil3ntStorm
I'm so sorry about this.
I want to make it clarify that the above results are not from CI test. Since CI doesn't support test for any features now. So we need to test them manually.
As for the CI test for this port, all checks are good. We have switched the CI test to microsoft.vcpkg.pr(triplet). So we just need to care about the results here.
I'm so sorry that I haven't describe this correctly before this.

@Sil3ntStorm
Are you willing to update spdlog to 1.6.0?

there you go. Any bets as to whether they'll release 1.7.0 before this PR is done?

@Sil3ntStorm
Thanks so much for your continuous work to this PR.
Sorry, I don't know any plan for spdlog release.
I will test these features as soon as possible.

@Sil3ntStorm
There are two problems that need to confirm with you.
Could you please help check this?
The feature benchmark build failed on Windows due to this:
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(103): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::basic_logger_st<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,bool)': cannot convert argument 2 from 'const char [26]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(103): note: Reason: cannot convert from 'const char [26]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(103): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(104): error C3536: 'basic_st': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(107): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::basic_logger_st<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,bool)': cannot convert argument 2 from 'const char [34]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(107): note: Reason: cannot convert from 'const char [34]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(107): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(108): error C3536: 'tracing_basic_st': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(113): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::rotating_logger_st<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,size_t,size_t,bool)': cannot convert argument 2 from 'const char [29]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(113): note: Reason: cannot convert from 'const char [29]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(113): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(114): error C3536: 'rotating_st': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(118): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::rotating_logger_st<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,size_t,size_t,bool)': cannot convert argument 2 from 'const char [37]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(118): note: Reason: cannot convert from 'const char [37]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(118): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(119): error C3536: 'tracing_rotating_st': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(123): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::daily_logger_mt<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,int,int,bool,uint16_t)': cannot convert argument 2 from 'const char [26]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(123): note: Reason: cannot convert from 'const char [26]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(123): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(124): error C3536: 'daily_st': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(126): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::daily_logger_mt<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,int,int,bool,uint16_t)': cannot convert argument 2 from 'const char [26]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(126): note: Reason: cannot convert from 'const char [26]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(126): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(127): error C3536: 'tracing_daily_st': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(137): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::basic_logger_mt<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,bool)': cannot convert argument 2 from 'const char [26]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(137): note: Reason: cannot convert from 'const char [26]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(137): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(138): error C3536: 'basic_mt': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(142): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::rotating_logger_mt<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,size_t,size_t,bool)': cannot convert argument 2 from 'const char [29]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(142): note: Reason: cannot convert from 'const char [29]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(142): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(143): error C3536: 'rotating_mt': cannot be used before it is initialized
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(147): error C2664: 'std::shared_ptr<spdlog::logger> spdlog::daily_logger_mt<spdlog::synchronous_factory>(const std::string &,const spdlog::filename_t &,int,int,bool,uint16_t)': cannot convert argument 2 from 'const char [26]' to 'const spdlog::filename_t &'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(147): note: Reason: cannot convert from 'const char [26]' to 'const spdlog::filename_t'
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(147): note: No constructor could take the source type, or constructor overload resolution was ambiguous
F:\10471\vcpkg\buildtrees\spdlog\src\b3f2120671-8e307892b3\bench\latency.cpp(148): error C3536: 'daily_mt': cannot be used before it is initialized

In addition, it seems that we need to add the following codes to handle the dll files generated in static build:
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
        file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin")
endif()

Related PR #11793
@Sil3ntStorm
Is work still being done for this PR?

Thanks for the PR; we're closing this for now since there's been no response. If you'd like to continue working on it, please reopen and ping us!


Fix bug while client subscribing to an Array of topics.

1.fix bug while client(MQTT.js) subscribing to an Array of topics. I am curious the original line use only subscriptions[0] in if condition that would ignore the rest topics in an Array.
-2.fix bug while negating a subscription. The original logic is setting sub to null that will cause series problem. e.g: to negate multi topics and to persistent negated topics (which QoS is still 0 in storage).

I retract #2 to pass test case with bugs I mentioned. Maybe you can change this part while you have time :)

I fixed negated topics persistence bug in the third commit.
Multi topics negating bug is still there.
instance.authorizeSubscribe = function (client, sub, callback) {
  if (sub.topic === 'aaaa') {
    sub = null
  }
  if (sub.topic === 'bbbb') { //bug here
    sub = null
  }
  callback(null, sub)
}

I have tried to fix it but it seems to be related several parts and cannot pass test case.
I am not sure whether this is a graceful solution but it can fix bugs of my project for now.

Would you mind adding a unit test?

Done.
I noticed an example of 'negate multiple subscriptions' in test case, code like
instance.authorizeSubscribe = function (client, sub, callback) {
  if (sub.topic === 'aaaa') {
       setTimeout(function () {
        cb(null, null)
      }, 100)
  }
  if (sub.topic === 'bbbb') { // is ok
       setTimeout(function () {
        cb(null, null)
      }, 50)
  }
  callback(null, sub)
}

to avoide the bug I mentioned before. However it looks a little bit strange to avoide them callback at the same time, I left this part in the original logic and only fixed bug about multi topics persistence.


fix: replace "units" with "satoshis" to prevent exception

units is not the correct key, it seems.
Fixes:
/home/foobar/code/DashJoin.js/node_modules/dashtx/dashtx.js:461
        throw new Error(`every output must have 'satoshis'`);
              ^

Error: every output must have 'satoshis'
    at /home/foobar/code/DashJoin.js/node_modules/dashtx/dashtx.js:461:15
    at Array.forEach (<anonymous>)
    at Object.Tx._create (/home/foobar/code/DashJoin.js/node_modules/dashtx/dashtx.js:459:13)
    at Object.Tx.createHashable (/home/foobar/code/DashJoin.js/node_modules/dashtx/dashtx.js:351:18)
    at Object.Tx._hashAndSignAll (/home/foobar/code/DashJoin.js/node_modules/dashtx/dashtx.js:251:27)
    at Object.hashAndSignAll (/home/foobar/code/DashJoin.js/node_modules/dashtx/dashtx.js:144:23)
    at demo (/home/foobar/code/DashJoin.js/src/tx-dashcore-lib.js:50:29)
    at /home/foobar/code/DashJoin.js/src/tx-dashcore-lib.js:58:9
    at Object.<anonymous> (/home/foobar/code/DashJoin.js/src/tx-dashcore-lib.js:60:3)
    at Module._compile (node:internal/modules/cjs/loader:1196:14)

Just seeing this today while working on other stuff.
Yeah, will fix.


Sync opsworks waiter from upstream

Removes an incorrect acceptor and syncs with what other SDKs use.  For example, see the waiters used in the javascript SDK: https://github.com/aws/aws-sdk-js/blob/master/apis/opsworks-2013-02-18.waiters2.json#L178

Codecov Report

Merging #1456 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop    #1456   +/-   ##
========================================
  Coverage    71.37%   71.37%
========================================
  Files          128      128
  Lines        14157    14157
========================================
  Hits         10105    10105
  Misses        4052     4052

Continue to review full report at Codecov.

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


Creating the first site with custom name fails with misleading error message

I'm new to the Netlify world and it took me some time to create the first site using cli due to that ~bug~ behavior.
- Do you want to request a feature or report a bug?
A bug
- What is the current behavior?
- If the current behavior is a bug, please provide the steps to reproduce.
When trying to create the first site with a custom (human readable) name (as offered by many  commands in cli, including: init, deploy, sites:create, ...) the procces fails with confusing error.
$ netlify sites:list
Loading your sites... done
$ netlify deploy
This folder isn't linked to a site yet
? What would you like to do? +  Create & configure a new site
Choose a site name or leave blank for a random name. You can update later.
? Site name (optional): test3
? Account: XXX YYY  (personal)
Error 422: Unprocessable Entity from createSiteInTeam call
 ›   Error: A site with name test3 already exists. Please try a different slug

As a workaround I needed to create the first side with undefined name and after that the following sites with a custom name are created fine.
$ netlify sites:create
Choose a site name or leave blank for a random name. You can update later.
? Site name (optional): undefined
? Account: XXX YYY  (personal)

Site Created
...

$ netlify sites:create --name test7
? Account: XXX YYY  (personal)

Site Created
...

- What is the expected behavior?
I would like to create the first site on the new account with a custom name (or at least get less cryptic error message).
- Please mention your node.js, and operating system version.
Software: netlify-cli/2.8.0 linux-x64 node-v10.15.0 on Fedora 29.
- More information.
I could provide debug logs if you had problem reproducing the issue for the new account.
Btw, I had to grep the source code to get know how to enable debug logging for netlify-cli. I haven't found DEBUG=* in the project documentation (and I'm not a nodejs developer to know that). IMO, it would be good to add it to https://www.netlify.com/docs/cli/
It may be somehow related to #157.

Ehhh, I didn't know that site names have to unique globally... Anyway, the error message could inform about that.
Closing as invalid.

@szpak Thats a good suggestion. I'm going to reopen as a reminder to investigate.


variadic function arguments

foo := func(...args) {
  for x in args {
    print(x)
  }
}

I opened #189 with an initial implementation. Happy to take feedback and make changes. Noting here for anyone else who comes looking.


When will you release L/14 model?

It seems L/14 model is much better than B/16 model.

I am also looking forward to try it

Hi, You can fill in the form below to get the model download link !
LinktoCheckpoint


Authenticator is blank

I added a second MS account on my computer and was receiving two codes when I selected authenticator. I needed to remove that so I removed the extension from chrome. When I re-added it Authenticator is now blank with no codes. I added the second person to a new computer and when I hit authenticator it is also blank? This is all done on Chrome.

This doesn’t seem to be related to this library, as Microsoft Authenticator or Google Authenticator, or Microsoft accounts, are not really related to this project.


About reproducing results

Thank you so much for your great work
When I train according to the readme process, the model always fails to achieve the same curve as img/single_scale_training.png
My experimental configuration is:
2 x 2080ti and batchsize=4
miou can only be up to 41% in the validation set

In addition, can you also provide pre-trained weights?
thank you very much

I noticed that when generating the dataset, the alt image was lost in accuracy because it was saved as png, so I changed the relevant code

I noticed that when generating the dataset, the alt image was lost in accuracy because it was saved as png, so I changed the relevant code

Hello, I meet the same results, too.  Have you reproduced the results? What's more, I have not found OCRNet-HRNet in code

I noticed that when generating the dataset, the alt image was lost in accuracy because it was saved as png, so I changed the relevant code

Excuse me, I met this situation what should I do?python train.py --use-balanced-weights --batch-size 8 --base-size 500 --crop-size 500 --loss-type focal --epochs 200 --eval-interval 1
Namespace(base_size=500, batch_size=8, checkname='Res-Unet', crop_size=500, cuda=True, dataset='cityscapes', epochs=200, eval_interval=1, ft=False, gpu_ids=[0, 1], loss_type='focal', lr=0.02, lr_scheduler='poly', momentum=0.9, nesterov=False, no_cuda=False, no_val=False, resume=None, seed=1, start_epoch=0, test_batch_size=8, use_balanced_weights=True, weight_decay=0.0001, workers=4)
0%|                                                                                | 0/13 [00:00<?, ?it/s]Calculating classes weights
0%|                                                                                | 0/13 [00:00<?, ?it/s]
Traceback (most recent call last):
File "train.py", line 292, in
main()
File "train.py", line 280, in main
trainer = Trainer(args)
File "train.py", line 49, in init
weight = calculate_weigths_labels(args.dataset, self.train_loader, self.nclass)
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/utils/calculate_weights.py", line 38, in calculate_weigths_labels
y = sample['label']
KeyError: 'label'

I noticed that when generating the dataset, the alt image was lost in accuracy because it was saved as png, so I changed the relevant code

Hello, I meet the same results, too. Have you reproduced the results? What's more, I have not found OCRNet-HRNet in code

Excuse me, I met this situation what should I do? python /media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py
0it [00:00, ?it/s]loading 6 files
loading file /media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/dataloaders/datasets/data_release/test/birmingham_block_2.ply[00:00<?, ?it/s]
0%|                                                                                | 0/6 [00:00<?, ?it/s]
0it [00:00, ?it/s]
Traceback (most recent call last):
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 641, in
Sensat.evaluate_batch(Sensat.evaluate_batch_nn(Sensat.eval_offline_img2pts))
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 624, in evaluate_batch
miou, iou_list, gt_list, oacc, macc = batch_mIoU(batch_iterator)
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/helper_metrics.py", line 83, in batch_mIoU
for preds, gt in tqdm(iter_data):
File "/home/hubu/anaconda3/envs/Segment/lib/python3.7/site-packages/tqdm/std.py", line 1182, in iter
for obj in iterable:
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 606, in evaluate_batch_nn
ply_data = self.load_points(ply_path, reformat=True)
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 155, in load_points
c = _ply_data["class"]
ValueError: no field of name class

Thank you so much for your great work When I train according to the readme process, the model always fails to achieve the same curve as img/single_scale_training.png My experimental configuration is: 2 x 2080ti and batchsize=4 miou can only be up to 41% in the validation set

In addition, can you also provide pre-trained weights? thank you very much

Excuse me, I met this situation what should I do? python /media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py
0it [00:00, ?it/s]loading 6 files
loading file /media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/dataloaders/datasets/data_release/test/birmingham_block_2.ply[00:00<?, ?it/s]
0%| | 0/6 [00:00<?, ?it/s]
0it [00:00, ?it/s]
Traceback (most recent call last):
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 641, in
Sensat.evaluate_batch(Sensat.evaluate_batch_nn(Sensat.eval_offline_img2pts))
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 624, in evaluate_batch
miou, iou_list, gt_list, oacc, macc = batch_mIoU(batch_iterator)
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/helper_metrics.py", line 83, in batch_mIoU
for preds, gt in tqdm(iter_data):
File "/home/hubu/anaconda3/envs/Segment/lib/python3.7/site-packages/tqdm/std.py", line 1182, in iter
for obj in iterable:
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 606, in evaluate_batch_nn
ply_data = self.load_points(ply_path, reformat=True)
File "/media/hubu/Data1/202131116023006_bky/SensatUrban-BEV-Seg3D-main/preprocess/point_EDA_31.py", line 155, in load_points
c = _ply_data["class"]
ValueError: no field of name class


Add container insights

Description
Add container insights settings + update pre-commit hook version
per:
https://www.terraform.io/docs/providers/aws/r/ecs_cluster.html#setting
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/deploy-container-insights-ECS.html

Just wondering why this PR not yet merged?

@DrFaust92
could you add this feature in complete-ecs codes as well?
I like this feature, even the default value is false. But I do recommand to enable it in example.

@ozbillwang, done.
@antonbabenko , can you take a look at this?

Thanks @DrFaust92 !
v2.3.0 has been just released.


add ability to customize health checks

to avoid hacking around the webserver lifetime in https://github.com/openshift/cluster-etcd-operator/pull/1049

/lgtm
/approve


Throw user exception for 'not handling missing data error'

Description
Throw user exception for 'not handling missing data error' while we revamp the general missing data handling in rai library, we catch this specific exception and ask the user to check warning logs to handle input data.

Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #2144 (75e80bc) into main (80f4b9e) will decrease coverage by 4.38%.
The diff coverage is n/a.

:exclamation: Current head 75e80bc differs from pull request most recent head 3e985c9. Consider uploading reports for the commit 3e985c9 to get more accurate results

@@            Coverage Diff             @@
##             main    #2144      +/-   ##
==========================================
- Coverage   92.52%   88.15%   -4.38%
==========================================
  Files          55       17      -38
  Lines        2127      287    -1840
==========================================
- Hits         1968      253    -1715
+ Misses        159       34     -125

Flag
Coverage Δ

unittests
88.15% <ø> (-4.38%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 38 files with indirect coverage changes

Looks like Hannah has a similar PR #2143. Could we merge one PR?

yes, closing this PR.

Looks like Hannah has a similar PR #2143. Could we merge one PR?

yes, closing this PR


Disaggregate plugin code from benchmark tool

Please describe what you would like to see in this project
I think the plugin code and the benchmark tool should run in different containers. IMHO it should not be arcaflow-plugins responsibility to create images for the benchmark tools nor to compile benchmarks tools (unless a very specific tuning is needed).
arcaflow-plugins should allow to use existing benchmark tool images.

After some discussion, it was decided in the Arcalot community to not build the supported plugins following this approach.


Support package auto discovery for L5.5 and up

Thanks, this was already changed by https://github.com/Crinsane/LaravelShoppingcart/pull/377


Question: NLog Configuration for SQLCipher Database

Hello, got a question regarding NLog compatibility with SQLCipher. My question is expanded upon by the information I have entered below. Any assistance would be appreciated, and thanks in advance!
The current NLog version: (NLog 4.6.6)
The current config (file content or API calls):
<?xml version="1.0" encoding="utf-8" ?>

<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      internalLogLovel="Debug"
      internalLogFile="file.txt"
      internalLogToConsole="true"
      internalLogIncludeTimestamp="true">

  <targets>

    <!-- DATABASE LOGGER-->
    <target name="DBLog"
            xsi:type="Database"
            dbProvider="Microsoft.Data.SQLite.SQLiteConnection, Microsoft.Data.SQLite"
            keepConnection="false"
            connectionString="Data Source=redacted\redacted.db"
            dbPassword="redacted"
            commandText="INSERT INTO Logs (Message) VALUES ('Test');">
    </target>

  </targets>

  <rules>
    <logger name="*" minlevel="Debug" writeTo="DBLog" />
  </rules>

</nlog>

If relevant: the current result
2019-08-15 11:46:15.4789 Info Message Template Auto Format enabled

2019-08-15 11:46:15.5587 Info Adding target DatabaseTarget(Name=DBLog)

2019-08-15 11:46:15.6265 Info Found 38 configuration items

2019-08-15 11:46:15.7622 Info Configuration initialized.

2019-08-15 11:46:15.7751 Info NLog, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=5120e14c03d0593c. File version: <IP_ADDRESS>03. Product version: 4.6.6.

2019-08-15 11:47:04.6315 Error DatabaseTarget(Name=DBLog): Error when writing to database. Exception: Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 26: 'file is not a database'.
   at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
   at Microsoft.Data.Sqlite.SqliteCommand.<PrepareAndEnumerateStatements>d__62.MoveNext()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader()
   at Microsoft.Data.Sqlite.SqliteCommand.ExecuteNonQuery()
   at NLog.Targets.DatabaseTarget.WriteEventToDatabase(LogEventInfo logEvent, String connectionString)
   at NLog.Targets.DatabaseTarget.Write(LogEventInfo logEvent)

If relevant: the expected result

I am receiving a "file is not a database error" that is leading me to believe either the encryption on the db is causing the error, or my config is incorrect.
I expect the config file to be correctly setup in order to work with this SQLCipher (SQLite encrypted) database. Should NLog work with SQLCipher as it does with SQLite? Or is my assumption wrong that NLog should work with this DB Type, so I should continue to use the custom logger I built using our ORM?

If you are able to communicate with your SQLCipher database using Microsoft.Data.SQLite.SQLiteConnection-object where ConnectionString has been assigned to "Data Source=redacted\redacted.db", then NLog should also be able to do it.
But I think the problem is that dbPassword="redacted" has to be injected in special way:
https://www.zetetic.net/sqlcipher/sqlcipher-for-dotnet/ (Must execute command $"PRAGMA key = '{password}';")
https://www.zetetic.net/sqlcipher/sqlcipher-ado/ (Must call SQLiteConnection.SetPassword)
There is currently no support for executing bonus commands when opening database-connection in DatabaseTarget. Either create PR to allow the DatabaseTarget to execute DbCommands after connection-open. Or create your own custom SqlCipherDatabaseTarget that inherits from DatabaseTarget.

@snakefoot Thanks for the reply! I believe you are entirely accurate. Would you have any suggestions as to the route to take when implementing the change to DatabaseTarget?

Would you have any suggestions as to the route to take when implementing the change to DatabaseTarget?

Well I'm just a guy that likes to read the manual when things are not working. I know nothing about SqlCipher.
I think it is wise that you do some experiments with Microsoft.Data.SQLite.SQLiteConnection, and see if you can make a code-example where you are able to write to the database.
Based on the working code-example, then one can consider how to implement this in NLog DatabaseTarget.
Have you tried just doing this (Injecting the PRAGMA key in the commandText):
    <!-- DATABASE LOGGER-->
    <target name="DBLog"
            xsi:type="Database"
            dbProvider="Microsoft.Data.SQLite.SQLiteConnection, Microsoft.Data.SQLite"
            keepConnection="false"
            connectionString="Data Source=redacted\redacted.db"
            commandText="PRAGMA key = 'redacted';INSERT INTO Logs (Message) VALUES ('Test');">
    </target>

Have you tried just doing this (Injecting the PRAGMA key in the commandText):

Yeah, it works! I am able to log to the table this way.
However, as you mentioned, I'm not sure how good of a solution that will end up being.
Though I suppose there will have to be some juggling around of the key regardless.
I guess the problem now is to look into the Cost-Benefits of using NLog while injecting the key in this manner, using the solution I have already implemented with EFCore, or making the PR and look into making those changes.

As far as the context of this question is concerned, I would say it has been answered, so I will go ahead and close this issue.
I appreciate the assistance @snakefoot

As long you have the setting keepConnection="false" then it doesn't make much difference whether you setup the password on connection-open-attempt or setup password on execution-command-attempt.

Agreed.
Ultimately I believe we will be keeping the connection open, but for now this will do!
Thanks again!


Homebrew integration

It would be very useful to get a homebrew integration

it's supported now
brew install Azure/kubelogin/kubelogin


restore old ExpandableBlock api

Changes
undid the breaking change from #1354 and brought back title/caption/endIcon props while also supporting the new subcomponents added in that PR.
renamed ExpandableBlock.Header to ExpandableBlock.Trigger as it makes more sense.
these two snippets are now equivalent:
<ExpandableBlock title='click me' caption='or not' endIcon={<svg>...</svg>}>
  content in block
</ExpandableBlock>

<ExpandableBlock.Wrapper>
  <ExpandableBlock.Trigger>
    <ExpandableBlock.ExpandIcon />
    <ExpandableBlock.LabelArea>
      <ExpandableBlock.Title>click me</ExpandableBlock.Title>
      <ExpandableBlock.Caption>or not</ExpandableBlock.Caption>
    </ExpandableBlock.LabelArea>
    <ExpandableBlock.EndIcon><svg>...</svg></ExpandableBlock.EndIcon>
  </ExpandableBlock.Trigger>
  <ExpandableBlock.Content>content in block</ExpandableBlock.Content>
</ExpandableBlock.Wrapper>

Testing
updated one story and added one unit test.
Docs
updated old changeset. will update migration guide too.

Having some website examples that still use the old API would be good.

Updated. bf00897


MAINT: improve app path handling robustness

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
215 unchanged lines in 21 files lost coverage.
Overall coverage increased (+0.001%) to 91.505%

Files with Coverage Reduction
New Missed Lines
%

.nox/test-3-11/Lib/site-packages/cogent3/evolve/likelihood_function.py
1
96.3%

.nox/test-3-9/Lib/site-packages/cogent3/evolve/likelihood_function.py
1
96.45%

.nox/test-3-11/lib/python3.11/site-packages/cogent3/maths/scipy_optimize.py
3
83.93%

.nox/test-3-11/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.92%

.nox/test-3-9/Lib/site-packages/cogent3/maths/scipy_optimize.py
3
84.87%

.nox/test-3-10/lib/python3.10/site-packages/cogent3/app/io.py
10
96.56%

.nox/test-3-10/Lib/site-packages/cogent3/app/io.py
10
96.56%

.nox/test-3-11/lib/python3.11/site-packages/cogent3/app/io.py
10
96.56%

.nox/test-3-11/Lib/site-packages/cogent3/app/io.py
10
96.56%

.nox/test-3-8/lib/python3.8/site-packages/cogent3/app/io.py
11
96.25%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
235120

Relevant Lines:
256948

💛  - Coveralls


Revise the server change logic vs MakePathRelative

I see some assumptions in the code that there can only be 1 relative path per change event, and that isn't always the case.

I'm pretty sure this can be closed. I assume it was addressed in #11894, or is no longer relevant.

Yea, this is fixed.


Notebook as Flyte Tasks

Are you still planning on finishing this PR, @matthewphsmith?
CC @wild-endeavor @akhurana001 @kumare3 maybe one of you can help push it across the finish line?

I agree we should finish this

I agree we should finish this

I can take it up once i get some bandwidth.
I have good context on the changes to add notebook support as I originally worked on this but not a lot on the overall refactor which touches a bunch of other tasks as well. Will have to take a look and might wanna decouple the two.

@akhurana001 I am going to assign this to you. There is some increase priority for this.


Trigger clean and distclean for all directory which contain Makefile

Summary
Found by https://github.com/apache/incubator-nuttx/pull/6586
Impact
make distclean and make clean
Testing
Pass CI

This was the old behavior, before filtering based on .depend and .kconfig.  Do you want to bring it back?  This will increase the execution time of multiple phases in build and configuration.

This was the old behavior, before filtering based on .depend and .kconfig. Do you want to bring it back? This will increase the execution time of multiple phases in build and configuration.

Here is my thought:

Compare with the compile and link, the time to execute clean/distclean is very small
We need ensure the result is right before the optimization

@Ouss4 either this patch or https://github.com/apache/nuttx-apps/pull/1632 is needed to fix the clean in the general case


App title and Nav links bar in Layouts

I'm not sure if this is a Feature request or a Bug report, actually.
I wanted to create/adapt apps to have a look similar to a few Google apps, like the Drive exemple below:

In the top area (marked red) there's kind of a title bar, with the app name on the left and icon buttons on the right... kinda like the old material designs in Anvil.
Messing the HTML of the new Layouts I see that both of them have the title and navlinks slots:

            menu

Drop optional title here

Drop optional icon buttons here

They don't appear in the editor, however, since the anvil-m3-app-bar has a display:none property in theme.css. I tried overriding this but... It was weird.
Is there any way to make this appear again as an option, maybe like the sidesheet property to show/hide it?
This would be great in both Drawer and Rail (especially when colapsing to drawer) layouts.

There is some css that controls the visibility of the top app bar in the NavigationDrawerLayout. It basically comes down to screen width. If you make your screen narrower than 980px, it will show.
This seems to be a Material 3 design principle - hide the top app bar unless the app is on a small screen (i.e. mobile). This is even the case on m3.material.io if you narrow your screen and watch the top app bar appear.
You can create a variant of this layout with different css to make sure the app bar is always visible. Line 252 onwards in the theme.css control this behavior.


SSI-Streetcred: User Sign Up

Context: This is the creation point for the Proof of Account Ownership verifiable credential (VC). As users sign up to Opus a VC will be issued to them from the Opus organisation.
This VC will act as Proof of Account Ownership, and can be used in either a two factor authorisation (2FA) login pattern, or by users to login without a username and password using simply a QR code or unique URL.
Issue: Currently there is no code to support creation of Proof of Account Ownership VCs.
Next steps: Familiarise yourself with Streetcred, and the tutorials/demos they have themselves. This tutorial in particular will take you through all of the concepts required: https://docs.streetcred.id/docs/tutorial
Implementation of the desired user journey:

User registers their account through the Opus front end.
Upon account creation a QR code or URL is displayed on screen.
QR code/URL is consumed and the new Proof of Account Ownership VC is added to the user's wallet.

Note: Create a dummy Opus organisation and a dummy credential definition to work with until this issue is solved.
For reference the starter code for the SSI branch is lifted from: https://github.com/streetcred-id/iiw-demo

@FarrandTom what is the status of this issue? It is complete if I understand correctly.

@FarrandTom what is the status of this issue? It is complete if I understand correctly.


WLA contact information added

thanks - and I'm going to add the ~ back since it keeps your name from breaking across lines...

ha ha ha. I now know something about LaTeX? yes?

maybe more than me if you judge from the sequence of commits


Improve default error message and format

This is what we get at the moment.
HTTP/1.1 404 Not Found
content-type: text/plain
connection: close
server: ballerina
date: Fri, 20 Jan 2023 15:15:52 +0530
content-encoding: gzip
content-length: 89

no matching resource found for path : /dept/userss , method : GET

But many clients these days expect a application/json response. Therefore, the better default would be json.
HTTP/1.1 404 Not Found
content-type: application/json
connection: close
server: ballerina
date: Fri, 20 Jan 2023 15:15:52 +0530
content-encoding: gzip
content-length: 89

{
  "timestamp": "2023-01-20T09:44:16.252+00:00",
  "status": 404,
  "reason": "not found",
  "message": "no matching resource found for path",
  "path": "/dept/userss",
  "method": "GET"
}

I think the below would be a better response.

Question 1: Is this applicable for both error types: transport level and application level?
Question 2: Are we using an interceptor or are we going to change the native code where we return the status code errors (only for the application errors)?

With the introduction of StatusCodeError type, we have made application level errors as a part of this status code errors. And since this status code errors return an error with a body detail which can be anydata. Currently body field is not populated from the native code and by default we return the message of the error as the response payload. So setting this body as a map<json> in the native code, should give the requested improvement. So we have to change in all the places where we return status code error type.

We could have the logic in an ResponseErrorInterceptor and add it to the end of the interceptor pipeline (so that it will be executed first). But if an error occur at a RequestInterceptor then it might not hit this last ResponseErrorInterceptor.

Question 3: Are we returning different structure of json for different type of application errors(like service dispatching error, resource dispatching error, databinding error - path, query, header and payload, etc.), or is it the same structure for all of them?
Question 4: Are we going to overwrite the current behaviour or are we going to support both and default to the json payload?

If we are supporting both then we may have to have a configurable to choose the type.

If we are overwriting the error response payload type to json, then most of our test cases will break, since we are asserting the response payload. So we need to fix the test cases as well.

@shafreenAnfar @MadhukaHarith92 and myself had a discussion on this. And following are the conclusions.

Concern 1: Is this applicable for both error types: transport level and application level?

This is applicable for all the errors that can be intercepted. And @MadhukaHarith92 will check on the transport level errors and how there are handled in other frameworks like springboot, expressjs, etc.

Concern 2: Are we using an interceptor or are we going to change the native code where we return the status code errors (only for the application errors)?

Yes, we are going to add this change to the last DefaultErrorInterceptor[https://github.com/ballerina-platform/module-ballerina-http/blob/ced835c7705eca1863712fb0b5769834a5c57b38/ballerina/http_interceptors.bal#L46]

Concern 3: Are we returning different structure of json for different type of application errors(like service dispatching error, resource dispatching error, databinding error - path, query, header and payload, etc.), or is it the same structure for all of them?

No, we are going to have the same structure and we just have to populate the fields. Since we can now access the request object in the response interceptors, it is possible to access the path and method from the request object.

Concern 4: Are we going to overwrite the current behaviour or are we going to support both and default to the json payload?

No, we want to overwrite the existing behaviour. We need to fix our tests as well. Also it may be a breaking change for some connectors, so we have to check on them as well.

Spring Boot uses the HTTP status codes to handle transport-level errors. When an error occurs during a transport-level activity such as sending or receiving data over a network, Spring Boot logs the error information and returns an appropriate HTTP response code to the client.
The error format in Spring Boot is a JSON object that contains details about the error.
{
  "status": 404,
  "error": "Not Found",
  "message": "The resource you are looking for cannot be found.",
  "path": "/example/api/users/123"
}

Following are the related transport level status code errors.

502 - Could not resolve host
502 - SSL connection failed
502 - Remote host closed the connection while SSL handshake
413 - Request entity too large
414 - Request uri too large
431 - Request Header Fields Too Large
505 - HTTP version not supported

Following are related existing error structures.

error: Request Entity Too Large {"statusCode":413,"headers":{"connection":["close"],"content-length":["0"],"server":["ballerina"]},"body":null}
error: Request-URI Too Long {"statusCode":414,"headers":{"connection":["close"],"content-length":["0"],"server":["ballerina"]},"body":null}
error: Request Header Fields Too Large {"statusCode":431,"headers":{"connection":["close"],"content-length":["0"],"server":["ballerina"]},"body":null}

For cases 1, 2, 3, 7, couldnt get the correct error msgs (only tested 1, 7). As the error msgs are replaced by Something wrong with the connection in https://github.com/ballerina-platform/module-ballerina-http/blob/master/native/src/main/java/io/ballerina/stdlib/http/api/HttpUtil.java#L581
Therefore, until that is fixed, will only update the error msgs of 4, 5, 6. Will track the fix in another issue.

For the cases 4, 5, 6 above, we can easily update the error structure for HTTP/1 as we can handle it in the ballerina level error interceptors. However, for HTTP/2 it is a bit difficult because the errors are handled in netty level and also case 5 is not applicable for HTTP/2 as well.
However, for cases 1, 2, 3, and 7, we can handle those in the interceptor level as these are gateway level errors.

Therefore, until that is fixed, will only update the error msgs of 4, 5, 6. Will track the fix in another issue.

This will be fixed in the same issue as that change is needed for this change as well.


Cannot run

docker crashes on start and continues to restart. How do I run this project?
Thank you

Double check you have launched the container properly and what error message do you get?


Hass.io: include_dir_merge_list does not work when using with input_boolean

Home Assistant release with the issue:
0.90.2
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
configuration/include_dir_merge_list
Description of problem:
According to docs I can create a folder in /config and use include_dir_merge_list  to include all yaml files from there recursively instead of just one when using include.
It works as expected with sections like automation and binary_sensor, but HA stops functioning properly if I try to do the same with input_boolean. I just created input_boolean folder, moved my input_boolean.yaml file to that folder and changed !include directive to ! include_dir_merge_list (I commented out the working variant to show the difference)
There is no errors when I check configuration via GUI Configuration validation, but on HA restart I get the following in logs:

ERROR (MainThread) [homeassistant.setup] Setup failed for input_boolean: Component failed to initialize.
ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.bathrom_extractor_fan_sync_internal_representation_if_sensor_state_is_available_and_different. Service not found for call_service at pos 1: (ServiceNotFound(...), 'Service input_boolean.toggle not found')

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
automation: !include_dir_merge_list automation/
binary_sensor: !include_dir_merge_list binary_sensor/
#camera: !include camera.yaml
group: !include group.yaml
#input_boolean: !include input_boolean/input_boolean.yaml
input_boolean: !include_dir_merge_list input_boolean/
input_number: !include input_number.yaml
input_datetime: !include input_datetime.yaml
input_select: !include input_select.yaml
input_text: !include input_text.yaml
light: !include light.yaml
notify: !include notify.yaml
script: !include script.yaml
sensor: !include_dir_merge_list sensor/
switch: !include_dir_merge_list switch/
climate: !include climate.yaml

Traceback (if applicable):

Additional information:

input_boolean is not a list. Try this instead:
input_boolean: !include_dir_merge_named input_boolean/

You are absolutely right.
I've just recently started splitting up my config and wondered why on earth we need that include_dir_merge_named.. now it makes sense.
Unfortunately, the docs don't underline what to use when and the examples are not enough to get the whole idea. Will make some changes to the doc in question later.
And I believe that error messages should be more clear as now it's impossible to tell what exactly is wrong with my config. So the issue remains valid.

I still believe we could do with better diagnostics.. or couldn't we?

I still believe the error message should be clearer.


fix(toolkit): fix race conditions in download_utils

Make sure our files/directories are created in a temporary location that is on the same filesystem as the target to avoid unnecessary copies across filesystems and to make it possible to (semi)atomically move them into place using os.rename.
I don't have good examples yet, but this might make some of our apps faster because they used to clone to tempfs but then shutil.move (which copies across fs) to a data fs. Obviously for that the apps would need to be redeployed.

@badayvedat I've added a prefix, so that the files/dirs look like this: myfile.txt.m_avlu_x mydir.lqxoo8ek, so you know what is being downloaded.


Fix latest-tag-button

Thanks for contributing! 🍄

LINKED ISSUES: -

TEST URLS: Go to a repo homepage (e.g. https://github.com/sindresorhus/refined-github) and hard-refresh a few times.

I noticed this feature failing with an error once in a while (especially when my connection is sluggish). Waiting for the #branch-select-menu element seems to fix it.

Makes sense, thank you!

It looks like this was mentioned in https://github.com/sindresorhus/refined-github/issues/3673
Does the other 2 feature need a similar treatment?

Does the other 2 feature need a similar treatment?

Not from what I can see.


Are there plans to offer rust client

Why you need it?
Is your feature request related to a problem? Please describe in details
How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
Other related information
Add any other context or screenshots about the feature request here.

请问针对这个需求，你们有实际的应用场景吗？
Do you have any practical application scenarios for this requirement?

我们正使用axum+sea-orm 进行Web开发，正在寻找分布式事务中间件，之前使用springcloud+dubbo+seata 进行过分布式事务的处理，现在想在rust上寻找相同的解决方案，nacos 和dubbo 已提供了相应的rust client端，seata官方sdk列表中并为提供关于rust语言的client,不知是否有计划。
We are using axum+sea-orm for Web development, looking for distributed transaction middleware, having previously used springcloud+dubbo+seata for distributed transaction processing, and now looking for the same solution in rust. nacos and dubbo have provided corresponding rust client, and seata's official sdk list does not provide a client for rust language, I do not know if there are plans.

Currently, there is a shortage of Rust developers in the community.


Added missing geos dependency

Added missing dependency, otherwise it won't build on macos:
https://github.com/openvinotoolkit/cvat/issues/4426

@evekeen , could you please add several lines with fixed issues into CHANGELOG.md?


[FIX] Decoding with mask

This PR resolves #90. In short, decoding with the mask parameter results in an error because an attempt is made to assign the MetaAnalysis unmasked output to an array with length equal to the number of voxels in the mask.
The error can be produced as follows:
from neurosynth.base.dataset import Dataset
from neurosynth.analysis import decode
from nilearn import datasets

mni152 = datasets.load_mni152_template()
mask = mni152.get_fdata() > 5000 #nonsense mask

dataset = Dataset(dataset_pkl)
decoder = decode.Decoder(dataset, features=['emotion', 'pain', 'somatosensory', 'wm', 'inhibition'], mask=mask)

which results in the following traceback
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Applications/miniconda2/envs/academic/lib/python3.7/site-packages/neurosynth/analysis/decode.py", line 62, in __init__
    threshold=threshold)
  File "/Applications/miniconda2/envs/academic/lib/python3.7/site-packages/neurosynth/analysis/decode.py", line 152, in load_features
    features, image_type=image_type, threshold=threshold)
  File "/Applications/miniconda2/envs/academic/lib/python3.7/site-packages/neurosynth/analysis/decode.py", line 171, in _load_features_from_dataset
    threshold=threshold)
  File "/Applications/miniconda2/envs/academic/lib/python3.7/site-packages/neurosynth/analysis/meta.py", line 48, in analyze_features
    result[:, i] = ma.images[image_type]
ValueError: could not broadcast input array from shape (228453) into shape (184916)

This issue is resolved in this PR by removing the masking functionality in neurosynth.analysis.decode._load_features_from_dataset and adding it to neurosynth.analysis.meta.analyze_features instead.

Appreciate the effort, and happy to merge this into master once the tests pass, but note that this package is deprecated in favor of NiMARE, so there probably won't be any further releases.

The tests are failing on the main branch too so resolving those may be work for another PR. But I guess we can leave this PR up until/if someone resolves the tests issue.


Module index maintenance

I think updating the list of ilk hexcodes is the only outstanding item.

List updated :)


feat:[IDP-2949]: Added the Q2 roadmap for IDP

Description

Please describe your changes: Added the Q2 roadmap for IDP
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
PRs must meet these requirements to be merged:

[x] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://664eea17d6604bc216e3f34d--harness-developer.netlify.app


Better typings for constructors of empty containers.

Actually, result of consturctor of empty collection could be assigned to collection of any type.
fixes #886

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

This doesn't seem like something we would want to commit to - what's the problem that this fixes besides sort of an aesthetic completeness? I could be wrong so feel free to object but for now I am closing this.

Reason described at #886

@lacker this is about reduce code boilerplate/repeat. From type system point of view, empty collection could be assignable to collection fo any type. As empty array could be assignable to array of any type. This PR just fix it. Also:
interface State {
  list: Collection.List<string>
}

const state: State = {
  list: Collection.List() // fails to compile, compiles only with Collection.List<string>()
}


loadkmap in sysinit runlevel disrupts localmount

Version (k3OS / kernel)
k3os version v0.22.2-k3s2r0
5.4.0-88-generic _99 SMP Tue Oct 5 16:53:38 UTC 2021
Architecture
x86_64
Describe the bug
I need to mount a LVM disk before k3s-service starts, so I did the following:

Add lvm to boot runlevel
Add entry into /etc/fstab

Thinking that service localmount will auto mount the entry in /etc/fstab
To Reproduce
boot_cmd:
  - "rc-update add lvm boot"
  - "sed -i 's|^#critical_mounts.*|critical_mounts=\"/data\"|' /etc/conf.d/localmount"
  - "sed -i '$arc_before=\"localmount\"' /etc/conf.d/lvm"
write_files:
  - path: /etc/fstab
    content: |-
      /dev/cdrom     /media/cdrom iso9660 noauto,ro 0 0
      /dev/usbdisk   /media/usb   vfat    noauto,ro 0 0
      /dev/vg2/lvol0 /data        xfs     noatime,nodiratime,attr2,logbsize=256k 0 2
      #
    owner: root
    permissions: '0644'

Expected behavior
/dev/vg2/lvol0 should be mounted at /data before k3s-service starts
Actual behavior
During the sysinit phase of boot up, loadkmap requires and runs the localmount service.
localmount fails to find /dev/vg2/lvol0 as lvm has not started yet.
In the boot phase, lvm starts but since localmount has already started in the previous phrase, it no longer runs. /dev/vg2/lvol0 is now present but not mounted to /data.
Additional context
I downloaded Alpine Linux 3.14.2, and notice that its loadkmap service is in the boot runlevel, not in the sysinit runlevel. While I update my config.yaml accordingly, it is working:
boot_cmd:
  - "rc-update del loadkmap sysinit"
  - "rc-update add loadkmap boot"
  - "rc-update add lvm boot"
  - "sed -i 's|^#critical_mounts.*|critical_mounts=\"/data\"|' /etc/conf.d/localmount"
  - "sed -i 's/^#rc_logger.*/rc_logger=\"YES\"/' /etc/rc.conf"
  # - "sed -i 's/^#rc_verbose.*/rc_verbose=\"YES\"/' /etc/rc.conf"
  - "sed -i '$arc_before=\"localmount\"' /etc/conf.d/lvm"
write_files:
  - path: /etc/fstab
    content: |-
      /dev/cdrom     /media/cdrom iso9660 noauto,ro 0 0
      /dev/usbdisk   /media/usb   vfat    noauto,ro 0 0
      /dev/vg2/lvol0 /data        xfs     noatime,nodiratime,attr2,logbsize=256k 0 2
      #
    owner: root
    permissions: '0644'

I think I also just encountered this trying to get lvm of disks working, and failing miserably. Thanks for this workaround.


Agent's losing ability to answer calls

Hi all,
We have been experiencing issues where our agents will lose the ability answer/initialise a call.
Refreshing our CCP will always resolve the issue.
This indicates to me that the webRTC connection is failing.
Have any of you experienced this?
If so have you found a way to check to see if webrtc has died?
Thanks

@Juzziee I am facing the similar issue, have you found any solution?

@Juzziee I am facing the similar issue, have you found any solution?

Unfortuantely, nothing yet.
We have been advising users to run our CCP in its own browser window. It appears that both chrome and firefox will put the tab into a sleep state when too many tabs are open or it has been inactive for too long.

We have seen agents also having issues getting calls after some time.  A few calls will go well, then over time errors start, so its hard to test and reproduce, but in real life scenarios happening too often!
"Error while accepting an incoming contact"
"ice_collection_timeout title"
"error while accepting an incoming contact"
"Softphone call failed"

Closing as it sounds like the issue has stopped recurring, but feel free to reopen if needed; although this might be a better issue to open a case with AWS Support so we can exchange internal logs and debugging info if needed.

Hello, i have been facing this issue for over few months now across different networks and location. As users mentioned earlier it is intermittent and goes away after restarting the bworser tabs. Do we have any concreate solution to this issue? Its really annying to keep collecting the logs and opening multiple AWS support cases who always says "please validate your company network settings"

Was anyone able to fix this issue


Release 0.3.8

Should fix #139

Feels like it should have been a 0.4.0 considering the amount and nature of 0.3.7..HEAD changes? Anyways, :+1: thanks!

You are right it should have :)
But I was thinking since the public api part that most people use hasn't been impacted (only more to be used if you want) it might have been confusing. On the other hand, most people probably won't notice if it's 0.3.8 or 0.4.0 :)

The move over to providers might cause some issues for people. The official semver page dictates that MINOR should be bumped when

[...] you add functionality in a backwards-compatible manner

Anyways, tomayto tomahto :smile:.

 You win :smiley:


Attempting to access an external file on Android 10 causes FILE_NOT_FOUND_ERR

Bug Report
Problem
What is expected to happen?
It should be able to access public files.
What does actually happen?
When attempting to access a file from outside the app's dataDirectory on Android 10, the plugin returns a FILE_NOT_FOUND_ERR.
Information

Android 10 comes with some changes in privacy that seem to be the cause; this problem specifically happens to me when I use the Camera plugin to select a picture from the photo roll and make a backup of it; when attempting to copy it to the app's directory, I get that error.
Command or Code

public async backupAnnexedFile(content_uri) {
    let link = content_uri;
    if (this.platform.is('android')) {
      link = await this.file_path.resolveNativePath(content_uri);
    }
    let old_path = link.slice(0, link.lastIndexOf('/') + 1);
    let old_filename = link.slice(link.lastIndexOf('/') + 1, link.length);
    let extension = old_filename.slice(old_filename.lastIndexOf('.'), old_filename.length);
    let new_path = 'path/to/file/';
    if (this.platform.is('cordova')) {
      new_path = this.fileHandler.dataDirectory.toString();
    }
    let new_filename = 'L_';
    new_filename = `${new_filename}${Date.now()}${extension}`;
    await this.fileHandler.copyFile(old_path, old_filename, new_path, new_filename).catch((error) => {
      console.log(error);
      throw error;
    });
    return `${new_path}${new_filename}`;
  }

Environment, Platform, Device

Android 10, has happened on multiple devices.
Version information

Ionic:
ionic (Ionic CLI) : 4.6.0
Ionic Framework : ionic-angular 3.9.6
@ionic/app-scripts : 3.2.4
Cordova:
cordova (Cordova CLI) : 9.0.0<EMAIL_ADDRESS>Cordova Platforms : android 8.1.0, ios 5.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.0.5, cordova-plugin-ionic-webview 2.2.0, (and 18 other plugins)
System:
Android SDK Tools : 26.1.1
NodeJS : v12.16.3
npm : 6.14.4
OS : Linux 4.15
Checklist

[X] I searched for existing GitHub issues
[X] I updated all Cordova tooling to most recent version
[X] I included all the necessary information above

I saw similar behaviour when testing a PR in cordova-plugin-media-capture.
I see you were using android 8.1.0 which by default targets API 28, but did you have this overriden to target API 29 by chance?
If so, could you try testing the PR https://github.com/apache/cordova-plugin-file/pull/417 to see if this solves the issue for you?

Hello,
In AndroidManifest.xml, I add these 2 informations and now I can save in cordova.file.externalRootDirectory with Android 10 :
<application ........   android:usesCleartextTraffic="true" android:requestLegacyExternalStorage="true">
I hope, it can help you.
Fabien

@fabien44300 Not able to build the app with above settings with cordova android 8.1.0
I set it like as below:
 <edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application">
            <application android:usesCleartextTraffic="true" />
            <application android:requestLegacyExternalStorage="true" />
        </edit-config>

Which Cordova version are you using?

Duplicate of https://github.com/apache/cordova-plugin-file/issues/426


Duration is reflected as Opaque instead of Struct

Bevy version
0.15.0
What you did
I was trying to use Blenvy to serialize Duration types, but they were just empty strings instead of the secs: u64, nanos: u64 that I expected.
Turns out that in bevy_reflect, there's this little snippet in the reflect std impls (impl_reflect_opaque!(::bevy_utils::Duration) that impls it as Opaque instead of Struct, rendering it unserializable to Blenvy since it can't access the internal struct members.

The difficulty here is that those are private fields on Duration. Reflection requires access to fields so it's impossible right now for us to reflect it normally.
What we would need to do instead is use its getter methods. However, those return copies, not references, as required by the Struct::field and friends. Furthermore, we'd need Struct::field_mut to be fallible (see #14730) since there are no mutation method on Duration.
So in the immediate future, I’m not sure we can really solve this. It requires a bit more design and planning to fully solve. For now, I’d suggest maybe using a shim type to interface with it?


perf: store canonical number in atomic

Closes #2830
store canonical block number in an atomic, prevents any rwlock overhead,
imo not worth doing this for safe and finalized.

I think they're not used that often so the additional complexity isn't really worth it.
because they are technically Options in order to use atomics, we'd need an additional atomic bool to mark init state or use a magic number


openssl_lib_mock: Forcefully destroy mock

It seems that the static (de)initialization nightmare
hits us with the OpenSSLMockManager class that implements
the singleton. Gmock might not see the (last) mock object
destroyed, does not check the expected calls and returns an
error.
In order to avoid this, explicitly destroy the mock interface
at the end of a test case.

Thanks, I've rebased this in.


likely firewall problem

Which installation step should run first?: 3
Plugin Manual generated source miniposter.host with 1 identifiers
Plugin Domain created 1 order
Cached order has status invalid, discarding
[miniposter.host] Authorizing...
[miniposter.host] Authorizing using http-01 validation (FileSystem)
Answer should now be browsable at http://miniposter.host/.well-known/acme-challenge/HiRqPbSLb91IDEj4OefXbrxloUAkuYmoM2LOgv2lL7E
Preliminary validation looks good, but the ACME server will be more thorough
[miniposter.host] Authorization result: invalid
[miniposter.host] {"type":"urn:ietf:params:acme:error:connection","detail":"<IP_ADDRESS>: Fetching http://miniposter.host/.well-known/acme-challenge/HiRqPbSLb91IDEj4OefXbrxloUAkuYmoM2LOgv2lL7E: Timeout during connect (likely firewall problem)","status":400,"instance":null}
[miniposter.host] Deactivating pending authorization
Create certificate failed, retry? (y/n*)
I constantly face this problem, all paths are correct and open in the browser.
Are there any tips?
Sorry I don't speak English and I use google translate

problem solved, it was necessary to temporarily open port 80 on the router, thank you very much


v1.5.1 - Bumping dependencies

I've bumped all our dependencies to the latest versions to ensure compatibility with the latest release of jsonapi-server v2.2.1

Nice! 👍 :shipit:


How to change app icon

How can i change the app icon, app name and logo image when the app is loading?... and where must be those images?.
It's a great app. good Work.

There you go sir :)
https://github.com/shprink/wordpress-hybrid-client/blob/develop/SPLASHICONS.md