Generating ../../frozen_content.c   error

I get this error when I build  lv_micropython for esp32s3 n32r8v , can someone tell me why, thanks!
[1215/1646] Generating ../../frozen_content.c
FAILED: frozen_content.c /pro/lv_micropython/ports/esp32/build-GENERIC_S3_SPIRAM_OCT/frozen_content.c
cd /pro/lv_micropython/ports/esp32/build-GENERIC_S3_SPIRAM_OCT/esp-idf/main && /opt/esp/python_env/idf4.4_py3.8_env/bin/python3.8 /pro/lv_micropython/tools/makemanifest.py -o /pro/lv_micropython/ports/esp32/build-GENERIC_S3_SPIRAM_OCT/frozen_content.c -v MPY_DIR=/pro/lv_micropython -v MPY_LIB_DIR=/pro/lv_micropython/../micropython-lib -v PORT_DIR=/pro/lv_micropython/ports/esp32 -v BOARD_DIR=/pro/lv_micropython/ports/esp32/boards/GENERIC_S3_SPIRAM_OCT -b /pro/lv_micropython/ports/esp32/build-GENERIC_S3_SPIRAM_OCT -f-march=xtensawin /pro/lv_micropython/ports/esp32/boards/manifest.py
Traceback (most recent call last):
File "/pro/lv_micropython/ports/esp32/modules/display_driver_utils.py", line 1
SyntaxError: invalid syntax

esp32s3 is not formally supported yet on lv_micropython.
See https://github.com/lvgl/lv_binding_micropython/issues/227

thanks!


Add ruby "operator" instance methods query

Ruby supports some operators overloading by declaring a method with the operator as the method name, e.g. def <=>(other). Tree sitter ruby parser recognises these method names as operators, not identifiers, and as such existing queries skip over them.

Closes #291

A screenshot of a tree from the test file

Thanks for the PR!


Restore WAF Global Alerts documentation for 3.17

Global Alerts are only automatically generated for WAF in 3.18
Product Version(s):
Calico Enterprise 3.17

Issue:

Link to docs preview:

SME review:

[ ] An SME has approved this change.

DOCS review:

[ ] A member of the docs team has approved this change.

Additional information:

Merge checklist:

[ ] Deploy preview inspected wherever changes were made
[ ] Build completed successfully
[ ] Test have passed

@pasanw Most of the dead links are Marketing that Erica noted in slack channel today. Try rerunning netlify to see if they resolve.


change validation to throw instead of pre-condition to avoid crashes

5.9 cherry pick of #6354

@swift-ci smoke test


test generator and update for the triangle exercise

The test generator has gotten quite large because of differences in what the canonical data suggests and what the current implementation on the Erlang track is like. Therefore, there is a comment paragraph that, I think, explains quite clearly what the test generator does and why. I believe I managed to keep it clear enough for it to still be understood even after some time has passed.
The update to the corresponding exercise removes the version tracking in accordance with #278, and clarifies the example solution.

I can't guarantee to be able to take a look at this this year, but I'll try to schedule this before the first weekend in the new year!

No sweat :)


[API Integration] Europeana

Provider API Endpoint / Documentation

https://pro.europeana.eu/resources/apis
For this provider, an API key is required. It is not possible to use CC’s org key, as a community contributor. The preferred way to work with it is to use an environment variable, such as PROVIDERNAME_API_KEY for the key and read it in the script. CC has obtained a key for a community contributor to run tests with. Contact @mathemancer or @annatuma or @kgodey to obtain the key when necessary.
Provider description

Europeana is home to over 58M artworks, artefacts, books, films and music from European museums, galleries, libraries, and archives.
Licenses Provided

Europeana integrates with dozens of EU GLAM institutions. It is possible that some of these institutions have objects that are not CC-licensed. Our integration with Europeana must be restricted to those objects that have a CC license (including CC0 or the CC Public Domain Mark) indicated in the "Rights" field.
SECTIONS BELOW THIS POINT NEED TO BE WORKED ON PRIOR TO INTEGRATION
Provider API Technical info

General Recommendations for implementation

The script should be in the src/cc_catalog_airflow/dags/provider_api_scripts/ directory.
The script should have a test suite in the same directory.
The script must use the ImageStore class (Import this from
src/cc_catalog_airflow/dags/provider_api_scripts/common/storage/image.py).
The script should use the DelayedRequester class (Import this from
src/cc_catalog_airflow/dags/provider_api_scripts/common/requester.py).
The script must not use anything from
src/cc_catalog_airflow/dags/provider_api_scripts/modules/etlMods.py, since
that module is deprecated.
If the provider API has can be queried by 'upload date' or something similar,
the script should take a --date parameter when run as a script, giving the
date for which we should collect images. The form should be YYYY-MM-DD (so,
the script can be run via python my_favorite_provider.py --date 2018-01-01).
The script must provide a main function that takes the same parameters as from
the CLI. In our example from above, we'd then have a main function
my_favorite_provider.main(date). The main should do the same thing calling
from the CLI would do.
The script must conform to PEP8. Please use pycodestyle (available via
pip install pycodestyle) to check for compliance.
The script should use small, testable functions.
The test suite for the script may break PEP8 rules regarding long lines where
appropriate (e.g., long strings for testing).

Examples of other Provider API Scripts

For example Provider API Scripts and accompanying test suites, please see

src/cc_catalog_airflow/dags/provider_api_scripts/flickr.py and
src/cc_catalog_airflow/dags/provider_api_scripts/test_flickr.py, or
src/cc_catalog_airflow/dags/provider_api_scripts/wikimedia_commons.py and
src/cc_catalog_airflow/dags/provider_api_scripts/test_wikimedia_commons.py.

What does ticket work required means ?

@gauravahlawat81 it means the issue needs more detail fleshed out. if you hover over the label, you can see the description in the tooltip.

Okay, thanks for the info

@gauravahlawat81 If you're feeling adventurous, feel free to help us flesh out the API technical info.  In particular, we would like to know

[ ] rate limits
[ ] overall volume of the collection
[ ] verify the API is designed such that we can ingest the whole collection
[ ] determine if it's possible to ingest the collection in a scheduled way (e.g., ingest only the info for images updated on a given day).
[ ] using the rate limits and overall volume, determine about what percentage of the collection it's possible to ingest per day.

Hey @mathemancer, I've checked the Europeana link provided for info on the Europeana REST API,

No rate limits currently, but has been limited to 10,000 per 24hrs previously

Volume- 50 million cultural heritage items which includes images, text, image, video, sound,etc
I am interested in working on this isssue. Can I work on it?

Hey @mathemancer, I've checked the Europeana link provided for info on the Europeana REST API,

No rate limits currently, but has been limited to 10,000 per 24hrs previously

Volume- 50 million cultural heritage items which includes images, text, image, video, sound,etc

I am interested in working on this isssue. Can I work on it?

Hey @mathemancer, I've checked the Europeana link provided for info on the Europeana REST API,

No rate limits currently, but has been limited to 10,000 per 24hrs previously

Volume- 50 million cultural heritage items which includes images, text, image, video, sound,etc

I am interested in working on this isssue. Can I work on it?

@allen505 Have you determined how many works can be scraped per request?  At a rate of 10,000 per 24 hours, 50 million records would take 5000 days to retrieve (more than 13.5 years).  We'll therefore need to determine if it's possible to get, say, 100 records per request (reducing the time to 50 days, which is manageable).

@allen505 Do you have an idea of whether it's possible to systematically retrieve their entire collection (i.e., separate by date uploaded)?

I have been researching with respect to the Europeana Search API
Following details with respect to timestamp are possible:
timestamp_created, timestamp_update both formatted in ISO 8601 or UNIX epoch timestamp
Sort based on timestamp is possible in both ascending and descending.
With respect to the number of results per request, Regular pagination restricts to 1,000 results. However there is also cursor based pagination which returns all the results Reference

@allen505 Have you looked at the licenses offered, and how we can get that data?  Is it possible to filter for them?  @annatuma, @kgodey  Do I remember correctly that there was some problem there?

The APIs reusability parameter can be set to

open which gives:
PDM, CC0, CC BY, CC BY-SA

restricted which gives:
CC BY-NC, CC BY-NC-SA, CC BY-NC-ND, CC BY-ND, CC OOC-NC
But it also gives resources with other licenses such as InC-EDU, which will have to be filtered out.

Reference

The Search APIs reusability parameter can be set to

open which gives:
PDM, CC0, CC BY, CC BY-SA

restricted which gives:
CC BY-NC, CC BY-NC-SA, CC BY-NC-ND, CC BY-ND, CC OOC-NC
But it also gives resources with other licenses such as InC-EDU, which will have to be filtered out.

Reference
I should also mention that I am a gsoc 2020 aspirant.

