fix: pagination tests and Sentinel List Library updated to latest ver…

fix: pagination tests and Sentinel List Library updated to latest version
Description
in Modular-etherspot-wallet, the reference implementation has a function to
paginate the executors (which is a sentinel list)
purpose is to use it to paginate the executors to get all executor addresses
like wise it has a pagination function for validators too
the existing pagination function has a bug:

The logic flaw here is that the condition incorrectly reverts when start is a valid entry in the list, which is the opposite of the intended behavior for pagination.
The correct behavior should allow the function to proceed when start is either the SENTINEL (indicating the start of the list) or any valid entry within the list.

Motivation and Context
Change required to fix SentinelListLib pagination issue
How Has This Been Tested?
forge Unit test to verify the pagination on SentinelListLib for Executors
Types of changes

[X ] Bug fix (non-breaking change which fixes an issue)

great job! 🚀


When i put MaxValue the slider only show after i click on it!

Why this is happening?
The slider is working fine, but when I put the slider to start on maxValue he only shows this when I click on the slider, not when I enter on the page.
why this?

Do you mean starting the slider on ceil value or maxLimit value? Can you provide an example of code you are using? A StackBlitz would be quite helpful (for example forking this one).

I'm also experiencing this. In my case it's when the slider is hidden at first. In other words when it doesn't render immediately (at least that's what seems to be happening) but the controller does initiliase immediately.
When the slider becomes visible the max value slider handle is displayed at 0 even though it is set to a higher value (aria-valuenow and other attributes on the handle are set to the correct value). Then once I interact with the slider or resize the page the handle sets to the correct position.

I see the same behavior. Slider pointers don't set properly if the component is not visible when initialized. I got around this by not initializing the component until the parent component is visible (using a simple *ngIf).

I see. This is a known issue with a workaround being the use of manualRefresh. See KNOWN_ISSUES.md which is linked in README. Triggering manualRefresh at appropriate time should re-draw the slider.


!!/report should !!/scan first

It seems that we're supposed to use !!/scan now either before or instead of !!/report.
Rather than having to remind occasional users of smokey to change their habits and have !!/report be a foot gun for them, why not...

have !!/report do a !!/scan first which falls back to !!/report if not detected

if you feel it necessary introduce a !!/report-no-scan command (or something like that) for the times when the user just wants to report w/o scanning.

that way those people used to using !!/report can continue to do so.
This idea was originally suggested here and here

Good idea. TBH I've though of this before and I just kept it personal. Now that someone brings this up, I'll make it work.


marker view truncates text

Please refer to this screenshot:

It appears as though the command palette is truncating parts of the text, and likewise mousing over these messages does not show a tooltip with all the text.
From what I can see, there is no way to see the entire text.
I believe that the proper behavior would either be to:

show all the text with no action
or mouse over the message and show a tooltip to display all the text

Just to append to this issue, I realize that I could navigate to the error/warning in the source to mouse over and view the full message, but I believe it would be a better experience to be able to discover all of the error/warning text directly in the palette area.

Not critical for February, moving to the rightful owner.

@sandy081 will fix this by moving markers in the panel

Duplicates #6679
Please follow #6679 for updates


LFCC

Add Lord Fairfax Community College to the domains.

@allenclan23 This domain is blacklisted because the college allows to register an email address there even if you are not a student of the college. If you are the student of this college, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).


aws configure uses USERPROFILE instead of HOME

Describe the bug
When I have the HOME environment variable explicitly set on my Windows 10 system, running aws configure from a Powershell terminal results in the .aws directory and its files being created at %USERPROFILE%/.aws instead of %HOME%/.aws.
Expected Behavior
If the HOME environment variable is set, the .aws directory should be placed at %HOME%/.aws instead of %USERPROFILE%/.aws, according to the docs.
Current Behavior
The aws configure command will spit out files at %USERPROFILE%/.aws but the .NET library correctly looks in %HOME%/.aws which doesn't exist because the tool did not place the files in the right location.
Reproduction Steps

In Windows Environment Variables, add a new user environment variable named HOME and set it to some path like C:\linux_home.
Restart machine.
Execute aws configure and follow the prompts. Insert a value for each question.
Observe that files are created in %USERPROFILE%/.aws which is incorrect.

Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
<PackageReference Include="AWSSDK.Core" Version="<IP_ADDRESS>" />
<PackageReference Include="AWSSDK.EC2" Version="3.7.61" />
<PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.2" />
<PackageReference Include="AWSSDK.SecretsManager" Version="<IP_ADDRESS>" />

Targeted .NET Platform
net6.0
Operating System and version
Windows 10

@rcdailey Thanks for reporting the issue. The issue related to aws configure should be opened in https://github.com/aws/aws-cli repository.


TODO: Updates

Update requirements.txt next release.
Update README.md dependencies section.
Fix documentation issue #10
Setup github.io website.

Done in #11


Allow kustomize plugins to be optionally enabled

It would be very useful to allow the new-ish kustomize plugin functionality to be optionally enabled. I understand that there are potential security issues around plugins and that it's an alpha-level feature, so I wouldn't enable by default, but in a tightly controlled environment, they can be extremely useful.

I don't think this is possible due to the fact that the controller uses kustomize as library and the Go plugins will faild the compilation conditions, more details here https://kubernetes-sigs.github.io/kustomize/guides/plugins/goplugincaveats/
As for exec plugins, those should work if you install them inside the container at build time, this is not possible at runtime, since the controller rootfs is readonly due to security reasons.

If you allow the plugin home directory to be configurable (which I see can be done through the api), it could be pointed at a directory inside of the source, which would allow plugins to be stored in source control alongside the kustomizations. This would get around the issue of the readonly rootfs.

If you allow the plugin home directory to be configurable (which I see can be done through the api), it could be pointed at a directory inside of the source

Ah yes this would the best approach  💯

Note that kustomize plugins can now be defined as KRM config functions which are container based, and thus don't require the plugin home directory mapping, and should just come for free (assuming plugins are enabled, new enough version of kustomize, etc). It's likely that the other plugin runtimes will be deprecated in favor of KRM config functions, in which case it may be better to avoid adding support for them.

@seaneagan kpt is a client side tool, that can perform different magic tricks than controllers living within Kubernetes. See my comment here: https://github.com/fluxcd/helm-controller/issues/104#issuecomment-704392154

@hiddeco good point, configuring docker-in-docker (in kubernetes) should be possible, but much trickier than simply running plugins in an earlier build step before Kubernetes is involved. Note that KRM config functions are not just a kpt feature, they are also targeted to kustomize (currently behind a flag).

configuring docker-in-docker (in kubernetes) should be possible, but much trickier than simply running plugins in an earlier build step before Kubernetes is involved

"Just because you can, doesn't mean you should."

Note that KRM config functions are not just a kpt feature, they are also targeted to kustomize (currently behind a flag).

Had already noted this, but kustomize is a client side tool as well, so it changes very little to what I said.

It's likely that the other plugin runtimes will be deprecated in favor of KRM config functions, in which case it may be better to avoid adding support for them.

I can not find anything to support this claim (and it looks like the issue you link to refers to deprecating the support for kustomize plugins from a kpt perspective), quite the opposite actually, there are discussions to remove the alpha feature flag for plugins.

kustomize is a client side tool as well

sure i just meant that folks using the kustomize-controller may expect to be able to use kustomize features, so if there are features it can't support it would be good to document them

It's likely that the other plugin runtimes will be deprecated in favor of KRM config functions, in which case it may be better to avoid adding support for them at some point.

I can not find anything to support this claim (and it looks like the issue you link to refers to deprecating the support for kustomize plugins from a kpt perspective)

AFAICT the plan was to deprecate kustomize plugins in the next major version, while retaining support for KRM config functions, but could be wrong (and plans could change). I think there is a lot of overlap between folks working on kustomize and kpt so github issues get intermingled.

there are discussions to remove the alpha feature flag for plugins.

I don't see any comment from the maintainers yet on that one

It took me quite some time to find the right place to look for answers, but finally found what we are looking for in the sig-cli meeting notes.

[yanniszark] kustomize functions vs transformers/generators.

What is the way forward? Are transformers/generators deprecated?
kpt functions vs kustomize functions. Different or the same?
Declarative way to run functions. How will it work with kustomize?
Answer:

KRM functions are the way forward for extending kustomize
Function types: go-plugins (deprecating), exec plugins (generators + transformers), image functions
Need documentation on how to use each and tradeoffs between 2

From this, I conclude the following:

Go plugins will be deprecated in the future
Kustomize will continue to support "exec plugins" (the thing referred to in this issue) and "image plugins" (KRM config functions)

sure i just meant that folks using the kustomize-controller may expect to be able to use kustomize features, so if there are features it can't support it would be good to document them

For our docs improvement initiative I was thinking about a similar thing (for both kustomize-controller and helm-controller). specifically, foregrounding in flux docs that the controller supports a subset of features from the underlying tool, and more may be added according to the community needs. We could clarify in a table or something which of these are currently supported. I do not think we should document all missing features though, unless we specifically decide NOT to support one for a specific reason (such as this example, due to technical reasons). Otherwise our docs will always be behind, as new features are added to the underlying tools. Thoughts?

@seaneagan an issue with running docker-in-docker plugins would be dealing with the comparability issues as more and more k8s providers mover towards containerd. Personally i dont see an issue with allowing end users to extend the existing kustomzie-controller image with additional binaries, as a method of supporting plugins.

I've put together a proof of concept patch that enables plugins by specifying an optional plugin home directory for a Kustomization. It would be great if we could get something like this merged in.

Any update on this? :+1:

The outfit I've joined is running an elderly fork of the k8s controller to support --enable-alpha-plugins behavior - so yes, very very much so.


fixed typo in dockerfile

Found small typo in the Dockerfile.

Thanks for your help, merged manually. I hope next time you can rebase against the latest master branch so that I don't have to resolve the conflict manually. Maybe you just forgot to update your folk.

Thanks for your help, merged manually. Maybe you just forgot to update your folk, I hope next time you can rebase against the latest master branch so that I don't have to resolve the conflict manually.

yep, my bad, haven't updated the fork


Blog app: add API endpoints

Create an API endpoint to list all posts for a user.
Create an API endpoint to list all comments for a user's post.
Create an API endpoint to add a comment to a post. Remember that the owner of the comment is the user that makes it; it should not be set by passing a parameter.
Your API endpoints should receive JSON and respond JSON as well.

Thank you for your quick review, @binhussen


Upgrade webapplication to crossplatform dotnet core

