Run baselines on TREC Core 17

From what I can tell, per #201 Anserini can index NYTimes collection as part of TREC core. This code was committed before we had qrels, so now we should go back and run experiments to generate baselines (QL, BM25, RM3).

Topics and qrels are here: https://trec.nist.gov/data/core2017.html

@rosequ
The code doesn't actually run. On tuna:
nohup sh target/appassembler/bin/IndexCollection -collection TrecCoreCollection \
 -input /tuna1/collections/newswire/NYTcorpus/ -generator JsoupGenerator \
 -index lucene-index.core17_nyt.pos+docvectors+rawdocs -threads 16 \
 -storePositions -storeDocvectors -storeRawDocs -optimize \
 >& log.core17_nyt.pos+docvectors+rawdocs &

Log:
$ cat log.core17_nyt.pos+docvectors+rawdocs
nohup: ignoring input
2018-06-07 13:03:46,492 INFO  [main] index.IndexCollection (IndexCollection.java:180) - Collection path: /tuna1/collections/newswire/NYTcorpus/
2018-06-07 13:03:46,493 INFO  [main] index.IndexCollection (IndexCollection.java:181) - Index path: lucene-index.core17_nyt.pos+docvectors+rawdocs
2018-06-07 13:03:46,493 INFO  [main] index.IndexCollection (IndexCollection.java:182) - CollectionClass: TrecCoreCollection
2018-06-07 13:03:46,493 INFO  [main] index.IndexCollection (IndexCollection.java:183) - Generator: JsoupGenerator
2018-06-07 13:03:46,494 INFO  [main] index.IndexCollection (IndexCollection.java:184) - Threads: 16
2018-06-07 13:03:46,494 INFO  [main] index.IndexCollection (IndexCollection.java:185) - Keep stopwords? false
2018-06-07 13:03:46,494 INFO  [main] index.IndexCollection (IndexCollection.java:186) - Store positions? true
2018-06-07 13:03:46,494 INFO  [main] index.IndexCollection (IndexCollection.java:187) - Store docvectors? true
2018-06-07 13:03:46,494 INFO  [main] index.IndexCollection (IndexCollection.java:188) - Store transformed docs? false
2018-06-07 13:03:46,494 INFO  [main] index.IndexCollection (IndexCollection.java:189) - Store raw docs? true
2018-06-07 13:03:46,494 INFO  [main] index.IndexCollection (IndexCollection.java:190) - Optimize (merge segments)? true
2018-06-07 13:03:46,502 INFO  [main] index.IndexCollection (IndexCollection.java:214) - Starting indexer...
2018-06-07 13:03:46,712 INFO  [main] index.IndexCollection (IndexCollection.java:236) - 1 files found in /tuna1/collections/newswire/NYTcorpus
2018-06-07 13:03:46,748 ERROR [pool-3-thread-1] generator.LuceneDocumentGenerator (LuceneDocumentGenerator.java:103) - Error extracting document text, skipping document: 0
java.lang.IllegalArgumentException: String input must not be null
	at org.jsoup.helper.Validate.notNull(Validate.java:26) ~[jsoup-1.8.3.jar:?]
	at org.jsoup.parser.TreeBuilder.initialiseParse(TreeBuilder.java:26) ~[jsoup-1.8.3.jar:?]
	at org.jsoup.parser.TreeBuilder.parse(TreeBuilder.java:42) ~[jsoup-1.8.3.jar:?]
	at org.jsoup.parser.HtmlTreeBuilder.parse(HtmlTreeBuilder.java:53) ~[jsoup-1.8.3.jar:?]
	at org.jsoup.parser.Parser.parse(Parser.java:89) ~[jsoup-1.8.3.jar:?]
	at org.jsoup.Jsoup.parse(Jsoup.java:58) ~[jsoup-1.8.3.jar:?]
	at io.anserini.index.transform.JsoupStringTransform.apply(JsoupStringTransform.java:27) ~[anserini-0.0.1-SNAPSHOT.jar:?]
	at io.anserini.index.transform.JsoupStringTransform.apply(JsoupStringTransform.java:24) ~[anserini-0.0.1-SNAPSHOT.jar:?]
	at io.anserini.index.generator.LuceneDocumentGenerator.createDocument(LuceneDocumentGenerator.java:101) [anserini-0.0.1-SNAPSHOT.jar:?]
	at io.anserini.index.IndexCollection$IndexerThread.run(IndexCollection.java:152) [anserini-0.0.1-SNAPSHOT.jar:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121]
	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
2018-06-07 13:03:46,753 INFO  [pool-3-thread-1] index.IndexCollection$IndexerThread (IndexCollection.java:160) - tools/build.xml: 0 docs added.
2018-06-07 13:03:46,807 INFO  [main] index.IndexCollection (IndexCollection.java:277) - Indexed documents: 0
2018-06-07 13:03:46,807 INFO  [main] index.IndexCollection (IndexCollection.java:278) - Empty documents: 0
2018-06-07 13:03:46,807 INFO  [main] index.IndexCollection (IndexCollection.java:279) - Errors: 1
2018-06-07 13:03:46,813 INFO  [main] index.IndexCollection (IndexCollection.java:282) - Total 0 documents indexed in 00:00:00

Doesn't seem to be excluding files it's supposed to?

@lintool are these text files? They are supposed to be text files. I don't have access to tuna. It runs fine on Hops. I can get access to tuna and have a look.

@lintool I've done this at my place. I've added the test topics and qrels into src/main/resources/topics-and-qrels, and updated docs/experiments-core17.md by using these topics and qrels and adding baseline results. I'll do the pull request soon.

I manually decompressed the tarball file for NYT collection to get a set of .xml file then I can get the corpus indexed. Otherwise the code could run but nothing will be retrieved, e.g. if I run
nohup sh target/appassembler/bin/IndexCollection -collection TrecCoreCollection \
 -input /tuna1/collections/newswire/NYTcorpus/data -generator JsoupGenerator \
 -index lucene-index.core17_nyt.pos+docvectors+rawdocs -threads 16 \
 -storePositions -storeDocvectors -storeRawDocs -optimize \
 >& log.core17_nyt.pos+docvectors+rawdocs &

The log will be:
2018-06-09 18:48:33,182 INFO  [main] index.IndexCollection (IndexCollection.java:189) - Store docvectors? true
2018-06-09 18:48:33,183 INFO  [main] index.IndexCollection (IndexCollection.java:190) - Store transformed docs? false
2018-06-09 18:48:33,183 INFO  [main] index.IndexCollection (IndexCollection.java:191) - Store raw docs? true
2018-06-09 18:48:33,183 INFO  [main] index.IndexCollection (IndexCollection.java:192) - Optimize (merge segments)? true
2018-06-09 18:48:33,191 INFO  [main] index.IndexCollection (IndexCollection.java:216) - Starting indexer...
2018-06-09 18:48:33,395 INFO  [main] index.IndexCollection (IndexCollection.java:238) - 0 files found in /tuna1/collections/newswire/NYTcorpus/data
2018-06-09 18:48:33,447 INFO  [main] index.IndexCollection (IndexCollection.java:279) - Indexed documents: 0
2018-06-09 18:48:33,447 INFO  [main] index.IndexCollection (IndexCollection.java:280) - Empty documents: 0
2018-06-09 18:48:33,448 INFO  [main] index.IndexCollection (IndexCollection.java:281) - Errors: 0
2018-06-09 18:48:33,453 INFO  [main] index.IndexCollection (IndexCollection.java:284) - Total 0 documents indexed in 00:00:00

since no file is read in.

For TrecCollection, we can index compressed files directly, see: https://github.com/castorini/Anserini/blob/master/src/main/java/io/anserini/collection/TrecCollection.java#L43
Can you port this over to NYT so that we don't need to first decompress.
Decompression leads to multiple copies of the collection lying around, which is bad data management practices...

.gz or other compressed files in TrecCollection are compressed single file, while for NYT, the files are in tgz, which is a package of compressed file. As such, multiple files (or folders) will be in one .tgz file while we are using the reader to open it.
From what I can tell, no other collection feeds a package of data into Collection.FileSegment in Anserini. And this actually breaks our API, as a Collection.FileSegment class essentially should be an iterator of files that can be read directly. I need to look into the code to see if it is possible to feed the tarball file under current API.

Code merged into repo as part of 33a4355249ceb559c1a9dd2231397cc96205da1c


Missing translation support for Cancelled Order, Failed Order, Order On-hold and Order Notification emails

Is there any more detail and is this a duplicate of #70 ?
I have an idea about this, more soon..


[MM-17494] Fix plugin translations

Summary
This PR will fix plugin translations issues (translation files were not updating on the web-client when plugins were upgraded)
Ticket Link
MM-17494

@iomodo
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#3536-upstream-release-5.15-1567148633
Branch 'automated-cherry-pick-of-#3536-upstream-release-5.15-1567148633' set up to track remote branch 'release-5.15' from 'upstream'.
+++ Downloading patch to /tmp/3536.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/3536.patch

Applying: Fix plugin translations
Applying: "Unregister plugin translations when removed"
Using index info to reconstruct a base tree...
M	actions/global_actions.jsx
M	plugins/index.js
Falling back to patching base and 3-way merge...
Auto-merging plugins/index.js
CONFLICT (content): Merge conflict in plugins/index.js
Auto-merging actions/global_actions.jsx
Patch failed at 0002 "Unregister plugin translations when removed"
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU plugins/index.js

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.

@iomodo @lieut-data @crspeller looks like this one needs some help with its cherry-picking?

I've manually cherry picked this to v5.15.


[proxy] impr: Additional logging for cancellation queries

Problem
Since cancellation tasks spawned in the background sometimes logs missing context.
https://neondb.slack.com/archives/C060N3SEF9D/p1733427801527419?thread_ts=1733419882.560159&cid=C060N3SEF9D
Summary of changes
Add session_id and change loglevel for cancellation queries

Can we use instrument() on the spawning step instead?

@conradludgate @cloneable Thanks, made a change with Instrument, I didn't use it before :)

I shall test this quickly to see what fields are in the cancel log

The cancel_session span is still attached to the cancel_request parent span. Since the task runs in the background it should be detached from the parent and be a root span and then the session ID is not redundant anymore.

Sure, thought that follow-from relationship is necessary for the PR

The cancel_session span is still attached to the cancel_request parent span. Since the task runs in the background it should be detached from the parent and be a root span and then the session ID is not redundant anymore.

Sure, thought that follow-from relationship is necessary for the PR