This is great info!  I think that's everything needed to get started on it, go for it!  Thanks for gathering the necessary pieces.
If you have any questions, just @ me on this issue.  In particular, let me know if something about the general instructions doesn't seem applicable.  Thanks!

Removing ticket work required since all necessary has been gathered.

Thank you @mathemancer . Just to clarify, is this issue assigned to me now?

@allen505 We're not always assigning issue that are in progress, in the hopes that people will work together on them when possible :)

I was testing out the Europeana API, and I found out that not all resources have a direct link to the image. The following stats are for the date 2018-03-23 (a random date).
The total number of records with a direct link to the resource (images in our case) is 20,526,325 and the difference between how many have direct link vs those which don't is 9,817,237. That means about 32% of resources don't have a direct link to the resource.

I think that's okay, we can just filter out those that don't have a direct link.  Is it possible to filter them out in the request, or would we have to do the filtering after pulling the data?

Yes, there is a parameter 'provider_aggregation_edm_isShownBy:*' when passed returns only those with the direct link.

Research by @allen505 indicates we can actually only get 100 records per request in actuality.

Testing the API for the date 2014-02-26 (random date), I got 11,157 as the number of image records.
When queried for the entire collection with direct links to the resource, 20,544,899 was returned as the number of image records.
After discussions with @mathemancer it was concluded that 10,000 requests per 24 hours with 100 records per request is sufficient for our use case, and that at this rate we can pull the whole collection every month if needed.

Several fields in the response are represented as arrays, fields such as dcDescription, edmIsShownAt, edmIsShownBy, rights which are used while saving the metadata. After discussion with @mathemancer, the following were concluded:

For LangAware fields such as dcLanguageLangAware when available the english(en) version is to be taken.
Original language(def), can be optionally saved
For other fields like edmIsShownAt which don't have corresponding LangAware, the zeroth element from the array is to be choosen.


Deck Won't Build or Delete

I tried building a Targaryen No Agenda Deck and it came to a blank screen. I exited and tried to access the deck from my list and it said the deck didn't exist.
I tried to delete it and the message came up saying it had been deleted, but the link to the deck was still there.
I tried again with other decks, a fealty worked fine, but No Agenda for other factions resulted in the same problems as above.

Fixed with PR #83

I'm sorry, but I am still having the problem.
On Thu, Aug 25, 2016 at 6:35 PM, Francisco Franco Eslava <
<EMAIL_ADDRESS>wrote:

Fixed with PR #83 https://github.com/Alsciende/thronesdb/pull/83
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Alsciende/thronesdb/issues/82#issuecomment-242344680,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUN6w75JfTPxuou9APWsiVvRVhfLjrPvks5qjW_sgaJpZM4Jq_0b
.

It's not merged yet. @Alsciende will close this issue when the fix is merged and up in the server.

Sorry for the delay, been busy.


The DID resolver and DID Admin Endpoint should also resolve local only DIDs

The ACA-Py DID resolver and the Admin API endpoint GET /resolver/resolve/{did} evidently does not resolver local only DIDs -- e.g. peer DIDs used for DIDComm connections.  This issue is to extend the resolver to include checking for and resolving such DIDs.  For example, I should be able to grab theirdid from a Connection object and resolve it to see the DIDDoc related to that DID. The resolution process should only check locally for properly qualified peer:did DIDs. For unqualified DIDs, it's a little trickier since there are both unqualified local (peer) and ledger-based (did:sov) DIDs. If there is not a way to tell if the type (local or ledger-based) of such a DID, the approach should probably be to try to resolve it as a local DID, and if it is not, to try to resolve it on a ledger.
Comments from @shaangill025 @dbluhm and others welcome.

Something to consider

I think Peer method 1 DIDDoc is always resolved from storage and not ledger
Peer DIDs will be linked to use of Askar wallet

Currently the correct resolve function is called based upon the applicable DIDMethod, any unqualified DID will trigger an InvalidDIDError exception when calling PyDID's validate DID function. I think for unqualified DID, we update the resolve function which should first try to resolve as Peer DID with f"did:peer:1{unqualified_did}" and if nothing found then proceed as did:sov

That definitely won’t work, as the {identifier} part of did:peer:1{identifier} is not the same as the {unqualified_did}. It must be possible to search by {unqualified_did} in local storage to find it.  At some point, we may convert {unqualified_did} into a derivable format (leaning towards did:peer:2 right now), but even then we will likely still have to be able to search for and find it in storage — e.g. keep a tag for the item.

create_local_did will store the DID in wallet, so when we have an unqualified DID, are we are only trying to convert did:sov:{unqualified_did} and not did:key:{unqualified_did} (masked indy dids when storing in Indy wallet) or when derived from fingerprint (askar)] into Peer DID?
When old DIDDoc are being converted for Peer method 1, we store Peer DID in wallet and put the corresponding unqualified DID as a tag in the StorageRecord. I think this can be managed within method 1, as we can resolve old DIDDoc from unqualified DID from storage.
For new DIDDoc, we create a new DIDKEY keypair, store to wallet, use that DIDDoc to compute method 1 Peer DID and put the DIDKey.did as unqualified_did StorageRecord tag.

@shaangill025 — we aren’t at this time converting any DIDs.  This tasks is just to extend the current resolver so that when  an unqualified DID is passed via the endpoint, we want to look at the difference places it may have been defined.  Currently we have two flavours of unqualified DIDs:

Local unqualified DIDs exist in the wallet and are created when we are creating a DIDComm communication. The DID might be theirdid or mydid in the connection record, and there should be a did record with the associated DIDDoc to be found and returned.  They have no standardized qualifier, and there is a current discussion in the Aries community about what to do with them. Strongest contender right now is to make them did:peer:2 DIDs, but the decision hasn’t been made.
Public unqualified DIDs exist on an Indy ledger. They are the equivalent to did:sov DIDs. AFAIK they may be in the wallet and so we might want to check there, or they need to be resolved by going to the ledger(s).

This ticket is to extend the DID Resolver (if needed) and the Admin API to accept an unqualified DID and resolve it.
Resolving Public Unqualified DIDs

An additional note to be considered in the future. We can ignore this for this ticket, but perhaps something for the future — if the behaviour I describe is actually happening.  When investigating the code, please add a note to this ticket of how the resolver works with public unqualified DIDs.

Note: If we resolve a public DID only from the wallet, we are essentially getting a cached copy, and the on ledger DID may have changed. In a future PR we may want to extend the API to add an optional “getFromVDRyn” parameter to force going to the ledger for public DIDs.


PHP Fatal error:  Cannot redeclare class AppKernel

After upgrading to symfony 2.8 i got this error on page execution:

PHP Fatal error:  Cannot redeclare class AppKernel in /var/www/pw/m1/vendor/liuggio/ExcelBundle/Tests/app/AppKernel.php on line 0

Any idea ?

so weird ....
no idea here

@grimmlink  https://github.com/liuggio/ExcelBundle/blob/master/composer.json#L34
should be fixed

thanks !

Looks like this fix only available in dev-master? Guess it is too small for a major version release.


[Nominations Open] Jenkins Security MVP 2022 🏆

This issue is to receive nominations for the Jenkins Security MVP 2022. This award is presented to an individual most consistently providing excellent security reports or resolving security issues.
To nominate someone, reply to this issue with the following:

Full name of the person you’re nominating
Short description of their contributions to the Continuous Delivery Foundation and why they should win.

Nomination Deadline: Tuesday, March 29, 2022
More details are available here: https://cd.foundation/cdf-community-awards/