Hi,
I did a fast scan of the issues, so forgive me if it's already on the agenda.
I forked the repo and hoped I could help out with some issues, only to find out that this project only works on windows platform due to the dependency of the full dotnet framework.
Is there an easy way to get it to run on linux / mac os x? Or do you have dependencies that make it hard to go full crossplatform?
I would like to be at help to do this if there are no blockers due to external dependencies.
best regards :)

@chezuma The web application has been moved to .NET Core 2.0.  I would recommend going through the getting started guide for Mac or Linux, which should help you get all of the dependencies setup and your environment configured correctly.  Feel free to respond with and specific issues you run into with those guides.

Hi,
I couldnt follow the instructions because I couldn't do a dotnet restore in a directory with multiple solutionfiles. I had to go into allReady/AllReadyApp/Web-App/ to do the restore and the build to get it to work.
The rest of the instructions was correct as far as I experienced.
Should I update the wiki? or maybe create a bash script for macOS ?
Thanks for your time.

Hi @chezuma,
I managed to get the website to build on my Mac by running: dotnet restore AllReadyWebOnly.sln

@jonparker, ofc that is an option, but the documentation states otherwise and should be fixed so that others don't have to fumble around with that for 10 minutes :)

@chezuma Yes I agree. Not having done much dotnetcore I didn't know that you can pass an sln file as a parameter to dotnet restore. The reason I mentioned it to you was because I wasn't sure if you knew about it either.
I already did a PR which has been merged to include the link to the Mac setup instructions as it wasn't easy to find.
I think the current devs on this project are all running Windows so it might be up to us to keep the Mac support up to date.
I haven't got a windows machine at home but I do have some free azure credit which I have used to create a win 2k16 vm with vs2017 to do windows stuff.

I've been developing on a mac and while the experience isn't quite as nice as VS on windows, it does work. Feel me to ping me if you run into any issues.
As for updating the wiki's, I think it would definitely be appreciated.

I agree, if the wiki is not quite right for Mac/Linux users it would be good to tweak it.


Include full day of Saturday in IB scheduled server reset times

Description

Update IsWithinScheduledServerResetTimes() to include the full date of Saturday (in NewYork time zone).

Related Issue
n/a
Motivation and Context

Occasionally the disconnection due to the IB reset period might last much longer than expected during weekends (even up to the cash sync time).
This causes the algorithm to be terminated at cash sync time.

Requires Documentation Change
n/a
How Has This Been Tested?
n/a
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Looks fine please check future markets to see if any open

I believe Futures resume trading on Sunday afternoon (NY)


Error Router for Back-end

Description
Create an Error route for backend!
It should return a json with status of 500 and message: bad request or 404 not found

let me do this @ankiiitraj

Go for it @guptapranav4299 assigning this to you!
Don't forget to go through the contributing guidelines!


Line2D is not working with GLES2 on Android

Godot version:

non-official c633b77
OS/device including version:

Windows 10 x64 and Android 6.0

Issue description:

I tried to export a recent game to Android using GLES2 but all Line2D are not being drawn.
Windows (GLES2):

Android (GLES2):

Steps to reproduce:
I tried to reproduce using a simple scene with a Line2D as root. Same result.
Windows:

Android:

Minimal reproduction project:

Line2D works fine for me on Android (f778bd8). @williamd1k0  can you attach your simple project, please?

@williamd1k0 Unfortunately this project does not work correctly on my Android device (blinking startup screen and then just quits) when using GLES2. Are you able to provide the project with just the line?

I don't know what happened but here is a simple project: Line2D-GLES2.zip
I added a Line2D node and a _draw() method calling draw_polyline() with the same points of the Line2D. On my device only the draw_polyline() is working (tried 832e2bf).
PC(Windows):

Android:

I just found an old Samsung to test and it's not working too.

I have the same issue, also with an older android device

Still reproducible in 9587861


[Feature] Rentable regions.  Player mall/bazaar set up by staff.

Blood asked me to post this here -
Would love to see the ability to rent out protected regions to players so they can run shops.  This would also work for people wanting to set up hotels/motels.
In bukkit we used - https://www.spigotmc.org/resources/areashop.2991/
I spoke to the plugin author today and he has not started a port to Sponge and isn't sure he will.
This plugin has a lot of features, but the only ones we need are this-
Staff sets up a large mall with individual shop areas players can rent by clicking on a sign just outside the protected area, this rents the area for a certain time for a certain amount of economy plugin credits.  They can extend this time by clicking on the sign for as long as they like.
If the time runs out, the region becomes rentable again.
For sign setup I would suggest that the person with the proper permission makes the region, then places a sign just outside the region with something like [gprent] on it, and clicks it, this will open a chat that lets you click to config the region, config options- how much it costs, how long they get to rent it for.
If rented the sign will say the name of who rents it and how long they have left on their paid rent.
If not rented, the sign will say how much it is to rent, and how long that will rent it for. and [Click to rent]
When the player clicks the sign, they get a chat gui that shows in chat that shows them how much it will be and how long it will rent it for, then click to confirm.
If it is already rented and they are the owner it will show them how much time is left, and give them the option to extend it by clicking.
The second option will be the option to add another player to the area.
If it is already rented and they are NOT the owner, it will show them who is renting it, and how long they have left.
If a region is within a configurable amount of time to expire, the player gets warned in chat when they log in.

please i beg you please :)


simulator - change log ordering?

@emmby thoughts on changing the event log ordering to be normal (not reversed), but also auto scroll to show the latest? It would then function more like a traditional console output.
I've been playing around with the simulator and find it a bit hard to follow the log flow when reading upwards.
The changes are simple:
diff --git a/test-gen-2/src/LightSm.html b/test-gen-2/src/LightSm.html
index e00e740..48791e3 100644
--- a/test-gen-2/src/LightSm.html
+++ b/test-gen-2/src/LightSm.html
@@ -82,7 +82,7 @@

       .console tbody {
         display: flex;
-        flex-direction: column-reverse;
+        flex-direction: column;
         font-family: monospace;
       }

@@ -244,6 +244,8 @@ globalThis.light_yellow = ()=>{ addHistoryRow(new Date(), "Called mock light_yel
             row.appendChild(timeCell);
             row.appendChild(eventCell);
             document.querySelector('tbody').appendChild(row);
+            const logDiv = document.querySelector('div.history');
+            logDiv.scrollTop = logDiv.scrollHeight;
         }

         var sm = new LightSm();

Yeah, I was looking at that too. The main problem with setting the scrollTop is that it changes your scroll position with every event change. So if you scroll somewhere in the window to look at something and an event happens in the background, it's going to jump you to that event. The advantage of the current reversed history is that you can scroll somewhere and you won't get jumped around if an event happens.
It feels like we should be able to get both (chronological order without jumping around) but I haven't figured out how yet.

Ah! Auto scrolling would be annoying when we have v2 simulations that are more "live".
What about an "auto scroll" check box like the Arduino terminal? Seems to work well.


 Reading file: 'trash.yml'
INFO[0000] Preparing cache for 'github.com/Sirupsen/logrus'
INFO[0009] Preparing cache for 'github.com/codegangsta/cli'
INFO[0024] Preparing cache for 'github.com/cloudfoundry-incubator/candiedyaml'
INFO[0031] Checking out 'github.com/Sirupsen/logrus', commit: 'v0.8.7'
INFO[0031] Checking out 'github.com/codegangsta/cli', commit: 'b5232bb2934f606f9f27a1305f1eea224e8e8b88'
INFO[0031] Checking out 'github.com/cloudfoundry-incubator/candiedyaml', commit: '55a459c2d9da2b078f0725e5fb324823b2c71702'
INFO[0031] Copying deps...
INFO[0031] Copying deps...
And I also test with the latest release(v0.2.0) today, below is the result:
root@0ad3b076d0bb:~/gopath/src/test# trash
INFO[0000] Trash! Reading file: 'trash.yml'
INFO[0000] Preparing cache for 'github.com/Sirupsen/logrus'
INFO[0009] Preparing cache for 'github.com/codegangsta/cli'
INFO[0024] Preparing cache for 'github.com/cloudfoundry-incubator/candiedyaml'
INFO[0051] Checking out 'github.com/Sirupsen/logrus', commit: 'v0.8.7'
INFO[0051] Checking out 'github.com/codegangsta/cli', commit: 'b5232bb2934f606f9f27a1305f1eea224e8e8b88'
INFO[0051] Checking out 'github.com/cloudfoundry-incubator/candiedyaml', commit: '55a459c2d9da2b078f0725e5fb324823b2c71702'
INFO[0051] Copying deps...
INFO[0051] Copying deps... Done
INFO[0051] removing '/root/gopath/src/test/vendor/github.com/Sirupsen/logrus/.git
INFO[0051] removing '/root/gopath/src/test/vendor/github.com/cloudfoundry-incubator/candiedyaml/.git
INFO[0051] removing '/root/gopath/src/test/vendor/github.com/codegangsta/cli/.git
INFO[0051] Collecting packages in 'gopath/src/test'
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20 pc=0x40a98e]
goroutine 1 [running]:
panic(0x649fe0, 0xc82000a090)
/usr/local/Cellar/go/1.6.2/libexec/src/runtime/panic.go:481 +0x3e6
main.listPackages.func1(0xc82000e04a, 0xf, 0x0, 0x0, 0x7f0c8a9942a8, 0xc820116ea0, 0x0, 0x0)
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/trash.go:370 +0x4e
path/filepath.Walk(0xc82000e04a, 0xf, 0xc8200bfc00, 0x0, 0x0)
/usr/local/Cellar/go/1.6.2/libexec/src/path/filepath/path.go:394 +0xa5
main.listPackages(0xc82000e04a, 0xf, 0xc820116e40)
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/trash.go:386 +0x9f
main.collectImports(0xc82000e04a, 0xf, 0x7f0c8a9942a8)
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/trash.go:394 +0x187
main.cleanup(0xc82000e044, 0x15, 0xc82000ee00, 0x0, 0x0)
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/trash.go:515 +0x49b
main.run(0xc8200980b0, 0x0, 0x0)
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/trash.go:108 +0x626
main.main.func1(0xc8200980b0)
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/trash.go:61 +0x21
github.com/rancher/trash/vendor/github.com/codegangsta/cli.(*App).Run(0xc82000c180, 0xc82000a210, 0x1, 0x1, 0x0, 0x0)
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/vendor/github.com/codegangsta/cli/app.go:132 +0xadb
main.main()
/Users/ivan/src/rancher/trash/src/github.com/rancher/trash/trash.go:64 +0x6e6