Sorry for being confusing. Maybe what's shown in the log is not the parent span, but the follows-from span. I doubt that, but I'm actually not sure. Anyway, I meant that because the cancellation run asynchronously from the cancel request it should not be be part of the request's trace, it should start its own trace, but marked as related to the request's span. info_span! et al implicitly use the current span as the parent span and one has to explicitly set no parent or detach from parent.
We can choose to keep the separate task in the request's trace and remove the follows-from, or we remove the parent and keep follows-from. The latter is the technically correct thing to do here, but because the cancel task is short-lived it doesn't matter much. Once we enable tracing the request spans will be stretched out a little to cover both tasks.
That's all. Feel free to drop either the follows-from or the parent connection.

New sample:
2024-12-10T09:41:56.767107Z DEBUG accepted new TCP connection protocol="tcp" session_id=5337180c-08e3-4b78-94b8-41517d880f48
2024-12-10T09:41:56.767949Z DEBUG connect_request{protocol=tcp session_id=5337180c-08e3-4b78-94b8-41517d880f48 conn_info=<IP_ADDRESS>}: handling interactive connection from client protocol=tcp
2024-12-10T09:41:56.768222Z  INFO connect_request{protocol=tcp session_id=5337180c-08e3-4b78-94b8-41517d880f48 conn_info=<IP_ADDRESS>}:handshake: successful handshake session_type="cancellation"
2024-12-10T09:41:56.768966Z  INFO cancel_session{session_id=5337180c-08e3-4b78-94b8-41517d880f48}: cancelling query per user's request using key CancelKeyData(d9bc627d1887a549)
2024-12-10T09:41:56.769379Z DEBUG cancel_session{session_id=5337180c-08e3-4b78-94b8-41517d880f48}: query was cancelled

Ivan, sorry, a little late, but could you replace the drop() with an .inspect_err( ... ).ok() with a tracing::debug!(error = err, "cancel_session failed") and instrument the outer async block instead? Not urgent, but let's not silently ignore errors and at least have a debug log about it.


[WIP] Migrate to OCI SDK

Migrates the project to use the official OCI Go SDK.
Still needs a lot of work but is in a basic working state.
TODO:

[x] Fix tests
[x] Fix SSL support
[ ] Port security list manager to new SDK
[ ] Remove old client
[ ] Rename newclient -> client
[ ] Rebase

NOTE: latest commit breaks security list rule deletion again.


Add survey duration to the surveys in "Previous surveys"

Adding a filesize / duration to the files in the "Previous surveys" section
Also small to sending files over so that the name isn't overwritten

added a simple method for getting the filesize and appending it to the files

Implemented in the commit and merge #14


[bug]:  Missing dSYM files from obfuscated and released iOS app

Is there an existing issue for this?

[X] I have searched the existing issues.

CLI Version
1.0.0
Firebase Tools version
13.20.2
Flutter Doctor Output
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 15.0.1 24A348 darwin-x64, locale fr-FR)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.2)
[✓] VS Code (version 1.94.0)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
Description
I am creating this issue to follow-up on this issue
After releasing an app with this command :
flutter build ipa --obfuscate --release --split-debug-info=/Users/foxtom/StudioProjects/MyProject/build --build-name=1.1.0 --build-number=1

And having this script as the last Build Phase in Xcode :
#!/bin/bash
PATH=${PATH}:$FLUTTER_ROOT/bin:$HOME/.pub-cache/bin
flutterfire upload-crashlytics-symbols --upload-symbols-script-path=$PODS_ROOT/FirebaseCrashlytics/upload-symbols --platform=ios --apple-project-path=${SRCROOT} --env-platform-name=${PLATFORM_NAME} --env-configuration=${CONFIGURATION} --env-project-dir=${PROJECT_DIR} --env-built-products-dir=${BUILT_PRODUCTS_DIR} --env-dwarf-dsym-folder-path=${DWARF_DSYM_FOLDER_PATH} --env-dwarf-dsym-file-name=${DWARF_DSYM_FILE_NAME} --env-infoplist-path=${INFOPLIST_PATH} --default-config=default

The result is this crashlytics dashboard (please see Screenshots below)
Steps to reproduce
Try to create a .ipa file with an xcode archive using flutter build ipa --obfuscate --release --split-debug-info=/Users/foxtom/StudioProjects/MyProject/build --build-name=1.1.0 --build-number=1 for a complex project with a lot of dependencies (since i don't know which one is missing, or maybe some flutter dSYMs ?)
Expected behavior
I would like the flutterfire_cli to upload all the dSYMs for my project to crashlytics.
Screenshots

Additional context and comments
Note : this may be an issue unrelated to flutterfire_cli and there are actually really missing dSYM files from the xcode archive that you can't find either, in that case it would be a Flutter issue when building a released obfuscated iOS IPA that doesn't put all the dSYM into the archive...

I have just build in release mode without obfuscation and i saw 2 crashlytics missing dSYM very quickly by running into an error in my app.
One of the missing dSYM file was inside : /build/ios/Release-iphoneos/ and was the Runner.app.dSYM that didn't seem to be uploaded during the build.
The second missing dSYM file apparently doesn't exist on my local machine after the build.
I have found the first by running : mdfind -name .dSYM | while read -r line; do dwarfdump -u "$line"; done
It may be a first lead 🙏

I am in an open case with Firebase support they are working on the issue and i will update here once i have more information.

Any news on this?

Well it seems there were no problem with the CLI, i have no more missing dSYM files since i have upgrade to Flutter 3.24.5 that fixes especially the first point :

And so far i have no more issues with the dSYM files missing, Firebase support told me that everything was fine on their side and provided guidance about the usual steps to be sure in Xcode we have set the DWARF with dSYM files flag in the debug build format but that's all.

@Tom3652 - thank you for the confirmation. Closing out now this has been fixed upstream in Flutter.


rust playground integration

this would be so cool with rust playground integration
thank you very much

Would be nice, but this is a general-purpose editor. Probably the strategy would be the other way around, i.e., adding collaborative editing support to Rust Playground. That's an entirely new project in itself though.
I'm not sure if the Rust Playground people would want the additional complexity of adding such a feature, but it's probably possible to fork it if you'd like. Not something that I will work on right now though.


[17.05.0] orchestrator/global: Fix incorrectly assembled parameters to updater.Update

The global orchestrator was accidentally mixing tasks from different
services when assembling a "slots" parameter to Update. This would cause
the affected tasks to get shut down and replaced even though they were
up to date.
Backport of #2113
ping @dongluochen @cyli

LGTM


can private DNS zone be resolved by PaaS and Web Apps with regional integration?

We confirmed a VM on subnet B can resolve the private DNS zone records properly. Does this same zone provide name resolution to a PaaS Web Application, that is using regional integration, on subnet A in the same linked VNET? Our testing from the PaaS console using tcpping.exe and nameresolver.exe are still pulling the public IP, even after multiple app restarts.

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

ID: 45e46665-a97e-8ea2-8180-47911bfa1b70
Version Independent ID: 959ba230-0023-70d0-4b91-c17c5dbedc16
Content: Scenarios for Azure DNS Private Zones
Content Source: articles/dns/private-dns-scenarios.md
Service: dns
GitHub Login: @vhorne
Microsoft Alias: victorh

@the-blesss Regional VNET Integration is built on a P2S Connection, so you will be bound by the same rules as a P2S connection. Your Web app should take the DNS settings of your Virtual Network. If the names do not resolve, try forcing the DNS query to use the VNETs DNS at <IP_ADDRESS>.

Thank you for the response! To clarify a few things: we are using Regional VNET Integration (preview) with an ER Gateway in this VNET. We are also trying out Private DNS Zone which is also preview, so we can route to private IPs across our circuit. What you clarified is what I assumed (Web app would query VNET DNS, which is set to use Azure DNS, <IP_ADDRESS>).  If we run nslookup from the Web app console, the name server shows the Azure DNS IP, but the records that exist in the private DNS zone are not resolvable. The same console can tcpping the private IP across the ER circuit and we see the traffic coming from the app. Like I said before, we can resolve the private records using a VM. After some additional research it looks like the Web app can only resolve private zone DNS records if they are proxied through a DNS forwarder using the custom DNS setting in the VNET, which I was able to get working in another lab environment, but with no ER circuit.  Here is the article I found this info in under "Resolution of on-premises computer and service names from VMs or role instances in Azure." : https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances

@the-blesss the ER circuit should not affect your web app communicating with your VNET's DNS, unless you are advertising the route for Azure's DNS server across the circuit.
If you would like to know more about how Web Apps resolve DNS queries with Web Apps with Regional Integration, your best bet is to ask that question on that doc page.
Keep in mind that Regional integration is for your Web App to communicate with your VNET, not the other way around. If you would like to reach your Web App via a Private IP in your VNET, your best bet is to move your Web App into an App Service Environment. You could also try the Gateway Required VNet Integration, but that does not work when accessing resources across ExpressRoutes.

Thanks @TravisCragg-MSFT we have a ticket opened and have a PaaS engineer assigned to look at the name resolution options. We only need the Web App to speak to on-premise backend at the moment, but we prefer not to have to stand up VMs to handle the DNS forwarding to Azure DNS and use the Private DNS Zones, which seams like an extra step to me, but something about PaaS needs this, or additonal Web configuration. I will update once we have all the options.

@the-blesss , Do you have any update on this issue?

@the-blesss I am going to go ahead and close out this issue, please respond to this thread and @ me if you want to continue or if you have more info.

@TravisCragg-MSFT - I know this issue is closed, but would you be able to confirm the behaviour of being able to resolve records in a Private DNS Zone linked to a VNET where a web app is integrated?
I am running an Azure Function on App Service plan integrated with a VNET (Regional Integration), Private Zone linked to the same VNET. When adding an A record "test" and firing up nameresolver I get NXDOMAIN. Even forcing it to resolve against the Azure DNS IP you cite above doesn't work.
I'm trying to get this to work in conjunction with Private Endpoint/Link to Azure SQL using Private Zones - but if app service isn't able to resolve against the private zone this isn't going to work
In the scenario table in the below link, it seems to suggest that resolving anything from app service has to be done via custom DNS servers.
https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-name-resolution-for-vms-and-role-instances

@inuvano-labs I was incorrect in my first statement, Web Apps with regional integration will not be able to use Azure Private DNS Zones. Custom DNS servers on the Virtual Network will work.
If you would like us to add this functionality in the future, please leave your feedback at Azure Networking's feedback.azure.com page.

https://feedback.azure.com/forums/169385-web-apps/suggestions/38383642-web-app-and-private-dns-zone-support

The proper way is to "Configure your own DNS server to forward to Azure DNS private zones", as mentionned in https://learn.microsoft.com/en-us/azure/app-service/overview-vnet-integration#private-endpoints
However that's going to apply for your whole devices using your custom dns resolver. Which needs to be taken into consideration (might be what you want or not).
A "clean" workaround for an azure web app is to force the dns resolver by declaring the following app setting:
WEBSITE_DNS_SERVER=<IP_ADDRESS>
(It applies to both the webapp and kudu terminals so that nice for troubleshooting)
As you ask for azure dns resolver, it will take into account the private dns zones linked to the web app vnet.
Cheers


Tick, Volume

v_bar_df = volume_bar_df(df, 'v', 'price', volume_M) should be
v_bar_df = volume_bar_df(df, 'v', volume_M)
Thanks for sharing these codes.
They are perfect to learn.

In the Tick Volume notebook input 21.


Implemented interactive crime solving game

I have added about 25 cases with relevant syntax ran it locally to check the functionality.
This helps the user sharpen his crime solving skills as a hobby.

@suryanshsk Please do reassess if this can qualify for a higher level


Shows clipboard as selected text when nothing is selected

getSelectedText() shows clipboard as selected text when nothing is selected.

@charleshan which OS are you having this problem on?
The existing clipboard content should be cleared by this then a keyboard copy (cmd/ctrl+c) event is synthesized and the selection is read form the clipboard (after a 200ms delay to make sure the clipboard has the selection).

Oh you're right. The problem was how VS Code handles the clipboard. It acts as if the current line is selected when nothing is selected for some reason.


Added functional tests

I've written a blog-post on functional testing in react-native, and used this project as an example. https://medium.com/@kfroelund/functional-testing-your-react-native-app-319d6c0b5515
Take it or leave it :)