Wadeck Follonier
I already nominated @Wadeck last year (https://github.com/cdfoundation/foundation/issues/319#issuecomment-823813082) and since then he's only become more important to the project: Since December, he's the Jenkins security officer, leading the Jenkins security team efforts in communicating with reporters and maintainers, coordinating releases and security advisories, investigating potential security issues and fixing them; as well as operating the Jenkins CVE Numbers Authority to ensure everyone has accurate information about security issues in Jenkins.

🚫 Nominations are now closed!
Voting will start April 13, link will be posted here.

Thank you, everyone! Award ceremony happened at cdCon 2022.
Congratulation to the winner @Wadeck!
All winners here: https://github.com/cdfoundation/awards/blob/main/README.md


Canonical protobuf json format support

The json protobuf format is optimised for vertx JSON types (e.g it can a an integer type) to get more compact json representations. We should also support this format https://github.com/protocolbuffers/protobuf/blob/main/src/google/protobuf/struct.proto and be wire compatible with it (which means using the same tags), so our messages can be compatible with com.google.protobuf.Struct
That would be declared on the @Protobuf annotation, e.g @Protobuf(compactJson=false)

I will be working on this.


Bad syntax in the orangeIcons.min.css due to svg-buy mixin

Version : 4.0.0-beta.1
Issue
Wrong "\a" in the svg-buy class for backgroup-image property in orangeIcons.css / orangeIcons.min.css
Context
During the integration of orange boosted 4.0.0-beta.1 in an angular app, the build for production failed during the extract-css phase due to a bad syntax in orangeIcons.min.css (a "\a" in the svg-buy class for background-image).
Indeed the generated bundled css wasn't loaded properly as during the bundled phase the "\a" is replaced by a carriage-return
Analysis
After investigation, it iss
Indeed the mixin scss/mixins/_orangeIcons.scss contains a bad "\n" for the svg-buy mixing

Hello,
We don't really maintain OrangeIcons at time, but will take a look at it.
Did you try to use http://ng-boosted.orange.com for your Angular app instead of Boosted which is based on Jquery?

Problem solved in boosted v4.0.0-beta.2
Thanks for this catch-up


🪲 Empty columns result in errors in the profiler

something about min() not being valid on an empty list

The problem appears to be with the bulk loader, it needs to test if there are more than zero values before doing anything.
It should also just use the pre calculated max and min values from numpy (maybe they're not precalculated) rather than use python to calculate the range.


Bot no longer responds to commands given in a DM to the bot

My bot no longer responds to commands given in a direct message to the bot. It is successfully responding to commands given in public channels (and I have LISTEN_ON_ALL_PUBLIC set to true).
This problem started occurring after upgrading Rocket.Chat to 0.37 (from 0.35 or 0.36) and the Rocket-Hubot adapter from 0.1.4 to 1.0.3).
Is anyone else having this problem?

@cbrummitt try adding this environment variable:
RESPOND_TO_DM=true

We might should think about defaulting this to true...

Thank you @geekgonecrazy this fixed it!


[BUG] xgb.cv() auc metric computation in v1.4.0 release with tree_method='gpu_hist' broken

Tested xgb.cv() method against various scoring metrics on both CPU and GPU for classification models. Using xgboost version 1.4.0 release from pip produced unexpected results with metric='auc'. Other metrics such as ['aucpr', 'logloss', 'map'] appears to be consistent.

Running the same code under xgboost version 1.3.3 produced consistent results for CPU/GPU scoring with metric='auc' as to be expected.

Attached is a notebook and sample data to reproduce the issue:
xgb_cv_v1.4.0_auc_metric_on_gpu_broken.zip

The cub::DeviceRadixSort is not stable.

@trivialfis According to https://groups.google.com/g/cub-users/c/1iXn3sVMEuA, the CUB's radix sort is stable.

For binary case (this issue), the result is different between runs, I narrowed it down the the Argsort.  If radix sort is stable, then my guess is somewhere it uses floating point which generates instability.


test if deployment even works

This PR was used for testing if the deployment pipeline worked. We did a cleanup of an keyvault secret which was refering to a deleted SPN. The secret is now updated to refer to the new SPN.


Support token detailed attr

This PR introduces supports detailed token attributes such as:

postag1, postag2, postag3: mecab, sudachi
inflection, conjugation: mecab, sudachi
origin_form: mecab, sudachi
yomi: mecab, sudachi
pronunciation: mecab, kytea
normalized_form: sudachipy

@chie8842
Thank you for reviewing, I revised my PR.
We have to discuss about this thread.
Could you please give me your opinion?


lineseparator option is not respected

Describe the problem
When using the lineseparator option, either with..
[tool.robotidy]
lineseparator = "unix|windows|native"

..or --lineseparator unix|windows|native, the option value is not respected.
To Reproduce

Create a .robot file with a reference EOL, let's say CRLF
Use robotidy with overwrite=true and with a different EOL target, in this case lineseparator=unix

The file will still have CRLF instead of LF.
Expected behavior
Based on the lineseparator value, EOL are correctly applied.
Environment

OS: Windows
Tidy version: 1.4.0
Python version: 3.9.6
Installation method: pip+pypi

Thank you for report, I can confirm it. It does originate from the way Python behaves with new endings when saving the file to the disk - it does replace it for native ending. But there is newline option to workaround it - I will fix the issue (and add some tests as it looks this option was pretty much ignored in testing).

Thank you @bhirsz ! 😃


Draw ghosts at the ghost layer

So the ghosts appear above doors.
Requires engine update 1091.
Closes #930

With https://github.com/space-wizards/RobustToolbox/pull/1090 you won't need to add it to the engine.

Please update this to make use of the constants being moved to content.


Scroll to top button and left handedness

Might just be me but here's what happens:
I'm happily scrolling, phone in my left hand, big fat thumb working in the left third of the bottom half of my screen. I hit the scroll to top button and lose control of the app and context and it's just annoying. I didn't realise what I was doing as it was covered by my thumb.
This is a little niche I know but as I never accidently hit the button to compose I never accidently lose control.
I'd rather just have home alert me to new things and hit that to go to the top of my feed.

Might be just me. Bet you are talking about a social media app with the same name as this work. If so, you need to keep looking.

Me and my smooth brain!


Issue 3703 - Removal of WebSlice Option

Fixes #3703
Summary
The changes proposed here are to remove the WebSlice options from the Module Settings UI as well as the underlying tables, since it's no longer supported.
How to Test

Do a clean install of DNN Platform and verify that the install completes without any errors.
Upgrade an existing instance of DNN Platform and verify that the upgrade process completes without any errors
Verify that the "Is a WebSlice" options have been removed from the Module Settings > Page Settings > Basic Settings section

Before this fix:

Is a WebSlice options existed in Module Settings

Views, Tables, Stored Procedures and Constraints referenced the IsWebSlice column in the TabModules table

TabModules Table

TabModules Contraints

TabModules Indexes

vw_TabModules

SP: AddTabModule

SP: UpdateTabModule

After this fix:

No options exist for the WebSlice Options in the Module Settings UI

The Tables, Views, SPs, Indexes, and Constraints have been updated/removed

@valadas SHould this be retargeted?

Well, in an earlier meeting and on slack we decide we needed to recreate future/10 from develop because there have been just way to many conflicts with all the build refactoring and stylecop fixes, so the idea was to have this target develop until we can decide what we want to cherry pick from the current future/10 branch and actually do it. From the moment we do it, we should rebase it weekly or some such to keep up with the conflicts.
Back then I did not have the knowledge I have now about rebases but now I think I could handle keeping up weekly or bi-weekly or some such, so maybe we put this in next week agenda ?

Replaced by #4711


Add support for GitHub releases

This adds the ability to mirror a Github repo's releases to Artifactory.
Closes #7

After some offline discussions, we decided it made the most sense for each downloader to be responsible for decoding it's own configuration.
Unfortunately this means the configuration file format will need to change again, but this should make it much more flexible in the future.


'No applicable aggregate method 'Aggregate' exists' error for enumerablequery`1 types

Hi,
Thanks for your work.
I am using your lib and while parsing below snippet using DynamicExpressionParser.ParseLambda I am getting "'No applicable aggregate method 'Aggregate' exists' " error but in your unit tests it works fine.
abc.Aggregate(\"Sum\",\"xyz\")
XYZ is of TimeSpan type so I can't use Sum directly.
Please help

Hello @joshidp ,
Do you think you could provide a project sample with this issue?
It will help my developer investigate the issue more efficiently.
You can send it to<EMAIL_ADDRESS>if you need to keep the source private
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function


asyncio.run not working in Elmer example notebook

Changes from https://github.com/gdsfactory/gplugins/pull/67 broke running the Elmer documentation. Apparently asyncio calls don't work in Jupyter Notebooks without special handling. I ran the docs as a .py file so this was missed.
RuntimeError: asyncio.run() cannot be called from a running event loop

This StackOverflow post seems like a reasonable approach. Maybe creating a helper function in async_utils.py to do this and replacing asyncio.run() in plugins with that is the way to go.


Add Dataflow TensorRT Bert Q&A Sample

This commit adds GCP Dataflow TensorRT sample, with an example model of BERT large. @roarjn, could you please help review if any modification needed?

@roarjn Thanks for the review, address all issues per comment, any other items?

@roarjn Thanks for the review, address all issues per comment, any other items?

@mengdong is it fine to upload the model file to Github or can we make it download from NGC?

@mengdong is it fine to upload the model file to Github or can we make it download from NGC?

NGC couldn't host a public model at will. I don't know there are rules against putting the model in github? I think this is the easiest way for anyone to jump on the sample. Model is trained with all public data.

NGC couldn't host a public model at will. I don't know there are rules against putting the model in github? I think this is the easiest way for anyone to jump on the sample. Model is trained with all public data.


[models:topic] - Remove unused attributes. Close #978

Remove both state and status attributes

[ ] - topic.status is used by the filter: https://github.com/DemocracyOS/app/blob/1.0.0/lib/topics-filter/topics-filter.js#L214


Include scm info

This includes the scm tag in the project parent

Nothing at all against adding the SCM info. But do we really need to change the indentation?

If this is was done by a script, then I'd recommend using POM Tuner's PomTransformer in the future because keeps the existing whitespace, comments, etc.

That's a good question.
The indentation was changed when the Maven API flushes the Model changes to disk. I used https://github.com/gastaldi/quarkiverse-patch/blob/main/AddScm.java to change the model and some PRs were created nicely: https://github.com/quarkiverse/quarkus-poi/pull/67/files

Oh didn't know about that, let me give it a shot

@ppalaga, can you show me an example of how the following snippet would look using POM Tuner?
            Model model = Maven.readModel(parent);
            Scm scm = model.getScm();
            if (scm == null) {
                String fullName = args[0];
                scm = new Scm();
                scm.setConnection("scm:git:git@github.com:%s.git".formatted(fullName));
                scm.setDeveloperConnection("scm:git:git@github.com:%s.git".formatted(fullName));
                scm.setUrl("https://github.com/%s".formatted(fullName));
                scm.setTag("HEAD");
                model.setScm(scm);
                Maven.writeModel(model);
            }

Something like this should work:
        new PomTransformer(Paths.get(parent), StandardCharsets.UTF_8, SimpleElementWhitespace.AUTODETECT_PREFER_EMPTY)
            .transform((Document document, TransformationContext context) -> {
                final ContainerElement scm = context.getOrAddContainerElement("scm");
                scm.addOrSetChildTextElement("connection", String.format("scm:git:git@github.com:%s.git", fullName));
                scm.addOrSetChildTextElement("developerConnection",
                        String.format("scm:git:git@github.com:%s.git", fullName));
                scm.addOrSetChildTextElement("url", String.format("https://github.com/%s", fullName));
                scm.addOrSetChildTextElement("tag", "HEAD");
            });

@ppalaga I think I might have found a bug. I have the following script:
            new PomTransformer(parent, StandardCharsets.UTF_8, PomTransformer.SimpleElementWhitespace.AUTODETECT_PREFER_EMPTY)
                    .transform((Document document, PomTransformer.TransformationContext context) -> {
                        if (context.getContainerElement("scm").isEmpty()) {
                            final PomTransformer.ContainerElement scm = context.getOrAddContainerElement("scm");
                            scm.addOrSetChildTextElement("connection", connectionUrl);
                            scm.addOrSetChildTextElement("developerConnection", connectionUrl);
                            scm.addOrSetChildTextElement("url", url);
                        }
                    });

But while running against https://github.com/quarkiverse/quarkus-couchbase/, the context.getContainerElement("scm").isEmpty() returns true, which is wrong.
What am I doing wrong?

Nevermind, I realized I need to pass the project too:
context.getContainerElement("project","scm").isEmpty()

Ah, there is a discrepancy between context.getContainerElement() and context.getOrAddContainerElement(). The former is based on the document, but the latter is based on <project>. I should document it at least.


OKHttp Null Pointer Exception in v2.3.0

Optimizely is seeing a crash for clients using our SDK with OKHttp.  We are getting the following crash log specifically for Sony devices on Android 6.  Is this something that you can help with?
Please let me know!
Fatal Exception: java.lang.RuntimeException: An error occurred while executing doInBackground()        at android.os.AsyncTask$3.done(AsyncTask.java:309)        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)        at java.util.concurrent.FutureTask.setException(FutureTask.java:223)        at java.util.concurrent.FutureTask.run(FutureTask.java:242)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)        at java.lang.Thread.run(Thread.java:818) Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.security.cert.X509Certificate java.security.cert.TrustAnchor.getTrustedCert()' on a null object reference        at com.squareup.okhttp.internal.tls.AndroidTrustRootIndex.findByIssuerAndSignature(SourceFile:43)        at com.squareup.okhttp.internal.tls.CertificateChainCleaner.clean(SourceFile:68)        at com.squareup.okhttp.internal.io.RealConnection.connectTls(SourceFile:207)        at com.squareup.okhttp.internal.io.RealConnection.connectSocket(SourceFile:149)        at com.squareup.okhttp.internal.io.RealConnection.connect(SourceFile:112)        at com.squareup.okhttp.internal.http.StreamAllocation.findConnection(SourceFile:184)        at com.squareup.okhttp.internal.http.StreamAllocation.findHealthyConnection(SourceFile:126)        at com.squareup.okhttp.internal.http.StreamAllocation.newStream(SourceFile:95)        at com.squareup.okhttp.internal.http.HttpEngine.connect(SourceFile:281)        at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(SourceFile:224)        at com.squareup.okhttp.Call.getResponse(SourceFile:286)        at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(SourceFile:243)        at de.idealo.android.util.OkHttpClientFactory$UserAgentInterceptor.intercept(SourceFile:204)        at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(SourceFile:232)        at com.squareup.okhttp.Call.getResponseWithInterceptorChain(SourceFile:205)        at com.squareup.okhttp.Call.execute(SourceFile:80)        at com.optimizely.LogAndEvent.OptimizelyTimeSeriesEventsManager$TimeSeriesEventTask.doInBackground$10299ca(SourceFile:281)        at com.optimizely.LogAndEvent.OptimizelyTimeSeriesEventsManager$TimeSeriesEventTask.doInBackground(SourceFile:243)        at android.os.AsyncTask$2.call(AsyncTask.java:295)        at java.util.concurrent.FutureTask.run(FutureTask.java:237)        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)        at java.lang.Thread.run(Thread.java:818)

Hey! To cope with some awkward SSL stuff, OkHttp is doing dangerous & weird things extract the default trust store out of the system’s SSLSocketFactory. It looks like we’re unable to interop with Optimizely’s SSLSocketFactory. Any idea why Optimizely is changing the system default SSLSocketFactory?

same thing here with Galaxy S6 and Nexus 5X

No clear action for us to take here.


Fixup links for deployment to GitHub pages.

The page links need to be wrapped in a relative_url in order to pickup
the base URL when deployed to GH pages.
Issue https://github.com/dj2/Dusk/issues/10

Landing this to try to get the pages working correctly.


Address comments from PR 1012

RE: https://github.com/kubernetes-sigs/kubefed/pull/1012#discussion_r296956157

/lgtm


Hover features/Problems

Issue Type: Bug
I'm not sure how to reproduce this since it's just the entire interface. Types are no longer suggested, hovering over code provides no suggestions, and the problems tab in terminal shows no problems even when there definitely are. This only happened after the update installed itself. This might be an issue with a Haskell extension not VS, I really have no idea.
 If the problem remains then it's likely caused by one of those you kept enabled (probably a Haskell one) and needs reporting to the author.

Please disable non-essential extensions. If the problem remains then it's likely caused by one of those you kept enabled (probably a Haskell one) and needs reporting to the author.

Thank you.
So there's no way it's an issue with VS itself? Again, this only happened after the update.
I've disabled the extension or two I can and tried older versions of the ones of the two I couldn't.

@cassherm sure it could be. But the type information is provided by the extension, so chances are it's an issue with Haskell or we would be getting reports for all extensions.

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines.
Happy Coding!


python311Packages.nbstripout: 0.6.1 -> 0.7.1; python311Packages.{cram,pytest-cram}: remove

Description of changes
nbstripout: 0.6.1 -> 0.7.1
Changelog: https://github.com/kynan/nbstripout/releases/tag/0.7.1
Diff: https://github.com/kynan/nbstripout/compare/0.6.1...0.7.1
remove the following packages since they are abandoned.

python311Packages.cram
https://github.com/aiiie/cram

python311Packages.pytest-cram
https://github.com/tbekolay/pytest-cram

cc @jluttine
closes #230164

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[x] 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/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

This has merge conflicts but I think we need to get this merged.

@natsukium san anything I can help with to get this merged ?

I can't remember, but I think something broke.
I'll resolve the conflicts and try to fix it.


Create Log Analytics Workspace resource

As a project developer, I want a Log Analytics Workspace defined in IaC, so that we can send telemetry data for analysis

Mentioned in #268


shenyu转发dubbo请求进行压测时报错

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
使用shenyu转发dubbo请求，压测时10个线程下，shenyu-bootstrap报错，并且性能很差
The invoker of ReferenceConfig(null) has already destroyed!

Expected Behavior
No response
Steps To Reproduce
No response
Environment
ShenYu version(s): v2.5.1

Debug logs
No response
Anything else?
No response

hi. pls see https://github.com/apache/shenyu/issues/4432


can i use it in horizontal mode?

hi there, thanks for your great work.
but, can i use parallax scroll in horizontal mode?
the left/right fixed header, and scrollview scroll left/right can make the header show/hide.

Hi @geminiyellow, unfortunately, the lib doesn't support it :(

hi @z4o4z thanks.
Close.


News toolkit

Where are you using SuperAGI?
MacOS
Which branch of SuperAGI are you using?
Main
Do you use OpenAI GPT-3.5 or GPT-4?
GPT-3.5
Which area covers your issue best?
Installation and setup
Describe your issue.
This issue outlines the features and functionality required for the development of the NewsAPI Toolkit. The toolkit aims to provide developers with a comprehensive set of tools and APIs to interact with NewsAPI, which offers access to a wide range of news sources worldwide.

Retrieve and display news articles from NewsAPI.
Search for news articles using keywords and apply various filters.

Can you assign this to me, I would like to contribute.

@coder5492 please assign this issue to me. Also please guide me as this is my first contribution

Sure @Ayush-Sharma410!
Please create a PR in SuperAGI tools repo.
Here are the instructions to quickly get you started with contributing to SuperAGI's Tools Repository:

Start building your toolkit by following the instructions in this link
Once you've built the toolkit, make sure you've taken care of the following before submitting your toolkit for a pull request:
All the toolkit documents are made with a snake case.
Your Toolkit covers all the required unit tests.
You have included a README.md which helps the user configure the toolkit with SuperAGI. You can refer to an example Toolkit README here.
Start raising a pull request to merge your branch with the main of SuperAGI-Tools. Once approved, your tool will be merged to the main and available for the community to use!

If you think other additional advantageous features could be included in the toolkit mentioned above, please don't hesitate to include them.

@coder5492 can you please confirm if i have to make a PR to SuperAGI repo or the SuperAGI-Tools repo

@coder5492 Can you please confirm if i have to make the PR on SuperAGI-Tools repo or the SuperAGI repo while tagging this issue.

@Ayush-Sharma410 Hey for all the toolkit make a PR to SuperAGI tools repo

@coder5492 @luciferlinx101 Please check my PR

@Ayush-Sharma410 Hey will review your code and functionality and would merge in the tools repo.


Fix Optical Character Recognition (OCR) operation

Fixes #1344
Changes

Update tesseract.js to latest (improves performance greatly)
Adjust OCR operation code to comply with tesseract.js 3.0 API changes
Add support for specifying the language for tesseract.js
Removed references to local copies of tesseract training data -- it was unclear to me why this was done originally

Thanks very much for updating this. I have merged it but I have also removed the language choice and reverted to using local copies of the worker and traineddata files. I realise this is a little frustrating, but it is for a good reason. If you don't specify local paths for these files, they are fetched from remote CDNs. This is fine most of the time, but CyberChef is designed to operate in a standalone capacity (see the Design Principles), so that it can be used in isolated VMs and on private networks with no Internet access. This is why we specify local files, and it is also why we only support the English traineddata, since these language files are large and we have to package them all together in every CyberChef build.
I would support a PR that reintroduces the language choice, where the default (English) is served locally, and any other languages are fetched remotely. This would need to fail gracefully with a sensible error message if the network requests fail.


Add prisma example

This PR adds an example for Prisma as requested here

Codecov Report

Merging #101 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #101   +/-   ##
=======================================
  Coverage   61.71%   61.71%
=======================================
  Files          44       44
  Lines        1614     1614
  Branches      417      417
=======================================
  Hits          996      996
  Misses        616      616
  Partials        2        2

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 6bd1ec4...96001d1. Read the comment docs.

Also, just a thought. Should the example use TypeScript? All of the rest examples are in plain JavaScript to show that they work normally without any extra compiling process
although, for Prisma I think it would be fine to have TypeScript used, so prob nothing should be changed, it's good already

@talentlessguy good point. I removed TypeScript and implemented the requested change.

alrigghhttt merging

@all-contributors please add @Luiginator for example


RoslynPlugin: Using statement resolver

Transferred existing Roslyn code from v2
Update/clean up code to work with v3
Remove using statement writer (the temporary one)

Done-ish


ENH: Add Export tab

New tab to either export the current PCA exploration, or export different PCA deformations along an axis (from stdmin to stdmax with a certain step)

@juanprietob @lbumbolo Thank you!!
cc: @sjh26 @vicory could we please propagate these changes to the SVA fork?

@vicory @bpaniagua
These changes need to be propagated to incorporate the export function


Support for cross-region cluster

Disaster recovery is a capability required by many enterprises. we want to be able to create clusters within the atlas operator with DR enabled by default.

Hi @alex-tw-lam
Cross-region cluster is supported right now, here's a sample:
apiVersion: atlas.mongodb.com/v1
kind: AtlasCluster
metadata:
  name: atlascluster-multiregion-azure
spec:
  name: cluster-multiregion-azure
  projectRef:
    name: my-project
  providerBackupEnabled: true
  clusterType: REPLICASET
  providerSettings:
    instanceSizeName: M10
    providerName: AZURE
  replicationSpecs:
  - numShards: 1
    zoneName: Europe
    regionsConfig:
      NORWAY_EAST:
        analyticsNodes: 0
        electableNodes: 1
        priority: 6
        readOnlyNodes: 0
      GERMANY_NORTH:
        analyticsNodes: 0
        electableNodes: 1
        priority: 7
        readOnlyNodes: 0

if there are any issues and it is not working for you, please, send logs, and yours configs


Add Laurent Devernay to Contributors list

@ldevernay, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?

@Roshanjossey : Hacktoberfest was what I needed to start on the open source community.
Hopefully, I was directed to your repo, which really is a great way to start.
It was great to see it merged but quite frustrating to find most of the suggested 'easy issues to address on other projects" out of my reach. I mean, most of them really seemed too complicated for me. I needed to find some code to get my hands on real quickly.
I finally decided to prepare a PR for MomentJS (I sent the first and hope to handle another soon).
Thanks for your support!

@ldevernay, I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com
Do share your pull request in slack group. That'll get everybody excited and inspired.


⚠ Processors has degraded performance

In 8422342, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 53 ms

Resolved: Processors performance has improved in ac88aa5.


source request (999hentai)

Source name
999hentai
Source link
https://999hentai.net/anime-home
Source language
english
Other details
+18=yes
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

duplicate of #1958


CH: update CH example certificates for 2022-01-31 testing cycle

This PR replaces the three example certificates for Switzerland with newly issued ones

@gstoehld
Does it make sense to leave the v1.2.1  TEST examples here?
They should no longer be issued.
Perhaps v1.2.1 VAC/REC are still found in the wild (if not, we can remove them too)

@chrloch
Good point!
I have removed the outdated cases (i.e. TEST certificates) as there should be no chance of encountering one by now.
There are likely still 1.2.1 VAC and REC certs around, so we're leaving those in for the time being.


docs(kfp): bump version to 1.5.0

/assign @zijianjoy

Self LGTMing, because this is part of release


StringBuffer - is it null terminated?

Is the string buffer null terminated?
In the example below, the declared string is 4 characters, but does the pointer to newValue point to a 5 char buffer (i.e. 4 data + \0)?
void onRaltDisplayChange(char* newValue) {
    /* your code here */
}
DcsBios::StringBuffer<4> raltDisplayBuffer(0x14aa, onRaltDisplayChange);

The data we get from DCS-BIOS is not null-terminated, but the StringBuffer class allocates one byte more and adds a null terminator so you can just pass newValue to functions that want a string, such as lcd.print().

Thanks!


#2866 fixed evaluation finished events

Fixes #2866
Signed-off-by: Klaus Striessnig<EMAIL_ADDRESS>

Codecov Report

Merging #2874 (a457f50) into master (3ec8139) will decrease coverage by 13.49%.
The diff coverage is 4.16%.

@@             Coverage Diff             @@
##           master    #2874       +/-   ##
===========================================
- Coverage   36.08%   22.59%   -13.50%
===========================================
  Files         104       50       -54
  Lines        6460     1111     -5349
  Branches      197      197
===========================================
- Hits         2331      251     -2080
+ Misses       3821      833     -2988
+ Partials      308       27      -281

Flag
Coverage Δ

moduleA
22.59% <4.16%> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...uation-details/ktb-evaluation-details.component.ts
11.92% <0.00%> (ø)

...nents/ktb-events-list/ktb-events-list.component.ts
12.00% <0.00%> (-0.50%)
:arrow_down:

bridge/client/app/_models/event-icons.ts
100.00% <ø> (ø)

bridge/client/app/_models/event-labels.ts
100.00% <ø> (ø)

bridge/client/app/_models/project.ts
17.14% <0.00%> (ø)

bridge/client/app/_models/root.ts
0.00% <0.00%> (ø)

bridge/client/app/_models/trace.ts
31.74% <0.00%> (ø)

bridge/client/app/_services/api.service.ts
14.00% <0.00%> (ø)

bridge/client/app/_services/mock-data.service.ts
58.33% <ø> (ø)

...app/evaluation-board/evaluation-board.component.ts
4.76% <0.00%> (ø)

... and 55 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 3ec8139...a457f50. Read the comment docs.


ios gcm example, not receiving notification on app quit.

So , we set up everything as mentioned in the getting started document.
1# we get notification (when sent to a topic) when app is running.
2# we get notification when app is in background.
3# we never get notification when app is quit.
Yes we have set background remote notification true also. We have literally tried many things.
4# When iPhone/iPad is restarted , unless we open the app, we do not receive any notification from GCM.
Testing on iOS 7.1.2  iPhone 5s , and iPad iOS 8.0

@promactkaran looks like a duplicate of #60?

had the same problem.
fix it by adding "priority": "high" to push message:

{
"registration_ids": ["nYG2y3HGY3...TSR-i3KWNqI"],
"notification": {
"title": "Hello, world!",
"body": "a",
"badge": 3,
"sound": "default"
},
"priority": "high"
}

Thanks @InViZz! Please check my reply in #60.


Log error: Erathquake zone trigger issue

Theses is error with zone.warning for earthquake triggers:
_Logger: homeassistant.components.geo_location.trigger
Source: components/geo_location/trigger.py:69
Integration: Geolocation (documentation, issues)
First occurred: September 16, 2023 at 7:29:20 PM (96 occurrences)
Last logged: 8:54:53 AM
Unable to execute automation Earthquake Alert: Zone zone.warning not found_
Zone itself is present and has state.

Not sure why, but it didn't register existing zone. Deleted existing, recreated new one and it works.


fail fast when inputs are undefined

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@jonmv please review and merge

should fix https://jira.vzbuilders.com/browse/VESPA-19267

Great :)


admin: config_dump is not experimental

Risk Level: Low
Testing: Existing tests
Docs Changes: N/A
Release Notes: N/A

I'm happy to close this, but IMO removing "experimental" from the help output is quite a bit different than saying the feature is finished or moving the protos from v2alpha to v2. IMO it's definitely experimental. It's a heavily used feature and is expected to work for what it does.

I thought this would be non-controversial but I'm just going to close this. We can revisit once the other items that @kyessenov mentioned are complete.


Added option to choose the gemini model

The list of available models are created. The user can specify the model they want to use. All these models support the generate_content method from vertex api

@capjamesg can you check and approve this i will update the autodistill repo once this is published


langchain[minor]: Delete & re-export json tools parser code

Too many merge conflicts, tracking issue here https://github.com/langchain-ai/langchainjs/issues/5348


Enable exported rule of revive for golangci-lint

What this PR dose / why we need it?

Enable exported rule of revive for golangci-lint

Please see https://golangci-lint.run/usage/configuration/#config-file

issues:
  exclude:
    - EXC0012
  exclude-use-default: false

Exclude some files by hand
Add some comment on exported fields, functions and methods according to golangci-lint.

But there is a discussion about the exported rule, please see

https://github.com/golangci/golangci-lint/issues/456.
https://github.com/golangci/golangci-lint/issues/2114#issuecomment-878937553

/kind cleanup

/lgtm


Enable item drag drop for reordering items and categories

Adds the ability to reorder and persist that order for categories and items within categories using the react-beautiful-dnd library.
Items can only be reordered within their own category. Item order is stored in existing sort_order column on the packItems table.
Finishes item 2 on #16
Here's a screenshot:

And here's a quick video:
https://user-images.githubusercontent.com/1940054/108638305-90cb7c00-745c-11eb-9e5c-a6144ea0f088.mp4
I would like feedback on any ways to improve or speed up the logic behind reordering. In PackItems/index.tsx, the functions reorderItem() and reorderCategory I think could be made more efficient, but I think this is a good starting point. There is also a little bit of strange snapping that happens after dropping a category. I couldn't quite figure out how to get it to drop smoothly like the items do. Not sure if it's a huge deal, but it could be looked into further.
The react-beautiful-dnd library could also be used to drag and drop items from inventory into the pack, but I think simply clicking it works great for now.

Ah, I love it! We can clean up and optimize the sorting stuff later. I think this is worth shipping now and revisiting.
Great work!


Storybook fails on Node 17

Storybook is failing when building using Node 17 and upwards.
Console output:
$ yarn storybook
yarn run v1.22.5
$ start-storybook -p 9001 -c .storybook
info @storybook/react v5.3.21
info
info => Loading presets
info => Loading presets
info => Loading custom manager config.
info => Loading config/preview file in ".storybook".
info => Loading custom Webpack config (full-control mode).
info => Using base config because react-scripts is not installed.
10% building 1/1 modules 0 active(node:166735) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(Use `node --trace-deprecation ...` to show where the warning was created)
10% building 1/2 modules 1 active /home/kevin/git/react-glider/node_modules/webpack-hot-middleware/client.js?reload=true&quiet=truenode:internal/crypto/hash:67
  this[kHandle] = new _Hash(algorithm, xofLen);
                  ^

Error: error:0308010C:digital envelope routines::unsupported
    at new Hash (node:internal/crypto/hash:67:19)
    at Object.createHash (node:crypto:130:10)
    at module.exports (/home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/webpack/lib/util/createHash.js:135:53)
    at NormalModule._initBuildHash (/home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/webpack/lib/NormalModule.js:417:16)
    at handleParseError (/home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/webpack/lib/NormalModule.js:471:10)
    at /home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/webpack/lib/NormalModule.js:503:5
    at /home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/webpack/lib/NormalModule.js:358:12
    at /home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/loader-runner/lib/LoaderRunner.js:373:3
    at iterateNormalLoaders (/home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/loader-runner/lib/LoaderRunner.js:214:10)
    at Array.<anonymous> (/home/kevin/git/react-glider/node_modules/@storybook/core/node_modules/loader-runner/lib/LoaderRunner.js:205:4)
    at Storage.finished (/home/kevin/git/react-glider/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:43:16)
    at /home/kevin/git/react-glider/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:79:9
    at /home/kevin/git/react-glider/node_modules/graceful-fs/graceful-fs.js:90:16
    at FSReqCallback.readFileAfterClose [as oncomplete] (node:internal/fs/read_file_context:68:3) {
  opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
  library: 'digital envelope routines',
  reason: 'unsupported',
  code: 'ERR_OSSL_EVP_UNSUPPORTED'
}

Node.js v17.2.0

Mitigated by using cimg/node:lts CircleCI docker image.


[Feature]: Use Labels to Select Devices

Domain
All
What is actually missing?
It would be really nice if there were more of a "fine-grained" way of selecting devices that are included or excluded from the bridge.
I was thinking that HomeAssistant's new "Labels" feature might provide an easy solution. So, instead of (or in addition to), the "Include Patterns" in the dialog box, below, there was also a check box "Only Include devices labeled 'HomeBridge'" you could easily identify which devices to include. For example, if you included the domains light and switch, and then checked this box, it would also require that the device have the label "HomeBridge" in HomeAssistant.

I was just about to write this! Exactly such a thing would be needed.
I would really appreciate it if such an option would be added.


Components overlapping when horizontally resized

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
https://user-images.githubusercontent.com/92228082/185468526-d88441c6-4315-430a-b295-98078f3be059.mov
Not sure if this is the expected behavior as of now.
But sometimes the component is pushing the adjacent one, sometimes it is not.

thanks for finding this Prakhar!
are you able to send me the DOM object from the app where you have this issue? that might help me reproduce it and understand it better

oh wait, i think the only issue here is that the resizing is not aware that the text input has a minimum width, so it does not respect it.
this might be a tough issue to fix, but i'll see how we can improve this

We can make it always fullWidth and remove that property? How would we size a texfield that is the only component on a row?

@apedroferreira In case it helps, here is the link to the app: https://master--toolpad.mui.com/_toolpad/app/cl1on1bd80041a1pdrrfdt0rq/editor/pages/cl6ysktjz00023b6g8xkizxr8

How would we size a texfield that is the only component on a row?

with some improvements to resizing we could make it possible to adjust the left/right margin in the container to any value, as well as resize the text input horizontally to any possible size. right now it's very basic though so users can't do it yet.

We can make it always fullWidth and remove that property?

as things are for now if we had this type of component always be full width i guess we wouldn't be able to add any margins?
and i guess any imposed minimum width in any component would still create visual issues like these?


tsfmt doesn't support include in tsconfig.json

https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#glob-support-in-tsconfigjson

#48 duplicated
It implemented already in https://github.com/vvakame/typescript-formatter/tree/tsc-2.0 branch.
I'm waiting for TypeScript 2.0.0 stable release.


[Bug]: Remote hosting with nginx as reserve proxy with SSL. Prompt gives Error saving message: doc.postSaveHook is not a function

What happened?
I'm setting up librechat on a remote hosting with nginx. The register and interface is working fine. I've followed the tutorial https://www.librechat.ai/docs/remote/nginx and im doing it with Option A: i.e. deploy-compose.
I've created an account and set up the openAI token.
When i send the prompt the LibreChat-API crashes and restarts.
Steps to Reproduce
1- Setup nginx and librechat as tutorial
2- Activating SSL
3- Changing server_name on nginx.config to my domain
4- Changing DNS server to google's
4- Login and send a prompt to OpenAI
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Relevant log output
[root@citric-1 LibreChatCitric]# sudo docker compose -f ./deploy-compose.yml up -d
WARN[0000] /opt/citric/LibreChatCitric/deploy-compose.yml: `version` is obsolete
[+] Running 7/7
 ✔ Network librechatcitric_chat-network  Created                                                                                0.1s
 ✔ Container librechatcitric-vectordb-1  Started                                                                                0.4s
 ✔ Container chat-mongodb                Started                                                                                0.4s
 ✔ Container chat-meilisearch            Started                                                                                0.4s
 ✔ Container librechatcitric-rag_api-1   Started                                                                                0.4s
 ✔ Container LibreChat-API               Started                                                                                0.6s
 ✔ Container LibreChat-NGINX             Started                                                                                0.8s
[root@citric-1 LibreChatCitric]# docker logs -f LibreChat-API
2024-06-28 20:32:48 info: [Optional] Redis not initialized. Note: Redis support is experimental.
2024-06-28 20:32:48 info: Connected to MongoDB
2024-06-28 20:32:48 info: Custom config file loaded:
2024-06-28 20:32:48 info: {
  "version": "1.0.9",
  "cache": true,
  "interface": {
    "privacyPolicy": {
      "externalUrl": "https://librechat.ai/privacy-policy",
      "openNewTab": true
    },
    "termsOfService": {
      "externalUrl": "https://librechat.ai/tos",
      "openNewTab": true
    }
  },
  "registration": {
    "socialLogins": [
      "github",
      "google",
      "discord",
      "openid",
      "facebook"
    ]
  },
  "endpoints": {
    "custom": [
      {
        "name": "groq",
        "apiKey": "${GROQ_API_KEY}",
        "baseURL": "https://api.groq.com/openai/v1/",
        "models": {
          "default": [
            "llama3-70b-8192",
            "llama3-8b-8192",
            "llama2-70b-4096",
            "mixtral-8x7b-32768",
            "gemma-7b-it"
          ],
          "fetch": false
        },
        "titleConvo": true,
        "titleModel": "mixtral-8x7b-32768",
        "modelDisplayLabel": "groq"
      },
      {
        "name": "Mistral",
        "apiKey": "${MISTRAL_API_KEY}",
        "baseURL": "https://api.mistral.ai/v1",
        "models": {
          "default": [
            "mistral-tiny",
            "mistral-small",
            "mistral-medium"
          ],
          "fetch": true
        },
        "titleConvo": true,
        "titleModel": "mistral-tiny",
        "modelDisplayLabel": "Mistral",
        "dropParams": [
          "stop",
          "user",
          "frequency_penalty",
          "presence_penalty"
        ]
      },
      {
        "name": "OpenRouter",
        "apiKey": "${OPENROUTER_KEY}",
        "baseURL": "https://openrouter.ai/api/v1",
        "models": {
          "default": [
            "meta-llama/llama-3-70b-instruct"
          ],
          "fetch": true
        },
        "titleConvo": true,
        "titleModel": "meta-llama/llama-3-70b-instruct",
        "dropParams": [
          "stop"
        ],
        "modelDisplayLabel": "OpenRouter"
      }
    ]
  }
}
2024-06-28 20:32:48 warn: Default value for CREDS_KEY is being used.
2024-06-28 20:32:48 warn: Default value for CREDS_IV is being used.
2024-06-28 20:32:48 warn: Default value for JWT_SECRET is being used.
2024-06-28 20:32:48 warn: Default value for JWT_REFRESH_SECRET is being used.
2024-06-28 20:32:48 info: Please replace any default secret values.
2024-06-28 20:32:48 info:

    For your convenience, use this tool to generate your own secret values:
    https://www.librechat.ai/toolkit/creds_generator

2024-06-28 20:32:49 info: RAG API is running and reachable at http://rag_api:8000.
2024-06-28 20:32:49 info:
Outdated Config version: 1.0.9
Latest version: 1.1.4

      Check out the Config changelogs for the latest options and features added.

      https://www.librechat.ai/changelog

2024-06-28 20:32:49 info: Server listening on all interfaces at port 3080. Use http://localhost:3080 to access it
2024-06-28 20:33:10 error: Failed to fetch models from Mistral API
The request either timed out or was unsuccessful.


[request] Prettier Roundtrip Log

As a trader I would like to be able to more easily read my trades so that I can quickly understand my activity.

[ ] Add currency symbol to Entry Balance, Exit Balance, and P&L values
[ ] Add percentage symbol to Profit value
[ ] Add Entry Balance, Exit Balance, and P&L values to 2 decimal places
[ ] Add a new row for an entry point that hasn't exited yet
[ ] In 'pending exit row', add the exposure accrued so far
[ ] In 'pending exit row', add the Entry Balance
[x] Add "color: green" or "color: red" to profit and loss, respectively (already handled in https://github.com/askmike/gekko/commit/56f909cf1d9c9ab68e656d0357da903207a3594c)

Add percentage symbol to Profit value

This is present! Even in your screenshot. Or what am I missing?

Add Entry Balance, Exit Balance, and P&L values to 2 decimal places

Entry and exit already are, so you want the P&L to be 2 instead of 3? Why?

Add a new row for an entry point that hasn't exited yet
In 'pending exit row', add the exposure accrued so far
In 'pending exit row', add the Entry Balance

This is not a completed roundtrip. In future versions of the UI I want to render trades in separate a table. Would this suffice?

Most of these things are very small, care to submit a PR? :)

Hey @askmike, I can probably jump in and fix some/all of these things as a small PR, I am participating in Hacktoberfest and am looking for some small PRs to make so let me know if you have any other priority tasks you want me to take a look at, ideally ~1-2hrs per issue since I work full time :'(
I am a web developer who mostly works with JS, CSS, some experience with D3 for data vis, as well as various templating/view frameworks, if that helps you pick out some issues you have been looking to get fixed.

That would be beyond awesome!
The biggest thing definitely is: https://github.com/askmike/gekko/issues/911
Note that for this I want to redesign the page of the "live gekko" a little
bit. It is missing a lot of information.
The UI is written in vuejs, you can find more information on how to set
everything up here: https://gekko.wizb.it/docs/internals/gekko_ui.html
On Thu, Oct 19, 2017 at 12:39 PM, Taylor Bett<EMAIL_ADDRESS>wrote:

Hey @askmike https://github.com/askmike, I can probably jump in and fix
some/all of these things as a small PR, I am participating in Hacktoberfest
and am looking for some small PRs to make so let me know if you have any
other priority tasks you want me to take a look at, ideally ~1-2hrs per
issue since I work full time :'(
I am a web developer who mostly works with JS, CSS, some experience with
D3 for data vis, as well as various templating/view frameworks, if that
helps you pick out some issues you have been looking to get fixed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/1154#issuecomment-337804908, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MDzRxyIFIXrwEh9uWL_0p50YCO7wHks5stuCegaJpZM4PhOib
.

--
PGP key at keybase.io/mikevanrossum
https://keybase.io/mikevanrossum/key.asc

Cool, I will take a look at #911 after this issue.
I have also just made some small UI updates and fixes which I will submit in a separate PR (button updates, some visual hierarchy work for the Import journey and an update to the loader-bar on the single import page to give users a bit more feedback that something exciting is happening).
I haven't used Vue before but have been able to get the hang of the templating syntax a bit without using the docs yet :) Will hopefully get into some actual data manipulation and presentation with a bit more practice.

@askmike I have submitted a PR #1227 tackling the issues listed here (except the partial/incomplete round trip issues you have discussed above, since they will be handled in another fix sounds like).
The PR was a bit small so I added in sorting functionality on the front end UI so that users can sort the round trip data as they see fit (by column and ascending/descending orders).


Mac Version

What feature or new tool do you think should be added to DevToys?
I use both PC and Mac in my development efforts. I bring my Mac when I travel so I can't use DevToys. I'd love to see a Mac version. Any chance one is coming soon?
Why do you think this is needed?
It's a great tool and I'd love to see a Mac version.
Solution/Idea
No response
Comments
No response

Mac version is actually a work in progress 😁
Duplicate with #156

We're hoping for a beta in Fall 2023


FossID: Extract mapping of licenses to scanner specific configurations

Maybe explain in the commit message why this change is needed ?


Async SSR rendering

Describe the bug
Unsure if this is a bug, improper approach, or incorrect expectations.
Server rendering for dynamic route imports and data fetching shows only initial loading state, and not the final information.
Environment
Environment Info:

  current version of create-react-app: 3.3.1
  running from /Users/afrankel/.config/yarn/global/node_modules/create-react-app

  System:
    OS: macOS 10.15.5
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
  Binaries:
    Node: 10.16.3 - /usr/local/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.9.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 83.0.4103.116
    Firefox: Not Found
    Safari: 13.1.1
  npmPackages:
    react: Not Found
    react-dom: Not Found
    react-scripts: Not Found
  npmGlobalPackages:
    create-react-app: Not Found

Expected behavior

Server render should embed final output

Actual behavior

Loading states appear

Reproducible demo
Routing
git clone https://github.com/afrankel-sfdo/cra-ssr-test.git cura-render-route; cd cura-render-route; git reset --hard edf948f1a4f1ede3bdeed030d6ae186a1d6b4955; yarn; yarn start
curl -s http://localhost:3333/ | grep Loading...

Loading...

Data fetching
git clone https://github.com/afrankel-sfdo/cra-ssr-test.git cura-render-data; cd cura-render-data; git reset --hard f7d9fbd3659146f337da8bd7c31efbd86727d489; yarn; yarn start
curl -s http://localhost:3333/ | grep "graphql loading"

graphql loading

Figured out the problem with Apollo, needed to use renderToStringWithData in index.node.js

Routing was a little tricker to pinpoint, the critical different was altering nodeExternals...
          nodeExternals({
            whitelist: [
              /babel-plugin-universal-import|react-universal-component/
            ]
          }),

Looking into one remaining quirk where the route content quickly reverts to loading state and repaints.


cap M

Warnings

:warning:
Please include a description of your PR changes.

:warning:
This PR does not include changes to unit tests, even though it affects app code.

  Generated by :no_entry_sign: dangerJS against 87fcda29ef8b7225028d34f778edecaefd7f7071


Why am I getting the error of issue #319?

I have the following very simple code
"use strict";

const TelegramBot = require('node-telegram-bot-api');

const token = 'BOT_TOKEN';
const bot = new TelegramBot(token, {polling: true});

I'm litterally only running this code, and I get the error reported in #319. Where it says if you start with a require this error shouldn't occur.
Anyone who knows what I am doing wrong?

If you get deprecation warning you should add this line at top of the file.
process.env["NTBA_FIX_319"] = 1;

This solved it, thank you!


Silence skip feature

Exo provides great feature called silence skip and I was amazed by its implementation in NewPipe, unfortunately it doesn't play local files. When you don't look at the video it's actually really hard to spot places where it is skipped.
Thus I would like ask for inclusion of this feature [ possibly together with speedup functionality ].

Sounds interesting. I try that out.
Can you point out your use case / with what video does this feature makes sense? Can you share a sample?

Sounds interesting. I try that out.
Can you point out your use case / with what video does this feature makes sense? Can you share a sample?

IMHO this is something that would be useful for podcasts instead of movies and TV shows. I would expect it to be more bound to online content. Just Player also currently doesn't have any background or music playback as it's originally intended for movies/shows.
Playback speed setting is already there (as it's provided by ExoPlayer UI).

IMHO this is something that would be useful for podcasts instead of movies and TV shows. I would expect it to be more bound to online content. Just Player also currently doesn't have any background or music playback as it's originally intended for movies/shows.
Playback speed setting is already there (as it's provided by ExoPlayer UI).

It's great for any kind of educational content, classes etc. which many of us are in the midst of.
In one case this feature cut one of my videos from 2 hours to one, without speeding up, and it is far much pleasant to listen to.
Podcasts are pretty much covered by PocketCasts which have such feature too, it's closed source but oh well

It's great for any kind of educational content, classes etc. which many of us are in the midst of.
In one case this feature cut one of my videos from 2 hours to one, without speeding up, and it is far much pleasant to listen to.
Podcasts are pretty much covered by PocketCasts which have such feature too, it's closed source but oh well

I would also advocate for the addition of this silence skip feature. Like barolo mentioned, it is very useful for educational content (for example, I'm currently watching recordings of my lectures and this feature would be much more helpful than simply increasing the playback speed). Also, I think no other player offers this feature (I only know about NewPipe, but that doesn't really count), neither on Android nor on Desktop platforms. There are ways to reencode those videos but that is time-consuming and costs much more space.

You can try builds available here which have skip silence enabled (but lack UI to toggle that). See how well it works for your content.

@AkitoFire AntennaPod offers such feature, since it can play videos now, it's not intuitive since you need to add folder with videos first.
I'll check the new builds

@moneytoo That build works great!
In the future I would  love to have an option to 2x/3x fastforward through silence instead skipping.

@moneytoo Thank you! I'm not entirely sure what the difference between both builds is, but it works really well! With quieter content, the output is a garbled mess though. One possible solution for this problem would be to check for a loudness standard and adjust accordingly (specifying target LUFS, for example), but I'm not sure how to implement something like this for a normal video player.

@moneytoo is there a plan to include this in release builds?

@moneytoo is there a plan to include this in release builds?

Maybe in the future, but I can't promise anything. It would probably be available only after activating some advanced mode (I still need to think though that more).

@moneytoo is there a plan to include this in release builds?

Maybe in the future, but I can't promise anything. It would probably be available only after activating some advanced mode (I still need to think though that more).

Gotcha, thank you for updating the builds.

@moneytoo Could you please update the builds?

@moneytoo thank you for updates!
I have a request, could you perhaps tie playback speed to silence skip, instead of just skipping, e.g. 3x speed. It's much less jarring.
That's how the NewPipe guys do it.

Starting v0.59 you can enable the basic audio skip from settings. You can access settings from system App info screen (phones only) or by long pressing the gear (⚙) icon (phones/TV).

Starting v0.59 you can enable the basic audio skip from settings. You can access settings from system App info screen (phones only) or by long pressing the gear (gear) icon (phones/TV).

Marvelous! Just updated all of my devices. Thank you.
Will you consider my request of speeding up instead of cutting for skipping?

@moneytoo awesome 😍

Am I correct in thinking that this: https://github.com/google/ExoPlayer/issues/6705 having been resolved should make it possible to enable the user to configure parameters of the skip-silence feature, so they can change the minimum duration of silence to be skipped, the threshold volume below which is classified as 'silence', and the duration of 'padding' on the edges of any silent portion?


No virtual camera mode

Do you know how to enable virtual camera mode ? It is missing on OBS.

I think the adding of v4l2loopback-dkms is not enough. Did you try it?

Maybe I'm missing something, but it works after installing v4l2loopback-dkms by default, without tweaking anything. Maybe are you thinking something related to this post https://askubuntu.com/questions/1332772/obs-studio-virtual-camera-wont-work?

I don't know why but it seems, since you made an update, it's not working anymore. I mean, I made 2 consecutive fresh installs (Raspberry Pi OS 32 bits + OBS4Pi) and each time, when I execute ./launch_OBS.sh it says obs: not found.

Try sudo rpi-update first and if this gives you the same error, install libomxil-bellagio related packages (https://github.com/raspberrypi/firmware/issues/1366) Hope it helps!


--generate_script_list includes classes that are not GodotScript

It should only include classes like:
class Notifications : GodotScript!Node {
}

Not classes like:
class Things {
}

Fixed in 14e8008f368354f368189a37ff26b2ba95a9b598


No route matches [POST] "/periodic_tasks

I get the following error for the cron.yml:
No route matches [POST] "/periodic_tasks

Hi @ACPK ,
Thanks for your submission. Sorry for the late response.
Did you set the environment variable PROCESS_ACTIVE_ELASTIC_JOBS to true ?
Since version 2.0 processing of jobs is disabled per default and has to be enabled via this environment variable as described in the README in step 6.
Alternatively, if you have set up a separate Rails environment for your worker environments, then you can also enable the processing of jobs via the Rails configuration:
 # config/environments/worker.rb
 Rails.application.configure do
   config.active_elastic_job.process_jobs = true
 end

Let me know if this was or wasn't the issue.
Thanks!
Cheers,
Tawan

@ACPK I was having this exact same problem and after lots of double checking and debugging I found that I'd installed the gem @ version 1.7 and never updated to the latest 2.0.  Upgrading to 2.0.0 and deploying fixed this for me.

@tawan - I have tried both with no luck.
@tawan  - I'm using 2.0.1.

@tawan - I still get a 404 for posts to /periodic_tasks.

@ACPK did you resolve this?

@AdilSarwarNU  - I don't believe it was resolved though I am no longer using active-elastic-job. It seems like I wasn't the only person hitting the error so I don't know if was resolved.


Report a subset of connections from/to the same endpoint

Fixes #3584
The app will only show one line, regardless of how many connections we have, so reduce the number we send to save bandwidth and rendering time. Include a note of how many connections were elided in the report, so the app can still show the same number in the detail window.
I've only done this for the ebpf collector for now.
We collect the details by "triple" of (source address, destination address, destination port), recording what we know about the source or destination pid, then where there are more than 5 connections going to the same endpoint, all for the same process, we thin them down using a modulus.
Inspired by the discussion at https://github.com/weaveworks/scope/pull/3452#pullrequestreview-179371870
Note this is a (minor) breaking change in the protocol: older apps will show an incorrect connection count.

I've added a unit test and an integration test.
Should be good to go now.