Hi,  I believe this is the same issue I encountered PR on the way.

@karlmutch Yeah, looks like it's the same.
@nange Can you try to move the project to a directory which would be the project's root package name prepended with src? E.g. for trash that can be /go/src/github.com/rancher/trash or /home/ivan/projects/trash/src/github.com/rancher/trash where the important part is the last src/github.com/rancher/trash.
That should help with the panic until there's a better fix.

@nange Actually, trash expects the project's root package be something like github.com/nange/trashtest, so it's a 3 steps path.
Thanks for revealing this wrong assumption, btw! It should work for most people, but not for all, unfortunately.

@imikushin thanks for the help, now it works.  I love the idea of trash, and expect it becomes better.

@karlmutch Yes, that's it. PR #26 can suppress the panic.

@nange Can you check if the issue is still present (in master)? Feel free to close if it's been resolved ;)

This issue has been resolved. close it.


Compatibility issues

Describe the bug
After install npm i @pdfme/common i got:
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving<EMAIL_ADDRESS>
To Reproduce
just install it with npm
Expected behavior
The package has no legacy dependencies.
 According to the documentation, I should install this package for it. I don’t understand why in order to generate a PDF, you need a form-render package, because it obviously belongs to some kind of UI.
Perhaps you need to refactor your packages or consider a more modern alternative? The authors of form-render are happy with this and won't update themselves, which is why I came to you.

integrate to https://github.com/pdfme/pdfme/issues/443


Crash with pipewire

Using PipeWire on Linux, I am seeing consistent crashes trying to play another file after already having played one with the same context.
goroutine 28 gp=0xc000103500 m=5 mp=0xc000100008 [syscall]:
runtime.cgocall(0x7117b0, 0xc00006ae98)
        /usr/lib/go/src/runtime/cgocall.go:157 +0x4b fp=0xc00006ae70 sp=0xc00006ae38 pc=0x40748b
github.com/hajimehoshi/oto._Cfunc_snd_pcm_drop(0x77b86805c840)
        _cgo_gotypes.go:150 +0x47 fp=0xc00006ae98 sp=0xc00006ae70 pc=0x4ea567
github.com/hajimehoshi/oto.(*driver).Close.func1(0xc000103500?)
        /home/dponte/go/pkg/mod/github.com/hajimehoshi/oto@v1.0.1/driver_linux.go:176 +0x3e fp=0xc00006aed8 sp=0xc00006ae98 pc=0x4eb69e
github.com/hajimehoshi/oto.(*driver).Close(0xc00013a440)
        /home/dponte/go/pkg/mod/github.com/hajimehoshi/oto@v1.0.1/driver_linux.go:176 +0x18 fp=0xc00006aef0 sp=0xc00006aed8 pc=0x4eb598
github.com/hajimehoshi/oto.(*driverWriter).Close(0xc000125860)
        /home/dponte/go/pkg/mod/github.com/hajimehoshi/oto@v1.0.1/context.go:170 +0xbe fp=0xc00006af40 sp=0xc00006aef0 pc=0x4e9bfe
github.com/hajimehoshi/oto.(*Context).Close(0xc0001365b8)
        /home/dponte/go/pkg/mod/github.com/hajimehoshi/oto@v1.0.1/context.go:106 +0x9d fp=0xc00006af80 sp=0xc00006af40 pc=0x4e967d
github.com/hajimehoshi/oto.NewContext.func1()
        /home/dponte/go/pkg/mod/github.com/hajimehoshi/oto@v1.0.1/context.go:89 +0x89 fp=0xc00006afe0 sp=0xc00006af80 pc=0x4e9569
runtime.goexit({})
        /usr/lib/go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006afe8 sp=0xc00006afe0 pc=0x46f941
created by github.com/hajimehoshi/oto.NewContext in goroutine 9
        /home/dponte/go/pkg/mod/github.com/hajimehoshi/oto@v1.0.1/context.go:84 +0x299

gdb backtrace:
(gdb) bt
#0  0x00007fffb1074bb0 in ?? () from /usr/lib/alsa-lib/libasound_module_pcm_pipewire.so
#1  0x00007fffb107588c in ?? () from /usr/lib/alsa-lib/libasound_module_pcm_pipewire.so
#2  0x00007ffff7ea19f7 in snd_pcm_ioplug_drop (pcm=0x7fffa405c9a0) at pcm/pcm_ioplug.c:506
#3  0x00007ffff7edf8cf in snd_pcm_drop (pcm=0x7fffa405c9a0) at pcm/pcm.c:1336
#4  0x00000000007117c7 in _cgo_80c47aefa7d0_Cfunc_snd_pcm_drop (v=0xc0002e0e98) at /tmp/go-build/cgo-gcc-prolog:111
#5  0x000000000046f5c4 in runtime.asmcgocall () at /usr/lib/go/src/runtime/asm_amd64.s:918
#6  0x000000c0002ce000 in ?? ()
#7  0x0000000000000000 in ?? ()

This (quite expectedly) does not happen with the same code on macOS.

Right after posting this, I found a logic error where the context was being reopened. Closed.


Microsoft Defender for Containers

PR Summary
Closes #119
Enables Microsoft Defender cluster config
UI Changes

Preview
NB: This is a preview feature

AzureDefender installation is not allowed since feature 'Microsoft.ContainerService/AKS-AzureDefender' is not enabled. Please see https://aka.ms/aks/previews for how to enable features.

Result
After creating the cluster with Defender turned on, you can initiate a test which works great on the created cluster

PR Checklist

[x] PR has a meaningful title
[x] Summarized changes
[ ] This PR is ready to merge and is not Work in Progress
[ ] Link to a filed issue

Need to talk about this one on our next review @khowling
Although the dependency is fine, enabling the defender feature is causing

Dependency: Microsoft.OperationalInsights/workspaces; OrginalError: autorest/azure: Service returned an error. Status=404 Code=\"ResourceNotFound\" Message=\"The Resource 'Microsoft.OperationalInsights/workspaces/log-byo' under resource group 'innerloop' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix\"; AKSTeam: RP, Retriable: false. For more details about how to create and use log analytics workspace,  please refer to: https://aka.ms/new-log-analytics

Going to close this one whilst there's a few kinks.

Am reopening this as;

Microsoft Defender for Containers has finally launched

The what-if looks a lot better than when I last ran this bicep code.

This feature seems a little flaky
The Az Aks Show command does not show the cluster to be enabled for "Azure Defender for Containers"...

However checking Microsoft Defender for Cloud shows that the cluster is configured.

Raised the issue in the AKS repo.
https://github.com/Azure/AKS/issues/2740

Have feature flagged Defender....
🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀

Have feature flagged Defender....
🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀 🚀


Fix single typo in README.md

I fixed the typo in doc/README.md and ran sbt tut

Cool, thanks! Merging.


关于Error2的疑惑

Thanks for open source code. I have also encountered such a problem with the subject, and I have some questions about the error2 you mentioned in the link.https://github.com/yerfor/GeneFace/issues/2#issuecomment-1418775061

As you said before, you added -D_GLIBCXX_USE_CXX11_ABI=0, but the code you uploaded was commented out.

When I removed the comment, I reported more errors.

My environment is shown below, cuda11.3.

Could you give me some advice on how to solve it?

Hi, maybe you could place -D_GLIBCXX_USE_CXX11_ABI=0 into the cmd argument, i.e., xxx -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -I$$TF_INC xxx

I have also successfully re-installed mesh_render on RTX3080ti. Please follow the updated guide, which may help you out.
For your convenience, below are my environments and command lines.

Note that I also encountered libtensflowframework not found error, you can fix it with the updated guide.


<IP_ADDRESS> hotfix

Java 21 hotfix for <IP_ADDRESS>. Will become <IP_ADDRESS>.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which has an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] If applicable, the PR references the bug/issue that it fixes in the description.
[x] New Unit tests were added for the changes made and CI is passing.

Can you describe what changed?

I verified that the ENABLE_WORKER_INDEXING flag is included for dotnet apps. that LGTM


Add command-line options --hash and --no-hash

This is an alternative proposal for #381.  It adds two new command-line flags, --no-hash and --hash.  A brief description of the semantics follows.
Conceptually, there are four different modes, of which hpack exposes three to the user.
ForceNoHash
(enabled with --no-hash, implies --force)

No hash will be included in the header comment of the generated cabal file

ForceHash
(enabled with --hash, implies --force)

A hash will be included in the header comment of the generated cabal file

PreferNoHash
(the default behavior for hpack)

When there is no existing cabal file it behaves like ForceNoHash
When there is an existing cabal file the convention from that file is followed

PreferHash
(not exposed, but available through the API)

When there is no existing cabal file it behaves like ForceHash
When there is an existing cabal file the convention from that file is followed

@snoyberg what behavior do you think will be appropriate for stack?  Given that the hashes are a pain to work with when you put .cabal under revision control, I'm tempted to remove support for them entirely.  Would that work for you?

I honestly don't remember the discussion that led to hashes being included in the first place, or what problems the hashes were intended to solve. I can't think of a way this would break Stack, but I may not be remembering a corner case. Do you remember where we discussed this before?

@snoyberg took me a while to dig it up,  https://github.com/commercialhaskell/stack/issues/3383#issuecomment-341028378.

It looks like the original issue the hashes are meant to solve is: user edits cabal file instead of hpack file. There's a pretty clear warning at the top of the generated cabal file that it's autogenerated, and hpack files are probably better understood now than when that original issue opened. I wouldn't advocate for removing the hash, but I'm also not opposed to it. Entirely your call :)

And thanks for doing the digging on finding that, and pinging me on the topic in the first place

For people spending time reading every single line of this PR and yet have no clue how to disable existing hash: just delete your *.cabal file and let it regenerate.

@Javran this may not be obvious, but hpack --force --no-hash will do what you want.


How to flip a video left or right in ExoPlayer without using TextureView.

If you can't use TextureView, it's also possible to set a rotation when configuring the MediaCodec, which you could do by subclassing MediaCodecVideoRenderer and passing your subclass via a custom RenderersFactory when building the player.

#8099 the above exchange, is it possible to inherit from MediaCodecVideoRenderer and implement left-right reversal of video?
If possible, it would be helpful if you could be more specific in your implementation.