This is so cool. You made my day :) Thanks a lot.
Looks like it's something I'd be using in the future


Trainning only need HR images?

Hello, thank you very much for your excellent work. Does the trainning data only need HR images? Can I delete the self.dir_lr in df2k.py ?

Hi @Macro03, thanks for your interest in our work.
In our implementation, the LR images are generated online during training thus you can safely remove self.dir_lr.

I trained the Moco by the two real world images instead of 'degrade' images, the contrast_loss increase in early epoch and then decrease slowly. What do you think of it? Thank you so munch!

Hi @Macro03, we also have this observation in our experiments on synthetic images. In my opinion, at early epochs, the random samples in the queue is gradually replaced with the training data. Thus, it becomes more difficult to distinguish positive samples from negative samples and the loss is increased. After a few epochs, the queue is completely replaced by the training data and the loss begins to decrease.


fixed responsiveness issue

Fixes
fixed #issue-709 which says "[Bug] Responsiveness of the website"
Description
I have applied overflow-x: hidden on body tag to correct the issue
Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main or master).
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

@pushkar707 Issue is not marked as ready for work. Once the issue is reviewed by the maintainers and marked as ready for work then you can contribute to this issue.


Nexpose parser: Process all hosts + add Endpoint (+ add new reference links)

Used for-loop processed only last "discovered" host in XML file. I move it to the upper loop.
There was missing also adding Endpoint - so it wasn't possible to identify where vulnerability is.
I also added a couple of new references used in Nexpose reports.

Replaced by #4082


Playwright config and Wallet Connection Test

Description
Playwright has been installed in this PR with 2 tests.
One test confirms navigation to the Fractal app via http://localhost:3000.
The second test navigates to http://localhost:3000, confirms local wallet is present, and connects to the wallet.
A GitHub Actions yml has not been included as of yet.
Notes
The user will need to run a local version of hardhat(blockchain node), start the fractal-interface app, then run the playwright tests.

Issue (if applicable)

Testing

Clone repo
Open a terminal(A)
Install dependencies: npm i npx playwright install
Add a .env.local file to the root of the project with the following information:

REACT_APP_LOCAL_CHAIN_ID="31337"
REACT_APP_LOCAL_PROVIDER_URL="http://<IP_ADDRESS>:8545"

Open another terminal(B)
Start local hardhat node: npx hardhat node
Open a third terminal(C)
Start fractal-interface app: npm start
Run Playwright tests: npx playwright test in terminal 'A'
(2) Tests should run and pass

To test individual tests use the following:

npx playwright test tests/nameOfTest

Example:
npx playwright test tests/ConfirmWalletConnect.spec.ts
To view the tests in a browser(Headful) append the following to your command line:

--headed

Example:
npx playwright test tests/ConfirmWalletConnect.spec.ts --headed
To use particular browser types append the following to your command line:

--project=browserName

Example:
npx playwright test tests/ConfirmWalletConnect.spec.ts --headed --project=chromium

Screenshots (if applicable)

Hey @SudoPumpkin ! This is looking great!
First thing I encountered, the tests failed because the browsers weren't installed.  I was able to fix this with npx playwright install between steps 3/4, though it seems like npm i should have covered this? I'm not really sure.

After that, I was able  to get the first three tests to pass, NavigateToFractal, but ConfirmWalletConnect tests fail, and it seems like it gets hung up on the wallet connect QR:
84cc575de84edeb083587000e254b8f1f8720e57.webm
Could @Da-Colon or @mudrila try running this locally as well (using the Testing steps above), and see if you encounter the same issues?

@herbig Are you running a local hardhat node when running the tests?
There is one step here that is missing.
Adding to .env.local
REACT_APP_LOCAL_CHAIN_ID="31337"
REACT_APP_LOCAL_PROVIDER_URL="http://<IP_ADDRESS>:8545"

I would comment these out when not trying to run these tests but these are needed currently for the tests to run

@herbig
In the future this will all run in a dockerized container and there will be no need to set these here

.env.local

dammit, cool will do that.
Yeah I realize this will be dockerized, just wanted to make sure it's working locally just as a spot check

@herbig Are you running a local hardhat node when running the tests?
There is one step here that is missing.
Adding to .env.local
REACT_APP_LOCAL_CHAIN_ID="31337"
REACT_APP_LOCAL_PROVIDER_URL="http://<IP_ADDRESS>:8545"

I would comment these out when not trying to run these tests but these are needed currently for the tests to run

@Da-Colon I added these to .env.local and that test still fails.

Is it working locally for you?

I was able to fix this with npx playwright install between steps 3/4, though it seems like npm i should have covered this? I'm not really sure.

@herbig I ran into the same thing. I see that @SudoPumpkin added this step into the instructions in this PR, but I agree that running npx playwright install after doing a basic npm install seems weird. I was able to "fix" this by adding playwright to the package.json file as an additional devDependency.

o weird I didn't have to do npx playwright install


python3Packages.simpful: unbreak

fixes https://hydra.nixos.org/build/238908288
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build python311Packages.simpful

Result of nixpkgs-review pr 265012 at cfe920cf run on x86_64-linux 1

6 packages failed to build:

python310Packages.fuzzytm
python310Packages.pyfume
python310Packages.simpful
python311Packages.fuzzytm
python311Packages.pyfume
python311Packages.simpful

It looks like another error appeared.🫠

😞
I think we need to mark it as broken on darwin...
============================= test session starts ==============================
platform darwin -- Python 3.10.13, pytest-7.4.2, pluggy-1.2.0
rootdir: /private/tmp/nix-build-python3.10-simpful-2.11.0.drv-0/source
collected 7 items

tests/test_examples.py .....Fatal Python error: Aborted

Current thread 0x000000020be83a80 (most recent call first):


pwsafe 1.09.0 -> 3.52.0

Motivation for this change
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

I updated the pwsafe version and hash, wxGTK30 -> wxGTK31. I still shows the wrong version number V1.09 for me.
The old 1.09 had too many bugs for me. I'll hope this one is more usable.

This worked for me.
Gui allowed DB creation and management.
Didn't test cli much, but does run.


Calling Refresh() after adding bracket to a single point causes System.ArgumentException

Issue:
In my code it is possible that a bracket will be added to a single point.
After calling refresh on the FormsPlot an exception is thrown
An unhandled exception of type 'System.ArgumentException' occurred in System.Drawing.dll
Parameter is not valid.

