[release-1.9] Manually cherrypick Add SSA detecting method

This is an manually cherry-pick of https://github.com/istio/istio/pull/32252

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio_release-1.9
bcd683c737e8a45a02c634ecaf9e3cf78f924081
link
/test release-notes_istio_release-1.9

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 release-notes_istio_release-1.9

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio_release-1.9
bcd683c737e8a45a02c634ecaf9e3cf78f924081
link
/test integ-security-multicluster-tests_istio_release-1.9

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.

/retest

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio_release-1.9
bcd683c737e8a45a02c634ecaf9e3cf78f924081
link
/test integ-security-multicluster-tests_istio_release-1.9

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.

/retest

@kebe7jun: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio_release-1.9
bcd683c737e8a45a02c634ecaf9e3cf78f924081
link
/test integ-security-multicluster-tests_istio_release-1.9

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.

/retest


progress indicator out of max value

I think you do it well, I really like it. but there are some issues.

when speed > max value
min or max value with fractionDigits not very nice
optinal: maybe  it's pretty nice that activeGaugeColor could have gradient color

about issue two: I think it's much better that  minMaxValue  has another fractionDigits ,like minMaxValuefractionDigits ...

Thanks @ershat-dl for reporting this issue. I have added option for activeColorGradinent and limit speed to maxSpeed .

Thanks


Missing file: 12_monument_valley.pfm doesn't exist in http://www.pauldebevec.com/Probes/

On http://www.ospray.org/demos.html San-Miguel demo refers to lightProbes/12_monument_valley.pfm which isn't in all_probes.tar.gz mentioned in http://www.pauldebevec.com/Probes/
Please replace the link with one that contains the file.

Hi, thanks for letting us know about that, I will update the instructions.  Any pfm light image from all probes should work pretty well.

Updated website


Notify user when exceeding the max rows import limits

In some cases imports are limited to x max rows (1M depending on config) and if the source has more (say 2M for instance), the import is capped to max rows and the user does not get feedback about it.
This may affect generically DB connectors, and specifically the BQ connector.
Provide some feedback about max rows exceeded in the API.

The easy way to do this would be to put a warning "rows limit reached" whenever the result has exactly the max. number of rows. Actually checking if the query/dataset is bigger (and what size) would be costly. (We are just adding a LIMIT into the SQL queries)


CloudFlare DNS Validation with a .qc.ca domain not working

My domain register in CloudFlare is ville.saint-sauveur.qc.ca.  This is the domain we have, we dont own saint-sauveur.qc.ca.
When I try to create a certificate for remote.ville.saint-sauveur.qc.ca with Cloud Flare API key I get the error listed bellow.  The Win-Acme client try to contact the zone saint-sauveur.qc.ca.
I can create a certificat using option 7 (manal with TXT record) but there is someting wrong with option 6 (API).  I already recreate the API key twice.  With all my other regular domain ex : vss.ca everything work fine.
This is a case figure that might be pretty rare, maybe nobody never report this to you...  Can you help?

It has been my understanding that you can only host top-level zones at Cloudflare. The plugin is also built to assume that.
Have they changed something now to also support zones for subdomains?

My domain ville.saint-sauveur.qc.ca is my "top level domain"  I know it sound weird but this is my top domain.  Let see if someone have a work around for this....

It may be your top domain but it's not the top domain according to the public suffix list (https://publicsuffix.org/), so that's why the plugin doesn't find it. This means that the code for the win-acme plugin will need to be modified to support this scenario. It shouldn't be too difficult to make that change because similar logic exists for other DNS providers. But you won't get it to work with the current version for sure.
What you might to work around this is to create a CNAME at Cloudflare for acme-challenge.remote.ville.saint-sauveur.qc.ca record and point that to another domain which is not at Cloudflare. Or use the "manual" DNS validation plugin to enter the challenge answer yourself.

I've pushed a fix for this in this build: https://ci.appveyor.com/project/WouterTinus/win-acme-s8t9q/builds/40009006/artifacts
Please report back if that build resolves your problem!

Released in v2.1.19


one proposal to fix #884 Append scope to function name

let's have a discuss. I would add more test for checking parameter part later

those new test case has showed the updated failure report, such as
+TEST(MockCallTest, expectOneCallInScopeButNotHappen)
 +{
 +
 +    MockFailureReporterInstaller failureReporterInstaller;
 +
 +    MockExpectedCallsListForTest expectations;
 +    expectations.addFunction("scope::foobar");
 +    MockExpectedCallsDidntHappenFailure expectedFailure(mockFailureTest(), expectations);
 +
 +    mock("scope").expectOneCall("foobar");
 +    mock().checkExpectations();
 +
 +    CHECK_EXPECTED_MOCK_FAILURE(expectedFailure);
 +
 +}

but here is more clear picture:
test/ScopeTest.cpp:37: error: Failure in TEST(ScopeTest, typoScope)
    Mock Failure: Unexpected call to function: scope::fn
    EXPECTED calls that did NOT happen:
        <none>
    ACTUAL calls that did happen (in call order):
        <none>

test/ScopeTest.cpp:31: error: Failure in TEST(ScopeTest, withScope)
    Mock Failure: Unexpected parameter value to parameter "i" to function "scope::fn": <4>
    EXPECTED calls that DID NOT happen related to function: scope::fn
        scope::fn -> int i: <3>
    ACTUAL calls that DID happen related to function: scope::fn
        <none>
    ACTUAL unexpected parameter passed to function: scope::fn
        int i: <4>

test/ScopeTest.cpp:25: error: Failure in TEST(ScopeTest, noScope)
    Mock Failure: Unexpected parameter value to parameter "i" to function "fn": <4>
    EXPECTED calls that DID NOT happen related to function: fn
        fn -> int i: <3>
    ACTUAL calls that DID happen related to function: fn
        <none>
    ACTUAL unexpected parameter passed to function: fn
        int i: <4>

Hmm, yeah I liked the name version more so there is no dynamic memory allocations for it. However, it would need to use the name also in places where it was earlier used. Let me check the previous version again to be more specific.

Uhm, the other ones isn't open anymore?

this PR can be restored to previous version, or do you prefer to open another PR then we can compare both at the same time?

I don't know about @basvodde but me, I'd like to another PR better :-)

Another PR to compare would be best.


Servers aren't shutting down with CTRL+C

Is this a bug report?
Yes
Have you read the Contributing Guidelines on issues?
Yes
Environment
(Docusaurus version via npm outdated docusaurus or yarn outdated docusaurus, OS, Node, npm, yarn)
Steps to Reproduce

(Write your steps here:)

Run npm start inside the "website" directory of your project
Press CTRL+C
Run npm start again several times.
It will say:

Port 3000 is in use
Port 3001 is in use
Port 3002 is in use ... etc.

And also say:

You already have a server listening on 35729
You should stop it and try again.

Expected Behavior

I thought it would just shut down the server.
Actual Behavior

It looks like all of the servers are still running, then it throws this error:

Request failed: { Error: connect ECONNREFUSED <IP_ADDRESS>:80
    at Object._errnoException (util.js:1024:11)
    at _exceptionWithHostPort (util.js:1046:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1182:14)
  code: 'ECONNREFUSED',
  errno: 'ECONNREFUSED',
  syscall: 'connect',
  address: '<IP_ADDRESS>',
  port: 80 }

Reproducible Demo
https://github.com/nebrelbug/squirrelly-website

Seems like a bug indeed. I narrowed down the issue to the baseUrl. Basically any baseUrl that's not / will cause the error. To unblock yourself now, you could use / for the baseUrl value now.
@endiliey any ideas?

Thank you both! Sorry that I didn't realize it was because of the baseURL. Should I download the new version tomorrow then?

I can now view the pages, but it still looks like the servers aren't shutting down. After a bit of Googling, it looks like it may just be a problem with Git Bash though.

I have yet to release 1.3.2. Will do it tonight 🌞

I have yet to release 1.3.2. Will do it tonight and let you know when I do 🌞

@nebrelbug v1.3.2 has been released.

Thanks! Finally got everything to work :)


Release Metafacture core 5.5.0

Follows up #470.
Next release following metafacture-core-5.4.0. Current HEAD at 8a3e6057f6add5b56955dd7a69992e7799311e4d.

[x] test release candidate
[ ] release on maven central
[x] release on github
[ ] write blog post
[ ] write to email list

Enables https://github.com/metafacture/metafacture-fix/issues/286.

:+1: Ran both Metafix and Limetrans tests with 5.5.0 RC1. :heavy_check_mark:

Ran with lobid-resources.  :heavy_check_mark:

Github release ready, please have a look at the description https://github.com/metafacture/metafacture-core/releases/tag/metafacture-core-5.5.0 if anything is missing etc. This will be the base for the blog post.

:+1: (Minor nitpicks: Why io instead of IO? Why mixed lower and upper case after colon?)

IO is great - fixed that :+1:

All done. Closing.


Update reference range comparator.

Addresses https://github.com/fhir-crucible/crucible/issues/298#issuecomment-479505619


Implement Htmlable to allow use of escaped Blade tags ({{ $var }})

Allows users to use {{ Notification::all() }} instead of having to manually call toHTML() and output using unescaped Blade tags. ({!! Notification::all()->toHTML() !!})
This, unfortunately, increases the dependency of illuminate/support to a minimum of 5.1.3, since that is when Htmlable was added. (https://github.com/laravel/framework/pull/9271)
There is also now a cap on the dependency to <5.3 just in case they change Htmlable with the 5.3 release.
(P.S.: This is my last PR today, I promise! Unless there is some kind of error with this, then I'll PR a fix.)

Thank you for your PR.
Do you mind also to update the documentation?

Not at all! Will do so now. Do you want me to do the Russian documentation as well, or will you handle that?

I can handle it.
Also please be sure to pull from master.
I made some updates.

I tried to rebase my branch on master, but I couldn't push the changes without a force push (which I'm not sure what would have happened with the PR then), so I ran a normal fetch + merge.
I've changed the installation instructions as well as update the render docs.

Thank you. Merged.

Not a problem, thank you. :)


Dead links in README.md

There are two dead links at the very bottom of README.md

For detailed configuration check x64 libmpv_build_config and x86 libmpv_build_config respectively.

Fixed.
Updated libmpv to 0.33.1 and added the build_config files for both platforms respectively.


go get error

I tried to install with go get but I got an error.
$ docker run --rm -it golang bash
# go get -u github.com/forensicanalysis/artifactcollector
package github.com/pierrec/lz4/v3: cannot find package "github.com/pierrec/lz4/v3" in any of:
	/usr/local/go/src/github.com/pierrec/lz4/v3 (from $GOROOT)
	/go/src/github.com/pierrec/lz4/v3 (from $GOPATH)