I'm not aware of another transformation MediaCodec can apply besides rotation. That said, we recently developed the ability to apply effects on video frames at real-time. The feature is pushed on the main branch but included in a stable release yet. The high-level API is on the ExoPlayer interface
https://github.com/androidx/media/blob/dbeb9f51c4d618f7b129fb7837881ef0a230c5fe/libraries/exoplayer/src/main/java/androidx/media3/exoplayer/ExoPlayer.java#L1551
You can also take a look at the transformer demo app (note: from the main) which demonstrates how this works.
@claincly do we have an effect that performs left-right reversal (I guess that's mirroring? - sorry, I don't know the exact terminology here)

Here is an example for flipping left/right using MatrixTransformation:
player.setVideoEffects(ImmutableList.of((MatrixTransformation) presentationTimeUs -> {
      android.graphics.Matrix transformationMatrix = new android.graphics.Matrix();
      transformationMatrix.postScale(/* sx= */ -1, /* sy= */ 1);
      return transformationMatrix;
    }));

I will close this as answered but please reply if there are any follow-up questions and we can reopen.

Excellent!
Thank you for your support.


keycloak migration

This PR closes issue: [DM-950]
Includes tests? [N]
Updated docs? [Y]
Proposed changes:

migrates to new KeyCloak instance

replaced with hotfix: https://github.com/bcgov/digital_marketplace/pull/338


FYLE-cx5aqh: fixed the report name error alignment

@Dimple16 Will reduce the font size, the top spacing is consistent with all other error messages in the app : 4px

@MasterYushi error message top spacing should be 2px


Combine snapshots for analysis in AnalyzingDistributor

This change creates a combined snapshot for default and synthetic snapshot groups, so that we can have data from both when running analyzers.
This is needed so that we can have analyzers that look at services in the mesh (e.g. checking to see if VirtualService routes go to valid host entries).
Also added some tests & moved StatusUpdater / InMemoryStatusUpdater into its own file.
[X] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-lint-master
a13da2da980b25efdb9de21764498018af6b9911
link
/test istio-lint-master

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

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-lint-master
a13da2da980b25efdb9de21764498018af6b9911
link
/test istio-lint-master

integ-mixer-k8s-presubmit-tests-master
a13da2da980b25efdb9de21764498018af6b9911
link
/test integ-mixer-k8s-presubmit-tests-master

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

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-presubmit-tests-master
a13da2da980b25efdb9de21764498018af6b9911
link
/test integ-mixer-k8s-presubmit-tests-master

istio-unit-tests-master
410744858440865f0272effbb7b294c9cbbd57b8
link
/test istio-unit-tests-master

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

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-mixer-k8s-presubmit-tests-master
a13da2da980b25efdb9de21764498018af6b9911
link
/test integ-mixer-k8s-presubmit-tests-master

istio-unit-tests-master
410744858440865f0272effbb7b294c9cbbd57b8
link
/test istio-unit-tests-master

istio-racetest-master
410744858440865f0272effbb7b294c9cbbd57b8
link
/test istio-racetest-master

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

/test istio-unit-tests-master
/test istio-racetest-master

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-racetest-master
410744858440865f0272effbb7b294c9cbbd57b8
link
/test istio-racetest-master

istio-unit-tests-master
410744858440865f0272effbb7b294c9cbbd57b8
link
/test istio-unit-tests-master

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

@sushicw: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-unit-tests-master
410744858440865f0272effbb7b294c9cbbd57b8
link
/test istio-unit-tests-master

istio-racetest-master
410744858440865f0272effbb7b294c9cbbd57b8
link
/test istio-racetest-master

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

/test istio-unit-tests-master
/test istio-racetest-master


Reusing AgrumeViewController instance

When used Swift 2.2 I could once initialize a property agrume in my view controller so that when I opened Agrume somewhere inside that view controller via showFrom(_:) I could access to that property without instantiating a new Agrume view controller. It used to work well until I migrated to Swift 3 and Xcode 8.
Now when I use this scenario weird things happen, Agrume seems to be shown, but it is invisible (shown in visual debugger though).
BUT when I switched to a different scenario (instantiating a new Agrume view controller), everything worked as expected.
So, the question is, is Agrume designed in a way such that I have to create a new instance every time I want to open it?

Thanks for reporting this – there's nothing that speaks against having just one instance and re-using that. I will take a look

Sorry this took so long. The latest commit to the 3.0 branch fixes the issue.


Possibly incorrect / incomplete information?

[
"Microsoft Defender Vulnerability Management is included with Microsoft Defender for Servers and uses built-in and agentless scanners to:"
Defender for Endpoint Plan 1:
Is MDVM also available via and agent option via "Defender for Endpoint Plan 1"?

Or does 'Core' not include the items highlighted?

Agentless:
Might be worth mentioning that the agentless version is an add-in for 'Defender for Servers P2 plan'.
Defender for Cloud:
For Microsoft Defender for Cloud customers, Defender Vulnerability Management is natively integrated within Defender for Cloud to perform vulnerability assessments for cloud based virtual machines and recommendations will automatically populate in the Defender for Cloud portal.

Or does 'Defender for Cloud' not include the items highlighted?

]

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

ID: e2598a3e-7cd9-70ce-dc56-4ce2ff539e32
Version Independent ID: 55f29cff-a71d-5d68-e6a7-2a0922549c07
Content: Enable vulnerability scanning with Microsoft Defender Vulnerability Management - Microsoft Defender for Cloud
Content Source: articles/defender-for-cloud/deploy-vulnerability-assessment-defender-vulnerability-management.md
Service: defender-for-cloud
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@CodingMaximus
Thanks for your feedback! We will investigate and update as appropriate.

@CodingMaximus
Thank you for bringing this to our attention.
I've delegated this to content author @dcurwin, who will review it and offer their insightful opinions.

#reassign:ElazarK

#label:"backlog-item-created"


Required view "tvBalance" with ID<PHONE_NUMBER> for field "tvBalance" was not found. If this view is optional add "@Nullable"(fields) or "@Optional"(methods) annotation

I hava many views id is tvBalance.    for example  I have a view’s id is "tvBalance"  in xml A, and  I have another view’s id is "tvBalance" in xml B too. and  I have another view’s id is "tvBalance" in xml C too......  this error what should i do?

The error indicates that the view is not present in the view hierarchy when you are binding. You either need to mark it as nullable if the view is optional, bind at a later time when the view is present, or remove the field altogether if it's not in the layout you are binding with.

I'm sure it exists this xml,but it also exists another xml in the same id is ‘tvBalance’.

Got the same issue, have you found the solution ?

Got the same issue,  I was trying to inflate wrong XML file. I fixed that and now it works fine.

you are probably binding before setContentView(R.layout.your_layout_name);

you should add @nullable annotation , that will fix it

got issue inside the fragment, just removed the unused binded view and it works.

Yeah! :-( it wasn't because I accidentally took out the call to setContentView()

It took me a long time to find out that the layout was wrong，setContentView（）It's wrong


Right to left support

Can saleor support right to left cultures like Arabic,Hebr,Persian?

There is no built-in support for RTL in Saleor, but that's something that should be added in the future. I'd like to hear what's the best approach to achieve that and how much effort would that require.

These may help:
Bootstrap4 RTL
Material-UI RTL
Materializecss RTL
Material Design Light RTL

Any news?!

No update on this so far. I think this issue is more related to our frontend parts. We'll be planning the priorities for next releases soon, I'll make sure to raise this topic as well.

Hi, Is it added?

Can saleor support right to left cultures like Arabic,Hebr,Persian?

Hi,
Right to Left support is added ?

Right to Left support is added?

Hi here
what are the news about supporting RTL?

Hi here
what are the news about supporting RTL?


Unicode text is not correctly parsed

Wen trying to parse the following line using the csharp grammar:
string s = "chars: 安定させる";

The IToken::StartIndex and IToken::EndIndex for the string token are not correct.

I added a test in TokenizeUnicodeCommentsTest to check that case.
Remember to uncomment the Unicode string when there is a fix for it.

Fixed in  https://github.com/danipen/TextMateSharp/commit/ca2756f61303c5b97ca0503885985165e44ac426


GTIN values

I have a GTIN text attribute in akeneo for a 13 character numeric string. It serializes to a 7 digit float.
Seems like this happens in Akeneo/Serialization/ProductValueDataConverter.cs, line 19-26
if (reader.TokenType == JsonToken.String)
{
if (float.TryParse((string)reader.Value, out float number))
{
return number;
}
return reader.Value;
}

Though it may not be ideal, for me the problem was solved by changing float to double.


Merging into main project

Frist of all, thx for this module! The main contributors already asked for merging it into main project. Is it possible to create a MR for this? Would rly appreciate that! 👼
Following the link to the official ispconfig repo:
https://git.ispconfig.org/ispconfig/ispconfig3
Let me know if you need some help! :-)

HI @Ninos
There is probably some work to be done before it could get merged and I do not have too much time to pursue this at the moment.
Feedback for clarifications on this was also sparse in the ISPConfig forum: https://forum.howtoforge.com/threads/ispconfig-3-danymic-dns-ddns-module.87967/#post-432823
For now, if anyone else wants to start a MR, go ahead. You got my support :)
If there is some more information regarding code style or other potential blockers that need to be worked on, I would be willing to help.


asset CDN moved

we have special intel that Glitch commandeered the cdn.glitch.me subdomain, and it would be better for them security-wise to have the CDN there rather than cdn.glitch.com. this all points to the idea that the assset CDN will be moving.
we hardcode the cdn.glitch.com domain in some places. we're not falling behind right this moment, but let's be ready to change those.
in all likelihood, Glitch will probably be nice and provide redirects if/when they make the move.

it is indeed moved over

we hardcode the cdn.glitch.com domain in some places

actually it's only used in src/index.js unless i'm completely wrong
https://github.com/wh0/snail-cli/blob/master/src/index.js#L961

fixed in v2.8.0


"soft" constraints for consistency between variants

We have implemented "hard" constraints that force selection of a version. These are useful for ensuring that a desired version of a package is used consistently within a single build-order file.
There may also be utility in "soft" constraints to allow us to have a common set of dependencies between variants. If we take as input a build-order file and use that as a source of suggested constraints, to be applied only if they are actually compatible with the requirements and ignored otherwise, then someone could run 2 bootstrap operations for variants back-to-back and end up using consistent versions of packages reliably. This would be different from the existing hard constraints in that we would warn but not report an error if the version in the build-order file was not compatible with the requirements being bootstrapped.
Another way to achieve this consistency could be to take multiple build-order files as input and look for common requirements and resolve them to a common value based on the inputs. That could end up being more complex, because we would have to ensure we correctly update all of the dependencies of anything where we changed a version. We may not have enough information in a build-order file to do that today.
Before anyone starts working on this one, let's talk about prioritization.