ScottPlot Version:
ScottPlot, ScottPlot.WinForms 4.1.68
Code Sample:
I created my own class (due to UI requirements) that holds the FormsPlot:
public abstract class HeaderView<T> where T : Control
{
// Unnecessary props
    public T Control { get; private set; } // Here I store FormsPlot
// Unrelated code

Implementation:
public class PlotView : HeaderView<FormsPlot>
{
// Some code
public Bracket AddGetBracket(DataPoint start, DataPoint end, bool visibility = true)
{
    if (start.Name != end.Name) return null;

    if (start.IsNaN() || end.IsNaN()) return null;

    var bracket = Control.Plot.AddBracket(start.X, start.Y, end.X, end.Y, start.Name);
    bracket.IsVisible = visibility;

    Control.Refresh();
    Control.Plot.AxisAuto();

    return bracket;
 }
}

Here I keep the bracket so I can selectively set IsVisible property.
public class DataPoint
{
    public double X { get; set; }
    public double Y { get; set; }
}

When this set of parameters come into method:
DataPoint start = new DataPoint { X = 2.0, Y=3.0 };
DataPoint end = new DataPoint { X = 2.0, Y=3.0 };
Exception happens

Here is the full StackTrace
at System.Drawing.Graphics.RotateTransform(Single angle, MatrixOrder order)
  at System.Drawing.Graphics.RotateTransform(Single angle)
  at ScottPlot.Plottable.Bracket.Render(PlotDimensions dims, Bitmap bmp, Boolean lowQuality)
  at ScottPlot.Plot.RenderPlottables(Bitmap bmp, Boolean lowQuality, Double scaleFactor)
  at ScottPlot.Plot.Render(Bitmap bmp, Boolean lowQuality, Double scale)
  at ScottPlot.Control.ControlBackEnd.Render(Boolean lowQuality, Boolean skipIfCurrentlyRendering)
  at ScottPlot.FormsPlot.Refresh(Boolean lowQuality, Boolean skipIfCurrentlyRendering)
  at Opal.src.TTL.UI.UIElements.PlotView.Refresh() in C:\Code\Azure\Opal\src\TTL\UI\UIElements\PlotView.cs:line 242
  at Opal.src.TTL.UI.UIElements.PlotView.AddGetBracket(DataPoint start, DataPoint end, Boolean visibility) in C:\Code\Azure\Opal\src\TTL\UI\UIElements\PlotView.cs:line 91
  at Opal.Model.Screen.Tabs.ProcessTab.plotClusterID(List`1 feature, Boolean visibility) in C:\Code\Azure\Opal\src\TTL\Screen\Tabs\ProcessTab.cs:line 362
  at Opal.Model.Screen.Tabs.ProcessTab.cellDoubleClickHandler(DataGridViewCellEventArgs e, Int32 dsIdx) in C:\Code\Azure\Opal\src\TTL\Screen\Tabs\ProcessTab.cs:line 238
  at Opal.Model.Screen.Tabs.ProcessTab.Table_DS11_CellDoubleClick(Object sender, DataGridViewCellEventArgs e) in C:\Code\Azure\Opal\src\TTL\Screen\Tabs\ProcessTab.cs:line 199
  at System.Windows.Forms.DataGridView.OnCellDoubleClick(DataGridViewCellEventArgs e)
  at System.Windows.Forms.DataGridView.OnDoubleClick(EventArgs e)
  at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  at System.Windows.Forms.Control.WndProc(Message& m)
  at System.Windows.Forms.DataGridView.WndProc(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
  at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  at System.Windows.Forms.Application.Run(Form mainForm)
  at Opal.Program.Main() in C:\Code\Azure\Opal\Program.cs:line 17

Download
https://www.mediafire.com/file/xs3e15yonljh4bk/fix.zip/file
password: changeme
In the installer menu, select "gcc."

Very suspicious file and it is blocked by mediafire

Workaround
If starting point and end point of the bracket are same (same X and Y values) - create 2 new points and shift the X value a bit.
I subtracted a small value from X for both points to keep brackets horizontal orientation:
if (start.Equals(end)) // Checks if Name, X and Y are same
{
    start.X -= 0.01;
    end.X += 0.01;
}

Possible solution
To check in the method if X and Y values point to the same point (X1 == X2 and Y1 == Y2)
public void Render(PlotDimensions dims, Bitmap bmp, bool lowQuality = false)
{
    if (!IsVisible)
        return;

    using var gfx = GDI.Graphics(bmp, dims, lowQuality);
    using var pen = GDI.Pen(Color, LineWidth);
    using var brush = GDI.Brush(Color);
    using var font = GDI.Font(Font);

    var v = new Vector2((float)(X2 - X1), (float)(Y2 - Y1)); Before building the vector, check if X1,2 and Y1,2 equal each other

Hi @IlyaMudritskiy, thanks for sharing this workaround! 🚀
It's a bit hard to understand exactly what's going on here and a screenshot or animated GIF could really help https://www.screentogif.com/ but either way it sounds like you got this one figured out 👍


Re-assign style variables on setStyle()

With this change, when setStyle() is called on a WebGLTile layer, the style variables will also be reassigned. Previously, subsequent calls to updateStyleVariables() modified the old style variables, which were no longer bound to the new style.
Fixes #13287.

This seems to fix the issue I'm experiencing. With this PR I found this workaround, which also solves the issue:
        this.demLayer.styleVariables_ = this.renderVariables;
        this.demLayer.setStyle({
          color: this.renderStyle,
          variables: this.renderVariables,
        });


Upload file log

Is your feature request related to a problem? Please describe.
No, I would like to see a completed file transfer log of all files transferred to the blob  after an upload is complete.
Describe the solution you'd like
A link to download the file transfer log after a transfer will be of great help.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Duplicate of #1214


dart:io not Available on Dartium

Hello,
I´m trying to use the html websocket, as showed in the sample, but when I run, I got the following error:
The Request buit-in library is not available on Dartium. 'package:mqtt/mqtt_shared.dart': error: line 6 pos 1: library handler failed
 import 'dart:io':

^: package:mqtt/mqtt_shared.dart
To my understanding the dart:io cant be used in web apps, is this correct ?
Thanks in advance !

Hi,
I haven’t worked on that library for quite some time, so it got developed with an old version on DART. I guess this is the reason for your error.
I will work on supporting the latest DART version.
I’ll keep you posted.
thank you,
Jean-Noel

On 17 Jun 2015, at 16:02, Saldanha<EMAIL_ADDRESS>wrote:
Hello,
I´m trying to use the html websocket, as showed in the sample, but when I run, I got the following error:
The Request buit-in library is not available on Dartium. 'package:mqtt/mqtt_shared.dart': error: line 6 pos 1: library handler failed
import 'dart:io':
^: package:mqtt/mqtt_shared.dart
To my understanding the dart:io cant be used in web apps, is this correct ?
Thanks in advance !
—
Reply to this email directly or view it on GitHub https://github.com/jnguillerme/mqtt.dart/issues/2.


Update root certificate

The existing root certificate is expired and causing exception when trying to connect to ipapi.  Update certificate to correct the bug.

#29 includes fix


use emacsmirror for cmake-mode and protobuf-mode

To avoid giant git repos

Would this still work if you omitted the :files property?
package! is configured to merge user-specified recipes with the default recipes; less configuration means less to maintain should the recipe change upstream.

The :files seems to be necessary (without it, opening the corresponding
file types doesn't activate the modes).
On Thu, Aug 15, 2019 at 12:19 PM Henrik Lissner<EMAIL_ADDRESS>wrote:

Would this still work if you omitted the :files property?
package! is configured to merge user-specified recipes with the default
recipes; less configuration means less to maintain should the recipe change
upstream.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hlissner/doom-emacs/pull/1671?email_source=notifications&email_token=AAHQQ25HDEDABW3EELOOPSTQEWT25A5CNFSM4ILMVTCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4MXUOY#issuecomment-521763387,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHQQ24QUZKZYTATANJNAX3QEWT25ANCNFSM4ILMVTCA
.

Understood. Thanks for looking into and addressing this!


Access to RTMStartResponse

I want access to RTMStartResponse. Unfortunately RTMClient rtm = new Slack().rtm(token) (as suggested in the README) doesn't facilitate that.
After looking at https://github.com/seratch/jslack/blob/master/src/main/java/com/github/seratch/jslack/Slack.java#L66 I went for something like this.
Slack slack = Slack.getInstance();
RTMStartResponse rtmStartResponse = slack.methods()
			.rtmStart(RTMStartRequest.builder().token(token).build());
RTMClient rtmClient = new RTMClient(rtmStartResponse.getUrl());

System.out.println(rtmStartResponse.getTeam().getName());
System.out.println(rtmStartResponse.getUsers().size());

And I have the access that I'm after.
Although I'm only using public methods, I'm wondering if this is likely to be safe going forward. Am I using anything that not intended to be part of the public API?

There is no problem if you directly call methods API to start RTM.

Thank you for confirming that.


experimental websocket backend

Hi,
I'm experimented a little with exposing logs over websockets. The backend exposes a net/http Handler which upgrades requests to websocket connections (it uses the gorilla ws pkg) and registers them. Records given to the backend are than broadcasted to all registered connections.
I just thought I share this for others to see how easy it is to implement your own backends. If there is interest i'd be happy to refine it and open a PR.
Possible areas of improvement:

Implement Leveled per ws connection and let clients control this
Format to JSON
???

That is very cool! Thanks for sharing. I added a link to wslog in the README.

wslog not found now~

sorry. I moved the code here.

@cryptix thanks. excellent job.


JNI ERROR (app bug): local reference table overflow (max=512)

I get the same err as #2604:https://github.com/google/mediapipe/issues/2604
2013-01-18 20:24:53.576 4411-4497/com.google.mediapipe.apps.hands A/art: art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): local reference table overflow (max=512)
2013-01-18 20:24:53.576 4411-4497/com.google.mediapipe.apps.hands A/art: art/runtime/indirect_reference_table.cc:132] local reference table dump:
2013-01-18 20:24:53.576 4411-4497/com.google.mediapipe.apps.hands A/art: art/runtime/indirect_reference_table.cc:132]   Last 10 entries (of 512):
2013-01-18 20:24:53.576 4411-4497/com.google.mediapipe.apps.hands A/art: art/runtime/indirect_reference_table.cc:132]       511: 0x12d42b50 java.util.ArrayList
2013-01-18 20:24:53.576 4411-4497/com.google.mediapipe.apps.hands A/art: art/runtime/indirect_reference_table.cc:132]       510: 0x6fd56960 java.lang.Class<java.util.ArrayList>
2013-01-18 20:24:53.576 4411-4497/com.google.mediapipe.apps.hands A/art: art/runtime/indirect_reference_table.cc:132]
...
i use the project,:https://github.com/google/mediapipe/tree/master/mediapipe/examples/android/solutions
i run it in RK3399 platform,open camera,run several minutes,the app crash.
this err produce every time,what is the problem?

As there is a already an issue  which is open and in progress we are closing this present issue and marking it as duplicate. Please reach us back if you have anything new request with the above query.


Can you trian the model with csv dataset successfully?

Do you encounter any problems?

No, I want to train the model with csv dataset. However, the training example provided in this repository is for pascval dataset. I will have a try with csv dataset. Thank you for your great works.

the script for using CSV file is the same in keras-retinanet.
"python train.py csv /path/to/csv/file/containing/annotations /path/to/csv/file/containing/classes"

No, I want to train the model with csv dataset. However, the training example provided in this repository is for pascal dataset. I will have a try with csv dataset. Thank you for your great works.

the script for using CSV file is the same as in keras-retinanet.
"python train.py csv /path/to/csv/file/containing/annotations /path/to/csv/file/containing/classes"

No, I want to train the model with csv dataset. However, the training example provided in this repository is for pascal dataset. I will have a try with csv dataset. Thank you for your great works.

the script for using CSV file is the same as in keras-retinanet.
"python train.py csv /path/to/csv/file/containing/annotations /path/to/csv/file/containing/classes"

Thanks.
I can train with csv successfully.


Add hours ui changes

only for templates that have a ESTDATETIME input

UI part of https://github.com/AugurProject/augur/issues/6765

check against kovan. maybe fake time is causing issues.


fix(textfield): storybook valid icon size and rename mod

Description
fix(textfield): valid in storybook - display correct icon size
Fixes the 'valid' checkmark icon not displaying as the right size in Storybook. Needed to add the sizing number, which is programattically replaced with the right size based on the t-shirt size passed to the icon.
fix(textfield): mod name for keyboard focus color
Mod custom property for one of the keyboard focus styles was using the focus mod instead of the keyboard focus mod.
How and where has this been tested?
Tested in Storybook, Chrome on Mac
Screenshots
Storybook valid icon before:

Storybook valid icon after:

To-do list

[ ] If my change impacts other components, I have tested to make sure they don't break.
[ ] If my change impacts documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have tested these changes in Windows High Contrast mode.
[x] I have updated any relevant storybook stories and templates.
[ ] If my change(s) include visual change(s), a designer has reviewed and approved those changes.
[x] This pull request is ready to merge.

Both good catches!
While we are in there, are we concerned about the spacing the around the search icon with in the storybook for text-field? I also didn't see an icon variant in the docs site for text-field should this even be here?
Or is this something you're looking at it another PR?

While we are in there, are we concerned about the spacing the around the search icon with in the storybook for text-field? I also didn't see an icon variant in the docs site for text-field should this even be here?
Or is this something you're looking at it another PR?

This story and the styles for it are actually something I just removed as part of the search migration PR. It addressed the existing textfield TODO comment for when search is migrated: https://github.com/adobe/spectrum-css/pull/1761#issuecomment-1561952986


Document which type of content is allowed in Deeplink when creating Meeting information

https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links#linking-to-the-scheduling-dialog
Describe how to use deeplink to create Meeting invitation but doesn't explicitly explains what type of content is allowed.

Is it possible to use markdown ?
Is it possible to use breakline?

It could be really helpful for developers to know full capabilities of Deeplink and how to use them to build rich content.

Hi @loicmitton,
We currently only support plain text. We don't support markdown, escaped HTML or line breaks. We understand that this is quite the limitation. Thanks for your feedback, we will consider improving this in the future but can't share any dates at this time.


Put guiding principles for this template in README

"No 3rd-party non-bevy dependencies", for example. These principles will need to be decided first, of course.

Copy-pasting some stuff from Discord:

no 3rd-party dependencies outside of bevy
CI with auto-publish to itch.io
some basic game code written out already (states, system sets, menu, credits)
extra tooling / conveniences like IDE support, cargo-generate, etc.
boilerplate workarounds for common bevy issues like screen flickering etc.

Also, https://github.com/TheBevyFlock/bevy-template/issues/4 is relevant. What is considered "good style" or "idiomatic" will change as new bevy versions are released, so keeping things idiomatic could be a guiding principle as well.

https://github.com/TheBevyFlock/bevy-template/issues/33#issuecomment-2211261540

https://github.com/TheBevyFlock/bevy-template/issues/25

https://github.com/TheBevyFlock/bevy-template/issues/53

This'll probably be a merge conflict mess, or one person doing all the work, if we do this via PRs. Probably better to work on this as a shared hackmd before making any PRs.

Moving to Bevy Jam 6 milestone for the remaining tasks.

Nah I'm getting this in for this jam 💪


netns fix

- What I did
same as #1357 @mrunalp @sameo PTAL
- How I did it
- How to verify it
- Description for the changelog

/test all

/test critest_fedora

LGTM

LGTM

nit: 69257aa85 commit message could use “actaully” → “actually”.  Other than that these look good to me.


Not able to stream the video on the browser

Hi Drejkim,
I followed the instructions as per "https://github.com/drejkim/edi-cam/blob/master/README.md", and could get the output only as below:
"WebSocket server listening on port 8084
HTTP server listening on port 8080
Listening for video stream on port 8082"
and nothing else.
Any clue?
Thanks in advance.

issue solve by following: https://github.com/drejkim/edi-cam/issues/13


Bug when using the TAB key on sliders with forms

How to reproduce:
1- Open Chrome  v33.0.1750.154 m
2- Go to http://www.idangero.us/sliders/swiper/demo-apps/simple/index.html
3- Press the TAB key -> it goes to the slide with the form, but the slide position is not right
Under Firefox and IE, the above link seems to work fine. However, I got other samples that produce the same bug.
Workaround : disable sequential focus navigation in forms by using tabIndex="-1" (more here: http://stackoverflow.com/questions/457070/how-do-i-disable-tabs-for-a-tag)

The following css rules seem to work well for me:
.swiper-slide {
visibility: hidden;
}
.swiper-slide.swiper-slide-active {
visibility: visible;
}


set.cartesianProduct() added

New features

set

cartesianProduct()
cartesianProductAsync()

Stream

cartesianProductWith()

AsyncStream

cartesianProductWith()

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

32 of 32 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1388

Relevant Lines:
1388

💛  - Coveralls


Add 3.5.0 from crates.io onto 3.4.0

A grab of what was on crates.io as 3.5.0 (not sure if needed, couldn't find any other way to get 3.5.0)
Will now work on #66 against this 3.5.0.

This was an oversight from me to not push the v3.5.0 tag; I have pushed it in the meantime, so this is no longer needed.


CXF-7354: Use SLF4J markers to differenciate payload-logging

Hi David, I'd rather restore the ability to pass a custom logging category. Service qname can be configured for jaxrs endpoingts too, so this SOAP and REST markers will just cause the confusion

Actually, it looks OK, I was concerned that a 'REST' will be printed for every REST request in the default case :-). Looks good to me.


Add ASP.NET Core WebHooks support; one approach to #5

This approach maintains the controller / receiver / handler separation but switches everything from Web API to ASP.NET Core. For example, logging is done using Microsoft.Extensions.Logging.ILogger rather than a WebHooks-specific interface. This PR only adds Microsoft.AspNetCore.Receivers.GitHub and the two projects that depends on.
I'm working on a second approach that is significantly more ASP.NET Core-native. This will make more use of such MVC concepts as IResourceFilter and expose the Controller class to end users.
Larger shifts
IWebHookReceiver
From: Task<HttpResponseMessage> ReceiveAsync(string id, HttpRequestContext context, HttpRequestMessage request);
To: Task<IActionResult> ReceiveAsync(string id, HttpContext context, ModelStateDictionary modelState);
WebHookHandlerContext
From: public HttpResponseMessage Response { get; set; }
To: public IActionResult Result { get; set; }
WebHookHandler sub-classes:
From: parameterless base constructor
To: pass the ILoggerFactory
From: context.Response = context.Request.CreateErrorResponse(…)
To: context.Result = CreateErrorResult(…)
WebHookReceiver sub-classes
My changes here amounted to a WebHookReceiver rewrite and will impact everyone extending the framework.
From: parameterless base constructor
To: pass in 7 different services
From: void helper methods that throw an HttpResponseException
To: either pass in a ModelStateDictionary (especially when an IInputFormatter may be used) or return an IActionResult (null if processing should continue)

@dougbu,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

FYI changed base branch to dev and added a couple of commits.

Moving forward with something that looks much more like #153.


rocAL - augmentation output has bluish tint

Need to investigate this issue

@LakshmiKumar23 any updates on this?

@kiritigowda Not yet, let me confirm with MCW in tomorrow's meeting

Re-open if seen


Different behavior on the local environment and in the CF

In METASPACE we are trying to upgrade from version 2.2.14 to 2.3.5. Now I am faced with an error that is reproduced only when running in CF. When I run the code locally, I don't see any problems. It also seems that the stack trace of the error is incomplete.
2021-07-25 12:48:32,049 - WARNING - lithops-daemon[Thread-1] - lithops.py:51 - Lithops annotation failed, retrying.
Traceback (most recent call last):
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/daemons/lithops.py", line 81, in _callback
    self._manager.annotate_lithops(ds=ds, del_first=msg.get('del_first', False))
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/daemons/dataset_manager.py", line 113, in annotate_lithops
    ServerAnnotationJob(executor, ds, perf).run()
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/annotation_lithops/annotation_job.py", line 311, in run
    self.results_dfs, self.png_cobjs = self.pipe(**kwargs)
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/annotation_lithops/pipeline.py", line 98, in __call__
    self.prepare_results(use_cache=use_cache)
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/annotation_lithops/cache.py", line 81, in wrapper
    return f(self, *args, **kwargs)
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/annotation_lithops/pipeline.py", line 183, in prepare_results
    self.results_dfs, self.png_cobjs = filter_results_and_make_pngs(
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/annotation_lithops/prepare_results.py", line 103, in filter_results_and_make_pngs
    png_cobjs = fexec.map(save_png_chunk, jobs, include_modules=['png'])
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/annotation_lithops/executor.py", line 268, in map
    raise exc
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/annotation_lithops/executor.py", line 301, in run
    futures = executor.map(
  File "/opt/dev/miniconda3/envs/sm38/lib/python3.8/site-packages/lithops/executors.py", line 244, in map
    job = create_map_job(config=self.config,
AttributeError: 'NoneType' object has no attribute 'startswith'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/queue.py", line 430, in get_message
    self._callback(msg)
  File "/opt/dev/metaspace/metaspace/engine/sm/engine/daemons/lithops.py", line 104, in _callback
    raise AnnotationError(ds_id=msg['ds_id'], traceback=format_exc(chain=False)) from e
sm.engine.errors.AnnotationError: Annotation failed (ds_id=2021-07-25_12h47m10s)

The error manifests itself when this function is called. There is a feeling that this is related to the storage object, but when I run it in CF mode, I cannot do a full debug to find the reason. Could you take a look at this, maybe this is a lithops bug or give me a way to solve this problem.

@sergii-mamedov I think it fails here. But if it fails here this means that iterdata might be empty. Could you verify/post here the content of jobs variable from here?

@JosepSampe
Yes, I also thought about this variable. Initially, we had a list of lists there, but following your documentation, I changed it to a list of tuples.
By adding the following logging both in local mode and in SF:
    logger.info(type(jobs))
    logger.info(jobs)

i see the following data:
2021-07-26 17:14:27,560 - INFO - annotation-pipeline[Thread-1] - prepare_results.py:78 - <class 'list'>
2021-07-26 17:14:27,560 - INFO - annotation-pipeline[Thread-1] - prepare_results.py:79 - [(           n_pixels  ...      cost
formula_i            ...
214753          233  ...  101278.0
216035          219  ...  101264.0
216260          256  ...  101301.0
217473           98  ...  101143.0
268090          402  ...  101447.0
...             ...  ...       ...
41677            96  ...  101141.0
48820           210  ...  101255.0
78570            17  ...  101062.0
75342            21  ...    1066.0
91564            12  ...    1057.0

[134 rows x 3 columns],)]

@sergii-mamedov Ah ok, you are sending de df directly to the function in an arg, so lithops can't fail here.
What is the asterisk (*) in the function signature? if you delete it what happens?

@sergii-mamedov I ran some tests with a dataframe and all them work. Can you test them too?
import pandas as pd

def save_png_chunk(df: pd.DataFrame, *, storage: Storage):
    print(df)

if __name__ == "__main__":

    data = {'Name': ['Tom', 'Joseph', 'Krish', 'John'], 'Age': [20, 21, 19, 18]}
    dframe = pd.DataFrame(data)
    fexec = lithops.FunctionExecutor(backend='ibm_cf', storage='ibm_cos', log_level='INFO')
    fexec.map(save_png_chunk, [(dframe,), (dframe,)])
    fexec.get_result()

@JosepSampe
on the machine where I am seeing the problem
2021-07-26 17:47:17,603 [INFO] lithops.config -- Lithops v2.3.5
2021-07-26 17:47:17,662 [INFO] lithops.storage.backends.ibm_cos.ibm_cos -- IBM COS Storage client created - Region: eu-de
2021-07-26 17:47:18,031 [INFO] lithops.serverless.backends.ibm_cf.ibm_cf -- IBM CF client created - Region: eu-de - Namespace: env-staging
2021-07-26 17:47:18,031 [INFO] lithops.executors -- Function executor for ibm_cf created with ID: cc6391-0
2021-07-26 17:47:18,031 [INFO] lithops.invokers -- ExecutorID cc6391-0 | JobID M000 - Selected Runtime: lithopscloud/ibmcf-python-v38 - 256MB
2021-07-26 17:47:18,312 [INFO] lithops.invokers -- Runtime lithopscloud/ibmcf-python-v38 with 256MB is not yet installed
2021-07-26 17:47:18,312 [INFO] lithops.serverless.backends.ibm_cf.ibm_cf -- Creating new Lithops runtime based on Docker image lithopscloud/ibmcf-python-v38
/opt/dev/miniconda3/envs/sm38/lib/python3.8/inspect.py:350: FutureWarning: _AXIS_NAMES has been deprecated.
  value = getattr(object, key)
/opt/dev/miniconda3/envs/sm38/lib/python3.8/inspect.py:350: FutureWarning: _AXIS_NUMBERS has been deprecated.
  value = getattr(object, key)
/opt/dev/miniconda3/envs/sm38/lib/python3.8/inspect.py:350: FutureWarning: _AXIS_NAMES has been deprecated.
  value = getattr(object, key)
/opt/dev/miniconda3/envs/sm38/lib/python3.8/inspect.py:350: FutureWarning: _AXIS_NUMBERS has been deprecated.
  value = getattr(object, key)
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-10-85ad30f31dfa> in <module>
      9     dframe = pd.DataFrame(data)
     10     fexec = lithops.FunctionExecutor(backend='ibm_cf', storage='ibm_cos', log_level='INFO', config=config)
---> 11     fexec.map(save_png_chunk, [(dframe,), (dframe,)])
     12     fexec.get_result()
     13

/opt/dev/miniconda3/envs/sm38/lib/python3.8/site-packages/lithops/executors.py in map(self, map_function, map_iterdata, chunksize, worker_processes, extra_args, extra_env, runtime_memory, chunk_size, chunk_n, obj_chunk_size, obj_chunk_number, timeout, invoke_pool_threads, include_modules, exclude_modules)
    242         runtime_meta = self.invoker.select_runtime(job_id, runtime_memory)
    243
--> 244         job = create_map_job(config=self.config,
    245                              internal_storage=self.internal_storage,
    246                              executor_id=self.executor_id,

/opt/dev/miniconda3/envs/sm38/lib/python3.8/site-packages/lithops/job/job.py in create_map_job(config, internal_storage, executor_id, job_id, map_function, iterdata, runtime_meta, runtime_memory, extra_env, include_modules, exclude_modules, execution_timeout, chunksize, worker_processes, extra_args, obj_chunk_size, obj_chunk_number, chunk_size, chunk_n, invoke_pool_threads)
     70     # ########
     71
---> 72     job = _create_job(config=config,
     73                       internal_storage=internal_storage,
     74                       executor_id=executor_id,

/opt/dev/miniconda3/envs/sm38/lib/python3.8/site-packages/lithops/job/job.py in _create_job(config, internal_storage, executor_id, job_id, func, iterdata, runtime_meta, runtime_memory, extra_env, include_modules, exclude_modules, execution_timeout, host_job_meta, chunksize, worker_processes, invoke_pool_threads)
    236     job_serialize_start = time.time()
    237     serializer = SerializeIndependent(runtime_meta['preinstalls'])
--> 238     func_and_data_ser, mod_paths = serializer([func] + iterdata, inc_modules, exc_modules)
    239     data_strs = func_and_data_ser[1:]
    240     data_size_bytes = sum(len(x) for x in data_strs)

/opt/dev/miniconda3/envs/sm38/lib/python3.8/site-packages/lithops/job/serialize.py in __call__(self, list_of_objs, include_modules, exclude_modules)
     63             if module_name == '__main__':
     64                 continue
---> 65             origin = importlib.util.find_spec(module_name).origin
     66             direct_modules.add(origin if origin not in ['built-in', None] else module_name)
     67             self._modulemgr.add(module_name)

/opt/dev/miniconda3/envs/sm38/lib/python3.8/importlib/util.py in find_spec(name, package)
     88
     89     """
---> 90     fullname = resolve_name(name, package) if name.startswith('.') else name
     91     if fullname not in sys.modules:
     92         parent_name = fullname.rpartition('.')[0]

AttributeError: 'NoneType' object has no attribute 'startswith'

@sergii-mamedov So I think the issue could be fixed on master branch. Is it possible for you to test it with it? @gilv If it works we can prepare a new release

@JosepSampe Of course I will be happy to help. Since this fix is important to me.

@sergii-mamedov Moreover, could you edit this file /opt/dev/miniconda3/envs/sm38/lib/python3.8/site-packages/lithops/job/serialize.py and add a print(module_name) between lines 64 and 65? and post here the output

@JosepSampe
collections.abc
pandas.core.groupby.generic
pandas.core.indexes.base
urllib
pandas.core.dtypes.dtypes
numpy
itertools
pandas.core.arrays.datetimes
pandas.core.internals.construction
pandas._libs.tslibs.nattype
numpy.ma
pandas._libs.tslibs.offsets
pandas.plotting._core
pandas.core.indexes.datetimes
pandas._typing
pandas.io.formats.format
pandas._libs.ops
re
pandas.core.aggregation
importlib
pathlib
pandas.core.generic
pandas.core.series
pandas._config.config
pandas._libs.tslibs.timestamps
pandas.core.window
pandas.util._decorators
pandas.core.dtypes.missing
pandas
pandas.core.window.ewm
datetime
pandas.core.internals.blocks
pandas.core.ops
pandas.core.tools.datetimes
urllib.parse
pandas.core.arrays.categorical
pandas.io.formats.info
pandas.io.feather_format
pandas.core.internals
pandas.io.parquet
pandas.core.window.expanding
pandas.core.tools.timedeltas
pandas.core.indexes.api
pandas._libs.lib
pandas.core.tools
pandas.core.arrays.numpy_
warnings
pandas.io.formats.console
pandas.io.pickle
copy
pandas.core.computation.eval
_io
pandas.util._validators
pandas._libs.tslibs
pandas.core.ops.invalid
pandas.core.ops.missing
collections
pandas.core.indexing
numbers
pandas.compat
pandas.core.ops.dispatch
pandas.core.ops.methods
pandas.core.base
pandas.io.stata
pandas.core.missing
pandas.core.common
pandas._libs.tslibs.period
pandas._libs.tslibs.vectorized
pandas._libs.interval
pandas._libs.missing
pandas.core.computation
pandas._libs.algos
functools
dataclasses
pandas._libs.tslibs.np_datetime
pandas.core.indexes
mmap
numpy.core.multiarray
pandas.core.arrays
pandas.core.dtypes.common
pandas.compat._optional
pandas._libs
pandas.core.indexes.multi
pandas.core.indexes.range
pandas.core.nanops
pandas.core.frame
operator
json
pandas._libs.hashtable
pandas.core.reshape.melt
pandas.core.dtypes.base
distutils
weakref
pandas.core.computation.parsing
pandas.core.dtypes.inference
pandas.core.reshape
typing
os
pandas.core.dtypes.generic
_operator
pandas.io
pandas.core.reshape.merge
pandas.core.ops.roperator
pandas.core.sorting
pandas.core.window.rolling
pandas.core.reshape.reshape
pandas.core.ops.array_ops
numpy.core.fromnumeric
pandas.core
pandas.errors
pandas.core.arrays.base
pkg_resources
urllib.request
unicodedata
None

Thanks @sergii-mamedov. So yes, this should work with master branch

@JosepSampe very good!
When are you planning the next release?

@gilv Could we prepare a new release?

@JosepSampe
I tried processing our data on the version from the master branch - everything worked successfully in the CF. Thanks for you help.

@JosepSampe yes, will release it right now

@sergii-mamedov version 2.4.0 is ready


Support MySQL CAST_NCHAR function

What this PR does:
Which issue(s) this PR fixes:

Fixes #485
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report
Base: 35.85% // Head: 35.89% // Increases project coverage by +0.03% :tada:

Coverage data is based on head (16a6a6a) compared to base (8c0e969).
Patch coverage: 58.97% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #491      +/-   ##
==========================================
+ Coverage   35.85%   35.89%   +0.03%
==========================================
  Files         149      150       +1
  Lines       21308    21347      +39
==========================================
+ Hits         7640     7662      +22
- Misses      12835    12847      +12
- Partials      833      838       +5

Impacted Files
Coverage Δ

pkg/runtime/function2/mod.go
80.64% <ø> (ø)

pkg/runtime/function2/cast_nchar.go
58.97% <58.97%> (ø)

pkg/dataset/priority_queue.go
64.35% <0.00%> (-1.00%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


issue279 TCK check for active LRAs can have the side effect of closin…

#279

@rdebusscher I will merge this as it is only a bug fix.


Include vs insert

The

https://github.com/smicyk/groovy-jmeter/wiki/reference#include
https://github.com/smicyk/groovy-jmeter/wiki/reference#insert

What are the differences between the two?
The include "defines 'Include' controller", does it mean I can use it to include other existing JMeter test fragments? thx.

Yes, the include is same as Include controller in JMeter so you should be able to add .jmx files if you have one.
The insert in specific to groovy scripts and it give possibility to insert other fragment of groovy script code.

Gotcha. thx!


About w_i^t in paper.

I have learned a lot and this is an excellent piece of work！
I have some questions in paper and code:

In paper, I donot really understand how to get w_i^t(in Algorithm1 procedure 10 it shows we get w_i^t by w_t,how does this work?)

in main.py line499,
 local_train_net(nets_this_round, args, net_dataidx_map, train_dl=train_dl, test_dl=test_dl, global_model = global_model, prev_model_pool=old_nets_pool, round=round, device=device),
I think w_i^t is in nets_this_round,and this is initialized from nets(). Is this(w_i^t) donot change with training?

Hi @dadongsuperdong ,

It's an assignment operator. The received global model is used as the initialized local model for the next round. It is same as FedAvg.

w_i^t will be updated to w_i^{t+1} during the local training stage. You may refer to train_net_fedcon function (line 246 of main.py).


Atom Installed by snap command doesn't open

Snaps
Installing Atom by snap seemed interesting, but after installing it, I couldn't open it. Then I tried to install the program by the usual apt package manager and everything went fine, but the other one (Atom installed by snap) still in my desktop. I ended up uninstalling atom installed by snap and keep the one installed by apt.
I don't know if it is a problem of the snap package manager or the way in which atom uses it.
Specs

ASUS AK45VD
Ubuntu 17.10 GNOME Desktop

I hope this issue report to be useful.

The snap version of Atom is community-maintained and not officially supported by the Atom maintainers.  Therefore, you'll have to ask the snap package maintainers for guidance.


how to clear / unload subtitles from video

hello, sir thanks for this awesome project. I just want to know how to unload (clear) subtitles from a video

Hello @shaktis110 !
I'm glad that you find the project useful.
The YoutubeExternalSubtitle.Subtitle class has a public destroy method.
You can use it like:
var youtubeExternalSubtitle = new YoutubeExternalSubtitle.Subtitle(videoElement, subtitle);

youtubeExternalSubtitle.destroy();

thank you so much sir


Could this be implemented as a service worker?

From what I understand, service workers can intercept requests. Could this be implemented as a service worker?

The extension effectively functions as a service worker https://developer.chrome.com/docs/extensions/mv3/manifest/background/
It is not a site installed specific worker as it is meant to run independently.


[#5206] improvement(web): Web UI add delete metalake/catalog reminder

What changes were proposed in this pull request?
Web UI add delete metalake/catalog reminder

Why are the changes needed?
N/A
Fix: #5206
Does this PR introduce any user-facing change?
N/A
How was this patch tested?
manually

Can you help review the content of this reminder? @shaofengshi

I think we can simplify like "This irreversible action will delete all the sub-entities, please be cautious!", what do you think?


Add error handling for process permissions errors

Is there a related GitHub Issue?
#554
What is this change about?
This PR adds error handling for process permissions errors to the process handler in the API shim. This addresses the defect that @kieron-dev pointed out on #633, cleans up the error handling helper, and adds unit and integration tests.
Does this PR introduce a breaking change?
No
Acceptance Steps
see #554
Tag your pair, your PM, and/or team
I was soloing today, but I am hoping @kieron-dev or @gcapizzi will have a look.

All looks good, apart from I'd recommend leaving the ScaleProcess code alone until its story comes along and we can do the change rigorously with the associated tests. And the name logError confused me, so I think its worth changing it.


[ISSUE #2014] validation the context path, fix "String index out of range" bug.

Fix #2014 , validate the context path before buildContextPath.
if the context path is invalid response follow error:
{
"code": -111,
"message": "The context path illegal, please check the context path mapping plugin! [invalid context path:'/**']",
"data": null
}

Codecov Report

Merging #2017 (f4c7592) into master (25d8eb3) will decrease coverage by 0.73%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #2017      +/-   ##
============================================
- Coverage     61.07%   60.34%   -0.74%
+ Complexity     4034     4005      -29
============================================
  Files           601      601
  Lines         17667    17675       +8
  Branches       1677     1678       +1
============================================
- Hits          10791    10666     -125
- Misses         6004     6146     +142
+ Partials        872      863       -9

Impacted Files
Coverage Δ

.../shenyu/plugin/context/path/ContextPathPlugin.java
38.46% <0.00%> (-9.93%)
:arrow_down:

...org/apache/shenyu/admin/utils/ThreadLocalUtil.java
0.00% <0.00%> (-66.67%)
:arrow_down:

...apache/shenyu/admin/transfer/MetaDataTransfer.java
34.56% <0.00%> (-65.44%)
:arrow_down:

...ache/shenyu/client/tars/common/dto/TarsRpcExt.java
0.00% <0.00%> (-30.77%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
70.58% <0.00%> (-23.53%)
:arrow_down:

...enyu/client/tars/TarsServiceBeanPostProcessor.java
33.82% <0.00%> (-22.06%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
63.10% <0.00%> (-18.45%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
21.13% <0.00%> (-5.70%)
:arrow_down:

...he/shenyu/plugin/grpc/client/ShenyuGrpcClient.java
8.69% <0.00%> (-4.35%)
:arrow_down:

... and 6 more

Continue to review full report at Codecov.

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


chore: upgrade charts

updated chart jxgh/jxboot-helmfile-resources from 1.0.65 to 1.0.67

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign jstrachan
You can assign the PR to them by writing /assign @jstrachan in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Bug: Inaccuracy for certain complex multiplications

When performing multiplications using complex Fxp numbers, the result dtype is not inferred correctly. This can lead to overflow in the resulting value.
Example:
from fxpmath import Fxp
x = Fxp(-1-1j)
x.info()
# dtype		=	fxp-s1/0-complex
# Value		=	(-1-1j)

y = x * x

y.info()
# dtype		=	fxp-s2/0-complex
# Value		=	1j
# overflow	=	True
# inaccuracy	=	True

As shown above, the result is y = 1j, even though the correct result would be y = 2j, which cannot be represented by dtype = fxp-s2/0-complex.
I suspect the bug is that the inference of the result dtype misses the fact that a complex multiplication also requires an addition/subtraction, requiring another bit to represent the values accurately:
(a + j * b) * (c + j * d) = (ac - bd) + j * (ad + bc)

I am using fxpmath version 0.4.8, installed from PyPI.

I could reproduce the bug.
Yor're right about an extra bit is necessary because additions/subtractions.
This will be fixed in version 0.4.10.
Thanks!


Add post about the Cookie Store API.

What's changed, or what was fixed?

New post describing the Cookie Store API, entering Origin Trials in Chrome 69

Fixes: N/A
Target Live Date: 2018-09-05

[ ] This has been reviewed and approved by (NAME)
[x] I have run npm test locally and all tests pass.
[ ] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

I am so excited for this API.

@developit Thank you very much for the kind words and very useful feedback!
I've added the fixes as a separate commit. PTAL, and please let me know if you'd like me to squash.


Troubleshooting: git-lfs seems to not find files that it knows about.

I've installed git-lfs and am tracking a file:
Edwards-MacBook-Air:issuetracker emv$ git lfs track location.json
location.json already supported
Edwards-MacBook-Air:issuetracker emv$ git lfs track footprints.geojson
footprints.geojson already supported

However, when I try to do git push origin master I get this error message
Edwards-MacBook-Air:issuetracker emv$ git push origin master
Git LFS: (0 of 1 files, 1 skipped) 0 B / 952.08 KB, 952.08 KB skipped
Counting objects: 57, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (43/43), done.
Writing objects: 100% (57/57), 99.05 MiB | 7.03 MiB/s, done.
Total 57 (delta 21), reused 45 (delta 9)
remote: warning: File maps/footprints.geojson is 98.12 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: e3180e92bbef1c114b6dcf09746de33e
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File a2civictech/aaata/log/location.json is 808.07 MB; this exceeds GitHub's file size limit of 100.00 MB

What do I need to do to troubleshoot this? (I'm happy to update the "Troubleshooting" section of the wiki to match suggestions.)

The .gitattributes file that git lfs track updates only activates on git add or git checkout. Did you git add those files after running git lfs track?  If you did, it's possible that the pattern isn't working like you think it should. This is why the docs suggest using file extensions. Unfortunately, the git docs aren't super clear on here, so we may need to show examples for common use cases.
You're going to have to amend some commits. There's a quick guide here, but we should definitely have a guide for LFS users that aren't experienced with Git.

Thanks @technoweenie - this helped me make progress.
I downloaded the bfg tool based on instructions here https://rtyley.github.io/bfg-repo-cleaner/ and was able to clobber the biggest of the big files that had prevented git push from working at all (after saving a copy elsewhere). So I'm back to "working".
So git lfs track kicks in only when the file is added?

Yes, git lfs track only updates .gitattributes for you. We're piggy backing on the extension points that Git gives us. There's no way to replace an existing file without rewriting the repository history. But, changes to existing files will be stored in LFS, even if a previous version added before LFS exists.

@technoweenie @vielmetti I ran into a similar scenario and used BFG to to "convert" the file (re-write history) in the repo.
Might be worth noting in the (docs)[https://help.github.com/articles/configuring-git-large-file-storage/] that after installing latest version of BFG all one needs to do is:
$ bfg --convert-to-git-lfs ‘giant_file’

Thanks @pmarsceill that's a super helpful command to know!


Incorrect Android APIs in README requirements. react-native 0.64

Description
When a developer opens 0.64 stable build at https://github.com/facebook/react-native/tree/0.64-stable, he sees that React Native apps may target iOS 10.0 and Android 4.1 (API 16) or newer. However, API 16-20 are dropped in 0.64 according to https://reactnative.dev/blog/2021/03/12/version-0.64 and minSdkVersion in build.gradle file https://github.com/facebook/react-native/blob/0.64-stable/ReactAndroid/build.gradle

Previously, I've incorrectly added this issue to react-native-website https://github.com/facebook/react-native-website/issues/2851
Version
0.64 stable
Output of react-native info
No response
Steps to reproduce

Open https://github.com/facebook/react-native/tree/0.64-stable
See that "React Native apps may target iOS 10.0 and Android 4.1 (API 16) or newer." in requirements

Snack, code example, screenshot, or link to a repository
No response

I'm unsure what we want to do here. The README was not updated before releasing 0.64, that's unfortunate. However I think the number of people that are effectively checking the README file from a previous revision is limited + having a blogpost for the release that clearly states the version bump should be enough to clarify any doubts.
I think we can close this but I'm curious to hear if there are other opinions against it.

In my case, I had been checking the last RN version which supported Android API 16-20 with GitHub's tags, so I started the project with react-native 0.64. Hopefully, quickly after that, I tried to build an app on Android API 16 and got error. That's why I had to restart react-native 0.63 project.
Another case, which I didn't encounter, but I hope can be possible. If developer updates to RN 0.64 and it is important for him to support Android API 16-20 or/and iOS 10, then he will be required to reverse commit/discard changes/downgrade after he founds out it.
I agree that most RN updates happen with blogpost's reading, so I think that my case is more probable than the update case (another case).

I agree that most RN updates happen with blogpost's reading, so I think that my case is more probable than the update case (another case).

You meant "less probable" or I misunderstood your question?

I meant that it is "more probable"  in my case to make the same mistake with choosing the correct RN version. However, probably it is really "less probable" that updates happen without blogpost :)

I see that this was fixed in https://github.com/facebook/react-native/pull/32620, so it can be closed


maintaining state while parsing

Sometimes while parsing to you need to state some global state. eg. footnote number while parsing
markdown document.
What would be a preferred way to do so in parsy? Only thing that  comes to my mind is global variables.
I tried by encapsulating the state in class but the generator function doesn't accept arguments.
@generate
def function(arg1,arg2) # does not work

I am new to decorators  in python, could not get around.
Maybe if some one could provide a example?

Global variables are not exactly what you want, because it make your code very brittle when you come to run a parser multiple times, possibly from different threads etc.
The first approach I would have is not do any global state when parsing. Try to structure your parsing phase so that it doesn't need this state. Then, have a second pass over the objects produced by parsing, where you can add extra information like numbering things in order.
If you really can't do that, then you can avoid global variables by instead:

define a function that will run your parser
define state variables inside that function
put parsers that use state inside that function,
use closures within that function which use the nonlocal keyword to bind the shared state variables.

Example - we want to parse text like:
* An item
* Another item

Into:
[NumberedItem(text='An item', number=0),
 NumberedItem(text='Another item', number=1)]

Code:
import parsy as P
from dataclasses import dataclass

@dataclass
class NumberedItem:
    text: str
    number: int

# This parser uses no state
item = P.string("* ") >> P.regex(r"[^\n]*") << P.string("\n")

def numbered_items_parser():
    current_item_number = 0

   # this parser uses state, so is defined as a closure that binds current_item_number
    @P.generate
    def numbered_item():
        nonlocal current_item_number
        text = yield item
        returnval = NumberedItem(text=text, number=current_item_number)
        current_item_number += 1
        return returnval

    return numbered_item.many()

# To use, do something like:
#  numbered_items_parser().parse("* my item")

Notice how you have to call number_items_parser to get the parser to get a fresh, independent copy of the state each time. If you call it just once and then re-use that, you'll re-use the state. To make this safer, you might want to do this instead:

def parse_numbered_items(input_str: str):
    current_item_number = 0

    @P.generate
    def numbered_item():
        nonlocal current_item_number
        text = yield item
        returnval = NumberedItem(text=text, number=current_item_number)
        current_item_number += 1
        return returnval

    return numbered_item.many().parse(input_str)

That way you can't misuse the numbered_item parser.
But, I still think the preferred approach if possible would be to have a first pass that did the basic parsing, returning a list/tree of objects, then go over that tree in a second pass and add the numbering.

BTW if you have a good example where you really do need the state technique here, it would be helpful to share, I could possibly add it to the docs.

thank you very much for such detailed example. Watched a pycon talk last night  on decorators , surely the closure looks promising.
I am currently trying to implement a common-markdown parser, with added functionality to embed  markdown documents using links.
One quirk is that document can recursively link each other that parsing would could go on infinitely.
To break it , one has to either limit the recursion depth or detect cycle in the visited links.
e.g.  Doc A has link to Doc B
Doc B has link to Doc A
Thinking about your comment, I now realize, I might  be able to do it as post processing (second pass) on AST.
but again I have to maintain state to break recursion while doing second pass. OTOMH, i think it is simpler to implement using closures than a  second pass on the AST.
thanks again  for detailed example.


Appstudio update test-component-pac-pvlc

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-pvlc-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
19 seconds
init

✅ Succeeded
19 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
24 seconds
sanity-inspect-image

✅ Succeeded
24 seconds
deprecated-base-image-check

✅ Succeeded
3 minutes
clair-scan

✅ Succeeded
47 seconds
clamav-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
11 seconds
sanity-optional-label-check

✅ Succeeded
11 seconds
sanity-label-check

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-pvlc-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
22 seconds
build-container

✅ Succeeded
13 seconds
deprecated-base-image-check

✅ Succeeded
10 seconds
clair-scan

✅ Succeeded
34 seconds
clamav-scan

✅ Succeeded
13 seconds
sanity-inspect-image

✅ Succeeded
10 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
7 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
show-summary


Update views

I am using this package in a small project in which I am using views.
Now I know that views itself cannot be updated, but it's usually possible to define a trigger to change the underlying tables that create the view. Afterwards, if you execute an update on the view, the underlying table changes. So e.g. my command:
UPDATE table SET attr1="7", attr2="name" WHERE id=1;
would work.
With this package I get the error:
"cannot modify table because it is a view"
Is there either a way to enable the modification of views or is there a the possibility to implement this function?

See https://www.sqlite.org/lang_createview.html

You cannot DELETE, INSERT, or UPDATE a view. Views are read-only in SQLite.

You cannot modify view, but you usually can implement a trigger so instead of the above error the trigger is executed and modifies the underlying table.
However this did also work with this driver.  I just didn't implement the trigger that get called upon the "UPDATE "-command correctly. Now that it's set up properly I do not get the error anymore and can call the "UPDATE "-command. Sorry for the inconvenience.

Sorry for the inconvenience.

No prob. Good to hear you got solve.


Error on the configuration page

In the admin panel on the configuration page, I see the error:
Notice: Undefined index: default in /home/u411192975/public_html/system/library/v2pagecache.php on line 107Warning: array_key_exists() expects parameter 2 to be array, null given in /home/u411192975/public_html/system/library/v2pagecache.php on line 64Warning: array_key_exists() expects parameter 2 to be array, null given in /home/u411192975/public_html/system/library/v2pagecache.php on line 71Notice: Undefined index: default in /home/u411192975/public_html/system/library/v2pagecache.php on line 107
Module version is 1.1.5. Open cart version is <IP_ADDRESS>, PHP 5.6 .21. And also page constantly reloading with the message "admin session expired? reloading page".

Sorry, we're not able to help.  This module worked well with earlier versions of opencart, but opencart made many changes to session handling, layout of the index.php file, and so forth.
See https://github.com/budgetneon/v2pagecache#important-note


Links from local test site link to production site

[ ] This is a question about using the theme.
[x] I believe this to be a bug with the theme --- not Jekyll, GitHub Pages or one of the bundled plugins.
[ ] This is a feature request.
[ ] I have updated all gems with bundle update.
[ ] I have tested locally with bundle exec jekyll build.

Expected behavior
If you try to test a site locally, using bundle exec jekyll serve then each of the links in the navigation redirect to the live site, instead of localhost:4000/whatever you get yourproj.github.io/whatever. More importantly, if you update styles locally they don't show up at localhost:4000 because your local site will have
<link rel="stylesheet" href="http://yourproj.github.io/assets/css/main.css">

in its header instead of localhost:4000/assets/css/main.css
Is this intentional?

If you take a look at the theme files you'll see that all of the nav links and asset paths are prepended with site.url + site.baseurl. If you don't change url in your _config.yml when testing locally it will use the production domain you set. This is noted in the docs.
When working locally change it to url: http://localhost:4000 and all will be well.


Fix trailing whitespace

Hey @simonrob.  Not sure if the whitespace on the empty lines is required in this file's format or not.  It just ends up being annoying in editors that are automagically trimming trailing whitespace for you as it creates a whitespace diff from upstream in your local working copy.
If it's required, obviously it's something downstreams are going to have to live with if they have automagic whitespace trimming.

Thanks - yes, this is not intended. I appreciate the fix!


NoopValidator class always logs debug even if springfox logger is lower level

This line seems to prevent logger from being configured whit all springfox other classes
https://github.com/springfox/springfox/blob/ab5868471cdbaf54dac01af12933fe0437cf2b01/springfox-core/src/main/java/springfox/documentation/builders/NoopValidator.java#L13
so you will always have debug logs for this class, because logger name it is not prefixed with springfox or package name
should be
private static final Logger LOGGER = getLogger(NoopValidator.class);
as it was before

up


Partially fix directory bug on Android

Similar fix like #95086 for _browse_install_path() also updated _browse_project_path to  account for local path.
But I couldn't fix for a directory that doesn't exist.
For example something like /storage/emulated/0/Documents/folderThatDoesntExist will still cause the same similar issue as mentioned in #94570

I'd like to add that this bug exist in the 4.2.0 as well (at least on my device Redmi 10 2022)

When can this bug appear? It's weird that the path would be relative, unless it's some bug related only to Android? Like the path is dependent on system version or something. In #94570 it looks like the default should be /.

This bug appears when importing from a ZIP file. relative path would be provided by the user.
https://youtu.be/_GNJwqWBsy0?si=Kc-jRdIaQ2Rq8JNN

Yeah can't reproduce on Windows.
Although in your video the path changes to /, which is absolute. Does your fix handle it properly?

I don't think I quite understand what you are saying.But i think its working
https://youtu.be/fut4N1qYeMM?si=VtS2ruvSqsyNpBa_
Although it doesn't work for a directory that doesn't exist hence the partial 'fix'
Maybe it could also be handled if we did something like dirAccess->dir_exists() check?

Maybe it could also be handled if we did something like dirAccess->dir_exists() check?

That could work.

Ok it's getting pretty late here maybe I'll try it tomorrow.

Updated
only if(!DirAccess::dir_exists_absolute(path)) didn't seem to work had to write
if(path.is_relative_path() || !DirAccess::dir_exists_absolute(path))

Sooo when importing ZIP file, the installation path is auto-filled with the ZIP-name, which is a new folder, which means it never exists. Clicking Browse will always reset path. Not sure what's the expected behavior tbh.

Even tho it is the same issue as #94570 but the cause is different. This happens due to
Incorrect user input

Cherry-picked for 4.3.1.


Cider 2 update 2.5.0 restructures api endpoints

See https://github.com/ciderapp/Cider-2/blob/main/docs/Cider 2.5.0 Preview API.md
for the details.
link for previous API: https://cider.sh/docs/client/rpc

+1 on this.
Port has changed from 10769 to 10767, and they now use Sockets.io

I've finally had time to look into this and ran into some issues with getting events from the API I made a report so until I can get that resolved this will have to be delayed https://github.com/ciderapp/Cider-2/issues/828

This is done in https://github.com/ThatGravyBoat/Jukebox/commit/6f517485da132618a734bac7eb090058ce5f1d76, Craftify update will soon follow sometime this week or weekend


Refactor context level state to individual components

also feel free to merge one next week!

Did the merge, looks good.