I see you're running quite old version modules.

Thanks for the issue.
Interesting error, as the following is working:
git clone https://github.com/forensicanalysis/artifactcollector
cd artifactcollector
go build .

go build appears to work correctly.
However, when I tried to output windows binaries, I got the following error:
2020/02/25 10:43:32 run.go:259: Start to collect forensic artifacts. This might take a while.
2020/02/25 10:43:32 jsonlite.go:129: Store does not exist MyPC-01_2020-02-25T10-43-32.forensicstore\item.db

Cross compilation is complicated, as CGO is used in the sqlite package. You need a cross compiler e.g. mingw. Then set the CGO_ENABLED=1 and CC=i686-w64-mingw32-gcc as well.

windows 32bit
CGO_ENABLED=1 CC=i686-w64-mingw32-gcc GOOS=windows GOARCH=386 go build .

windows 64bit
CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc GOOS=windows GOARCH=amd64 go build .


feat: create shoutout & shoutout eventsubs

add new shoutout create api endpoint
add new shoutout create and receive eventsub data

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 93.056%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
1434

Relevant Lines:
1541

💛  - Coveralls


Allow multiple fields of type embeddedset or embeddedlist in lucene index

Feature Request:
In a regular (compound) index, only one of the fields can be an embeddedset. This is also true for lucene index. However, for lucene indices, there is no reason to limit it to just one such field as all fields are internally mapped to text.

@Ziink
How would you map a embedded set in a lucene index?

If Issue 55 is fixed by converting the entire field into text (using toString() for example) at the time of indexing, then implementing this becomes dead simple. It would be similar to date or long fields in the sense that it would require a little preprocessing to convert it to text at indexing time.

@Ziink is not really that simple.
because you are indexing a list into a single field. Some query could not be possible in this way.
Could be configurable but the main problem is that the index engine of ODB does not call lucene plugin with the entire embedded set. But call it n time where n is the number of the number of the elements in the set

And also if you remove in item from the set, ODB calls the plugin with the removed item.
So the plugin cannot retrieve the lucene document from that single item

I gathered that ODB was calling lucene once for each value in the set. That behavior might not be the right default for a pluggable index engine. At the minimum it should be configurable if the default is not changed.
Could you point some query that would not be possible?
Can't comment about removed items from sets since I don't know anything about ODB internals. However, since lucene reindexes a document anyway if it changes, that shouldn't be an issue.

@Ziink
for query yes sorry a toString of the set would be enough :D
For the rest i will look at the Index architecture if i can make it support this kind of indexing

This issue was moved to orientechnologies/orientdb#5194


⚠ Bofrost.de has degraded performance

In 2db8549, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 896 ms

Resolved: Bofrost.de performance has improved in 997d9aa after 6 minutes.


Add support for go-nerve's labels

go-nerve is a rewrite of AirBnB's nerve for service discovery.
https://github.com/blablacar/go-nerve
You can add tags in the discovery process, that can be used for relabeling.
This is useful for SD to be able to push tags directly to prometheus.
This commit is backwards compatible with the original Nerve without the labels feature.

Thanks. I actually like this as a backward-compatible addition to the original nerve. The only issue I see is that this a new rewrite and hence has little adoption. As we are in 1.x, adding this means we cannot remove it.
What if another company decides to do a nerve rewrite using a different JSON key for a similar feature or AirBnB extends the original one?

If Nerve ever supports labels, please let us know.


Sequence number rotation does not work correctly for SRTP H26x

I get some weird behavior with HEVC, and I've traced it to the sequence number rotation with FU division. In my case, the last sequence number was in the last FU of the frame.

I'm relatively sure that encryption needs to be enabled to replicate this bug.

There is code related to sequence number rotation in SRTP. I would assume the bug is there.

I managed to solve this. Pushing a fix together with a fix for #15.

Fixed by 40076b36dbe946ddd8006d96ae29e2a9e2444dae


Capability Sectioning Touches

Removed administrative section because it does not exist and added a capabilityRelationships section @kgrgreer @noodlemoodle @TW80000 @jlhughes

reverted
On Wed, 8 Jan 2020 at 09:33, Troy Wolters<EMAIL_ADDRESS>wrote:

@TW80000 commented on this pull request.
In src/foam/nanos/crunch/Capability.js
https://github.com/foam-framework/foam2/pull/2942#discussion_r364260062:

@@ -197,9 +201,6 @@ foam.RELATIONSHIP({
cardinality: ':',
forwardName: 'capabilities',
inverseName: 'users',

sourceProperty: {
section: 'administrative'

This was a section on User, not Capability. Please revert.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/foam-framework/foam2/pull/2942?email_source=notifications&email_token=ABY5PM3XS34B6CAIKQOTBALQ4XP35A5CNFSM4KECTZE2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCRBH5KQ#pullrequestreview-339902122,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABY5PMZZS7P75GSGNDFN6ZLQ4XP35ANCNFSM4KECTZEQ
.


Router address doesn't allow long address

The hostname allows for a lot of characters, but the address field only allows for a few (by the look of it an IPv4 address). It doesn't allow for a router hostname or a IPv6 address.

The "address" field was supposed to work with IP address and hostnames.
I forgot to change the model field size. It's done now. Thank you for pointing it out.
I also added the upgrade instructions to the readme file. :)
Thank you!

I had a look at the upgrade instructions, but it's unclear how to do a pg_dump given that the postgres app is in a container. You might want to elaborate on that bit.

@craigmcfly I've updated the README to include the pg_dump command. ;)


ScottPlot 5: Basic pie chart

WpfPlot.Plot.AddPie(new PieSlice[]
{
    new() { Value = 6, Fill = new() { Color = Colors.Red } },
    new() { Value = 4, Fill = new() { Color = Colors.Blue } },
    new() { Value = 3, Fill = new() { Color = Colors.Green } },
    new() { Value = 1, Fill = new() { Color = Colors.DarkCyan } },
});

The things in the API that felt I was missing (that I haven't added) were the following:

axis.PxPerUnit, I used some GetPixel math instead because I don't know how you want that to look
GetNextColor, I wanted to have a Plot.AddPie(IList<double> values), but picking the next colour isn't there yet
HatchStyle, this is a fair bit of work in SkiaSharp it seems
Legends. Pie charts are a little annoying to label so I was tempted to just dump it in a legend, but those don't exist yet

I also went back and forth on moving axis validation and clipping code into PlottableBase.Render but decided against it because not all plottables actually rely on their axes (such as DebugBenchmark). Perhaps it's worth distinguishing between plottables and renderables?

Plottables.PieSlice[] slices =
{
    new(6, Colors.Red),
    new(4, Colors.Blue),
    new(3, Colors.Green),
    new(1, Colors.DarkCyan),
};

plt.AddPie(slices);

PxPerUnit

axis validation and clipping code

Let's put these topics down for now but pick them up later.
I'm going to to start working a lot on the render loop, so this is in flux.

GetNextColor

#2009 will help here 🚀


Expose provision server images in baremetal set

This change is proposed so that a custom osContainerImageUrl can be provided in the dataplane spec. This makes it possible to deploy a modified image for purposes including hotfixes and custom hardware.
Other container images are also exposed for completeness.

/lgtm


Jonmv/zk 3.9.1 clients 2

This is a variant of #29552 where we depend on our modified zookeeper-server instead of the raw ZK artefact, to avoid having to patch it in multiple places. I think this is better.

@hmusum please review. @baldersheim @bjorncs FYI.

The changes, summarised, are:

Depend on modified zookeeper-server-3.9.1 etc. in the client setup (zkfacade, zookeeper-command-line-client), instead of the raw ZK artefact, so we have a single place we modify that.
Get zookeeper-client-common through zkfacade for clustercontroller-core, to avoid false imports of code referenced by our modified ZK (specifically, netty packages).
Modify ClientX509Util to directly use the Vespa custom TLS setup, instead of using the auth provider indirection, which wasn't intended for clients anyway.


Fix comment builder structure

The comment Builder classes currently break the expected immutability pattern. That is, Builder setFoo() should not alter the class, but return a newly-constructed Builder object with the desired changes applied.
@xiaozhenliu-gg5 FYI

Vadym, can you triage this and assign this to someone in cloud java - seems like a good starter task to ramp up. Thanks!

@miraleung If you still need this issue, please reopen this. I'm cleaning up old tickets.
[JavaDocComment.java](https://github.com/googleapis/gapic-generator-java/blob/d13d3c381bb64e1833cbc443a12781084e89494b/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/JavaDocComment.java and LineComment.java use AutoValue.Builder for their builder classes. It should follow the Google standard immutability.


Update i_have_no_idea_what_im_doing_help.md

This is my edit with the student discount added.

Thanks for doing this! Could you fix these few things:

The first "github" isn't capitalized like the rest
Add a link to the Git/GitHub guide in the "What is GitHub?" section
Add a link to the page for the GitHub Student Pack

Added more stuff, hope you like it!

Thanks for your contribution!


Dubbo 2.5.4 dev

1/ MERGE dubbox bug fix
2/ UPGRADE zkclient to 0.4 and curator to 2.8
3/ FIX "WeakHashMap 导致 一次gc泄露8个字节" by_shenjianlin<EMAIL_ADDRESS>4/ FIX AllDispatcher在请求积压时会丢消息导致客户端超时，而MessageOnlyDispatcher会立即给客户端响应
5/ FIX graceful shutdown work well

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


Update free-courses-en.md

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource
For resources
Description
This is a beginners course on network penstesting
Why is this valuable (or not)?
It's very easy to follow and the instructor explains everything very clearly.
How do we know it's really free?
The videos can be watched on the site itself without creating an account, but they can also be viewed on Youtube
For book lists, is it a book? For course lists, is it a course? etc.
It is a course
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

This still includes your commit from https://github.com/EbookFoundation/free-programming-books/pull/4743 which you closed earlier also, if this was unintentional, it may be worth removing.

Thanks, and welcome to free-programming-books!


Assignment 3

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Submission of Assignment-3
What did you learn from the changes you have made?
Model validation
hyperparameters tuning
evaluation of model
model selection
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
use of functions to avoid repeated tasks
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
pipeline built was fine but fitting was generated alot of errors, ultimately was able to figure out the solution.
Still issue with the model assessment, generating nan in the score.
How were these changes tested?
Testing was performed by fitting individual transformation or pipeline
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

@ananyajha2000  Thanks for reviewing the work. I reworked on the identified issues and fixed all.
Please have a look and let me know if there is anything that need further attention.
Thanks

A3 marked complete

Thanks @ananyajha2000 for marking the assignment.
Can you please also mark my Assignment-1. I can see it is still not marked.
Thanks
https://github.com/Shiraz-Latif/scaling_to_production/pull/1


fix: expose EntryPlugin creation

fix #11634

Thanks @sokra, I will take care the test case

I do not know how to get them all green


Wrong / inconsistent standard deviations in NormalizerStandardize

Fitting a DataSet gives a bias corrected std while fitting an iterator gives a non bias corrected std. Furthermore, iterators that don't produce equally sized chunks, even for 2D cases, give totally whack stds.
     @Test
    public void testDifferentBatchSizes() {
        // Create 6x1 matrix of the numbers 1 through 6
        INDArray values = Nd4j.linspace(1, 6, 6).transpose();

        DataSet dataSet = new DataSet(values, values);
        NormalizerStandardize norm1 = new NormalizerStandardize();
        norm1.fit(dataSet);
        assertEquals(3.5f, norm1.getMean().getFloat(0), 1e-6);
        assertEquals(1.8708387f, norm1.getStd().getFloat(0), 1e-6); // <-- bias corrected

        DataSetIterator testIter1 = new TestDataSetIterator(dataSet, 3); // Will yield 2 batches of 3 rows
        NormalizerStandardize norm2 = new NormalizerStandardize();
        norm2.fit(testIter1);
        assertEquals(3.5f, norm2.getMean().getFloat(0), 1e-6);
        assertEquals(1.7078355f, norm2.getStd().getFloat(0), 1e-6); // <-- not bias corrected

        DataSetIterator testIter2 = new TestDataSetIterator(dataSet, 4); // Will yield batch of 4 and batch of 2 rows
        NormalizerStandardize norm3 = new NormalizerStandardize();
        norm3.fit(testIter2);
        assertEquals(3.5f, norm3.getMean().getFloat(0), 1e-6);
        assertEquals(1.5433291f, norm3.getStd().getFloat(0), 1e-6); // <-- What's this? Not even close.
    }

As a side note, I found this while implementing a normalizer for MultiDataSet. A WIP pull request can be found at https://github.com/deeplearning4j/nd4j/pull/1406. I changed the offending code to an iterative implementation that's probably not fast enough but at least produced correct (non bias corrected) stds. This is a 1-on-1 implementation of https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Online_algorithm, and I have my doubts if this algorithm can be correctly implemented in vectorized way...

@EdeMeijer Why is it surprising that the results are whacky for a dataset of size 6? The iterator is meant to be used with larger datasets and it is an approximation for datasets that can't be held in memory.

I would be curious how precision affects this. Have you tried setting the data type to double?

https://github.com/deeplearning4j/nd4j/blob/530e63a4b1f726e618174a7d7c5dff4aa36d71dc/nd4j-backends/nd4j-tests/src/test/java/org/nd4j/linalg/dataset/NormalizerStandardizeTest.java#L36
Test with a larger dataset

@eraly if it's an approximation, it's fine. I just noticed these deviations while testing with a tiny data set. For normalization purposes, naturally a good approximation of the mean and std will do just fine.
However, I don't quite agree that six data points cannot give a correct answer with an online algorithm. The online algorithm from Wikipedia gets this example right (I tried), and the difference is that that one processes incoming values one at a time (and can update a counter and running mean for every value). In fact, the implementation in NormalizerStandardize also gets is right as long as the batches are of equal length. However, as it process whole chunks of values at once, it becomes an approximation as soon as batch sizes are different. I get that (it's more efficient), but I just thought it might be worth having a look at.
At any rate, fit(DataSetIterator iterator) is not bias corrected, so we could at least make the fit(DataSet dataSet) version also non bias corrected for consistency :)
@agibsonccc I tried doubles, but that doesn't change anything. It's really an implementation detail, not a precision problem.

In my PR https://github.com/deeplearning4j/nd4j/pull/1406 I redid the running mean/std implementation based on https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance#Parallel_algorithm. This version does seem to deal correctly with varying batch sizes, while still processing whole batches in one go.

@EdeMeijer
The online algorithm  is a special case of the parallel algorithm that can handle partitions n of any size. If you are going to implement it for multidataset make sure you are accounting for it's numerical stability. Closing it out.


Fix error in PregMatchTypeSpecifyingExtension

should fix a crash in when running on the composer project, as discussed in https://github.com/composer/pcre/pull/27#issuecomment-2223089169

btw: I just saw errors in composer repo beeing reported in
https://github.com/composer/composer/blob/07aee7ea8e1ab691c14bfe4258f826a8aae95ed3/src/Composer/Util/Git.php#L408
comparisons are a known problem: https://github.com/phpstan/phpstan/issues/11293

turn if (Preg::match('{^\s*HEAD branch:\s(.+)\s*$}m', $line, $matches) > 0) { into if (Preg::isMatch('{^\s*HEAD branch:\s(.+)\s*$}m', $line, $matches)) { and it should work

Thanks, this is awesome already :)
And with phpstan 1.11.x-dev gets even better. As a frequent regex user I absolutely love this :D
Yeah a few places weren't migrated to isMatch but they really ought to IMO.
I've checked and indeed it seems like with all fixes in, isMatchStrictGroups isn't really needed anymore.. However I kinda like it as it still does runtime enforcement, but what I think would be even cooler is if we can detect with PHPStan that the regex contains optional groups.. and error because isMatchStrictGroups is not safe and might throw.

but what I think would be even cooler is if we can detect with PHPStan that the regex contains optional groups.. and error because isMatchStrictGroups is not safe and might throw.

the array-shape-matcher already detects optional groups.
if you can bring up examples of what you want todo I can look into it

Yeah I realize it does it already, that's why I think it might be fairly simple to detect when strict-group functions have a shape that has nullable groups, then it'll possibly throw, and the regex needs adjusting. I'll open a PR with tests.


Update github-dark.css

What's fixed:

Fixes branch name background color
Fixes the Discover repositories tab hover
Fixes the "bot" label

Screenshots:

@cquanu can you please have a look at my PR?

I'm no more using this version so I'm closing my PR.


Use rummager endpoint instead of search

Search is being deprecated as we move towards having vhosts matching application names.
The readme for gds-api-adapters suggests using Plek.new.find('rummager') when creating Rummager adapters, so the tests should support that case.
This will break tests for any applications who currently call Plek.new.find('search') when creating Rummager adapters. They will need to update their applications to use the rummager endpoint instead.

Can you add the change to the Unreleased section of the Changelog.md please?

@Davidslv Done!

Thanks.
I'm afraid you had to rebase, and can you also add that is not backwards compatible please?
It's easier for the person who will bump the gem version to have that information to know what will be the next one.

Happy with this changelog entry?


Can't connect to frontend via LAN

I've noticed that the while the project installs and runs perfectly via the public URL, I can't access it from my local network.
If this is intended behavior, it's pretty surprising to a newcomer like myself-- I'd add a note in the documentation.

Nevermind-- Seemed to be an issue with my network configuration.


empty named entry in parameter list is deleted

When a parameter_list contains a empty named entry it is deleted by snakefmt upon formatting if there are other entries. Somewhat related to #104.
rule foo:
    input:
        bar="fileA.data",
        baz=

is formatted to
rule foo:
    input:
        bar="fileA.data",

But if the bar entry wasn't there the same error is raised as in #104.
This is not a really big issue, although it produces some unexpected results if you have Visual Studio Code setup to autoformat on save and a save is triggered (in my case because of an autosave on context change). I understand empty lines are deleted, but I think this should be a grammar error instead of simply deleting the line.

Thanks for spotting @Hugovdberg , I agree an error should be raised here


Initial commit,

Do some UI changes.

After hovering..

was this issue assigned to you? if yes, link the issue number with the PR.

Nope, it was not.


Cypress tests for Demo Page

[Confusion as to what option to go forward with]

What is the current behavior?
cy.get() identifies the elements for the hrefs via the css classes. An example from the codebase is shown below:

			cy.get( ':nth-child(' + index + ') > .wmf-wp-with-preview' )

However the above style is not the best practice according to Cypress Best Practises

What is the best practice?
The best practice involves having a cypress data identifier in the html code. An example has been shown below:

<button
  id="main"
  class="btn btn-large"
  name="submission"
  role="button"
  data-cy="submit"
>
  Submit
</button>

What is the dilemma am facing?
Currently, I am not following the best practice, but our css classes wmf-wp-with-preview' are well defined and will only be associated with the Wikipedia blog hrefs. So, they might not be the worst cases for us.
Another point is that following the Cypress recommended practice might result in the change of the HTML code format across several files.

@und3fined-v01d @jpita @vidhi-mody
Let me know as to what method is the ideal approach for us for the current demo page as I will be following those methods on the other tests

[Implemented tests for /articles/english.html]

Integrated the mobile and desktop tests with just a simple viewport check
an array where you can define all the devices you want to test the page in

What's next:

Since I already have Proof of Concept for other languages as well, I will be writing tests for the index page now

[Implemented tests for /index.html]

Integrated the mobile and desktop tests with just a simple viewport check
An array has been defined in cypress.json. Define all the devices you want to test the pages in at just one place.
Implemented tests that check each article's header, preview text, image, language, CSS that is displayed on index.html page.

What's next:

Will be working on expanding to other languages following the en.spec.js structure

[Implemented tests for arabic, hindi, and, thai pages]

The methodology used here is same as the one used for the english page.

What's next:

I will be working on the cross-browser testing feature now.

[CircleCI has been integrated]
A workflow is added in the current .yml file to test for the cypress tets
What's next:

Cross-browser testing will be implemented.

[Cross Browser Testing has been integrated with CircleCI]


feat: add nest adapter

PoC: Adds support for nest js express adapter.

It just overrides some methods of the original @nestjs/platform-express.
The question is whether it should be published as separate packages or kept within ultimate-express...

Mhh I think it's better publish as separate package. @dimdenGD what do you things? There are so many meta framework based on express...

@ismoiliy98 why not as a new package into https://github.com/nestjs/nest/tree/master/packages ?

Out of scope, it should be a separate package.

This is also discussed on NestJS here https://github.com/nestjs/nest/issues/14075 and has a PR here https://github.com/nestjs/nest/pull/14120


feat: gRPC-based backends

Description
This PR is a multi-fold PR:

Fixes the falcon backend. It uses now https://github.com/cmp-nct/ggllm.cpp
Get rids of hacks to workaround duplicate symbols due to libraries using different versions of ggml

Converts the backends to gRPC services

Various refactors. merges back an old branch I had laying around to refactor and break down the packages. I couldn't get at it before due to other compilation issues that now seems went away
Adds tests for

token stream
stablediffusion
tts
functions

Coverage now is quite good - we just miss testing the backends 1:1. We do test however already: openllama, rwkv and gpt4all
Notes for Reviewers
Moving to gRPC increase code complexity but overall minimize maintenance. The hacks needed to compile all in a single-fat binary are now gone, and if a backend crashes doesn't crash the main process (which will attempt to recover the grpc service automatically).
Downsides are that the resulting binary is bigger and starting internal services is a bit convoluted.
The gain is notable despite the cons, as now we are free to have also different versions of the same backend with quite some ease. We can, also now, support multiple requests in parallel by allocating more services per model, but this can be done on a following batch
Signed commits

[ ] Yes, I signed my commits.

been playing with this here. going to merge this and run few rounds of tests and fix things on master if necessary with follow-ups

@mudler This is a great change -> I don't see a good example of how to use the new grpc-based models. Can you point me in the right direction to run falcon7b via grpc?


Replaced json with orjson for large size loads

Description
This is based off #658 which proposes to switch to orjson in place of the standard json library, for deserialising values that might be large. This switch should offer a significant cut in loading times, without introducing any code complexity.
Changes Made

Replaced json.loads calls with orjson.loads where deemed appropriate. This replacement has not been done on low-impact calls that deserialise small objects.

Notes

We should probably use orjson when introducing any new features/fixes that involving deserialising of large objects.

Closes

[x] Closes #658

Awesome stuff! Note my 2 review comments before merging, but broadly supportive of this change. I was going to suggest looking at replacing it for Pydantic (I don't actually know which version we use), but looks like there is some ongoing discussion here: pydantic/pydantic#6388
So maybe best to leave that for now.

I'm in this rabbit hole now since the discussion leads to mgspec which reports to be even quicker than orjson as per their benchmarks. I'll hold off on merging this PR until I've done some more tests to see what the better option is I think. I see Pydantic are also having discussions with the creator of mgspec so there's a good chance they may borrow from that library instead. Thoughts?

I don't feel well versed with the different python libraries, looks like the conversation is pretty fresh so happy to wait - (what version of Pydanctic do we use?)

I don't feel well versed with the different python libraries, looks like the conversation is pretty fresh so happy to wait - (what version of Pydanctic do we use?)

Believe fastapi==0.85.1 and pydantic==1.10.13 from circa 2022. Current versions are fastapi==0.109.0 and pydantic==2.5.3

Awesome, I tried to bump our fastapi, but there's an issue with the openapi version and the generator we use #643 (I think this issue has more commentary).
Is this PR good to merge if we don't want to touch that side?

Awesome, I tried to bump our fastapi, but there's an issue with the openapi version and the generator we use #643 (I think this issue has more commentary).
Is this PR good to merge if we don't want to touch that side?

I think this should be good to merge for now. mgspec is still relatively new so maybe it's something to be looked at again in the future :)


Coreference resolution

Coreference Resolution using neural coreference.

Currently confused about these things
How should we store the resolved sentences, do we store them in a dictionary and add it to the Book class so the corefs are with the book itself or create a new class?
Should we process it file by file or separate the book into chapters and then process it chapter wise. To process it chapter-wise we might have to get the chapter thing working?
Also, do we store the doc/clusters with the resolved file. Should we store them in addition to the doc so it's easier to access or should we just store doc, but then accessing them would be like coreferce_mapping_for_each_pdf.doc._.coref_clusters which looks slightly complicated?

These questions make little sense to me. Can we please rewrite into more elaborate versions?

Fix spelling of requirements.txt in this PR please. And please don't use me as your spell checker?

Fix spelling of requirements.txt in this PR please. And please don't use me as your spell checker?

Fix spelling of requirements.txt in this PR please. And please don't use me as your spell checker?

Never mind. I did this.

Fix spelling of requirements.txt in this PR please. And please don't use me as your spell checker?

Never mind. I did this.

Fix spelling of requirements.txt in this PR please. And please don't use me as your spell checker?

Never mind. I did this.

Fix spelling of requirements.txt in this PR please. And please don't use me as your spell checker?

Never mind. I did this.

HELP with what. Be specific?

HELP with what. Be specific?

https://github.com/NirantK/projectnoor/pull/8#issuecomment-763527392
Git was messing with me. It's fine now. It's fine. fine.

https://github.com/NirantK/projectnoor/pull/8#issuecomment-763527392
Git was messing with me. It's fine now. It's fine. fine.

@NirantK What are the changes expected in this PR?

Is this ready for a review? If yes, mark it so -- and remove from draft?


VS Code Jsonnet Preview failed

local params = std.extVar("__ksonnet/params").components["teamcity-server-instance"];
local k = import "k.libsonnet";
local deployment = k.apps.v1beta1.deployment;
local container = k.apps.v1beta1.deployment.mixin.spec.template.spec.containersType;
local containerPort = container.portsType;
local service = k.core.v1.service;
local servicePort = k.core.v1.service.mixin.spec.portsType;

local targetPort = params.containerPort;
local nodePort = params.nodePort;
local labels = {app: params.name};

VS Code Jsonnet Preview:
RUNTIME ERROR: Undefined external variable: __ksonnet/params
	/Users/liaogang/Desktop/Anonym/CI/teamcity/components/teamcity-server-instance.jsonnet:1:16-45	thunk
	/Users/liaogang/Desktop/Anonym/CI/teamcity/components/teamcity-server-instance.jsonnet:15:5-10	thunk
	/Users/liaogang/ksonnet-lib/ksonnet.beta.3/k8s.libsonnet:8747:87-90	thunk
	/Users/liaogang/ksonnet-lib/ksonnet.beta.3/k8s.libsonnet:8820:60-63	object
	/Users/liaogang/ksonnet-lib/ksonnet.beta.3/k8s.libsonnet:8751:47-67	object
	/Users/liaogang/Desktop/Anonym/CI/teamcity/components/teamcity-server-instance.jsonnet:31:21-30	thunk
	/Users/liaogang/ksonnet-lib/ksonnet.beta.3/k.libsonnet:60:59-73	object
	During manifestation

still failing for me as well

There is a fix for it, and we are working with Microsoft to fix publishing for the jsonnet plugin. Will update here when it is resolved.

This has been updated and the functionality is present is the jsonnet 0.1.0 extension.

I still have the error, even if jsonnet plugin is up to date (0.1.0).

@yanc0 I noticed that Cmd+Shift+I under environments folder does error out like you say. However, it works when any individual component file is open.
I also get squiggles on std.extVar("__ksonnet/params") calls under *.(jsonnet|libsonnet) files under the environment folder. However, under components folder, the plugin is ok with those extVars.
@bryanl thoughts?


Capabilities

I recently came across a system with misconfigured capabilities. It would be neat to them added as well.
# print current capabilities
capsh --print

# print capabilities for files
getcap -r / 2>/dev/null

Code added by https://github.com/SaeedHashem and now merged. Thanks for the contribution, nice ideas.


Regression after handling ^C in bst shell

See original issue on GitLab
In GitLab by [Gitlab user @tristanvb] on Oct 22, 2017, 10:16
This is a regression from merging !106
When subprocess.poll() is called after a process has already been reaped with os.waitpid(), the subprocess module will complain and return 255, and will mess with stdout by logging something like:

Unknown child process pid 30015, will report returncode 255

This is happening due to calling os.waitpid() more than once on an exited process which has already been reaped; subprocess.poll() will also call it.
This is my fault for being in a hurry to merge this, sorry.
So, to fix this, I think we'd better live with subprocess's API and consider < 0 a signaled death

In GitLab by [Gitlab user @tlater] on Oct 23, 2017, 10:57
created branch 125-regression-after-handling-c-in-bst-shell

In GitLab by [Gitlab user @tristanvb] on Oct 23, 2017, 11:18
This seems to be a duplicate of #107, and possibly not introduced by ^C handling in sandboxes.

In GitLab by [Gitlab user @tristanvb] on Oct 23, 2017, 11:18
closed


PackagesNotFoundError while building environment

Hello, thanks for your interesting work. I tried to run Word2World but stuck in building conda environment.
When I run conda env create -f environment.yml , the errors below were reported:

Channels:

defaults
nodefaults
conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

zlib==1.2.13=h8cc25b3_0
xz==5.4.2=h8cc25b3_0
wheel==0.41.2=py310haa95532_0
vs2015_runtime==14.27.29016=h5e58377_2
vc==14.2=h21ff451_1
tk==8.6.12=h2bbff1b_0
sqlite==3.41.2=h2bbff1b_0
setuptools==68.0.0=py310haa95532_0
pip==23.2.1=py310haa95532_0
openssl==3.0.11=h2bbff1b_2
libffi==3.4.4=hd77b12b_0
ca-certificates==2023.08.22=haa95532_0
bzip2==1.0.8=he774522_0

Current channels:

https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/r/linux-64
https://conda.anaconda.org/nodefaults/linux-64
https://conda.anaconda.org/conda-forge/linux-64

To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org

and use the search bar at the top of the page.

Specified version might be tricky sometimes, so I tried to remove the last version code.
Even so, still two packages were not found:

vs2015_runtime=14.27.29016*
vc=14.2*

My environment is Linux, conda version is 24.3.0.
I'm really interested at your work and wonder if I can get help here to run this project.
Thanks!

Thank you for notifying the issue and your interest in the project!
Unfortunately, the environment is not tested for Linux, but I am looking into the issue and I hope to get it sorted asap!
Meanwhile, it could be an option to run with a custom environment, till I get the fix. Major requirements are the following:

transformers==4.38.2
torch==2.2.1+cu118
seaborn
scipy==1.12.0
scikit-image==0.22.0
python==3.10.13
pillow
numpy
matplotlib
openai==0.28.1

Thanks again!

Thanks for you quick reply!
Can I ask what the supported platform is, is it Windows?
And thanks for the custom environment building guide!
I'll have a try!

It's my pleasure. I would love to help you run the project.
Yes, currently it is Windows which also supports your PR as the paths will be an issue in Linux.

Hi @Gracesta! I have created a branch environment-fix for this issue. I have added environment-fix.yml, which again works on windows but I have not checked for Linux.
It would be a great addition to the project to make it Linux supported. I would love to help but I am currently busy with a NeurIPS project and would only be able to help in June. You PR can be extended to support Linux fully because a lot of paths might need changes actually.

Glad to hear from you again, @umair-nasir14 !
It's so kind of you to provide me the environment for Linux. After applying the environment settings you suggested to me before, I successfully ran the code anyway, but many exceptions reported.
And maybe those happened exceptions would hurt the quality of the generated stage, I would like to figure it out. Thanks for your information and the  environment-fix.yml, I'd like to have a try with  environment-fix.yml. your work is really interesting and I wanna have a exploration.
Good luck with your NeurIPS project!

Thank you, @Gracesta!
It is good to hear that the project worked! I hope you enjoy it.
Maybe you can create the environment for linux whenever you can, would be nice!
Let me know if I can help with the warnings. The error-catching should not hurt the generation part, but let me know what you find!
Thanks again!


Add command-line option for --cache-dir for maelstrom-run.

This cache dir should be shared by the local worker and the client process.

Fixed in 0.9.0.


Enhanceadd broker load case

Proposed changes
Issue Number: close #xxx

add broker load case
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run p0


2.0 for all themes

Once #191, #192, and #193 are completed, all themes should be updated and then tagged as 2.0. Each theme can now be tagged individually, so they do not depend upon each other anymore.

Closing due to inactivity.


added ability to ping marathon and to delete the leader

@mesosphere-ci retest this please

@mesosphere-ci retest this please

it appears that the retest only retests the windows-binary :(

@kensipe thats because windows is the only CI using jenkins :)

@tamarrow ready to go!
The following are now true:
commands added:
dcos node dns <dns-name> [--json]
dcos marathon leader show
dcos marathon leader delete
dcos marathon ping [--once][--timeout=20]

Marathon ping response[3x]: pong```

```$ dcos marathon ping --once
Marathon ping response[1x]: pong

show marathon leader:
HOST                 IP
marathon.mesos.  <IP_ADDRESS>

then a delete:
Leadership abdicated

then a ping:  (the default time of 10s isn't long enough to usually get back a good response.)
$ dcos marathon ping --timeout 30
Marathon ping response[3x]: pong

the next dcos show should show a new leader (requires multi-master)
$ dcos marathon leader show
HOST                 IP
marathon.mesos.  <IP_ADDRESS>

The response if you timeout on ping:
Marathon ping response[3x]: Unable to get ping for all 3 masters in 10s

bump

ping @kensipe ?

@jimenez thanks!   It seems that the email notifications for these pings aren't getting to me.. I will figure that out... I will work on this.. this week... probably today.

rebased... addressing PR feedback today

rebased

rebased

rebased

@mesosphere-ci retest this please

rebased

run linux integration tests

@bamarni this was previous green... I rebased again.. anything that needs addressing prior to merge (other than waiting on tests again?)

@kensipe : I haven't checked this PR yet, I'll try to pull and play with it tomorrow. However integration tests would be appreciated as this brings quite some new commands.
As for rebasing, I've just merged #1061, so there is no need to rebase anymore as long as there is no conflict (Jenkins merges with master before running tests).

run windows tests

run linux integration tests

@bamarni integration tests added for new functionality
I debated adding in the "dcos marathon leader delete"... it will take out marathon for a short period of time.   I added it in and have a retry going on up to 5 mins... my experiences is that typically this is around 20-30 secs.   The retry logic will return sooner if it can.

run linux integration tests

run linux integration tests

run linux integration tests

run linux integration tests

run linux integration tests

run linux integration tests

run linux integration tests

YAY!   ready to merge @bamarni !


[Bug]: Error when build with static sites adapter sveltekit

Contact Details
<EMAIL_ADDRESS>What happened?
Hi, I was trying to build with the Static sites adapter for my site with sveltekit but it gives an error during the build:
[vite-plugin-svelte] C: /Users/Andrea/Desktop/sitename/node_modules/svelte-particles/src/Particles.svelte: 3: 16 Unexpected token
file: C: /Users/Andrea/Desktop/sitename/node_modules/svelte-particles/src/Particles.svelte: 3: 16
1 |

What TypeScript version are you using @Andrea055?

Thanks for answer, Version 4.6.2

Thanks for answer, Version 4.6.2

So it's not a TypeScript issue, the import type requires TypeScript 3.8 or newer.  Maybe it's an issue with Svelte TypeScript parser or something like that. You can remove it, you can just use the standard import if you prefer.

I removed import type but now i get this error:
7:32:57 PM [vite] Internal server error: C:/Users/Andrea/Desktop/cracknas/node_modules/svelte-particles/src/Particles.svelte:6:22 Unexpected token
Plugin: vite-plugin-svelte
File: C:/Users/Andrea/Desktop/cracknas/node_modules/svelte-particles/src/Particles.svelte
4 |      import { tsParticles } from "tsparticles";
5 |
6 |      export let options: ISourceOptions = {};
^
7 |      export let url = "";
8 |      export let id = "tsparticles";

I fix with this:
export let options= {};


[Feature Request] Time Select with arrow key

Existing Component
Yes
Component Name
TimePicker
Description
https://jsfiddle.net/H_PONY/hohouoer/

editable option is false
Open timePicker => I can't select option with up&down arrow key.

I want to be able to select with up&down arrow key when in uneditable

Added in #6023


Feature/image cta

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Issue: https://github.com/hlxsites/famous-smoke-cigaradvisor/issues/7
Test URLs:

https://feature-image-cta--famous-smoke-cigaradvisor--hlxsites.hlx.page/cigaradvisor/drafts/Kailas/image-cta

I'd like to get picture element to pre-save the space for the image, which will be lazy loaded. Without this we'll end up with CLS issues if the block is marked as finished, but then the image loads after other, subsequent, blocks.
This can be done with two steps:

Set the picture to be relative position, then absolute position the image within it. Example CSS
Calculate the width-to-height ratio. Then add this as padding (bottom or top). This creates the space in which the Image will fit when rendered. Example JS.

This step should also set the max-width based on the original image's width. This way the image doesn't grow larger than desired, which can result in pixelation.


Weblate

Contains
Brief description of what the PR does like "Fixes #12345"
How to test
Brief description of how to test / confirm this PR before merging
Outstanding before merging
If anything. You can use neat checkboxes! Feel free to delete if not needed

[ ] Need to consider use case x
[ ] Still have to adjust the wiki doc
[ ] Will need translation work

Can one of the admins please verify this patch?

Hello @endivan - not sure what you're trying to do here, but it doesn't introduce anything new so I'm going to close this PR :-)
If you are interested in doing translation work or anything else let us know. Preferably by commenting on an existing issue that relates or via IRC or forum instead.

@Cervator: I think the intention was to get the latest translations from weblate into develop, but looks like you've merged them manually anyways :)


python310Packages.txtai: 6.2.0 -> 6.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.txtai is: Semantic search and workflows powered by language models
meta.homepage for python310Packages.txtai is: https://github.com/neuml/txtai
meta.changelog for python310Packages.txtai is: https://github.com/neuml/txtai/releases/tag/v6.3.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 6.3.0 with grep in /nix/store/03fr96vc7xalhlfj8pbkdhn4my1rd5fq-python3.10-txtai-6.3.0
found 6.3.0 in filename of file in /nix/store/03fr96vc7xalhlfj8pbkdhn4my1rd5fq-python3.10-txtai-6.3.0

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.txtai
python311Packages.txtai

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/03fr96vc7xalhlfj8pbkdhn4my1rd5fq-python3.10-txtai-6.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/f1a8cf0bf819d3c3b7f0bc03b071c2cafbe6729c#python310Packages.txtai

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/03fr96vc7xalhlfj8pbkdhn4my1rd5fq-python3.10-txtai-6.3.0
ls -la /nix/store/03fr96vc7xalhlfj8pbkdhn4my1rd5fq-python3.10-txtai-6.3.0/bin

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

2 packages built:

python310Packages.txtai
python311Packages.txtai

Maintainer pings
cc @happysalada for testing.

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

4 packages built:

python310Packages.txtai
python310Packages.txtai.dist
python311Packages.txtai
python311Packages.txtai.dist


Guided service creation

It would be awesome if there's a way to have a process where you say epinio services create and it prompts you with the classes, then the plans, then any options on the plan.

The reason I ask is that I always have to run epinio service list-classes then epinio service list-plans then finally the epinio service create for every service I create!

Try the command completion. That should work at least for classes and plans. Options on a class/plan are, AFAIK, not programmatically available.

Command completion gets me that part. OSBA does indeed allow for plans to specify a schema (both for binding and instance creation). That'd be a much larger feature request through if the data isn't already there.

I'll close this issue and open another one specifically about the schema support if that becomes an actual issue. I'm not sure if minibroker uses those fields.


Fixes existing directory create

Was getting a directory alreay exists error in the logs.
-p allows it to create all directories in a path without erroring if one already exits.

Fixed by #10


Bugfix: Angular Velocity Gradient

What do each of the magic numbers do?

Resolved in discord. I can work on adding documentation to all of pathgradient in a separate PR.


Documenting the expected behavior when one of the inputs is zero for batchInvert

The current behavior when a value is 0 in batchInvert is to return undefined for that element. It would be good to document this behavior on top of the batchInvert method.

It also seems that the non batched version of invert will panic on zero, if I'm understanding correctly:
  if (number === _0n || modulo <= _0n) {
    throw new Error(`invert: expected positive integers, got n=${number} mod=${modulo}`);
  }

Document where?

It's reasonable. It should be undefined or error since inverse doesn't exist.

Right, I'm not commenting on whether it's reasonable, just that it would be good to have it documented, preferably on top of the function?
Though as commented above, batchInvert and Invert seem to have different behaviour on zero, what was the rationale behind this?

Though as commented above, batchInvert and Invert seem to have different behaviour on zero, what was the rationale behind this?

Performance reasons and easier testing

done


CDC is not working in the OSS images (at least not UBI)

When starting the CDC enabled bundles, we end up with:
[cassandra@test-cluster-dc1-default-sts-0 cassandra]$ cat stdout.log
Error occurred during initialization of VM
agent library failed to init: instrument
[cassandra@test-cluster-dc1-default-sts-0 cassandra]$ cat stderr.log
Error opening zip file or JAR manifest missing : /opt/cdc_agent/cdc-agent.jar
[cassandra@test-cluster-dc1-default-sts-0 cassandra]$

This works in the DSE images, but not on the OSS UBI images. @Miles-Garnsey

I'll try to take a look at this today if I can

The issue was with the symlinking of the CDC agent jarfile. It was wrong in the UBI8 based images. In the Ubuntu based images, the file is moved, not linked, which is why it works there.


[ru] update KubeCon date

/assign @Potapy4

cc @Potapy4

Hi @Arhell! This change was offered by me (with some others) in #35221. However, my PR is stuck (as well as this one) since there are no active contributors for the Russian language. I would still suggest closing this PR as a duplicate, though.


dioxus-cli  does not proxy websocket connections

Problem

Steps To Reproduce

Implement a websocket API endpoint using Axum.  Configure the development proxy to proxy calls to the API in Dioxus.toml using the [[web.proxy]] configuration option.

serve the application using dx serve

The UPGRADE request goes through and the upgrade request is sent back,  but the websocket connection drops as soon as it is established.
Expected behavior
The proxy should also allow websocket connections.
Environment:

Dioxus version: 0.4.3
Rust version: 1.77.0
OS info: Linux (Ubuntu 22.04)
App platform: Web

Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

I have the same issue with Dioxus v0.5.6


[TC-PRS-2.1] MaxMeasuredValue attribute value mismatches from specification.

Reproduction steps

executed the below mentioned command to put DUT into a commissionable state
./chip-all-clusters-app
Once DUT reach the  commissionable state sent below mentioned command on TH.
 ./chip-tool pairing onnetwork 1 20202021
Verify the commissioning completed with success on TH(chip-tool) from DUT
TH reads from the DUT the MinMeasuredValue attribute : ./chip-tool pressuremeasurement read min-measured-value 1 1
TH reads from the DUT the MaxMeasuredValue attribute : ./chip-tool pressuremeasurement read max-measured-value  1 1

Bug prevalence
Everytime
GitHub hash of the SDK that was being used
Master - f5c462133547c290f7eb09e5628ede162fb4a218
Platform
raspi
Platform Version(s)
RPI4 8GB RAM
Anything else?
As per Spec MaxMeasuredValue Attribute indicates the maximum value of MeasuredValue that can be measured and the value should be MinMeasuredValue+1 to 32767. But In master commit while TH trying to read the  MinMeasuredValue and MaxMeasuredValue attribute value reads  0 from DUT for both attributes.
PFA Spec screenshot

./chip-tool pressuremeasurement read min-measured-value 1 1
[1687328121.962035][142811:142813] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_0001 DataVersion:<PHONE_NUMBER>
[1687328121.962092][142811:142813] CHIP:TOO:   MinMeasuredValue: 0
[1687328121.962179][142811:142813] CHIP:EM: <<< [E:62637i S:43113 M:263665961 (Ack:56316814)] (S) Msg TX to

./chip-tool pressuremeasurement read max-measured-value  1 1
[1687328180.923268][142828:142830] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0403 Attribute 0x0000_0002 DataVersion:<PHONE_NUMBER>
[1687328180.923326][142828:142830] CHIP:TOO:   MaxMeasuredValue: 0
[1687328180.923414][142828:142830] CHIP:EM: <<< [E:9978i S:44691 M:127860509 (Ack:224292634)] (S) Msg TX to

PFA reference log :
PRS-2_1.txt

Yep, the ZAP config for all-clusters-app does not list any actual values for Min/MaxMeasuredValue, so they end up defaulting to 0.


Prevent the projector to toogle on/off

Prevents the projector to toogle on/off.
Description:
The Epson Projector EH-TW7300 turns on and off with the same command. This minor change fix it.
Checklist:

[ x] The code change is tested and works locally.
[ x] Local tests pass with tox.
[ x] There is no commented out code in this PR.

Hi @stbkde,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!

According to this https://github.com/home-assistant/home-assistant/pull/22878 I think it is better to manipulate SUPPORT_EPSON in state attributes.

According to this #22878 I think it is better to manipulate SUPPORT_EPSON in state attributes.

I think submitted approach correct.  The referenced PR is to guard against calls that aren't implemented in the device -- not that the current state doesn't allow it.  Media player is the exception to the rule that supported_features is to be static.

@andrewsayre no, TURN_ON and TURN_OFF are not exactly the same.
TURN_OFF is 2 x TURN_OFF in case of projector and have different timeout for waiting for reply.
If you send TURN_ON if it is turned ot projector would probably show info that you need click TURN_ON second time.
If you click TURN_OFF during OFF it will TURN ON projector.

So if I'm understanding this PR correctly, the constants TURN_ON and TURN_OFF are the same underlying control command hence why we need check the current state of the device before issuing the command to prevent a toggle. If that's correct, this is good to go once build passes.

Correct. TURN_ON and TURN_OFF toggles the power state. This is the easiest way to prevent that for any kind of epson projectors.

I think you're both saying the same thing, just at different levels of abstraction.  Are we aligned on this fix?

It doesn't break anything, so I think it's good to merge.


Bump version to v0.2.2 for ongoing development

@rh-atomic-bot r+

Did we cut a podman 0.2.1 version?

Just did

LGTM, but these versions are spinning faster than a slot reel!  ;^)

@TomSweeneyRedHat I gotta cook up a script to do the release process... bump version, tag, bump again for -dev


MSAL Application Compliance

This is for Windows & MacOS - due 9/30
Onboarding to MSAL lib or Azure Identity lib with an integration to an authentication broker
See S360 for details.

Matthew already had an issue for this.  See issue #8059.


Clicking on the recoverable icon on the Accounts page will display a blank page

the green recoverable icon on the accounts page, is not working properly!
here is the related PR for fixing this issue: #72

closed by #72


How to know to show tiles

When cesium only displays the default terrain, how did it determine that the tiles on the front should be displayed instead of the tiles on the back of the earth? In looking at the source code of ceisum, I can't find which function removes the tiles on the back. How do the tiles on the front determine what should be displayed.
Who can tell me. Thanks

Hello @mylove10086 ! This question would be better addressed on the community forum. We have more members active there, so you're more likely to get a response. Thanks!


io_uring_prep_multishot_accept_direct is indistinguishable from multishot_accept

the body of the function is
	io_uring_prep_multishot_accept(sqe, fd, addr, addrlen, flags);
	__io_uring_set_target_fixed_file(sqe, IORING_FILE_INDEX_ALLOC - 1);

IORING_FILE_INDEX_ALLOC is 0, we decrement one than increment it by 1 making it 0 again in the sqe,
which makes it the same as if we just left the sqe field memset to 0.
In fact from my testing there's no way to get a direct index using this function.
Maybe it's missing something or I'm missing it.

IORING_FILE_INDEX_ALLOC should not be 0, on my system its 2^32-1

oops, my bad


Grab first available language as default if one isn't set, localize missing translation fallbacks

Credit to @colbyfayock for the original fix included in this PR 🎉
Fix for #101
Two issues:
The application doesn't take the first item as a default language when a defaultLanguage isn't present
When falling back to the default translation using onMissingTranslation, the translation doesn't run through getLocalizedElement which prevents any variables from getting parsed
Solution
defaultLanguage
The getOptions function now falls back to the first available language if a defaultLanguage isn't provided.
onMissingTranslation
The logic for onMissingTranslation has been moved out of getLocalizedElement and into getTranslate, which makes more sense as getLocalizedElement doesn't care whether translations are missing or not - It just wants a string to localize.

@colbyfayock I've had to create a new PR as I don't think I have access to push to the branch your work was in. I've included your original changes in this PR, but made some changes as well. After some thought I realized a lot of the complications were because onMissingTranslation was being passed as a param to getLocalizedElement.
This issue made it clear that there really is no reason for getLocalizedElement to handle the missing translation stuff. I have moved the missing translation logic directly into getTranslate, which greatly simplified things, and avoided the whole circular dependency issue that was happening when trying to run getLocalizedElement on defaultTranslation.
In addition I have taken care of all the flow issues. When you get a chance if you could have a look, and see if this still solves all the issues you were having. It passes the initial tests you wrote so I think we're good, but want to double check.

@ryandrewjohnson that works, np. thanks for including the work :)
that all looks like it makes sense - and if the tests pass 👍i won't have a chance to actually pull that into the project i'm working with until next week, but the tests I set up should cover the same use cases I was running into issues with
thanks for looking at that


WIP: DOC: Document how to set up meson with CLion nova

Reference issue

na
What does this implement/fix?

This PR documents how to configure CLion Nova to allow syntax highlighting / code analysis / refactoring tools for SciPy. I spent several hours configuring this and wanted to document it somewhere.
Additional information

This is still a WIP. It is working locally for me, but is not tested thoroughly enough to be published (yet). I'd prefer some review and, if there is any interest, add it later.
cc @ev-br you expressed some interest in this.

@melissawm the build is failing because document isn't included in any toctree. I know this means that I need to include it in a toctree (somewhere?) but I'm not really sure where to put it. Do you have any suggestions?

Sorry Ralf, I don't think I was very clear in how I phrased it, what we're doing here isn't building SciPy. It's only allowing CLion Nova to find the project structure. What is actually being executed is:
home/kai/miniconda3/envs/scipy-dev/bin/meson setup --native-file local-config.ini

I suspect you're using the system linker rather than the conda env's linker, which may or may not work depending on which versions both are at.

Noted. Looking at the logs, this seems to work for me on Linux, however I'm not sure if that guaranteed to be the case.
 C compiler for the host machine: /home/kai/miniconda3/envs/scipy-dev/bin/gcc (gcc 12.3.0 "gcc (conda-forge gcc 12.3.0-5) 12.3.0")
C linker for the host machine: /home/kai/miniconda3/envs/scipy-dev/bin/gcc ld.bfd 2.40
C++ compiler for the host machine: /home/kai/miniconda3/envs/scipy-dev/bin/g++ (gcc 12.3.0 "g++ (conda-forge gcc 12.3.0-5) 12.3.0")
C++ linker for the host machine: /home/kai/miniconda3/envs/scipy-dev/bin/g++ ld.bfd 2.40

This isn't ready for release yet, but I wanted somewhere to document what has worked for me. And to gauge interest in having support.

Sorry Ralf, I don't think I was very clear in how I phrased it, what we're doing here isn't building SciPy. It's only allowing CLion Nova to find the project structure.

I'm not sure I understand. If CLion Nova has support for Meson-based projects, I can understand that you'd need to give it a hint somewhere about Meson or project structure. But if it's not about building, then why does it need to know about compilers? Looks like there are two things mixed here?

This isn't ready for release yet, but I wanted somewhere to document what has worked for me. And to gauge interest in having support.

I suspect that this isn't specific to SciPy, but more to using Meson projects in general. And other IDEs/editors like VSCode may need something similar when they have functionality for project navigation, or something like a "build it" or debug/set-breakpoint type things. So it'd be useful to have that somewhere - but as concise as possible I think. Things like git clone commands shouldn't be repeated, you can just refer to the general doc page on that.

I'm going to close this for now. CLion has changed again and I want to wait until the method becomes more stable.


🐞[Bug]: Back Button on Recycle Request Page Causes Blank Screen

Description:
There is a problem with the back button functionality on the Recycle Request page in the SpoonShare app. When the "REQUEST RECYCLE" button is clicked, it redirects to a form where users can request a recycle. However, clicking the back button in the app bar on this page results in a blank screen.
Steps to Reproduce:

Navigate to the Recycle page in the SpoonShare app.
Click the "REQUEST RECYCLE" button to go to the Recycle Request form.
Click the back button in the app bar.

Observed Behavior:

The page becomes blank when the back button is clicked.

Expected Behavior:

The app should navigate back to the previous page or perform the expected back navigation action without resulting in a blank screen.

Possible Cause:

There might be an issue with the navigation stack or the state management when handling the back button action.

Sample Video
https://github.com/sanika391/SpoonShare/assets/123234840/91f82fd5-a298-4e0a-9235-28a48232298d

@sanika391 Assign this issue to me mam.

@sanika391 can you assign this issue to me?

@sanika391 can you please assign this to me..?

Hi @igopi77, @SumitPareek2401, and @akshayjadhav2002,
Thank you all for your interest in resolving this issue. I have assigned this bug to each of you. It's great to see such enthusiasm and collaboration.
To tackle this effectively, please coordinate with each other on your approaches to identify and fix the problem with the back button functionality on the Recycle Request page. Sharing your findings and progress in this thread would be helpful.
If you have any questions or need further assistance, feel free to reach out. Looking forward to your solutions and contributions!
Best regards,
Sanika
[https://www.linkedin.com/in/sanika-chavan-52457b236]

@sanika391  mam you did't mention any lable in this. Please give a lable mam

hey @sanika391,
I hope this message finds you well. I am currently contributing to the project and I've noticed an issue that I believe needs your attention.
While working on the project, I observed that the color of the navigation bar is not consistent with the overall color theme of the application. This inconsistency might affect the visual coherence of the application and potentially impact the user experience.
I believe aligning the color of the navigation bar with the app's color theme would enhance the overall aesthetic and user experience of the application. I am more than willing to work on this and submit a patch if you agree with this change.
Looking forward to hearing your thoughts on this.

@sanika391 mam, I have completd this isses
So, I have raised a PR : https://github.com/sanika391/SpoonShare/pull/72
Please check this mam.

hey @sanika391  what's your thought on my suggestions...? Can you please let me know..

Hi @akshayjadhav2002,
Thank you for bringing this to my attention. I appreciate your keen eye for detail and your willingness to improve the user experience.
I agree that consistency in the color theme is important for the visual coherence of the application. Aligning the navigation bar color with the overall theme is a great idea.
However, I wanted to let you know that this issue has already been addressed, and a PR resolving it has been closed recently. Thank you for your initiative and your desire to contribute. Please feel free to check out other open issues where your help might be needed.
Thank you again for your contribution and for helping us enhance the application!
Best regards,
Sanika Chavan

Hey
Can you assign me this issue


Just an update 3.29.18

All the bin files are at least running chessfind  chessgen  listcreator  plotlens  slcalibrate  slcrunch
I am missing sldisp right now it is the only thing not compiling.  :)
slcontrol doesn't seem to be doing anything. After I press start capture nothing happens...unless it is requiring a response from sldisp which is currently not running due to not compiling currently
Coming along nicely

Now that i have restarted running much better around 5% with slcapture running

I am missing sldisp right now it is the only thing not compiling. :)

May I have the error log of attempting to compile latest sldisp?

prahjister@amlogic:~/sltk-master$ make sldisp
g++  -lstdc++ sldisp.cpp util.cpp -o bin/sldisp sdl2-config --static-libs --cflags pkg-config --libs --cflags liblo -lGL -lGLU -lglut
sldisp.cpp: In function ‘int main(int, char**)’:
sldisp.cpp:673:35: error: ‘SERVER_CONTROL_ADDRESS’ was not declared in this scope
lo_address t = lo_address_new(SERVER_CONTROL_ADDRESS, SERVER_CONTROL_PORT);
^
sldisp.cpp:673:59: error: ‘SERVER_CONTROL_PORT’ was not declared in this scope
lo_address t = lo_address_new(SERVER_CONTROL_ADDRESS, SERVER_CONTROL_PORT);
^
Makefile:67: recipe for target 'sldisp' failed
make: *** [sldisp] Error 1
prahjister@amlogic:~/sltk-master$
Also this is the makefile I use to compile. There is one issue that i have to tell it to make sldisp manually it doesnt auto do it. I cant figure out why
Makefile.zip

SERVER_CONTROL_ADDRESS , SERVER_CONTROL_PORT not found

these are #defines for the ip address and port (using quotes) for the box running slcapture.py (so in your case <IP_ADDRESS> i think.)
I'm in the process of cleaning up the network config variables amongst all the networked programs and getting my house in order so to speak on that front.

looks like it is not pulling in from ports.h

New page on wiki for reference as to what's talking to what: Networking Notes
I want to have a commit pushed by end of weekend that will bring these five programs into a more sane state. engage coffee


Do we want to follow Post-Redirect-Get?

Do we want to follow the Post-Redirect-Get design pattern?
It looks like PR #42 (https://github.com/blueimpact/kucipong/pull/42/files#diff-f84a648380f9d597ebfd8de3de10fb22R67) returns an html page from a POST handler instead of a redirect.
In order to both (1) follow the Post-Redirect-Get pattern,  and (2) send info/error messages back to the user, we would need some sort of messaging system like used in Yesod:
http://www.yesodweb.com/book/sessions#sessions_messages
https://hackage.haskell.org/package/yesod-core-1.4.24/docs/Yesod-Core-Handler.html#g:21
Post-Redirect-Get Pros:

Users are able to use the "back" button in their browser, as well as bookmark any page.
On the backend, using some sort of message functionality may be easier than using the messages and errors parameters for the templates.

Post-Redirect-Get Cons:

I think the frontend would have to use some javascript to get the messages out of the session.
We would have to change the current messages and errors parameters for templates.

@arowM What do you think?

From the view point of a project manager ofonly this project, I guess there are no need to introduce Post-Redirect-Get design pattern.

@cdepillabout
From the view point of a project manager of this project, I do not propose to introduce Post-Redirect-Get design pattern with extra costs.
However it's also good choice to use this design pattern because we can contribute to the web development flow using Haskell, and of course it seems to be interesting.  The Yesod is good framework but it is monolithic and less freedom to choose any library we want.  We should provide alternative way to construct a web system with particular purpose libraries.
How do you feel if we set this issue as low priority and solve this after whole system works well with conventional design?

How do you feel if we set this issue as low priority and solve this after whole system works well with conventional design?

That sounds good to me!


Proxy # sign in url

1. What version of Caddy are you running (caddy -version)?
Caddy 0.10.0
2. What are you trying to do?
Proxy request
3. What is your entire Caddyfile?
localhost:8888 {
  # proxy to "nc -l localhost 9999"
  proxy / http://localhost:9999
}

4.
Just  run caddy with this caddyfile
5. Please paste any relevant HTTP request(s) here.
 curl localhost:8888/test/#/foo

6. What did you expect to see?
nc -l localhost 9999
GET /test/#/foo HTTP/1.1
Host: localhost:9999
User-Agent: curl/7.47.0
Accept: */*
X-Forwarded-For: <IP_ADDRESS>
Accept-Encoding: gzip

7. What did you see instead (give full error messages and/or log)?
nc -l localhost 9999
GET /test/ HTTP/1.1
Host: localhost:9999
User-Agent: curl/7.47.0
Accept: */*
X-Forwarded-For: <IP_ADDRESS>
Accept-Encoding: gzip

8. How can someone who is starting from scratch reproduce the bug as minimally as possible?

Caddyfile:

localhost:8888 {
  #proxy to "nc -l localhost 9999"
  proxy / http://localhost:9999
}

Run

nc -l localhost 9999

Run

curl localhost:8888/test/#/foo

See

GET /test/ HTTP/1.1
Host: localhost:9999
User-Agent: curl/7.47.0
Accept: */*
X-Forwarded-For: <IP_ADDRESS>
Accept-Encoding: gzip

@tw4452852 please check it out if you could

The fragment part (i.e. the #) is evaluated by the client, and not sent to the server.
See RFC3986

Right.
So looks like the problem with proxy to RabbitMQ is something else.
Working with 0.9.4
Not working with 0.9.5 and 0.10
will try to find out what
thanks.


Specified argument was out of the range of valid values.

Mesh files can be previewed normally, Texture2D and Sprite cannot be previewed.


Adding admin route for resetting a specific scenario by name

This PR adds a new admin endpoint:
POST /scenarios/reset/{scenarioName}
This will reset the state of the given scenario name.
I believe this will fix issue #847 as well as suit a use case for our own project.

@tomakehurst not sure why travis is failing, tests are passing locally for me. Am I missing a step before I should have created the PR?

Looks like travis is failing because:
java.lang.IllegalArgumentException: resource swagger/wiremock-admin-api.json not found.
Is this file supposed to be autogenerated?

Got the build passing however not sure it is the best solution. The issue was that the generateAPIDocs task was not running before test. I tried making test depend on generateAPIDocs however that didn't fix it. Last resort was to move the tasks out of the subtasks project and call generateAPIDocs before test in the travis file.

Hi @tomakehurst @matthewwilson,
any plans of including this in upcoming releases?
Best Regards,
Karol

Hi ,@tomakehurst @matthewwilson,
Could you add this  in next release?i need this functional

@FrankSandou there's a workaround for this which is to create a stub (mapped to a URL that's not in the API you're mocking) that resets the relevant scenario when you request it.

I need for  one scenario reset state , not for all , could you add this feature in release (hotfix) @tomakehurst
Best regards, Frank

The workaround is for resetting single scenario state.
@tomakehurst
Yes, i need this , could you merge in master?

Best regards, Frank

No, I mean the workaround I described works for a single scenario. You don't need this PR to be merged to be able to set a single scenario's state - just create a stub that does that for you.

No, I mean the workaround I described works for a single scenario. You don't need this PR to be merged to be able to set a single scenario's state - just create a stub that does that for you.

Hmm, how i can reset one state for one  scenario, if i have 5 scenarios with different states?, only this fix, please merge this , i need this very , and wait  for this api routing ...

I'm sorry, but I'm not planning to do a WireMock release in the timeframe you're hoping for.
I suggest you configure a stub for each scenario you want to reset and the make a request that matches the appropriate stub when you want to perform the reset.

I'm sorry, but I'm not planning to do a WireMock release in the timeframe you're hoping for.
I suggest you configure a stub for each scenario you want to reset and the make a request that matches the appropriate stub when you want to perform the reset.

I'm sorry, but I'm not planning to do a WireMock release in the timeframe you're hoping for.

@tomakehurst  are you planned release in next year  January  or February ?
I hope and wait  for  this feature in next release .
Best regards, Frank

@FrankSandou it looks like the workaround suggested by @tomakehurst will work.
Let's say you have a stub that is in a state called "state-1" and you want to reset it back to "started". Simply define another stub that exists purely to reset the state. E.g.
{
    "scenarioName": "My Scenario",
    "requiredScenarioState": "state-1",
    "newScenarioState": "started",
    "request": {
        "method": "POST",
        "url": "/state-management/reset-my-scenario"
    },
    "response": {
        "status": 200
    }
}


Add scrape config and monitoring dashboard

How to categorize this PR?

/area monitoring
/kind enhancement
What this PR does / why we need it:
Add scrape configuration and monitoring dashboard
Which issue(s) this PR fixes:
Part of #3
Special notes for your reviewer:
Release note:

Metrics for registry proxy are exposed in `Image pull through cache registries` plutono dashboard.

/assign


Adds two new third party plugins for Run

Summary of the Pull Request
Added links to two new third party plugins

Plugin
Author
Description

CanIUse
skttl
Look up browser feature support with caniuse.com

TailwindCSS
skttl
Search the documentation of TailwindCSS

PR Checklist

[x] Dev docs: Added/updated

@skttl i went in and fixed the spell checker.  I do need you to agree to the CLA however before this can be merged.

@microsoft-github-policy-service agree


2.x.x request decompression, response compression middleware

Fixes #9
Adds RequestDecompressMiddleware and ResponseCompressionMiddleware
Waiting on the next HB release before we can set the HB release

Two more final issues - a lingering print statement and missing log statement


winmm.dll support

Hello, is there way to load winmm.dll
I tried to add it in dlls.cfg but seems it doesn't load.

that's just a filename. it depends on the actual file whether it can be loaded or does anything. i noticed on windows 10 that a dll that fails to load (e.g. because msvc redist is missing) gives no error message but the dll is simply unloaded. that's not at all very helpful.

I've found alternative way to load winmm.dll, sad thing Microsoft never fix it.
https://github.com/YELLO-belly/ogg-winmm/tree/master/PS-Script


error in vcs_clean

environment

vim: NVIM v0.6.0-dev+637-gafbf89dc0
vim-airline: last
OS: Windows 10
Have you reproduced with a minimal vimrc: no
What is your airline configuration:

	let g:airline#extensions#tabline#enabled = 1
	"let g:airline#extensions#whitespace#checks = [ 'indent', 'trailing', 'long', 'mixed-indent-file', 'conflicts' ]
	let g:airline#extensions#whitespace#checks = [ 'indent', 'conflicts' ]
	" add the current folder to the display
	let g:airline_section_c= '%<%{tabpagenr()} %<%{getcwd()} | %f%m %#__accent_red#%{airline#util#wrap(airline#parts#readonly(),0)}%#__restore__#'
	if !exists('g:gui_oni')
		let g:airline_powerline_fonts = 1
		set t_Co=256
	endif

I use nvim-qt.
if you are using Neovim:

does it happen in Vim: i don't know

actual behavior
It happens when I switch buffers , I think. It happens often ~15 times a week.
Error detected while processing function airline#extensions#branch#get_head[1]..airline#extensions#branch#head[6]..<SNR>187_update_untracked[42]..airline#async#vcs_clean[6]..airline#async#nvim_vcs_clean:
line   24:
E475: Invalid value for argument cmd: 't' is not executable

expected behavior
????
screen shot (if possible)

First of all, what VCS system are you using? Then, can you please add the following line into airline#async#vcs_clean
diff --git a/autoload/airline/async.vim b/autoload/airline/async.vim
index 459a725..cde8da4 100644
--- a/autoload/airline/async.vim
+++ b/autoload/airline/async.vim
@@ -93,6 +93,7 @@ function! s:on_exit_clean(...) dict abort
 endfunction

 function! airline#async#vcs_clean(cmd, file, vcs)
+  let g:airline_debug_cmd = a:cmd
   if g:airline#init#vim_async
     " Vim 8 with async support
     noa call airline#async#vim_vcs_clean(a:cmd, a:file, a:vcs)

and show the output of :echo g:airline_debug_cmd after the error occured?
Also since you are using Windows, what are the shell related options? :echo &shell &shellcmdflag

I was able to mitigate it by using
    let g:airline#extensions#branch#vcs_checks = []

but will revert and check soon.

any update here?

Ah, sorry, I was sure I answered. It was my bug as I defined &shell to be t, instead of a variable name t. Thanks anyway.


Increased scope of image acquisition mutex to prevent image overwriting

Hello,
I'm using this package for a multi-camera system by subscribing to a topic composed of different camera streams, and parsing the outputs by frame_id. While developing this, I've been using the detection_image topic for visualization (splitting each camera by frame_id, not included in this PR), and I've noticed that often times particular frames will be partially overwritten by an image from a different camera. Based on the bounding boxes that are output, I determined this overwriting was happening before images are passed to the YOLO network. While this was found using multiple cameras, it also occurs with a stream from a single camera, though it depends on input rate and inference time so it is not obvious.
Ultimately, this behavior is caused by both cameraCallback and fetchInThread accessing camImageCopy_  on different threads. In this PR, I've made minor changes to the scope of the lock associated with mutexImageCallback_  to prevent simultaneous read/write access to camImageCopy_ . Shown are images illustrating this behavior, where part of an image from one camera is held by the buffer of an image from another camera, resulting in missing/partial bounding boxes.
Before: The top and bottom images are detection_image messages from two different cameras, each being uniquely identified by frame_id. The top image from one camera (gray wall with no objects present) is seen to get partially captured by the image of the person, reducing the size of the bounding box around the person.

After: detection_image images from both cameras are cleanly separated.

Great fix. I think it would be good practice to call the locks anything else but lock, for example lockImageCallback as done in the rest of the code.
Is there a reason to hold back on this, or can someone merge this in?

Thanks, @kjbilton for the fix!


running unbound-control: unexpected verbosity results.

Version 1.16.2
Configure line: --prefix=/usr --sysconfdir=/etc --disable-static --enable-tfo-client --enable-tfo-server --with-libevent --with-libhiredis --enable-cachedb --with-pidfile=/run/unbound.pid
Linked libs: libevent 2.1.12-stable (it uses epoll), OpenSSL 1.1.1n  15 Mar 2022
Linked modules: dns64 cachedb respip validator iterator
TCP Fastopen feature available
My unbound config has verbosity 1 (gives operational information.)
In order to test a specific rpz zone for false positives (run a lot of digs from this list), I issue the following command, this to reduce logging (rpz applied still shows up with verbosity 0  - please don't change this):
sudo /usr/sbin/unbound-control verbosity 0 (works fine, log level is reduced)
after my test is completen, I than enter
sudo /usr/sbin/unbound-control verbosity 1 (doesn't work)
however, normal logging (verbosity 1) does NOT resume, the loglevel remains at 0, even though unbound-control says "ok". I need to restart unbound in order to resume normal logging.

This works fine for me. The status command can be used to print the current verbosity level. After the verbosity command, the status command shows that the correct verbosity level is used by the server. Also I can see verbosity level 1 output, on exit of the server it then prints the statistic values that are not printed at verbosity level 0. Something else must be going on for you, what output is of interest? There is not a lot of verbosity 1 log printout. Or is the verbosity level reset by performing a reload from config?

following commands:
sudo /usr/sbin/unbound-control verbosity 0
sudo /usr/sbin/unbound-control rpz_disable "pihole"
sudo /usr/sbin/unbound-control rpz_disable "whotracks"
run some tests (dig, source list here, partial of course...
log entries seen (with verbosity 0 (required, please don't change))
Jul 31 17:53:19 unbound[26654:0] info: rpz: applied [doh] doh.opendns.com. rpz-nxdomain <IP_ADDRESS>@59290 doh.opendns.com. A IN
Jul 31 18:01:44 unbound[26654:2] info: rpz: applied [doh] mask.apple-dns.net. rpz-nxdomain <IP_ADDRESS>@59866 mask.apple-dns.net. A IN
Jul 31 18:14:39 unbound[26654:0] info: rpz: applied [doh] dns.google. rpz-nxdomain <IP_ADDRESS>@64170 dns.google. A IN
Jul 31 18:26:48 unbound[26654:1] info: rpz: applied [doh] doh.dns.apple.com. rpz-nxdomain <IP_ADDRESS>@49506 doh.dns.apple.com. A IN
Jul 31 18:41:10 unbound[26654:3] info: rpz: applied [doh] dns.google.com. rpz-nxdomain <IP_ADDRESS>@52204 dns.google.com. A IN
Jul 31 19:54:13 unbound[26654:2] info: rpz: applied [doh] mask-t.apple-dns.net. rpz-nxdomain <IP_ADDRESS>@56050 mask-t.apple-dns.net. A IN

sudo /usr/sbin/unbound-control rpz_enable "pihole"
sudo /usr/sbin/unbound-control rpz_enable "whotracks"
sudo /usr/sbin/unbound-control verbosity 1
normal (verbosity 1) logging doesn't resume, unbound restart required.
demo:
gif (edited, removed obsolete frames) attached

From your animated gif, very nice by the way, it looks like you are using at the start verbosity level 2. That is what prints short messages about query responses and lookup replies. So if you want those messages printed, you should set verbosity 2 at the end.
Perhaps you have verbosity 1 in config file, but then -v on the command line, and they add up. The -vs and verbosity from the config file add up to the log level. This could be why there is verbosity 2 but it is not visible in the conf file.

I have indeed -v in the service file
ExecStartPre=-/usr/sbin/unbound-anchor -a /etc/unbound/root.key -v
ExecStart=/usr/sbin/unbound -d -v

retried the test, switching to verbosity 2 as the last step
WORKS // SOLVED
sorry for the inconvenience, thanks for your time and effort

since you liked the gig... https://www.screentogif.com/