I think this is done as part of using the graph file to give reproducible builds.


WIP : Minor updates to the readme.md

Added a link to the testing guidelines to the readme
Added a table of contents type section
Rephrased a few things
renamed the DEMO.md to Testing guidelines.md

Hey @ApostolosBenisis @Fidesnoella @jacob-js what do you think?

Hey @Fidesnoella and @jacob-js, the license file has been added... Ready for review and merge.


Implements Brain Data Custom Data Source and Adds IDataConverter Interface + Implementation

Description
Implements Brain Data custom data
Add SingleLineDataConverter, an implementation of IDataConverter, with pre-built methods to
allow easy creation of a converter who's data has one data point per line (CSV, TSV, etc.)
Related Issue

#3492
Motivation and Context

Implement more custom data sources into LEAN
Reduces the amount of effort required to build a new converter while standardizing the structure of a data converter
Requires Documentation Change

No
How Has This Been Tested?

Local testing of the converter + algorithms
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

Let's not create more standards. Interfaces should hide not expose implementation details of the action they're providing a pattern to achieve.


Support for kotlin data classes.

Add support for kotlin data classes when serializing/deserializing.

Closed with #52


The program is not working for me

I´m using anaconda .
This comes up when i start the program with "bash"
\ANDA_Test\ANDA-main>Bash anda.sh
anda.sh: line 28: unexpected EOF while looking for matching `)'
anda.sh: line 42: syntax error: unexpected end of file

Hi,
I tried the same but it worked when I typed ANDA.sh instead.
However, now it doesn't work since the python script is asking for setting the n cores. And I can not find where to set that.
Anyone who knows?
Best

If ANDA can't be run from the terminal you can try to run only "cell_metrics.py" in Fiji.

If ANDA can't be run from the terminal you can try to run only "cell_metrics.py" in Fiji.
This is also not working for me.

When i start ist as Macro:
Traceback (most recent call last):
File "", line 5, in
IOError: (2, 'No such file or directory', 'anda_parameters.txt')

"cell_metrics.py" has recently been updated and reads "pipeline_parameters.txt" instead of "anda_parameters.txt". You may download the newly updated file and manually create the "pipeline_parameters.txt" file in this format:
<full path to images>
<full path to Fiji>
neurites cells attachment
<cell line name>
save_outlines
neurites;cells;attachment;
0

Hi.
I run ANDA in Windows, seems that I am getting the correct output files (.csv), but no images of the tracing lines.
I am getting this error: [ERROR] Cannot create plugin: org.scijava.ui.swing.plot.io.PlotToSvgIOPlugin.
Do you know how can I solve the error?
Thanks,
Sincerely,
Pamela

Your issue might be solved by using the newest version of Fiji.


methodformat always includes namespace and class name regardless of setting

I'm using junit.testlogger 2.1.78 and dotnet 3.1.402.
I have a test class called LayerConverterTest in a directory test/MyProject.Test/Json. It's namespace is MyProject.Test.Json
If I run dotnet test --no-build --logger:"junit;LogFilePath=..\artifacts\{assembly}-test-result.xml;MethodFormat=Default;FailureBodyFormat=Verbose"
The resulting report wrongly includes the full namespace and class in the name attribute.
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
  <testsuite name="MyProject.Test.dll" tests="4" skipped="0" failures="0" errors="0" time="0.1136953" timestamp="2020-10-01T11:23:36" hostname="executor://xunit/VsTestRunner2/netcoreapp" id="0" package="MyProject.Test.dll">
    <properties />
    <testcase classname="MyProject.Test.Json.LayerConverterTest" name="MyProject.Test.Json.LayerConverterTest.CanConvert_LayerSubclass_True(type: typeof(MyProject.Json.Layers.Image))" time="0.0070400" />
    <testcase classname="MyProject.Test.Json.LayerConverterTest" name="MyProject.Test.Json.LayerConverterTest.CanConvert_LayerSubclass_True(type: typeof(MyProject.Json.Layers.PreComp))" time="0.0000645" />
    <testcase classname="MyProject.Test.Json.DataTest" name="MyProject.Test.Json.DataTest.Deserialise_ValidJson_PropsPopulated" time="0.0544729" />
    <testcase classname="MyProject.Test.Json.LayerConverterTest" name="MyProject.Test.Json.LayerConverterTest.Read_ImageJson_ReturnImageObject" time="0.0521179" />
    <system-out>Junit Logger does not log standard output</system-out>
    <system-err>Junit Logger does not log error output</system-err>
  </testsuite>
</testsuites>

If I change the method format and run dotnet test --no-build --logger:"junit;LogFilePath=..\artifacts\{assembly}-test-result.xml;MethodFormat=Full;FailureBodyFormat=Verbose"
The resulting report includes the namespace and class name twice.
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
  <testsuite name="MyProject.Test.dll" tests="4" skipped="0" failures="0" errors="0" time="0.0837441" timestamp="2020-10-01T11:46:24" hostname="executor://xunit/VsTestRunner2/netcoreapp" id="0" package="MyProject.Test.dll">
    <properties />
    <testcase classname="MyProject.Test.Json.LayerConverterTest" name="MyProject.Test.Json.LayerConverterTest.MyProject.Test.Json.LayerConverterTest.CanConvert_LayerSubclass_True(type: typeof(MyProject.Json.Layers.Image))" time="0.0107667" />
    <testcase classname="MyProject.Test.Json.LayerConverterTest" name="MyProject.Test.Json.LayerConverterTest.MyProject.Test.Json.LayerConverterTest.CanConvert_LayerSubclass_True(type: typeof(MyProject.Json.Layers.PreComp))" time="0.0000384" />
    <testcase classname="MyProject.Test.Json.DataTest" name="MyProject.Test.Json.DataTest.MyProject.Test.Json.DataTest.Deserialise_ValidJson_PropsPopulated" time="0.0395664" />
    <testcase classname="MyProject.Test.Json.LayerConverterTest" name="MyProject.Test.Json.LayerConverterTest.MyProject.Test.Json.LayerConverterTest.Read_ImageJson_ReturnImageObject" time="0.0333726" />
    <system-out>Junit Logger does not log standard output</system-out>
    <system-err>Junit Logger does not log error output</system-err>
  </testsuite>
</testsuites>

@moly I couldn't repo this so far and I probably need more detail.
First, could you confirm you are on 2.1.78. <system-out>Junit Logger does not log standard output</system-out> should be a prior version.
Assuming that doesn't help, I think a csproj file and a test class would help a lot. I'm wondering if the reason I couldn't repo this is due to your exact framework / dependencies. Also, I haven't seen a test name rendered like MyProject.Test.Json.LayerConverterTest.CanConvert_LayerSubclass_True(type: typeof(MyProject.Json.Layers.Image)) before, so I want to ensure I understand how that was generated.
Also, could you confirm you aren't getting any warnings from the logger in the console output for your tests about being unable to parse names?
Thanks

@Siphonophora
I've updated to 2.1.78 and still get the same issue. I've pushed a sample project here: https://github.com/moly/junitrepro
The project was created with the latest dotnet using dotnet new xunit. There aren't any dependencies other than xunit and the junit logger.
If I run dotnet test --logger:"junit;LogFilePath=..\artifacts\{assembly}-test-result.xml;MethodFormat=Full;FailureBodyFormat=Verbose"
I get:
<?xml version="1.0" encoding="utf-8"?>
<testsuites>
  <testsuite name="sampleproject.test.dll" tests="1" skipped="0" failures="0" errors="0" time="0.0021342" timestamp="2020-10-08T09:22:09" hostname="UKONG-NB0022" id="0" package="sampleproject.test.dll">
    <properties />
    <testcase classname="sampleproject.test.json.layers.UnitTest1" name="sampleproject.test.json.layers.UnitTest1.sampleproject.test.json.layers.UnitTest1.Test1" time="0.0021342" />
    <system-out>[xUnit.net 00:00:00.00] xUnit.net VSTest Adapter v2.4.0 (64-bit .NET Core 3.1.8)
[xUnit.net 00:00:00.64]   Discovering: sampleproject.test
[xUnit.net 00:00:00.68]   Discovered:  sampleproject.test
[xUnit.net 00:00:00.68]   Starting:    sampleproject.test
[xUnit.net 00:00:00.76]   Finished:    sampleproject.test
</system-out>
    <system-err></system-err>
  </testsuite>
</testsuites>

The full namespace and class name is duplicated in the name attribute.

@moly Great. I will take a look.

Any updates on this?

Any updates on this?

Hi, were working on the v3 release now, and I will take a look at this as part of that release

Hi, were working on the v3 release now, and I will take a look at this as part of that release

Currently struggling with the same issue. I'm on version 3.0.98

@moly, @CoskunSunali, @IshakAtLEGO
Are all of you using xUnit? The repro that moly provided, did give an example of MethodFormat not working correctly.
On mstest we are getting the expected behavior:
<!-- MethodFormat=Default-->
    <testcase classname="JUnit.Xml.TestLogger.NetFull.Tests.FailingOneTimeSetUp"
                    name="TestA" time="0.0000001">

<!-- MethodFormat=Class-->
    <testcase classname="JUnit.Xml.TestLogger.NetFull.Tests.FailingOneTimeSetUp"
                     name="FailingOneTimeSetUp.TestA" time="0.0000001">

<!-- MethodFormat=Full-->
    <testcase classname="JUnit.Xml.TestLogger.NetFull.Tests.FailingOneTimeSetUp"
                    name="JUnit.Xml.TestLogger.NetFull.Tests.FailingOneTimeSetUp.TestA" time="0.0000001">

@Siphonophora I’m using xUnit.

I am also using xUnit.

@CoskunSunali @ishakf
We have a fix for this published on MyGet https://www.myget.org/feed/spekt/package/nuget/JunitXml.TestLogger/3.0.102 If you get a chance to test it, let me know if this resolves your issue.

This has fixed the issue. I assume that this will be available on Nuget as well?

Great.
Yes it will. I have a fix for one other issue that's about to get merged, and we will release both together. I will comment here when its on NuGet

@moly this is on nuget now in 3.0.110.

Hello!
I am wondering if it was possible to add the old, "buggy" option back now😁
We've been publishing test reports generated by junit.testlogger to our requirements management software (RMS). The integration was based on test case name and is now broken with the latest upgrade. How it's used to work:
using Microsoft.VisualStudio.TestTools.UnitTesting;

[TestMethod("@RMS_TEST_NUMBER RMS Test name")]
public async Task MethodUnderTest_Scenario_Result()
{
    Assert.Whatever();
}

Testlogger used to produce the following result that was parsed by our RMS
<testcase classname="Whatever" name="@RMS_TEST_NUMBER RMS Test name" time="0.1"/>
I guess VS unit testing was publishing the name from TestMethod attribute.  And now naturally it's this, and we can't link it to RMS anymore
<testcase classname="Whatever" name="MethodUnderTest_Scenario_Result" time="0.1"/>
So, we'd really appreciate if we could publish TestResultInfo.Name again, as a testcase name or anyhow, can this be considered for the future versions @Siphonophora?
Thank you!

Update fixed the issue for me. I am using xunit as well.

I am wondering if it was possible to add the old, "buggy" option back now😁

@tamaratomilova Cannot you just use the MethodFormat=Full option?

I am wondering if it was possible to add the old, "buggy" option back now😁

@tamaratomilova Cannot you just use the MethodFormat=Full option?

Nope. As per readme, MethodFormat Full will add the assembly/namespace/class to the test method name, while I need the test method name to be populated from TestMethod attribute instead of the actual method name. Different thing.


Update authorization failed regarding changing the active key

MY SPECS
fairy-wallet-0.10.0-x86_64.AppImage
ledger-live-1.1.11-x86_64.AppImage
ubuntu 16.04 LTS
Long story short. I have two hardware wallets that have two seperate eos accounts. I was checking out the new permissions feature for the fiary-wallet and decided to update my active key and it worked fine for hardware wallet (b) but when I tried to do the same thing on hardware wallet (a) I get the following error:
ERROR MESSAGE
name":"TransportStatusError"
"message":"Ledger device: Invalid data received (0x6a80)"
"stack":"Error at new TransportStatusError (/tmp/.mount_fairy-5l4l0A/app/resources/app.asar/node_modules/@ledgerhq/hw-transport/lib/Transport.js:152:16) at TransportNodeHid._callee$ (/tmp/.mount_fairy-5l4l0A/app/resources/app.asar/node_modules/@ledgerhq/hw-transport/lib/Transport.js:205:23) at tryCatch (/tmp/.mount_fairy-5l4l0A/app/resources/app.asar/node_modules/regenerator-runtime/runtime.js:62:40) at Generator.invoke [as _invoke] (/tmp/.mount_fairy-5l4l0A/app/resources/app.asar/node_modules/regenerator-runtime/runtime.js:296:22) at Generator.prototype.(anonymous function) [as next] (/tmp/.mount_fairy-5l4l0A/app/resources/app.asar/node_modules/regenerator-runtime/runtime.js:114:21) at step (/tmp/.mount_fairy-5l4l0A/app/resources/app.asar/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30) at /tmp/.mount_fairy-5l4l0A/app/resources/app.asar/node_modules/babel-runtime/helpers/asyncToGenerator.js:28:13 at "
"statusCode":27264
"statusText":"INCORRECT_DATA"
SIDE NOTE
Hardware wallet (a) has my main eos holdings and I was just testing hardware wallet (b) to see how it would work. Everything worked flawlessly with hardware wallet (b). I created the account using EOS Vibes tool (https://eos-account-creator.com/choose/) and I chose NOT to create an active key since I knew I could change the permissions using the fairy wallet. Then I proceeded to update my active key using the fairy-wallet and everything worked just as expected. I try the same exact thing (except create a new account) on hardware wallet (a) and it was an epic fail updating the active key. What did do wrong? I generated my key pairs using scatter... haven't tried using any other tool...
Any thoughts or suggestions would be appreciated. Thanks in advance.

So, you are getting an error on update permission for hw (a), Right?

Yes, I am getting an error for hardware wallet (a) only.
I did not connect both devices at the same time.

The error is related to update auth only?

I just tried sending a transaction using hardware wallet (a) and I didn't get any errors. Therefore that error is only produced when I try to change the active key.
Other things I tried:
Using a different public key generated from scatter.
Using a different USB port.
Despite these other methods - I continue to get the same error.
SIDE NOTE
I remember the first time I did this with hardware wallet (b) the fiary-wallet never prompted me to select active or owner when I tried changing the active key. Now it seems I have a choice to pick between the two. Nonetheless the end result is the same though. Even if I selected "update@active" or "update@owner" -- it would just produce that same error.

Unable to update permissions. Get the following message:
Ledger device: Invalid data received (0x6a80)
Status code 27264

@GreenAces have you tried to change active key using https://eostoolkit.io/account/permissions

Hardware wallet(a) didn't have EOS firmware v1.1. Therefore I updated it and everything works as expected using the fairy wallet tool. Thanks for your support!


fetchMavenArtifact: deprecate phases & use pname+version

Description of changes
#28910 & #103997

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

I'm not actually familiar with fetchMavenArtifact, only modified it once to unbreak a package.

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

7 packages built:

liquibase
liquibase_redshift_extension
opentsdb
postgresql_jdbc
redshift_jdbc
sqlite-jdbc
squirrel-sql


Quick calibration with different calibration curves.

Currently quickcalibrate() will assume calibration should happen using the IntCal20 calibration curve, but the underlying package used for calibration seems to support other calibration curves.
It would be nice to add an option to quickcalibrate that allows a user to provide a string of a calibration curve to use, or a vector of curves, in (rare) cases where a package contains sufficiently different data that different curves might make sense.
For example with a given dataset like

ages
sds
curves

350
25
intcal20

1500
50
shcal20

## Calibrate everything with intcal20
quickcalibrate(ages, sds, curve="intcal20")
## Or use shcal20 for the second row
quickcalibrate(ages, sds, curves)

Not sure how easy this is to implement, but it would be nice to give users a bit more flexibility.

That wouldn't be difficult to implement. I can add that. But note that quickcalibrate has a very limited scope: Don't use it for general calibration.

added in v0.5.0


Jesse: Watch chatgtxonline.de

Jesse requests the watch of the watch_keyword chatgtxonline\.de. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

chatgtxonline\.de has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Import Struture Scan .plan file

Is there a way to import an strucutre scan .plan? i read in doc that it isn't supported, maybe it isn't updated and there's a feature to do it. If it isn't supported could be good to implement that.

You can see in this PR how surveys and corridor scans were implemented. However, structure scans are not yet supported.


Doesn't work on mobile

When I attempt to install the plugin on android (galaxy s23 ultra) I get a Failed to load plugin "unicode-search" message

Thanks for opening the issue. I got the same error message when testing out on a brand new vault.
A temporary workaround is possible by downloading an initialized plugin save data file. (Save data.json and put it inside the <vault>/.obsidian/plugins/unicode-search folder)
The error occurs when the plugin tries to download the Unicode character database, where, for some reason, the request ends with HTTP 429 Too Many Requests. It only occurs on mobile devices, not through mobile emulation, so it seems to be an issue with the Obsidian API for plugins on the mobile version.


How to add build arguments?

For some application builds, additional arguments and/or non-default target needs to be called for production build. For example, for JHipster, we need to build with a production profile, e.g. ./mvnw package -Pprod.
https://github.com/jhipster/generator-jhipster/issues/10255#issuecomment-526937883

Adding an option like -Pprod will probably depend on the buildpack in use. The heroku/java buildpack uses some env vars, so you can do something like:
$ pack build jhipster-app -e MAVEN_CUSTOM_OPTS="-Pprod,heroku -DskipTests" --builder heroku/buildpacks:18 --buildpack heroku/nodejs,heroku/java

Arbitrary build arguments (everything after the resolved gradle or maven executable) can be set with BP_BUILD_ARGUMENTS on the Cloud Foundry builder.

thanks @nebhale ; i noticed it was committed couple days ago. 😄

@saturnism Glad to hear you've got what you needed.
Closing the issue for now. Feel free to open another if you have further questions.


Added custom property pane control sample

Q
A

Bug fix?
no

New feature?
no

New sample?
yes

Related issues?
n/a

What's in this Pull Request?
Sample web part with a custom property pane drop-down control that loads its options asynchronously.

thx Waldek.


feature request: Deploy as application to Azure Batch

this is a feature request. There is Azure batch which can run custom applications on a schedule and from other services. That would be great if there will be GitHub action which can deploy to Azure batch as Application.
Thanks

l

@N-Usha - Can you take a look at this request?

I need this - I have applications installed and configure in Azure Batch. I want my CD pipeline to update them. If this feature request hasn't been implemented, how can I automate the deployment of my apps to Azure Batch?


Cannot be running in root folder

I was trying to run lab in D:\ and if failed. This bug was found in scenario "AzSHCI and Kubernetes"

I dont think that's a bug, Hyper-V won't use root folder because of reasons.

Yeah, I just need to add few lines to detect it and prevent script from running...

Added this check https://github.com/microsoft/WSLab/commit/8a1e69b7a7b72e943f56a0d088b4c638a0123392

all 3 scripts will return this error if running in root folder.


how to test the scene in your paper? It seems not the regular NeRF scene

Here's the data: https://drive.google.com/drive/folders/1v4MLNoSwxvSlWb26xvjxeoHpgjhi_s-s


Codigo de conducta

Hi @CesarSantillan26 - Thanks for contributing! We'll close this PR for now. If you'd like to reopen it, leave a comment that explains the context for these changes and we'll look into it.

@MicrosoftDocs/public-repo-pr-review-team


Register_SOFTMAX_INT8_INT16 redefined error

Following https://codelabs.developers.google.com/codelabs/sparkfun-tensorflow/#3 to build micro speech example.
After executing make -f tensorflow/lite/micro/tools/make/Makefile TARGET=sparkfun_edge micro_speech_bin
Running into
tensorflow/lite//micro/kernels/xtensa/softmax_int8_int16.cc:285:20: error: redefinition of 'TfLiteRegistration tflite::Register_SOFTMAX_INT8_INT16()'   285 | TfLiteRegistration Register_SOFTMAX_INT8_INT16() {       |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tensorflow/lite//micro/kernels/xtensa/softmax_int8_int16.cc:25: ./tensorflow/lite/micro/kernels/softmax.h:38:27: note: 'TfLiteRegistration tflite::Register_SOFTMAX_INT8_INT16()' previously defined here    38 | inline TfLiteRegistration Register_SOFTMAX_INT8_INT16() {       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [tensorflow/lite/micro/tools/make/Makefile:654: tensorflow/lite/micro/tools/make/gen/sparkfun_edge_x86_64_default/obj/core/tensorflow/lite//micro/kernels/xtensa/softmax_int8_int16.o] Error 1

The sparkfun_edge continuous build is green: https://github.com/tensorflow/tflite-micro#community-supported-builds
And I just tested the command locally and the error is not reproducible.
The fact that your command is attempting to build a file from kernels/xtensa for TARGET=sparkfun_edge (tensorflow/lite//micro/kernels/xtensa/softmax_int8_int16.cc) suggests that there may be something wrong with your setup.
kernels/xtensa will only get pulled u=in if you specify OPTIMIZED_KERNEL_DIR=xtensa as part of your make command.


graph: Adds attestable ChildFilterNestingNotSupportedError

Closes https://github.com/graphprotocol/graph-node/issues/4775

thanks both! are we ok to merge this @lutter @kamilkisiela ?


upload files are not created

Hi Tom,
I am working on my first meteor project and am trying to integrate your great upload module. In my test environment (win10) the upload is working, but when I try to make it run on the server (centos) the file simply does not upload - without any warning or error message (no 305 e.g.). Everything seems to have worked fine (even the 'finished' callback is called), but the file does not appear on the server (I searched all sub folders in case that i had made a mistake defining the upload folder)... any idea?
cheers
jo

I would check permissions on your server. Make sure that upload folder has a write permission for the correct user.

That was my thought as well, so I gave all permission - no result. Strangely, after a server restart, it worked :) Thanks for your fast answer!


Comments:

Comments:

constructor: Overloading the arguments with types is not elegant but let's leave it for the time being. Also I changed the buffer back to multiples of 32 bits (4 bytes) as when performance is considered this is essential for 32 bit access for certain operations like .and(), .every() etc. We could still do 32 bit access in arbitrary length buffers up until the remaining part is shorter than 4 bytes and then switch to 8 bit access. However all such calculations overload the code and dramatically slow it down for no good reason. In the worst case the additional 3 bytes is negligable when the performance gain is considered. What's wrong with BitArray being in sizes multiples of 32 and why would one need a BitArray in size like 21 or 47? Besides with this structure one can extent BitArray to implement BitVector128, BitVector256 or BitVector512 objects with their own shiftRight, shiftLeft etc methods.
popcount   : Works just fine. It counts the bits in a single byte.

Modifications:

and : Renamed the newArray boolean argument to inPlace which defaults to false. Changed to 32 bit access for performance.
at : Removed index check which is very costly. .at() could be a very busy method and depending on the task may get invoked millions of times per task. It's best to leave the responsibility of entering proper index value to the user.
not : Changed to 32 bit access for performance.
or : Same as .and().
reset : Removed index check.
set : Removed index check.
slice : Was broken. Also slicing now returns a BitArray with closest buffer.byteLength in multiples of 32 bits.
toggle : Same as .and().
toString : Each stored byte is in reverse order such as .set(0) would result 0000001 to be stored at first byte of the BitArray. Accordingly bits in a byte get their ranks reversed before stringifying.
xor : Changed to 32 bit access for performance.

New Features:

any  : Returns true if any of the bits in the BitArray are set. If returns false then all bits are 0
clear: Resets the BitArray in place
every: Returns true if all bits in the BitArray are set.
fill : Sets the BitArray in place.

You can reach me from<EMAIL_ADDRESS>By the way this is my first pull request ever so there is that also :)


ENOENT no such file or directory

hi, after a long battle i'm finally running hoobs e deconz on the same pi without issue.
While i'm restarting the pi in the hoobs log appear this error:
[Homebridge] [4/22/2020, 13:28:02] [Hue] Phoscon-GW: dresden elektronik deCONZ gateway v2.5.72, api v1.16.0
[Homebridge] [4/22/2020, 13:28:02] [Hue] Phoscon-GW: 3 accessories
[Homebridge] [4/22/2020, 13:28:02] [Hue] error<EMAIL_ADDRESS><EMAIL_ADDRESS>cannot open: ENOENT no such file or directory
[Homebridge] [4/22/2020, 13:28:02] [Hue] Initializing platform accessory "Phoscon-GW"...
[Homebridge] [4/22/2020, 13:28:02] [Hue] Phoscon-GW: 2 services
[Homebridge] [4/22/2020, 13:28:02] [Hue] Initializing platform accessory "Window / Door Sensor"...
[Homebridge] [4/22/2020, 13:28:02] [Hue] Initializing platform accessory "Esterno"...
[Homebridge] [4/22/2020, 13:28:02] Homebridge is running on port 51826.
[Homebridge] [4/22/2020, 13:40:02] [Hue] Esterno: set homekit temperature from 16.9°C to 17.2°C
[Homebridge] [4/22/2020, 13:40:02] [Hue] Esterno: set homekit humidity from 42% to 41%
Is something that i have to fix ? in which way ? Everything at the moment is running without issues.
thank you

Please contact hoobs support for issues running hoobs.


Plotting additions and modifications

Adds simple plotting functions for:

Edge weights
Degree distribution
Scree plot
Adds ability to group vertices by a 1- or 2-level hierarchy and plot for heatmap and gridplot
Small tweaks to some kwargs and plotting parameters
Changed pass to ranks to be between 0 and 1

Codecov Report

Merging #113 into master will decrease coverage by 12.77%.
The diff coverage is 65.9%.

@@             Coverage Diff             @@
##           master     #113       +/-   ##
===========================================
- Coverage   96.54%   83.77%   -12.78%
===========================================
  Files          22       22
  Lines        1043     1220      +177
===========================================
+ Hits         1007     1022       +15
- Misses         36      198      +162

Impacted Files
Coverage Δ

graspy/utils/ptr.py
97.72% <100%> (ø)
:arrow_up:

graspy/simulations/simulations.py
97.61% <100%> (ø)
:arrow_up:

graspy/embed/lse.py
100% <100%> (ø)
:arrow_up:

graspy/embed/embed.py
96.42% <100%> (ø)
:arrow_up:

graspy/plot/__init__.py
87.5% <100%> (ø)
:arrow_up:

graspy/embed/ase.py
100% <100%> (ø)
:arrow_up:

graspy/plot/plot.py
47.14% <57.14%> (-43.88%)
:arrow_down:

Continue to review full report at Codecov.

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

Do this so that your commits are linked to your account: https://help.github.com/articles/setting-your-commit-email-address-in-git/


use options resolver where applicable, fix decoder plugin gzip handling

follow up of the discussion in https://github.com/php-http/documentation/pull/76 - i propose to use the OptionsResolver for configuration options on plugins. This is both more readable on the calling side and more flexible when we need to add more options in the future.
i mixed in the same PR a fix for the deccoder plugin to not claim to support gzip if it does not support gzip. this might hide the problem of a missing gzip library a bit.

Huge :+1:

:+1:


[5.5] Set $response property

When having multiple tests, very often it's useful to create helper methods. But now as we have $response returned from Http requests it's necessary to either pass this response to helper methods or to manually set $response property in such tests.
In this PR $response property is set automatically when making Http requests, so we could have helper like this:
protected function verifyNoPermission()
{
   $this->response->assertStatus(401);
}

and use this without passing response to them or setting property manually.

This PR is just another one that slowly gets us back to https://github.com/laravel/browser-kit-testing ... Couldn't we just include that package with laravel/framework instead?

Couldn't we just include that package with laravel/framework instead?

No need. It ships with laravel/laravel by default. :)

@GrahamCampbell I'm not sure what you're saying. The laravel/browser-kit-testing is not referenced in the default composer.json file. https://github.com/laravel/laravel/blob/master/composer.json

Oh, I'm sure it was at one point, I guess it got taken out (if it was ever there at all!).
Perhaps we should add it to require-dev in laravel/laravel for 5.6? // cc @taylorotwell

No plans to add this.


Receiver match on labels

Hey,
I found this issue about wildcard matching of all resources (https://github.com/fluxcd/notification-controller/issues/461).
I think it could be a nice way to handle this also via labels - more or less the same way as prometheus-operator does it.
Example from prometheus-operator - prometheus cr:
podMonitorSelector:
    matchLabels:
      team: example

Alerts have label selectors https://fluxcd.io/flux/components/notification/alerts/#select-objects-by-label for Receiver it doesn't make sense to me as the webhook is a one-to-one with a single source.

Haven't seen it on the Alerts, sorry.
Regarding the Receiver, I think our setup is maybe a bit, let's call it special:
We have a setup with some repository local charts. For this we create tags for each Helm chart when pushed to main. To now have a versioning on them we create a GitRepository pointing to the correct revision of the Helm chart. Maybe that's not the best way but maybe you know understand the use case.

Receiver v1 does support label selectors now: https://fluxcd.io/flux/components/notification/receivers/#reconcile-objects-by-label


(PUP-9717) Retry the state machine when exceptions occur

Prior to 6.4, if an exception occurred, such as failing to connect to the
puppetserver because it's wasn't running yet, then the agent would wait and
retry.
Puppet 6.4 introduced a regression, causing the agent to exit. This commit fixes
the regression. If a StandardError is raised while running the state machine,
then we will wait up to waitforcert seconds and retry the state machine, or exit
if waitforcert is 0.

CLA signed by all contributors.

Looks like Travis failed due to syntax error:
SyntaxError: /home/travis/build/puppetlabs/puppet/lib/puppet/ssl/state_machine.rb:318: syntax error, unexpected keyword_rescue, expecting keyword_end
      rescue => e

This won't work as written!


Support 24bit wave in sox_io load function.

Currently the save and info functions of "sox_io" backend support 24-bit signed integer liner PCM, but load function does not support it.
import io
import torch
import torchaudio

tensor = torch.randn([2, 256])
buffer_ = io.BytesIO()
torchaudio.save(buffer_, tensor, 256, format='wav', encoding='PCM_S', bits_per_sample=24)

buffer_.seek(0)
print(torchaudio.info(buffer_))

buffer_.seek(0)
torchaudio.load(buffer_)

AudioMetaData(sample_rate=256, num_frames=256, num_channels=2, bits_per_sample=24, encoding=PCM_S)
Traceback (most recent call last):
  File "foo.py", line 14, in <module>
    torchaudio.load(buffer_)
  File "torchaudio/backend/sox_io_backend.py", line 147, in load
    return torchaudio._torchaudio.load_audio_fileobj(
RuntimeError: Only 16 and 32 bits are supported for signed PCM.

We can support add support for 24-bit signed integer linear PCM. It is straightforward for the case normalize=True as the returned Tensor will be float type with value range [-1.0, 1.0] but there is an open question of what to do when normalize=False. When normalize=False, and the audio format is WAVE, our load function picks the corresponding Tensor type, such as torch.int16 for 16-bit signed integer linear PCM, but Pytorch does not have 24-bit data type so we need to decide what to do when normalize=False.

Raise an error.
Use 32-bit signed integer (and maybe add warning)
Something else.

In the following, we assume that we will take the approach 2.
Steps

Update the get_dtype function which is used by apply_effects_file  and apply_effects_fileobj .

Testing

We need to add test for 24-bit to the test function, but our test fixtures for WAVE I/O relies on scipy, which cannot handle 24-bit audio so we one will need to work around. This is not straightforward. One workaround is to do something similar to how mp3 loading is tested. We can generate 24-bit audio file with sox command and load it with torchaudio.load and create a reference value by first converting the file to 32bit signed integer then loading it with scipy. For the detail of this approach, please refer the docstring of mp3 test above.

Setting up dev env
Please refer to CONTRIBUTING.md for setting up a dev env.

Hi I'll be working on this :)!

@iseessel Thanks, let me know if you need help.


This extension is not installable on any currently installed products.

System Information (please complete the following information):

Model Builder or CLI Version: <IP_ADDRESS>6603
Visual Studio Version (if applicable): 17.0.3172-preview3

Describe the bug

On which page of the tutorial did you run into an issue (URL): On install
Clear description of the problem: Can't install vsix

To Reproduce
Steps to reproduce the behavior:

Go to download
Click on download
Scroll down to on installer
See error

Expected behavior
Extension installed
Screenshots

Additional context
None

did you install visual studio 2019?

did you install visual studio 2019?

I'm using 2022 Preview ill try 2019 👍


Be more specific

You defined the problem with its own verbiage. I still do not have any idea what trivia is, never mind what leading or trailing trivia are.

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

ID: 4a50684b-8bea-4814-a1bd-4ef4b51dc407
Version Independent ID: 346caa88-9b6d-7700-f32d-5adf356857e8
Content: SyntaxNodeExtensions.WithoutTrivia Method (Microsoft.CodeAnalysis)
Content Source: dotnet/xml/Microsoft.CodeAnalysis/SyntaxNodeExtensions.xml
Service: unspecified
Product: unspecified
GitHub Login: @dotnet-bot

This is explained in the general Roslyn documentation. I'm not sure the API reference has to explain all the terms it uses, especially for terms that are used as often within the Roslyn API as "trivia".

@svick Then say as much on the WithoutTrivia page. At the very least reference the link. I shouldn't have to go mining for reference material when the docs themselves are sparse.


HDDS-3694. Reduce dn-audit log

What changes were proposed in this pull request?
reduced dn audit log:
As discussed in community call

Reduce audit to Container related operations for all success + failure events and DELETE_BLOCK related events.
Audit for all other operations (blocks, chunks etc) only on failures/errors.
Addressed few sonar code smells.

What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3694
How was this patch tested?
Build and deployed 3 node cluster, created a few keys. Confirmed that DN audit log no longer logs for CHUNK/BLOCK related operations.

Failure is unrelated to patch, failed due to timeout.
Verified test passes in local.

Thanks @dineshchitlangia for updating the patch.

Thanks @adoroszlai for review/commit.


APT whitelist request for oracle-java7-unlimited-jce-policy

No longer required, since Oracle JDK  7 isn't supported any longer.


chore: enable periodics on all jss repos

cc @donmccasland @kweinmeister @grayside

This has been applied


✨ Static Device Libraries and Statically Linked Driver

This PR contains a statically linked driver. This also allows using of static device libraries. The required preparations have been done by #86.

One big issue with this PR is that the existing dynamic driver and the new static driver must be tested independently because they cannot be linked into one executable. Right now—without a separate target for the tests of the static driver—one can simply change the line
https://github.com/Munich-Quantum-Software-Stack/QDMI/blob/b16f36d87703c81a95ff274a59fee12f886c2d71/test/CMakeLists.txt#L60
to dmi::example_static_driver and the tests will run through as well without any further change.

One big issue with this PR is that the existing dynamic driver and the new static driver must be tested independently because they cannot be linked into one executable.

I think it's even more than just the static driver.
The whole point of the static driver is to also build the devices themselves as static libraries to get a fully statically-linked binary.
However, currently, the devices are fixed to be dynamic libraries.
I would guess that testing both would either require considerable code duplication or it would effectively require two builds and test runs; one with -DBUILD_SHARED_LIBS=ON and one with the setting OFF. Depending on whether dynamic or shared libraries are built, the corresponding driver is built and linked.
Let's get #86 in and then rebase this branch on top of develop to get a clean commit history and then see further.


Is there anyway to still update the markers that are outside of the viewport?

I encountered this problem with moving markers (gps tracked).  I wish to display some details of certain markers such as their coordinates and other information pushed from the server.  The information is bound to the marker model.  So, the problem occurs when the marker is out of view.  Even the server still push the new data and the javascript attempts to update the model but its not updated.
I understand that leaflet did this for performance but I need to selectively choose to see live updates of certain markers even though it is out of view.  Is there a way to conditionally override the default behavior under these circumstances?

Please, could you replicate in http://jsfiddle.net?


Fixed terms link

Coverage remained the same at 94.414% when pulling 3f1e84a8bfd7ea4d7500a375f45ed84a6d65affb on cody-fix-terms-link into f296ab8b288352f9fcae2062d5e258b22e71d04b on main.


--ephemeral flag behavior defies --h description

Running trin with the --h flag includes -e, --ephemeral    Use temporary data storage that is deleted on exit but the data is not deleted.
Options:

Rename --ephemeral to --fresh, change description accordingly
Modify --ephemeral functionality to delete data on trin shutdown.

I'm in favor of 1 short term and 2 longer term.
I think that ephemeral provides more value than fresh does. fresh is doing work that we could easily do ourselves by specifying a unique data directory at trin boot, whereas ephemeral is doing work both for us (cleaning up after tests) and for users (I hate trying out new software and being afraid that it's gonna dump a ton of data to god-knows-where on your disk that will be there forever).
Context from #404 discussion:
@ogenev said:

One note on the --ephemeral flag:
The way it is implemented, it is not expected to clean the directories right after Trin closes. Why is that? I think as a user, we may still want to look into DB after termination. The main thing that --ephemeral does is to create a new path on every run in OS's temp folder. This way we guarantee that we always start with a clean database and we don't pollute the default Trin path, but we don't delete the directories automatically.

@carver said:

Oh this is a big surprise to me. The word ephemeral strongly suggests that everything from the run will be gone when it's done running. The only counter-example I could think of is if it is run on top of an existing DB, in which case the changes might persist. But to be consistent with the meaning of the word ephemeral, it would also be totally reasonable to refuse to start on top of an existing DB. It's not clear whether we should rename the flag to be something else (something like --fresh-start, because the current mechanics of the flag are valuable... or if we should modify the mechanics to match the name. That's a product question, and one I don't feel strongly about because I'm not using the flag myself either way. I usually want more control over things like port number, etc, than the flag would give me.

@ogenev said:

Yeah, maybe ephemeral is not the perfect word for this functionality but we are putting all the data into /tmp folder which purpose is to not persist the data. Lighthouse also uses tmp folder to store temporary data and I thought it is a better decision than trying to explicitly delete all folders after termination, I can't come up with a use case that would require exactly this.

@mrferris said:

I can see wanting that as a Trin contributor, for example for debugging DB operations, but what's a scenario in which a user would want to look at the raw data their now-destroyed node had collected? I think that there's a large if not complete overlap between a.) people who want to, for example, keep peertest data around so that they can inspect it after the peertest completes and b.) people who know how to modify one line in the peertest source to make it not ephemeral anymore. Whereas I can't think of any overlap of people who would want to inspect the data of an ephemeral node after it's gone and people who can't make that modification locally themselves.

Piper also had this suggestion:

When I was doing this in the python implementation I came up with the --ephemeral flag which took care of establishing a temporary directory in which all data would be housed. In most cases the desired shutdown behavior would be to cleanup this directory (delete it and all of its contents), though it would almost definitely be valuable to be able to retain this information. I would recommend potentially combining these two approaches ad doing this:
* Implement `--ephemeral` mode that uses a temporary directory within `XDG_CACHE_HOME`, using the node-id prefix solution outlined here for determining the directory

* Leave some sort of marker in that directory to signal when the directory was last used

* Maybe make some form of automation that will cleanup this directory, or alternatively, make the `--ephemeral` flag automatically purge the oldest directories once there are too many.


Production Admin Portal is not showing donor pledges

Is your feature request related to a problem? Please describe.
Some aid packages (#10 and #11) don't show the pledges in the detail view - despite there being pledges against the package (as shown in graph). The following screen shot shows the issue:
https://admin.elixir.redcross.lk/packages/11

However, this issue doesn't happen for other aid packages (e.g., #1, #2, etc)
Describe the solution you'd like
There should be a list of pledges shown at the bottom of the package detail page.

When working on moving the table to this place, I also noticed that the pledges API takes time to respond and is pretty inconsistent.


NUnit post-build script causes the build to hang

When using the NUnit appcenter-post-build.sh the build reaches this point and completely hangs:
Compiled projects to run NUnit tests:
/Users/vsts/agent/2.144.2/work/1/s/xxx.Application.Tests/bin/Debug/netcoreapp2.1/xxx.Application.Tests.dll
/Users/vsts/agent/2.144.2/work/1/s/xxx.Core.Tests/bin/Debug/netcoreapp2.1/xxx.Core.Tests.dll
/Users/vsts/agent/2.144.2/work/1/s/xxx.Data.Tests/bin/Debug/netcoreapp2.1/xxx.Data.Tests.dll
/Users/vsts/agent/2.144.2/work/1/s/xxx.Presentation.Tests/bin/Debug/netcoreapp2.1/xxx.Presentation.Tests.dll

Running NUnit tests:
find: nunit3-console: No such file or directory

NUnit tests result:
##[warning]Build agent connection lost
##[warning]Build agent connection lost
##[warning]Build agent connection lost
##[warning]Build agent connection lost

At this point it just continually prints ##[warning]Build agent connection lost.
Any idea why this might be happening? There's no other output than this in the build console.

After trying lots of different commands to run the unit tests, it just looks like the build server instance doesn't have nunit3 installed. Can someone please verify the nunit3-console command in the script is still correct?

Hi, you can check what tools and versions are on the VMs here.