Fieldworks Language Explorer

NLTK includes some support for SIL toolbox (in nltk.toolbox and nltk_contrib.toolbox). It would be good to update this to support Fieldworks Language Explorer (FLEx).
http://fieldworks.sil.org/flex/
http://craigstips.wikispaces.com/FlexApps

@pandersity, @rmdiamondl, @serapio – I'm just getting back to this. Thanks for your interest. I'd like to discuss how we can move forward. Is there consensus in working with LIFT format? Does this include the interlinear text data or can that be accessed via some other export format?

The LIFT file just has the lexicon, and the texts are exported as .flextext files. Flextext is also an XML format, so it's not hard to read, but I do not know of any documentation for it, and I don't know how stable it is as a standard.

LIFT is just for lexical data. FLExText XML is for texts. It is based on the Electronic Metastructure for Endangered Languages Data (EMELD) and is being used for interchange between ELAN and FLEx.
Ron
From: Steven Bird<EMAIL_ADDRESS>Sent: Tuesday, March 03, 2015 5:12 AM
To: nltk/nltk
Cc: rmdiamondl
Subject: Re: [nltk] Fieldworks Language Explorer (#715)
@pandersity https://github.com/pandersity , @rmdiamondl https://github.com/rmdiamondl , @serapio https://github.com/serapio  – I'm just getting back to this. Thanks for your interest. I'd like to discuss how we can move forward. Is there consensus in working with LIFT format? Does this include the interlinear text data or can that be accessed via some other export format?
—
Reply to this email directly or view it on GitHub https://github.com/nltk/nltk/issues/715#issuecomment-76884136 .  https://github.com/notifications/beacon/AGwoCS8k40vwXN2Fo7bT_wm4aX6gGiT8ks5nxSv-gaJpZM4CR6mv.gif

@serapio, @pandersity, @rmlockwood – I'm revising NLTK book chapter 11 and would like to replace the Toolbox section with something about LIFT (to cover FLEx and WeSay lexicons) and FLExText (for interlinear text). I'd like to take stock of what's now available out there, in case we can just refer to external libraries and not have to do anything special in NLTK itself, as @gregaumann did in toolbox.py.
I found:

LIFT2CSV.py by @lukhnos, with some documentation

a detailed report by @KenZook

a blog post by @hatton

Can anyone please tell us what the current recommended approach is for working with FLEx data using Python?

I don't know of anything covering flextext, but if you are interested in a LIFT reader in NLTK, I think what I have here https://github.com/serapio/kwaras/blob/master/src/formats/lift.py would be easily adaptable.

@stevenbird Hi, I saw lift-convert being mentioned here. It was some ad hoc code for extracting Taiwanese Hokkien data in LIFT into CSV for an input method project, and is unlikely to be useful in general cases. I think the lift.py mentioned above would indeed be a better starting point. Thanks!

Hi Steven,
For accessing FieldWorks data via Python, I’d recommend using FLExTools,
developed by Craig Farrow. This is something he developed around the FDO
access code which is core to FieldWorks.
You can get details and downloads of this at
https://github.com/cdfarrow/FLExTools/wiki. Craig’s e-mail is
<EMAIL_ADDRESS>It would be possible working strictly with LIFT, but LIFT really needs some
enhancements to fully support Flex data, and I’m not sure when that will be
addressed.
Ken
From: Steven Bird<EMAIL_ADDRESS>Sent: Wednesday, September 09, 2015 9:55 AM
To: nltk/nltk
Cc: Ken Zook
Subject: Re: [nltk] Fieldworks Language Explorer (#715)
@serapio https://github.com/serapio, @pandersity
https://github.com/pandersity, @rmlockwood https://github.com/rmlockwood
– I'm revising NLTK book chapter 11 http://www.nltk.org/book/ch11.html
and would like to replace the Toolbox section with something about LIFT (to
cover FLEx and WeSay lexicons) and FLExText (for interlinear text). I'd
like to take stock of what's now available out there, in case we can just
refer to external libraries and not have to do anything special in NLTK
itself, as @gregaumann https://github.com/gregaumann did in toolbox.py
https://github.com/nltk/nltk/blob/develop/nltk/toolbox.py.
I found:
·         LIFT2CSV.py
https://github.com/lukhnos/lift-convert/blob/master/nan-tw-TL-LIFT2CSV.py
by @lukhnos https://github.com/lukhnos, with some documentation
http://hackersome.com/p/lukhnos/lift-convert
·         a detailed report
http://fieldworks.sil.org/wp-content/TechnicalDocs/Export options in Flex.pdf
by @KenZook https://github.com/KenZook
·         a blog post
http://wesay.palaso.org/2006/12/29/using-python-to-read-a-fieldworks-lexicon/
by @hatton https://github.com/hatton
Can anyone please tell us what the current recommended approach is for
working with FLEx data using Python?
—
Reply to this email directly or view it on GitHub
https://github.com/nltk/nltk/issues/715#issuecomment-138937195.


Request was denied due to conflict with a previous request.' in 'create_vm' CPI

Hi Support,
CPI Release Version: v22
VM deployments fail with the following error: "Request was denied due to conflict with a previous request.' in 'create_vm' CPI "
The full error is:
Task 1781 | 11:47:10 | Compiling packages: kibana-fields-refresher/21cebfd336d240f28afec0ec2c946342880644e2 (00:01:12)
L Error: CPI error 'Bosh::Clouds::CloudError' with message 'input={"method": "create_vm","arguments": ["d75dd7ef-6fba-4ddc-9234-8eac4549ebe1","m-uf62i73koztojdt3w6zh",{"availability_zone": "cn-shanghai-e","ephemeral_disk": {"encrypted": true,"size": 20480},"instance_type": "ecs.c5.xlarge"},{"compilation_network": {"type": "manual","ip": "<IP_ADDRESS>","netmask": "<IP_ADDRESS>","cloud_properties": {"security_group_ids": ["sg-uf6donwmm5y6ijlafcj9","sg-uf65kinw04qdwefhabfx","sg-uf6d232pzwmoxdiekvoa"],"vswitch_id": "vsw-uf6odhf9rhknmld5iadw8"},"default": ["dns","gateway"],"dns": ["<IP_ADDRESS>","<IP_ADDRESS>"],"gateway": "<IP_ADDRESS>"}},[],{"bosh": {"blobstores": [{"options": {"endpoint": "https://<IP_ADDRESS>:25250","password": \n"}},"group": "bosh-cf-cn40-canary-application-logging-compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9","groups": ["bosh-cf-cn40-canary","application-logging","compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9","bosh-cf-cn40-canary-application-logging","application-logging-compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9","bosh-cf-cn40-canary-application-logging-compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9"]}}],"context": {"director_uuid": "966dffcd-b901-409d-813f-85a5caf8b392","request_id": "cpi-748883","vm": {"stemcell": {"api_version": 2}}},"api_version": 1} update i-uf649nxq9qky3536fntx failed vm deleted: input={"method": "create_vm","arguments": ["d75dd7ef-6fba-4ddc-9234-8eac4549ebe1","m-uf62i73koztojdt3w6zh",{"availability_zone": "cn-shanghai-e","ephemeral_disk": {"encrypted": true,"size": 20480},"instance_type": "ecs.c5.xlarge"},{"compilation_network": {"type": "manual","ip": "<IP_ADDRESS>","netmask": "<IP_ADDRESS>","cloud_properties": {"security_group_ids": ["sg-uf6donwmm5y6ijlafcj9","sg-uf65kinw04qdwefhabfx","sg-uf6d232pzwmoxdiekvoa"],"vswitch_id": "vsw-uf6odhf9rhknmld5iadw8"},"default": ["dns","gateway"],"dns": ["<IP_ADDRESS>","<IP_ADDRESS>"],"gateway": "<IP_ADDRESS>"}},[],{"bosh": {"blobstores": [{"options": xxxx\n"}},"group": "bosh-cf-cn40-canary-application-logging-compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9","groups": ["bosh-cf-cn40-canary","application-logging","compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9","bosh-cf-cn40-canary-application-logging","application-logging-compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9","bosh-cf-cn40-canary-application-logging-compilation-a3029dcb-dbc3-4810-b991-61a35c6d82e9"]}}],"context": {"director_uuid": "966dffcd-b901-409d-813f-85a5caf8b392","request_id": "cpi-748883","vm": {"stemcell": {"api_version": 2}}},"api_version": 1} Instance i-uf649nxq9qky3536fntx JoinSecurityGroup sg-uf65kinw04qdwefhabfx failed.: JoinSecurityGroup i-uf649nxq9qky3536fntx to sg-uf65kinw04qdwefhabfx failed, args: &ecs.JoinSecurityGroupRequest{RpcRequest:(*requests.RpcRequest)(0xc00032e1c0), ResourceOwnerId:"", InstanceId:"i-uf649nxq9qky3536fntx", ResourceOwnerAccount:"", OwnerAccount:"", SecurityGroupId:"sg-uf65kinw04qdwefhabfx", OwnerId:""}.: SDK.ServerError
ErrorCode: OperationConflict
Recommend:
RequestId: CE97D8EF-F3B9-4927-9BCC-7E7F30B39548
Message: Request was denied due to conflict with a previous request.' in 'create_vm' CPI method (CPI request ID: 'cpi-748883')

HI @OlegGerber This error came from the API internal error and can you retry it? From internal feedback, it can be fixed by retry. Also, I will add retry strategy in the bosh cpi.

hi @xiaozhu36,
You are right this issue is sporadic and may be resolved by retry.
However, it has happened very frequently.
Can you please update in which CPI version the fix will be provided?

HI @OlegGerber Ok, the next version will add retry strategy for this error.

HI @OlegGerber The release v23.0.0 has fixed this issue and please check it.


Add guide for CLI usage (Document --require)

The --require option is fantastic.
I'm just opening an issue to track its docs inclusion.
Related to https://github.com/qunitjs/qunit/pull/1271.

:+1: Brief documentation can be found by running qunit --help. That said, there's a larger task here of adding a section to the website for more thorough treatment of the Node/CLI side of using QUnit.

Done, at https://qunitjs.com/cli/. Ref https://github.com/qunitjs/qunitjs.com/commit/0a70d75535c8f5f75b388d9f78bc.

Done, at https://qunitjs.com/cli/. Ref https://github.com/qunitjs/qunitjs.com/commit/0a70d75535c8f5f75b388d9f78bc.


fix: pypi auto publish workflow

Signed-off-by: Avik Basu<EMAIL_ADDRESS>
Fix workflow for auto pypi publish
Delete failing release workflow

manually releasing going forward?

Just the github releases. It was failing anyway, will look into it further to automate it, once a tag is released.


after executing  "az cloud set --name AzureGermanCloud", cannot login with az login command.

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
The command failed with an unexpected error. Here is the traceback:
HTTPSConnectionPool(host='login.microsoftonline.de', port=443): Max retries exceeded with url: /organizations/v2.0/.well-known/openid-configuration (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x04DB3340>, 'Connection to login.microsoftonline.de timed out. (connect timeout=None)'))
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 174, in _new_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 96, in create_connection
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/connection.py", line 86, in create_connection
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 699, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 382, in _make_request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 1010, in _validate_conn
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 358, in connect
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connection.py", line 179, in _new_conn
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x04DB3340>, 'Connection to login.microsoftonline.de timed out. (connect timeout=None)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 439, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 783, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/connectionpool.py", line 755, in urlopen
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\urllib3/util/retry.py", line 574, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='login.microsoftonline.de', port=443): Max retries exceeded with url: /organizations/v2.0/.well-known/openid-configuration (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x04DB3340>, 'Connection to login.microsoftonline.de timed out. (connect timeout=None)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/profile/custom.py", line 139, in login
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/_profile.py", line 154, in login
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/auth/identity.py", line 134, in login_with_auth_code
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/auth/identity.py", line 106, in _msal_app
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/application.py", line 1525, in __init__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/application.py", line 456, in __init__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/authority.py", line 100, in __init__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/authority.py", line 160, in tenant_discovery
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/individual_cache.py", line 269, in wrapper
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 555, in get
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 542, in request
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/sessions.py", line 655, in send
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\requests/adapters.py", line 504, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='login.microsoftonline.de', port=443): Max retries exceeded with url: /organizations/v2.0/.well-known/openid-configuration (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x04DB3340>, 'Connection to login.microsoftonline.de timed out. (connect timeout=None)'))

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login

Expected Behavior
Environment Summary
Windows-10-10.0.19044-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.39.0

Additional Context

It seems the network issue to access login.microsoftonline.de

@toki0709 Thanks for reaching out to us and reporting this issue. Regarding the Azure Germany, Azure Germany is being deprecated in favor of standard nonsovereign Azure regions in Germany. Since August 2018, we have not been accepting new customers or deploying any new features and services into the original Microsoft Cloud Germany locations. Based on the evolution in customers' needs, we recently launched two new datacenter regions in Germany, offering customer data residency, full connectivity to Microsoft's global cloud network, as well as market competitive pricing.
More Info: here, here and here. Hope this helps.

@toki0709 I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you had any updates on this. Awaiting your reply.

@toki0709 I hope you had a chance to look at my above comment. We will now proceed with closure of this GitHub issue. If you need any further assistance on this issue in future, please feel free to reopen this thread. We would be happy to help.


Remove Array.at

Suggestion
Hey,
we came across the issue of clients not supporting Array.at (MDN), which this library utilizes. The number of clients not supporting it was so significant, that we can not use this library at the moment without polyfills, which we would like to avoid due to the additional complexity.
It seems a new-ish feature, that Safari only got in May 2022 according to caniuse.
I would kindly request using an alternative method with broader browser support.

You shouldn't rely on your dependencies natively supporting your targeted platforms.
If you need to support older versions of Safari, then you should either polyfill your code as you mention or better yet downlevel your build.
The polyfill is the most straightforward as it's literally just a one-line function you need to include in your project somewhere:
Array.prototype.at ??= function(value) {
  return this[value < 0 ? this.length + value : value];
}

If you don't want to polyfill, you could just patch the dependency using pnpm patch (or with patch-package if you're using npm).


using validation action to extract slot name

Rasa Open Source version
3.0.0.rc1
Rasa SDK version
No response
Rasa X version
No response
Python version
3.8
What operating system are you using?
OSX
What happened?
Using a ValidationAction to extract a slot via an "extract_<slot_name>" method and ...

specifying the action under 'mappings' + action_validate_slot_mappings :   SDK warns that SKD warns that<slot> is mapped in domain and your custom action defines "extract_<slot>. (same as in #10116)
if the action is not specified under 'mappings', then  nothing is extracted but it sounds in the docs like that should work (" In this case you do not need to specify the action key in the mapping, however you will need to list action_validate_slot_mappings in the domain actions.") but the SDK then warns  No registered action found for name 'action_validate_slot_mappings'. (tested with and without the specific validation action listed under the domain actions)

Command / Request
No response
Relevant log output
No response

Wanted to test other types today but having trouble to get a version working that extracts a value, e.g. using
slots:
  boolean_slot:
    type: bool
    mappings:
      - type: custom
        action: test_slot_validation_action

and various versions thereof (listing the action under actions, only under actions, listing the general validation action there,..)  in combination with ...
class TestSlotValidationAction(ValidationAction):

        def name(self) -> Text:
            """Unique identifier of this simple action."""
            return "test_slot_validation_action"

        def extract_boolean_slot(
            self,
            dispatcher: "CollectingDispatcher",
            tracker: "Tracker",
            domain: "DomainDict",
        ):
            return {'boolean_slot' : True}

        def validate_boolean_slot(
        ....

One of the versions worked yesterday and I thought it was the one described in the first bullet point above but can't get it to run today. Is there a bug in my config?


Error when scanning lnurl-auth with HTTPS-Onion URI

When scanning an lnurl-auth encoded HTTPS-Onion URI with the qr scanner the following errors shows up:
requirement failed: URI is neither Plain-HTTPS nor HTTP-Onion request

The cert is self-signed.
This was a test to mitigate the IOException when scanning HTTP-Onion urls reported in #37 .
Examples with a throw away onion address:

lnurl1dp68gurn8ghj76n0va68qcmk093hg6n9xek85mtc0pjx5ap5x4kkc6ttd9cxcafjwekh5vmfwfuhj6n3xd4kvuek0fcnyunew4jkzepwdahxjmmw9ashq6f0wccj7mrwv96hg6p0d3hkw6tw8a6xzeead3hkw6twye4nz0f4xqcr2vpsxucnqcfsxs6kzve3vcux2ctzxq6nwdfjvdnxvvfh8p3x2c33v5ur2vmrvcuxyc34xd3rjvfsx43nqvpjxfjrycnzv9skyt3hv7z

Yes, this is expected. Current code strictly enforces either ca-signed clearnet https or http for onion addresses, as per spec. The plan is to get https://github.com/fiatjaf/lnurl-rfc/pull/74 merged, then update wallet code so this might take some time.
I'll provide an update here once it's all done.

Yes, indeed, I was expecting this when I tried.
I thought an issue is the best place to document this kind of stuff.
As of now, it seems there is no way for users to use lnurl-auth over tor in a convenient manner.
I'd really like to change that. But I guess it is best to clarify the spec at first.
I will continue playing around and eventually take part in the discussion on fiatjaf/lnurl-rfc#74 .
Self-signed certificates over tor will also display a cert warning. I guess there should be a way to make lnurl-auth work for HTTP over TOR even on android.
I'll leave this ticket open, if this is okay with you @btcontract .

It now works in https://github.com/btcontract/wallet which is a successor of BLW.


Local GISAID ingest script

Description of proposed changes
This allows local, offline script for GISAID ingest.
Related issue(s)
This script is meant to be a temporary replacement for the currently non-functional ingest Github Action.
Testing
The workflow should be roughly as follows:
1 .Download input files from S3 (these are the "rolling" results of the previous ingest):
./bin/local-ingest-gisaid --download-inputs

The following files will be downloaded:
data/gisaid/inputs/metadata.tsv
data/gisaid/inputs/additional_info.tsv

Download fresh GISAID data

Create a file .env in the directory one level above the project. For example, if your project is in  ~/work/ncov-ingest, make a file ~/work/.env. Define the following variables in it:
GISAID_URL=
GISAID_USERNAME=
GISAID_PASSWORD=

(make sure you don't loose or accidentally commit this sensitive information anywhere)
Run:
./bin/local-ingest-gisaid --download-gisaid

The following files will appear:
data/gisaid/tmp/gisaid.ndjson.bz2
data/gisaid/inputs/gisaid.ndjson

2.5. Optionally, remove or move the previous outputs:
rm -rf data/gisaid/outputs
# or
mv data/gisaid/outputs{,_}

Run ingest

./bin/local-ingest-gisaid --ingest

Note: that this part of the script does not use network or any cloud storage. It is currently does not send the Slack notifications either.
Note: additionally do downloaded inputs, files in source-data/ are also used during ingest.
The results will be produced in data/gisaid/outputs/:
additional-info-changes.txt
additional_info.tsv
flagged_metadata.txt
location-hierarchy-additions.tsv
location_hierarchy.tsv
metadata-additions.tsv
metadata-changes.txt
metadata.tsv
sequences.fasta

Perform the usual cleanup and build shepherding. You don't have to commit and push changes to files in source-data/ to GitHub for the local ingest to be operational. However, it is a good idea to share these changes with the world when you are done.

Re-run ingest (3) with cleaned data if needed. You can re-run as many times as you want. Your changes stay on your machine.

Upload the new results to S3 bucket:

./bin/local-ingest-gisaid --upload-outputs

The following files will be uploaded:
metadata.tsv
additional_info.tsv
flagged_metadata.txt
sequences.fasta

Now the ncov build can be triggered as usual.
Don't forget to update GitHub with the results of your work in (5)

Sorry I'm so behind on this. If this is still just the addition of one file which makes local running easier, I'm in favour of merging this in case of any 'future issues'.. then we'll be well set up to be able to move things back locally with minimal hassle (I assume). @ivan-aksamentov the main branch master now has the 'faster' PR merged, so is this PR still ok having that change in mind? If so, I'll plan to merge this tomorrow (just so it's not one more thing Kairsten & Eli have to worry about tonight while they are giving the runs a go).


[Internal] Patch: Adds public to PatchOperation class

Description
The PatchOperation<T> object is now made public.  This will allow consumers to cast any PatchOperation objects to the PatchOperation<T> class in order to access the Value property.
For the author's use-case this will allow tests to check that the service level code is passing correct values into the patch request.
In order to avoid introducing a breaking change, these changes do not change the return type of the Add, Set, Replace and Increment methods of the PatchOperation class.
This PR addresses: https://github.com/Azure/azure-cosmos-dotnet-v3/issues/3374
Type of change

[x] New feature (non-breaking change which adds functionality)

Closing issues
Closes https://github.com/Azure/azure-cosmos-dotnet-v3/issues/3374

/azp run

/azp run

/azp run

/azp run


Fix for #225 Install.py silently blocked by blocking call of nvidia-cudnn-cu11 uninstall due to interactive python shell opening

More details here: https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT/issues/225
In short:
install.py quietly hangs when executing install script and from A1111 SD UI, it seems to take forever to install.
removing nvidia-cudnn-cu11 process https://github.com/NVIDIA/Stable-Diffusion-WebUI-TensorRT/blob/main/install.py#L26-L36 blocked by https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/master/modules/launch_utils.py#L104 result = subprocess.run(**run_kwargs) due to interactive python shell opening; therefore the install appears to hang indefinitely where it's blocked by the blocking call.
Refactored for non-blocking call on install.py to remove nvidia-cudnn-cu11 after finished with dependency.
install.py script completes successfully.

lgtm, nice work 👍

Thanks for the merge! Glad to have this extension, makes SD super super quick :)

I had reverted stable-diffusion-webui reverted back to v1.6.1, as it would work there. I went back to the master branch after installing the latest version via Extensions tab (now #217), but starting webui.sh still hangs at th TensorRT extension.
If you need more details from my case, I'm glad to help. Love the time this extension saves me :)


Add Cross-Origin-Opener-Policy: same-origin

All responses from docs.hiro.so should have
 Cross-Origin-Opener-Policy: same-origin
To prevent Cross-site leaks https://xsleaks.dev/docs/defenses/opt-in/coop/
to verify
curl -I -L https://docs.hiro.so/

closing https://github.com/hirosystems/docs/pull/718


[misc] integrate the project with release-drafter

https://github.com/release-drafter/release-drafter

Done.


update to diffusers 0.15 and fix code for name changes

This is a port of #3184 to the main branch

Any chance we could increment this to PR to diffusers 0.15.1?
v0.15.1: Patch Release to fix safety checker, config access and uneven scheduler

Any chance we could bump this PR to diffusers v0.15.1?
v0.15.1: Patch Release to fix safety checker, config access and uneven scheduler

Yes, done.

Any chance we could bump this PR to diffusers v0.15.1?
v0.15.1: Patch Release to fix safety checker, config access and uneven scheduler

Yes, done.

Thanks Lincoln! There are a few new improvements to ControlNet support in v0.15.1 that I really want to utilize for InvokeAI.

@GreggHelt2 , @JPPhoto and/or @blessedcoolant. This update to diffusers 0.15.1 needs a code review and approval.


Getting roll up error

I'm deploying my site to Vercel, were I'm getting the below error:
[15:28:52.582] [info] [nitro] Initializing prerenderer
[15:28:57.673] [warn] (inject plugin) rollup-plugin-inject: failed to parse /vercel/path0/node_modules/vue3-table-lite/src/components/TableLiteTs.vue. Consider restricting the plugin to particular files via options.include
[15:28:57.678] [error] [nitro] RollupError: Expression expected (Note that you need plugins to import files that are not JavaScript)
[15:28:57.679]
[15:28:57.679]
[15:28:57.679] 1:
[15:28:57.679]    ^
[15:28:57.679] 2: <template>
[15:28:57.679] 3:

[15:28:57.680] [error] Expression expected (Note that you need plugins to import files that are not JavaScript)
[15:28:57.680]   at error (node_modules/rollup/dist/es/shared/parseAst.js:337:30)
[15:28:57.680]   at nodeConverters (node_modules/rollup/dist/es/shared/parseAst.js:2084:9)
[15:28:57.680]   at convertNode (node_modules/rollup/dist/es/shared/parseAst.js:969:12)
[15:28:57.680]   at convertProgram (node_modules/rollup/dist/es/shared/parseAst.js:960:48)
[15:28:57.680]   at parseAstAsync (node_modules/rollup/dist/es/shared/parseAst.js:2150:20)
[15:28:57.681]   at async Module.tryParseAsync (node_modules/rollup/dist/es/shared/node-entry.js:13496:21)
[15:28:57.681]   at async Module.setSource (node_modules/rollup/dist/es/shared/node-entry.js:13077:35)
[15:28:57.681]   at async ModuleLoader.addModuleSource (node_modules/rollup/dist/es/shared/node-entry.js:17724:13)
[15:28:57.681]
[15:28:57.681] [error] Expression expected (Note that you need plugins to import files that are not JavaScript)
[15:28:57.741] Error: Command "nuxt build" exited with 1
[15:28:58.061]

When I'm commenting VueTableLite component, the error goes away

I ran into the exact same issue using Nuxt 3.5.1 when generating (to deploy to netlify) and vue3-table-lite 1.3.7... and I figured out how to fix it.
In nuxt.config.tx add this to your configuration:
    build: {
        transpile: ['vue3-table-lite'],
    },

And... that fixed it for me! Hope it works for you too.

Hi, @Chalks and @yashwp
Thanks for issue. I am want to resolve this problem, and how can I reproduce the problem?
Nuxt3 + vue3-table-lite?

Hi @linmasahiro,
I'm using "vue": "^3.4.21", of Vue in my application where I have install latest version of the this package, but at the time of nuxt build command, the above error is coming.

Hi @linmasahiro,
I'm using "vue": "^3.4.21", of Vue in my application where I have install latest version of the this package, but at the time of nuxt build command, the above error is coming.

Hi, @yashwp , Thanks for your reply.
I think because vue3-table-lite is only for client-side?
Here has 2 solutions
1: Use <ClientOnly> tag to wrap your vue3-table-lite tag.
<template>

    <ClientOnly>
      <Vue3TableLite />
    </ClientOnly>

</template>

2: Add below configuration  to your nuxt.config.ts
build: {
  transpile: ['vue3-table-lite'],
},


Add functionality of shutil.make_archive

We need an API to make archive (e.g. zip) on a target filesystem.

It is not trivial to create archive in remote file systems without loading contents to local memory and I think it's out of the scope of this project.


Qr code has too much data

Writing full json has a lot of redundancy and noise (field names, brackets, etc.).
The data in the qr code should be simpler, just:
Matricule;Version;LessonId

or
Matricule\nVersion\nLessonId

This could improve qrcode readability by making the image dimension smaller, allowing more qrcode error protection for less pixels in the page.

Done : https://github.com/ThomasVandermeersch/KorreKthor/commit/79768ca799bc5655fefb515c2fa64a003e6e2920

Fixed by 79768ca799bc5655fefb515c2fa64a003e6e2920 and 1d8e0a6cefcae283d7ba4c2b04c3f897b1d88b5f


License

Hi -- I noticed that LimePy does not have a license in this repo, but in PyPI it is stated that it is MIT license. It might be useful to provide a license file in the github repository as well, just to avoid issues.

Thanks, I’ve added one now


Top 202 calendar timeline view

adds in swagger docs at /api-docs
adds in startDate and endDate support

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 8.77193% with 52 lines in your changes missing coverage. Please review.

Project coverage is 56.89%. Comparing base (fe719bc) to head (8293e3d).

Files with missing lines
Patch %
Lines

src/lib/filters.js
6.52%
35 Missing and 8 partials :warning:

src/routes/routes.js
0.00%
6 Missing :warning:

src/controllers/health/index.js
0.00%
3 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #61      +/-   ##
===========================================
- Coverage    65.01%   56.89%   -8.13%
===========================================
  Files           10       12       +2
  Lines          343      399      +56
  Branches        76       93      +17
===========================================
+ Hits           223      227       +4
- Misses         112      156      +44
- Partials         8       16       +8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Map coordinate fix

This pull request address Trac Tickets  #796, #1378 and #1520 which all stem from the map_coordinate function in ni_interpolation.c
As currently written, this pull causes two tests in test_ndimage to fail (boundary modes and boundary modes 2) which is the reason for the long explaination.  In these two tests the 'wrap' mode need further clarification.  Take a simplified version of the boundary mode test:
def shift(x):  return (x[0] + 0.5,)
input = numpy.array([2,4,6,8.])
output = ndimage.geometric_transform(input, shift, mode='wrap', output_shape=(5,), order=1)

This generates an index mapping to take from the input for the output of [0.5, 1.5, 2.5, 3.5, 4.5].  With "wrap" mode determining what elements these correspond to is difficult.
The first element is well defined, halfway between the first and second elements in input, 2 and 4, so 3.
The second and third elements are also well defined, 5 and 7.
The fourth element has an index of 3.5, but the input only has indices to 3.  Currently in scipy this is "wrapped" an index of 0.5, with a value of 3, but this seems incorrect to me.  The fourth element in the input has an index of 3, if the data is wrapped (appended before and after the original data as needed) then the first element would have an index of 4.  In this sense an index of 3.5 is halfway between the fourth (last) element and the first element and might be represented as -0.5.  The problem come when we try to find a value for this element, we need to extrapolate a half point past either the last element or the first element.
The fifth element in the output has an input index of 4.5, which is currently "wrapped" to an index of 1.5 and takes the value of 5.  In my mind, if an index of 4  wraps to the first element of the input, then the 4.5 should be between the first and second element of  the input, so 3.
So the question becomes should output be:
1). As scipy has it currently so that 3.5 -> 0.5 and 4.5 -> 1.5.  output = [3, 5, 7, 3, 5]
2). As in this pull so that 3.5 -> -0.5, 4.5 -> 0.5. output = [3, 5, 7, ?, 3] and then also what should ? be.
I'm in support of 2, but would be happy if someone can convince me that 1 is correct.
As an addition exame, please see what happens to the third element vs. all other elements of output when shift is defined as:
def shift(x): return (x[0] + 0.9,)
def shift(x): return (x[0] + 1.0,)
def shift(x): return (x[0] + 1.1,)

I did some more digging, and will try to summarize the two modes of thinking about wrapping on the boundary:
Do we perceive the first and last datapoints to be on the image boundary, i.e. that the last and first value—when wrapping—lie essentially on top of (very close to) one another.  Or do we imagine a regular grid of measurement values that is extended further into a larger regular grid, with values depending on the mode of wrapping.  ndimage implements the prior understanding, correctly.
This is in line with viewing the data as a periodic signal, but in contrast with a view of the data as pixels.  It basically comes down to where you define the boundary of your image to be: does the boundary run on top of the outside data points of the image, or does it run outside of those data points by a distance of 0.5.
Both concepts are potentially valid, depending on what is desired, although I would argue that the currently implemented version—that the boundary lies on the outside data points, is valid and should remain the default.
We can perhaps consider adding a new wrapping mode, grid-wrap or some such.  This notion also clarifies the difference between mirror and reflect, which becomes mirror and grid-mirror.


Use banned functions to suggest why certain functions are unsupported at certain scopes

Example repro here.
targetScope = 'tenant'

// this is blocked, but the error message could be clearer
var myResGroup = resourceGroup('abc', 'def')

Btw, it occurs to me that we can emulate banned overloads by conditionally setting the return type of a particular overload to an error type with the appropriate error message.

This is no longer repro-able following #1339


Clean-up enconding

Needs to clean-up the different encoding

After the initial benchmark we decide to go with only two of the encoding


Nefit EnviLine monoblock New Firmware Version 03.13.02

Describe the bug
I have a unknown firmware version and like to ask to add them, please find the raw scan attached.
It is a Nefit EnviLine monoblock Heat Pump with EasyControl.
Debug SCAN
logging.txt
Additional context
I think it's super cool that integration is possible with HA. Thank you for making this possible, thank you for the effort.

try restart ha or and integration. open Bosch application and see results

There are problems with config of your thermostat.
You might have unsupported firmware version 03.13.02.
You can create issue on Github, but first
Go to Developer Tools/Service and create bosch.debug_scan.
BoschGithub

try restart ha or and integration. open Bosch application and see results

No luck.

https://github.com/ksya/ha-nefiteasy
Are there firmeware updates?

https://github.com/ksya/ha-nefiteasy
Are there firmeware updates?

Apparently
{
  "id": "/gateway/versionFirmware",
  "type": "stringValue",
  "writeable": 0,
  "recordable": 0,
  "value": "03.13.02"
},

Are there firmeware updates?

Apparently "03.13.02"
Did you install an app and check if there is an update?

Fixed in 0.20.0


update test types

Following the changes done in: https://github.com/featurevisor/featurevisor/pull/160

Closing without merging in favour of https://github.com/featurevisor/featurevisor-swift/pull/41


Add an IN operator for filtering

We should have an IN operator for filtering criteria. It is common in other query languages and databases. It is a very common use case when dealing with large datasets.
For example in SQl, it is SELECT * FROM PRODUCTS WHERE TYPE IN ('MUGS', 'JARS', 'BOTTLES').
In Weaviate, it could work something like
where: {
        path: ["inArticle", "Paragraph", "author"]
        operator: In
        valueString: ["James", "Jane", "Harvey"]
      }

Thanks for the feedback @lakshaykc! This is a duplicate of https://github.com/semi-technologies/weaviate/issues/2387 so will close this issue.


ollama: fix a symlink and use a smaller rocm path

Description of changes
Minor improvements that are not urgent. Hopefully a couple people can test ollama with rocm enabled to ensure this doesn't introduce regressions.
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

[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
[x] 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.

@drupol you didn't think waiting for third-party testing was necessary?

Tests on Darwin take ages. I usually merge when x86's are green. Especially for such a minor change.

I meant other people testing that ollama correctly uses rocm on their machine (instead of falling back to cpu), which can't practically be tested in the cloud.
if you mean ollama.passthru.tests, that should have errored on all systems if the nixos tests ran. nix-build -A ollama.passthru.tests correctly returns an error when building #296309 locally, but ofborg was all green. So I don't think it's running the nixos service test.

After this was merged to master I get this when running ollama serve
time=2024-03-25T08:03:30.546+01:00 level=INFO source=images.go:806 msg="total blobs: 11"
time=2024-03-25T08:03:30.547+01:00 level=INFO source=images.go:813 msg="total unused blobs removed: 0"
time=2024-03-25T08:03:30.547+01:00 level=INFO source=routes.go:1110 msg="Listening on <IP_ADDRESS>:11434 (version 0.1.29)"
time=2024-03-25T08:03:30.547+01:00 level=INFO source=payload_common.go:112 msg="Extracting dynamic libraries to /tmp/ollama367513290/runners ..."
time=2024-03-25T08:03:30.567+01:00 level=INFO source=payload_common.go:139 msg="Dynamic LLM libraries [cpu cpu_avx2 cpu_avx]"
time=2024-03-25T08:03:30.567+01:00 level=INFO source=gpu.go:77 msg="Detecting GPU type"
time=2024-03-25T08:03:30.567+01:00 level=INFO source=gpu.go:191 msg="Searching for GPU management library libnvidia-ml.so"
time=2024-03-25T08:03:30.567+01:00 level=INFO source=gpu.go:237 msg="Discovered GPU libraries: []"
time=2024-03-25T08:03:30.567+01:00 level=INFO source=cpu_common.go:11 msg="CPU has AVX2"
time=2024-03-25T08:03:30.567+01:00 level=WARN source=amd_linux.go:53 msg="ollama recommends running the https://www.amd.com/en/support/linux-drivers: amdgpu version file missing: /sys/module/amdgpu/version stat /sys/module/amdgpu/version: no such file or directory"
time=2024-03-25T08:03:30.568+01:00 level=INFO source=amd_linux.go:88 msg="detected amdgpu versions [gfx1101]"
time=2024-03-25T08:03:30.568+01:00 level=WARN source=amd_linux.go:350 msg="amdgpu detected, but no compatible rocm library found.  Either install rocm v6, or follow manual install instructions at https://github.com/ollama/ollama/blob/main/docs/linux.md#manual-install"
time=2024-03-25T08:03:30.568+01:00 level=WARN source=amd_linux.go:99 msg="unable to verify rocm library, will use cpu: no suitable rocm found, falling back to CPU"
time=2024-03-25T08:03:30.568+01:00 level=INFO source=routes.go:1133 msg="no GPU detected"

So this does not work for me at least

@ulrikstrid did you remeber to enable acceleration = "rocm";?

@ulrikstrid did you remeber to enable acceleration = "rocm";? Those logs look like mine when not compiled with rocm support.

You are correct, don't test these things too early in the morning kids. I'm currently building rocsolver so I'll report back when that is done.

Yes, this works as expected. Sorry for the noise.


fix(core): ensure core animate runner is the same with and without animations

The $$AnimateRunner class is now used as the same code within the
core $animate service.
Closes #13205

Thank you @Narretz!


remove loading image message in image viewer

Added an event handler to the OpenSeadragon viewer to remove the "loading..." message from the display upon the first tile load.  It should no longer be present once the image starts loading


Change unncessary functions to variables

Changes some unncessary functions to computed variables.
Motivation:
The changed functions do not have any side effects and therefore better convey intent when being a simple computed variable.
Modifications:

func markedElementIndex() -> Int? to var markedElementIndex: Int?
func markedElement() -> E? to var markedElement: E?
func hasMark() -> Bool to var hasMark: Bool

Result:
⚠ This is a breaking change and needs a major version bump ⚠
Changes some unncessary functions to computed variables.

@swift-nio-bot test this please

That would make sense to me too.

It just occurred to me that we could already add deprecations for this so that there is a soft migration path to 2.0. Or should we deprecate the functions in favor of computed variables in 2.0?

@BasThomas that's a great idea, let's do it. I think we've moved towards that model anyway and I think there's value in having 2.0 as a breaking release that doesn't actually break all that much if people move their code to latest non-deprecated API during 1.x

I'll open a pr soon :)

Hm, it seems like it does not like functions and computed variables of the same name... seems like this is not going to work :(

@BasThomas oh noe, sad times, thanks for trying!

@BasThomas I know you opened this 9 months ago but now we'd be ready to accept this :). Still interested in updating this one?

Sure!

@BasThomas awesome, please ping me when this is rebased

Opened #695


Move meetup data to data files

Would it be possible to move the meetup data to Jekyll data files? (This is a Jekyll site, right?)
This way others could grab it and do stuff with it, e.g. display it on their own map, and so on. It would also DRY[^fn-dry] up the data, as it's duplicate now: one time in the map data, and one time in the table.
Adding a new data entry would be as easy as creating a file like this:
- region: Grosseto
  telegram: https://t.me/SatoshiSpritzToscanaSud
  lat: 42.7628597
  long: 11.1127828

...and both the list and the map would update itself automatically.
I'm happy to create a PR myself, but I wanted to check first if it makes sense in your mind as well.
[^fn-dry]: Don't Repeat Yourself

Sure! That's a good idea and yes this is a very simple jekyll site. Try to make some jekyll  magic and i will review asap. Thanks


CPP-253 Ensure entire pool is not removed with partial connections

Removed old code and comment from outage test (fixed in CPP-140)

Added partial reconnect into the test and squashed


[Task] Decorate lt_getNeighborEdges for substrate api

Overveiw
Polkadot API option don't have the type decoration for RPC method lt_getNeighborEdges

@AhmedKorim please provide additional details to this issue.

this was related to decorating the RPC method, and this is already done in tests and the dApp


How do I run the examples?

How do I run these? I compile and run them but nothing happens.

If you run crystal run --release scenes/benchmark_scene.crit should create
a .ppm file in your current directory.
I'm going to put more instructions on how to use this in the readme
once things are more stable.

Thanks.
Isaac Sloan - isaacsloan.com
Artisan Rails Architect
1391 S Slate Canyon Dr.
Provo, Ut 84606
Cell:<PHONE_NUMBER>
On Sat, May 14, 2016 at 5:10 AM, Leon<EMAIL_ADDRESS>wrote:

If you run crystal run --release scenes/benchmark_scene.crit should create
a .ppm file in your current directory.
I'm going to put more instructions on how to use this in the readme
once things are more stable.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/l3kn/raytracer-crystal/issues/1#issuecomment-219214571


Behavior of nested effects

I'd like some clarification on whether these are expected behaviors:

An effect doesn't control the lifecycle of its children. Meaning when a parent effect is disposed, its children are still active.
Child effects are recreated everytime the parent executes.

Example 1:
var dispose  = effect(() {
      num1.value;

      effect(() {
        num2.value;
      },debugLabel:'child');

});

dispose(); // child is still running. Is this expected?

Example 2:
effect(() {
      num1.value;
      print('parent ran');

      effect(() {
        num2.value;
        print('child ran $num2');
      },debugLabel:'child');

},debugLabel:'parent');

num1.set(15); // another instance of child is created

num2.set(25); // prints "child ran 25" twice

To my knowledge only batch can be nested.

You could do this though:

effect(() {
      num1.value;
      print('parent ran');

      final cleanup = effect(() {
        num2.value;
        print('child ran $num2');
      },debugLabel:'child');

     return () => cleanup();

},debugLabel:'parent');

Nice, didn't know about that. It cleans up before each execution.

Yep! Which it why it returns dynamic. Same for the preact API too.
If we have a union type it would be void or Function


[DOCFIX] Portuguese site modification

Two minor modifications, one to fit the site categories correctly and the other one is to fix 'Current Features' frame.

Jenkins, test this please.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/9332/
Test PASSed.

Thanks for these fixes!
+1 LGTM


Open ssl 1 1 1 stable

Evaluation of build new dll for apache open ssl

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

Looks like you didn't get it quite right. I'm closing this


Let user add directories for auto-discovering tests/bins/...

Please excuse if this has been asked before -- I couldn't find anything.
Hi there!
Cargo auto-discovers certain things: integration tests, binaries, benchmarks and examples. For each of those categories, Cargo looks in a specific folder (tests/, ...). Thanks to #5330 we can now disable or enable auto-discovery explicitly.
I think it would be really useful if the user can specify custom directories that are used for auto discovery. For example, consider my use case: I am working on a proc-macro and want to make sure that certain programs compile fine with my macro (run-pass) and that other programs will result in a compiler error (compile-fail). compile-fail tests are not supported by Cargo, but at least I can write my own script (with harness=false) that will execute my custom tests. run-pass tests are of course normal integration tests supported by Cargo.
All my compile-fail tests are in tests/compile-fail/. It would be neat if I could place my run-pass tests into tests/run-pass/ ... to have some kind of symmetry. Sadly, as I understand it, it's not currently possible without listing every single run-pass test with its own [[test]] section in Cargo.toml.
To be specific, what I'd like to have is the following.
Cargo.toml:
# ...

[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
harness = false

[[test]]
name = "run-pass"
path = "tests/run-pass/*"    # <-- note the wildcard!

The only way to do this right now is:

Put all run-pass tests into tests/ directly which leads to asymmetry
List all run-pass tests in Cargo.toml as a seperate [[test]] section
Or write my own test-script (like compile-fail)

All possibilities are sub-optimal, I think.
Please note that I don't care about the syntax. I think the wildcard above is pretty natural, but I'm also fine with other solutions, such as auto-discover = "tests/run-pass/".

So....

Has this been discussed before?
What do others think about this idea?
Are there plans to do this?

Thanks!

This seems plausible to me! I don't believe we've had previous requests to change the directories for auto-inference, but I don't see why not!
Recently we added keys like autotests = false to disable automatic inference of test cases, and that seems like we could possibly reuse it for your use case? Something like autotests = 'my-test-dir' could look in a different directory for tests, and something like autotests = ['tests/run-pass', 'tests/compile-fail'] could search multiple dirs perhaps?

Seems plausible to me!
For implementation that can basically happen at any time, so long as it's a nightly feature. We've got a system for handling unstable nightly-only feautres in Cargo (similar to rustc) and the UI would basically require something like:
# at the top of Cargo.toml
cargo-features = ['this-features-name']

[package]
# ...
autotests = [...]

@alexcrichton I have a question. So I started working on this and already spotted the place where most changes are necessary: src/cargo/util/toml/* in particular targets.rs. I tried to understand what this file is doing ... which wasn't trivial thanks to the almost complete lack of comments. So I thought: when I have to invest the time to understand all of this anyway, I can write down my knowledge in form of doc-comments for the functions in targets.rs. That's already mostly done.
But now after having a rough understanding of the module, I feel like it could use some cleanup. And I don't mean small things, but basically a rewrite of this module. Why? I think the whole code can be significantly shortened and made faster. For example, right now, many functions return Vecs that are only used to extend another Vec from it. In many places things are cloned to make the borrow checker happy.
So my question is: what is the policy on cleanup/partial rewrite PRs? So of course, cleanup commits are annoying for files that are frequently changed by many people. This targets.rs file is not changed that often. Furthermore, rewrites can of course introduce new bugs that were "fixed" before. But of course, shorter and faster code is also good. So yeah, that's my question: would you accept such a PR? Is this something you'd like to get? Or should I rather just concentrate on implementing the feature I requested?
(if I were to rewrite that module, I would of course write a lot of documentation/comments to clarify things)

Fixes, cleanup, and documentation are all more than welcome! I know @matklad may have some thoughts about this module, but IIRC it's historically a relatively unloved module that would definitely appreciate some love

Yes, we love rewrites for readability! I would be especially thrilled if the targets.rs module could be simplified: it's a shame to spend 700 lines of code on something which in theory should be relatively uninvolved. The major reason for this complexity is backwards compatibility: Cargo used to accept pretty random things as crates, and the code goes to the great lengths to preserve that. This is something to keep an eye on during rewrite; luckily, we have a pretty good test coverage of weird cases cases in this area.

Two things. First, my work on this will be a bit delayed. I have to get other stuff finished before working on this.
Secondly: I initially liked the autotests = ["path/to/"] approach, but I noticed that it could be more useful/powerful. In particular, consider this:
[[test]]
name = "foo"
path = "tests/foo/*"

[[test]]
name = "bar"
path = "tests/bar/*"
harness = false

So if we instead let the user add the path to all tests in a [[test]] section, other configurations (like harness) can be set for all tests in that directory. I think that would actually be useful.

A project I'm working on has dozens of tests that need to be run without the harness. Currently they're exhaustively listed with harness = false in the Cargo.toml, which is less than ideal due to the added need to keep them matched up.

So if we instead let the user add the path to all tests in a [[test]] section, other configurations (like harness) can be set for all tests in that directory. I think that would actually be useful.

This would address my use case certainly.
As I see it, the expansion to Cargo.toml [[test]] section definition is:

No name as this typically doesn't make sense when there'll be multiple names inferred from the multiple resolved paths (all test targets must have unique names);
A path that can have limited glob functionality.

The name could be allowed when if the glob path resolves to exactly one location?
The logic to special-case ./src/bin, ./examples, ./tests, etc could presumably be moved atop or merged with the work to achieve the above.
The other option that would also address my use case is adding another key at the [package] level (i.e. alongside autotests) that makes the harness opt-in rather than the default opt-out. This is (like autotests IMO) a bit inelegant however.

@LukasKalbertodt I don't think we have a great way to interpret multiple paths per test though, right now each test in target is a crate (aka one rustc invocation), but multiple paths necessitate multiple crates?
@alecmocatta your use case definitely makes sense! We may be able to do something like @LukasKalbertodt is mentioning though one way or another to solve that? I'm not entirely sure what it might look like though

This would be great for bins too, right now automatic discovery is only available for src/bin

This would be great for bins too, right now automatic discovery is only available for src/bin

To provide a concrete example, I am writing Project Euler solutions and as a result have hundreds of small bins. For organizational reasons I'd prefer they were not in a flat tree, and for stylistic reasons I'd rather they were not in src/bin.
In my case a glob could be effective, it would be something like ???/???/*.rs.
For now I have a small script to generate Cargo.toml, but it would be more convenient to have them be discovered.

For the original project, one workaround isn't mentioned: have a run-pass/main.rs that mods all of the test files.  This would improve consistency in making the two test styles a single binary.

For making it easier to configure a bunch of tests, we have another issue about setting defaults for crate kinds (bin, test, etc).
For a lot of bins, I suspect "cargo script", maybe combined with workspace support, would be a better fit.
For the original request here, it doesn't sound too bad.  However, we've had related requests that mostly exist to have projects deviate from the standard (#2725, #12672) and we've closed those due to the challenges that a lack of consistency would cause end-users contributing.  Since we closed those, I'm going to go ahead and close this.  If there is a reason we should re-evaluate, let us know!


WIP: Add all org users to the org-wide members group

Resolves #127.

At this point I can see the total and the list of org members:

And if I add myself to the group, I can see it update to reduce the number of users to add:

Next up:

Change the model to use the login strings rather than the whole user object
Add the signature to enable adding a list of logins to a team
Update the button to refer to an [HttpPost] Action that takes in the logins as a route value.

Made some changes but can't run it locally on this machine at the moment, so will check in on it tomorrow and fix the inevitable mistakes. 😆

✅ Logins are listed correctly
✅ Count is correct
✅ Was able to tweak the code and test with just my username
✅ Checked the caching & Octokit calls -- not a big deal there.
🚢


[feature] Two-factor refactor

This includes @HarryRybacki 's https://github.com/CenterForOpenScience/osf.io/pull/1728, updated with the latest develop.
Sending this PR for review purposes.

Purpose
Currently, two factor authentication is directly coupled to the log in procedure. As a result, the only way for users to verify two factor codes is to submit them at the same time as their username/password. This pull request directly addresses this inflexibility by separating the regular log in procedure from the two factor code verification procedure.
Changes
Users who have both two factor enabled and activated on their account will be forwarded to a 'two factor verification' page before being redirected to either their dashboard or the URI their were originally attempting to access. Additionally, the two factor code input on the /login/ page has been removed.
Side Effects
As only a very small fraction of our users currently have two factor enabled/activated any usage bugs missed will likely go unseen for awhile.

Aside from my 1 question for @sloria all looks fine to me.


Add some postfix snippet

Nothing much to explain. Just a simple addition. I was recently doing some refactoring and this would have made it a bit more faster.

bors r+
Although I must say I am hesitant here... I've recently was confused by a moment when completing Result::ok method inserted Ok() instead of .ok()....
Not sure what's the long-term solution here...


[Removal]:

Hotspot Name
Able Cornflower Locust
Hotspot b58 Address
117Kqgui2jMw6GJW5Ri3rPVVh79ZuhJfHQmmx1ojAhAQfmWCfJu
Discord Handle
No response
Hotspot Manufacturer
PantherX
Removal Reason
What I did before wasn't about generating revenue, but I stopped, please help remove the blacklist
Modifications
No
Extra forwarders
No
Extra antennas
Yes
Additional Information
No response

https://github.com/helium/denylist/issues/7771#issuecomment-1255907939


How to use the vscode extensions?

I have install this, but i cant find any effects, and i can not found any symbols as goland-like

oh i found it ! thanks !!! :)


Fix ExitDieTest to use the PHP binary of zephir (which runs phpunit)

This then also allows all tests to pass on Win32,
when using a non-debug build.
This also generally allows to have another PHP binary in path
than the one using zephir.

thank you


OSX  support

While the library works on my linux issue, I and some others here in the US would like to use the library on an OSX instance.  Fix the network adapter for OSX.

What exactly is the issue? I use macos all the day with node-matter and it works.
Yes it is currently logging some error for "advertisements on wrong interfaces" but the github version already "ignores" these errors and it works.But yes selecting the right interfaces would be a topic for optimization

It's a 3 line change to fix.  I'll post the pull request and you can decide if it's worth it.

Cool :-)


MoveToAction should expose startX and startY?

I'm looping through an Actor's actions, and if it's a MoveToAction, I need to extend the X position (because I need to preserve its interpolation logic instead of creating a new action).
However, I need to know which direction MoveToAction is going, which means it would be really convenient to call moveToAction.getStartX().  My workaround is rather nasty...
Unfortunately, these are private fields. Any change these could be made public via getters/setters?
Thanks.

Since you need custom logic, you should probably use custom action.

@piotr-j Being able to get the starting position would be convenient.

I've made a pull request to correct this issue https://github.com/libgdx/libgdx/pull/5043

Closing this, attached PR was closed, to. As suggested, you should use a custom action.


Implementing long-short strategy

Hi guys,
Let's say we are dealing with 10 stocks. Among them, I'm trying to implement an algorithm that forces the model to choose only 2 stocks to long and 2 stocks to short.
How would you be able to achieve this? I assume there should be modifications in the action_space in env_stocktrading.py. Do you have any suggestions?

Thank you for the reply,
Can you elaborate on constraining part? Since action_space is bounded by low and high, I wonder how to achieve forcing the number of buys and sells. Also, how can you constrain the period? For example, I longed and shorted 2 stocks at the same time, hold it for 5 days, dispose all, and repeat the process. Thanks in advance!

You can read StockTradingEnvCashpenalty in finrl.
In the long-period, keep the actions not change. The reward calculation will also be redefined.
It's an interesting topic, however, I do not have time to work on it. We hope you can produce good works on it.

I will work on my part.
Thank you!


add ReqMgrAux mock api

This will be applied in several components' unittests which uses the agent cofing from reqmgr_aux db.

@ericvaandering, Eric, please review. Only getWMAgentConfig will be used in component. put request is used in the deployment script.

 I can't even copy and paste right. :-) updated patch.


Fixing bug in group assignment stats loading.

Codecov Report

Merging #386 (3a0c7a7) into master (464b67c) will decrease coverage by 0.02%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
- Coverage   71.75%   71.73%   -0.03%
==========================================
  Files         449      449
  Lines       14708    14712       +4
==========================================
- Hits        10554    10553       -1
- Misses       4154     4159       +5

Impacted Files
Coverage Δ

app/V1Module/presenters/GroupsPresenter.php
83.64% <0.00%> (-0.52%)
:arrow_down:

app/model/repository/AssignmentSolutions.php
89.13% <50.00%> (-1.99%)
:arrow_down:

app/V1Module/presenters/InstancesPresenter.php
81.81% <0.00%> (-1.14%)
:arrow_down:

app/helpers/LdapUserUtils.php
79.36% <0.00%> (ø)

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 464b67c...3a0c7a7. Read the comment docs.


Update session, settings, and wallet module

All three of these come together. Let's see what we can do about this.

First step is to separate out the organization module. None of these are found in the postman collection, so we will probably need to update that to get coverage for these end points.

We have the set and update image for members. And we have set and update logo for organizations. These functions have not actually been implemented from the client but they exist in the API. I'm tempted to remove them entirely, but I'm also tempted to leave them for when they get added back.
The issue is with updating to typescript, adding CI/CD and stability, i dont see these nice-to-have features being implemented any time soon. So it makes more sense to remove anything that isn't required, as leaving it in there is going to create work for something that isn't needed.

First PR for this: https://github.com/WebServiceDevelopment/PrivateInvoice/pull/63

Removes logo and image path from settings
Moves settings for organizations into /organizations
Moves settings for member into /member

Next PR will address moving create organization from session into organization.


add support for crosscompile

This is exactly what I'm working on at the moment.

Should be solved in 7.3.0 release


feat(whoami): Refactor discovery scripts to use whoami if present

This refactors the discovery and join-up scripts to use a variety
of methods to determine what machine UUID matches the machine they
are running on.  It also refactors the code implementing the discovery
methods out to its own script for ease of ongoing maintenance.
The discovery methods are:

Whoami
MAC address matching
Kernel command line.
Machine-local saved UUID
Hostname matching.

Note the lack of address based matching -- experience at one of our
largest customers has taught us that IP based matching cannot be relied upon.
This also refrains from setting the machine Address on machine creation,
and includes a task (that is included in the base discover stage) that uses
the same logic our DHCP server uses to fix up the Address field in the face
of oversubscribed DHCP address ranges.

No, which is why the task has ExtraClaims that let it.
On Wed, May 13, 2020 at 10:37 AM Greg Althaus<EMAIL_ADDRESS>wrote:

@galthaus commented on this pull request.
In content/tasks/set-machine-ip.yaml
https://github.com/digitalrebar/provision-content/pull/496#discussion_r424536021
:

+Name: set-machine-ip-in-sledgehammer
+ExtraClaims:

scope: "machines"

action: "list, get, update"
specific: "*"
+Templates:

Name: set-machine-ip

Contents: |

 #!/usr/bin/env bash

 # This logic replicates what our DHCP server does

 # behind the scenes to make sure that machines do not

 # have conflicting addresses.  This works because

 # and Address of <IP_ADDRESS> is unset.

 [[ $IP && "$(jq -r '.Address' <<< "$json")" != $IP ]] || exit 0

 while read other; do

     drpcli machines update "$other" '{"Address": "<IP_ADDRESS>"}'

Can a machine token do this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/digitalrebar/provision-content/pull/496#pullrequestreview-411052140,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF4EESVHUBMC6XGIKMM65TRRK5FJANCNFSM4M7YV5ZA
.

Well, except that the whole task is busted anyways. :/
On Wed, May 13, 2020 at 10:56 AM Greg Althaus<EMAIL_ADDRESS>wrote:

@galthaus commented on this pull request.
In content/tasks/set-machine-ip.yaml
https://github.com/digitalrebar/provision-content/pull/496#discussion_r424549619
:

+Name: set-machine-ip-in-sledgehammer
+ExtraClaims:

scope: "machines"

action: "list, get, update"
specific: "*"
+Templates:

Name: set-machine-ip

Contents: |

 #!/usr/bin/env bash

 # This logic replicates what our DHCP server does

 # behind the scenes to make sure that machines do not

 # have conflicting addresses.  This works because

 # and Address of <IP_ADDRESS> is unset.

 [[ $IP && "$(jq -r '.Address' <<< "$json")" != $IP ]] || exit 0

 while read other; do

     drpcli machines update "$other" '{"Address": "<IP_ADDRESS>"}'

Thanks, @VictorLowther https://github.com/VictorLowther - missed the
claims.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/digitalrebar/provision-content/pull/496#discussion_r424549619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAF4EEVKVA5UIGNPA43KVBDRRK7JVANCNFSM4M7YV5ZA
.


Test same.dataset functionality, including IPFS, and document on website.

E         Traceback (most recent call last):
E           File "/tmp/tmp.ClICOgrRSi", line 143, in <module>
E             _outputs = same_step_000_8a97fcbc0b5f4fb8ad0998ace9074930_fn(**_parsed_args)
E           File "/tmp/tmp.ClICOgrRSi", line 121, in same_step_000_8a97fcbc0b5f4fb8ad0998ace9074930_fn
E             exec(user_code, globals(), globals())
E           File "<string>", line 339, in <module>
E           File "/usr/local/lib/python3.10/site-packages/sameproject/sdk/dataset.py", line 30, in dataset
E             reader = _get_pandas_reader_for(url)
E           File "/usr/local/lib/python3.10/site-packages/sameproject/sdk/dataset.py", line 60, in _get_pandas_reader_for
E             return getattr(pd, extensions[extension])
E         KeyError: ''

The dataset(...) function doesn't seem to like being given files with no suffix... but we should probably support this in some way.

Other things that need to be fixed:

we need to inject same.yaml and SAME_ENV into each step's container since the sdk needs the context
we need to actually use the SAME_ENV when deciding which docker image to user


MQTT v5

This is a draft PR for getting the client to connect to v5 brokers.
Todos:

AUTH flow

test success.

glad to support mqtt v5.


detect a user's locale using os-locale

This pull moves us to phase 2.0 of locales in yargs, we now automatically detect the operating system's locale using @sindresorhus' os-locale module.
LC_ALL=pt_BR ./test.js --help

outputs:
Opções:
  -h, --help  Mostra ajuda                                             [boolean]
  --foo       what up fool                                          [padrão: 99]
  --config    i be config yo                             [padrão: "./cool.json"]
  -x                                                                [padrão: 10]

now we just need to work on getting some more translations.
reviewers: @nexdrew, @nylen

On the outset, this LGTM, but I want to devote a little time to branch testing before I give the thumbs-up. Should be able to complete that later today.

My manual tests on Mac and Windows both look good.
:+1:


Add ChatSetting for should messages be echoed to the general channel.

Lets bump version to 0.6

looks good other than that


Merge 10.2 working branch to master

@owlhooter Merge if you're ready - I think this is our best till we get all the travis.yml integrations worked out
Recommend that once this is merged we

tag v0.10.2 release
move repo to mazacoin/maza
establish git-flow workflow


You mind making an English version?

This is better than the regular image browser for Stable Diffusion. I wanted something like this for a long time, but I can't read any of it, so an English version might be better also to add
Also, when viewing the prompt and when you press OK, it doesn't close, but only the cancel button works. I don't know if it was made like this, but the OK button doesn't close the prompt viewing.

No problem, since there's a need for it, I'll add an English version and aim to have it ready by this weekend.
Regarding the issue of viewing prompts, it will be improved together with the upcoming updates.

The English version is now available and it will automatically adjust to your system preferences.
You can also manually adjust the language in the global settings(全局设置).
You can view the English version of the readme at https://github.com/zanllp/sd-webui-infinite-image-browsing/blob/main/README-en.md.
Upgrade the plugin and enjoy it!


Automated cherry pick of #5127

Cherry pick of #5127 on release-5.22.

#5127: - Align mention and close icon horizontally

/cc  @nevyangelova

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 05b69d49d389a970af53700ec99c6c6e1329f293


Toast Message Only Appearing Once and Incorrect File Name Retained After Second CSV Upload Failure

Note
Same issue can be replicated in EXIM of Fulfillment App, Import App.
Current behavior
The toast message only appears after the first failed upload attempt.
After the second failed attempt, the first file's name remains in the field instead of updating to the second file.
Expected behavior
A toast message should be generated for every failed upload attempt, regardless of how many files are uploaded.
After the second failed upload, the name of the second file should appear in the file upload field.
Steps to reproduce the issue
Navigate to the 'Draft Bulk' page.
Upload an incorrect CSV file (which should fail).
Observe that a toast message is displayed indicating the upload failure.
Now, upload another incorrect CSV file.
Observe that no toast message is generated for the second failed attempt.
Check the file name field and observe that the name of the first file still appears instead of the second file.
Environment details
App version : v2.1.0
App environment : UAT
Additional Information
https://jam.dev/c/a3d20694-5d80-4001-83d6-89ec44ad9bf3

i want to contribute on inventry count

i want to contribute on this

Verified in release v2.4.0 and found that it is working fine. Hence, closing this issue.


questions with subsampling

Hi , I read over your comment on the subsampling part.
The c implementation is
(sqrt(vocab[word].cn / (sample * train_words)) + 1) * (sample * train_words) / vocab[word].cn
However, in your comment, you says

Using the default 'sample' value of 0.001, the equation for ran is:
ran = (sqrt(x / 0.001) + 1) * (0.001 / x)

Should it be ran = (sqrt(x / 0.001 *train_words ) + 1) * (0.001 * train_words / x)  instead ?
Thank you

Looks like you figured it out, but the answer is that, in my comment, x = (vocab[word].cn / train_words)
Thanks!


Add docs to mention 1.28 support

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve
/woof


Store block and transaction hashes to disk during "ultra" light mode boot

Summary
We want to store the provided hashes to disk so they would be available on subsequent runs in ultra light mode.

Is this issue still relevant? There are config variables to store the hashes if I understand correctly.

Is this issue still relevant? There are config variables to store the hashes if I understand correctly.

This is an UX improvement suggestion IIRC. If we start in chain-less mode and the values are not found in the config file we check if they are stored on the disk instead of failing to boot.

And how would the node find about these values?

And how would the node find about these values?

Initially the user provides them, but upon successful start-up the value can be stored to disk for future use, in case these values are later removed from the config file.
This allows for more seamless transition between modes.


Bug: ValueError 'default' must be a list

Description

Python version: 3.9

your operating system (and terminal type of needed): macOS Terminal
starcli version: 2.17.0

any suggestions to the cause of the problem? (if possible)
Running starcli (with options --lang python -L list raises a value error:
"ValueError: 'default' must be a list when 'multiple' is true."
I think because of:
@click.option(
"--topic",
"-t",
default="",
multiple=True,  # <- this value
help="Search by topic, can be specified multiple times",

Thanks, I'll have a look into it

I'm having the same issue. I'm on archlinux with python 3.9.6. I can't run with starcli -h to get the options.

Oopsie forgot to close


yii2-pdf is not compatible with mpdf v7+

I wanted to use PHP 7+ and I stumbled into a problem. It is required to use mpdf v7 with PHP 7+ and yii2-pdf does not support mpdf v7+.  Is there will to update the yii2-pdf? It seems like the change is rather trivial according to:
https://harrybailey.com/2018/08/yii-1-php-7-1-yii-pdf-and-mpdf/

Just to confirm, I managed to make it work with mpdf v7.1.9. It was required to change single line in PdfResponseFormatter.php:
protected function formatPdf($response)
{
$mpdf = new \Mpdf\Mpdf([$this->mode,
$this->format,
$this->defaultFontSize,
$this->defaultFont,
$this->marginLeft,
$this->marginRight,
$this->marginTop,
$this->marginBottom,
$this->marginHeader,
$this->marginFooter,
$this->orientation
]);
NOTE:
class name: \Mpdf\Mpdf
constructor accepts array:  [$this->mode, $this->format, ... ], there are '[' and ']' around parameter list.


Added symlink resolution when building zip files

Otherwise the linkfile itself gets bundled and bombs out when touched in the lambda environment.

Thanks @dshivak-twist


fix: grammatical typos in README

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Screenshots or example output

Please associate this PR with appropriate issue

Please associate this PR with appropriate issue

The appropriate issue for this PR - https://github.com/reactplay/react-play/issues/1039


dm-reverb run on Win10

Could dm-reverb run on Win10?

Your best bet it to use docker. We have a desire to add support for macos but adding windows support has a lot of hurdles and is difficult for us to support even if we get it running. I understand any frustration you have and the bet thing I can do is be honest.
https://github.com/deepmind/reverb/tree/master/reverb/pip_package


Stochastic.rs Restructure

Closes #209. Not really close to done yet just started the restructure. As of this point I've made a Distribution trait with one sample method along with a series of other distribution structs that implement the trait (everything from normal to gamma and beta). Also have initialized the process of doing the same thing with different types of price paths and a more generic trait PriceProcess. Will update progress here

all working, ready for yalls reviews


Remember to Set the Constructor Property when Changing the Prototype: clarification needed

Describe your problem and - if possible - how to reproduce it
The challenge says re-setting the constructor is crucial, but not why. There's no motivation provided to do it, especially if you heed the earlier advice of prefering the use of instanceof.
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/object-oriented-programming/remember-to-set-the-constructor-property-when-changing-the-prototype

@lynxlynxlynx I agree, the motivation can be explicitly mentioned.
And the example is wrong too:
console.log(duck.constructor)
// prints ‘undefined’ - Oops!

When infact it returns:
console.log(duck.constructor);
// ƒ Object() { [native code] }

Since all objects inherit from Object.prototype which have a .constructor property.
Making a PR to fix this.

This is the referenced previous challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/object-oriented-programming/change-the-prototype-to-a-new-object/
I get a different printout (probably browser-specific), so the whole example is iffy. I think it would be better to show how x.constructor !== Bird like in the non-overriden examples.
function Dog(name) {
  this.name = name;
}

// Modify the code below this line
Dog.prototype = {

  numLegs: 2,
  eat: function() {
    console.log("nom nom nom");
  },
  describe: function() {
    console.log("My name is " + this.name);
  }
};
Object { numLegs: 2, eat: eat(), describe: describe() }
> a = new Dog()
Object { name: undefined }
> a.constructor
function Object()
> typeof a.constructor
"function"
> a.constructor === Dog
false
> a instanceof Dog
true
> a.constructor === Object
true

I think the last three lines are plenty enough (and clearer) to fix the example. The first of these lines is what the exercise is about — making it work again. Just add an extra touchup on the description and I'll be satisfied.

@lynxlynxlynx How about this?

There is one crucial side effect of manually setting the prototype to a new object. It erased the .constructor property! The .constructor property can be used to check which function constructor created the instance object but since the .constructor property is overwritten, it gives false results:

duck.constructor === Bird; // false -- Oops
duck.constructor === Object; // true, all objects inherits from Object.prototype
duck instanceof Bird; // true, still works

Cool, here's my amended version (grammar and simplification):

There is one crucial side effect of manually setting the prototype to a new object. It erases the constructor property! That property can be used to check which function created the object instance, but since the property has been overwritten, it now gives false results:

duck.constructor === Bird; // false -- Oops
duck.constructor === Object; // true, all objects inherit from Object.prototype
duck instanceof Bird; // true, still works


[Java][DateTime] Enable and Fix DateTimeModel with CalendarMode unit tests

Enable 16 tests.
Fix several issues with CalendarMode enable.

This PR is based on #1066. We'll rebase once it is merged.

Please rebase and I will merge this PR, thanks. @enzocanoo  @JuanAr


[docs] Fix color palette demo

Closes #8512

Add themeInherit to the styles
Add classes.themeInherit to the className of <li>
Add fontWeight inheritance to colorValue

@JeromeFitz Thanks, good job 👍


Output format shouldn't impact az monitor autoscale-settings get-parameter

10:36 $ az monitor autoscale-settings get-parameters-template -otable
Autoscale_setting_resource_name    Location    Target_resource_uri
---------------------------------  ----------  -------------------------------
{MyAutoscaleSettings}              West US     {FullyQualifiedAzureResourceID}

The purpose of this command is to generate a template for autoscale settings in JSON. Transform it into a table is meaningless. The output should bypass the -o setting and print JSON.

Closing this since the command is deprecated and hidden.


Not able to fetch data in flutter from local web server

I'm trying to fetch data from a web server running on http://localhost:5050 and print it. At first it gave me a Socket Exception, so I looked it up and looks like you're supposed to replace "localhost" with your computer's IP address, so I did that, and now when I fetch it, it just seems to be... stuck? I have a print statement after the request but it doesn't print anything, no error, no output.. nothing. I'm using a Physical device, Here's my code:
class AllFlights extends StatefulWidget {
  const AllFlights({Key? key}) : super(key: key);

  @override
  _AllFlightsState createState() => _AllFlightsState();
}

class _AllFlightsState extends State<AllFlights> {

  Future<void> getAllFlights() async {
    try {
      log("here");
      final res = await http.get(Uri.parse("http://<IP_ADDRESS>:5050/iflive/atc")); //fetch data -- gets stuck here
      log(res.body); // "log" statement, imported from dart:developer

    } catch (e) {
      log(e.toString());
    }
  }

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: ElevatedButton(child: Text("All Flights",), onPressed: getAllFlights,),
      ),
    );
  }
}

After sometime, noticed that a solid 2-3 mins after calling the api, it gives me a Socket Exception: [log] SocketException: OS Error: Connection timed out, errno = 110, address = <IP_ADDRESS>, port = 44046
Is this normal?
Note: if it matters, the web server is running in a Docker container on port 5050 mapped to port 5050 on the host.

I was able to find a solution.
Have a nice day guys!


Using BookStack in Subdirectory leads into "Page not found"

Describe the Bug
First of all: I love BookStack and i already installed several instances using default parameters.
In this case i need to use a Subdirectory for the first time.
Installed a fresh BookStack v24.05.1-instance on latest Ubuntu Server 24 LTS with Install-Script.
If accessing the Subdirectory it fails with "Page not found."
Without using Subdirectory it works, which means, i can logon and work within BookStack.
Target URL: http://portal.mydomain.local/bookstack
Bookstack Install-Path: /var/www/bookstack
When using subdirectory (/bookstack) like used in the configuration example (https://www.bookstackapp.com/docs/admin/subdirectory-setup/)
i'm redirected to /bookstack/login and always get "Page not found"-Error.

/var/www/bookstack/.env
# This file, when named as ".env" in the root of your BookStack install
# folder, is used for the core configuration of the application.
# By default this file contains the most common required options but
# a full list of options can be found in the '.env.example.complete' file.

# NOTE: If any of your values contain a space or a hash you will need to
# wrap the entire value in quotes. (eg. MAIL_FROM_NAME="BookStack Mailer")

# Application environment
# Can be 'production', 'development', 'testing' or 'demo'
APP_ENV=production

# Sets application language to english
APP_LANG=en

#disable auto language
APP_AUTO_LANG_PUBLIC=false

# Application key
# Used for encryption where needed.
# Run `php artisan key:generate` to generate a valid key.
APP_KEY=base64:<Removed for Security>

# Application URL
# This must be the root URL that you want to host BookStack on.
# All URLs in BookStack will be generated using this value
# to ensure URLs generated are consistent and secure.
# If you change this in the future you may need to run a command
# to update stored URLs in the database. Command example:
# php artisan bookstack:update-url https://old.example.com https://new.example.com
APP_URL=http://portal.mydomain.local/bookstack

# Database details
DB_HOST=localhost
DB_DATABASE=bookstack
DB_USERNAME=bookstack
DB_PASSWORD=<Removed for Security>

Installed Apache modules:
sudo a2enmod ssl
sudo a2enmod headers
sudo a2enmod rewrite
/etc/apache2/sites-available/bookstack.conf
<VirtualHost *:80>

        ServerName portal.mydomain.local
        DocumentRoot /var/www/bookstack/public/

    # BookStack Configuration
    Alias "/bookstack" "/var/www/bookstack/public"

    <Directory "/var/www/bookstack/public">
      Options FollowSymlinks
      AllowOverride None
      Require all granted

      RewriteEngine On
      # Redirect Trailing Slashes If Not A Folder...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule ^(.*)/$ /$1 [L,R=301]

      # Handle Front Controller...
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^ index.php [L]
    </Directory>

    <Directory "/var/www/bookstack">
      AllowOverride None
      Require all denied
    </Directory>
    # End BookStack Configuration

        ErrorLog error.log
        CustomLog access.log combined

</VirtualHost>

Restarted apache service via
sudo systemctl restart apache2
Cleared Browser Cache
Steps to Reproduce

Browse http://portal.mydomain.local/bookstack with Firefox

Expected Behaviour
If accessing the main page http://portal.mydomain.local/bookstack i expect to see the login-page of BookStack
Screenshots or Additional Context
No response
Browser Details
Firefox 126 on Windows Server 2019
Exact BookStack Version
v24.05.1

Hi @twindscheif,
Within your /etc/apache2/sites-available/bookstack.conf file, can you update the DocumentRoot /var/www/bookstack/public/ option so the path is in a completely different location to the BookStack setup? (Do not use the /var/www/bookstack/ path at all, so something like /var/www/other-folder/).
Then restart apache and check again.

Hi @ssddanbrown,
you are a genius :). After Changing the DocumentRoot to another folder outside the BookStack-installation (or even comment out DocumentRoot) it works perfectly.
Thank you so much

Good to hear that worked, and thanks for the support and PR!

Good to hear that worked, and thanks for the support and PR!

Not sure if this is the place to ask, but why does this work?  Either just randomly assigning document source to another folder or commenting it out alltogether. Just curious.
Thx!

@blackstone879 I'm not sure to be honest, just assumed that attempting to do that within the same directory causes some logical overlaps (or recursions) into where Apache has to look.


Optimizer: add simplification for begin_borrow

Try to replace a begin_borrow with its owned operand.
This is either possible if the borrowed value (or a forwarded value if it) is copied:
  %1 = begin_borrow %0
  %2 = struct_extract %1     // a chain of forwarding instructions
  %3 = copy_value %1
  // ... uses of %3
  end_borrow %1

->
  %1 = copy_value %0
  %3 = destructure_struct %0 // owned version of the forwarding instructions
  // ... uses of %3

Or if the borrowed value is destroyed immediately after the borrow scope:
  %1 = begin_borrow %0
  %2 = struct_extract %1     // a chain of forwarding instructions
  // ... uses of %2
  end_borrow %1
  destroy_value %1           // the only other use of %0 beside begin_borrow

->
  %2 = destructure_struct %0 // owned version of the forwarding instructions
  // ... uses of %2
  destroy_value %2

@swift-ci test

@swift-ci benchmark


Sidekick Offline

Hi there, seems like Sidekick is offline in our discord. I don't suppose you could run a quick reset? That seems to sort it out based on what I've read. Thank you!

It would seem it's already back up. Thank you kindly for enabling our gaming!

I've triggered the restart, YW.


Bug/Feature request: Only one cpu core used at time

Hello,
I am wondering why there is only one cpu core used at one time.

As you can see other cores are not busy at all

@rasovica  Most of the work is done in the gpu through a blocking opencl kernel execution call, the go runtime schedules the go routines as it sees fit. Also how many gpu's do you have in that system?

Well 1, but i thought that if i enabled the cpu it would mine both cpu and gpu


Nothing in the map panel

Describe the bug
No thing showing in the map panel.
I have creating a docker-compose and import all the same data, and I can see everything.
What am I doing wrong ?
The panel is showing a an empty (no trace) of the world map.

Hi this is due to the official grafana addon not supporting third party addon repos. I might consider creating a fork to allow this


add 'javascript (babel)' as a syntax

I have since upgraded to the new Babel package and found that this linter doesn't include support for the new syntax name.
I propose adding it the list of supported syntaxes as I don't want to have to move to the eslint plugin and support the eslintrc configuration file.

+1.

+1, I know it may fail as babel support JSX
But for me, I use babel-sublime for better support for es6 syntax too
so it will be great to add babel-sublime support

+1 ...

+1

If I open a js file and change syntax to babel, I still get lint errors. How are you not getting it?

This PR has been open 9 months. Could a member of the team either accept it or provide a reason for rejecting it?
It's making it harder and harder to use sublime on a mix of ES5 and ES6 and React/JSX projects. Now I sometimes have to use the "Javascript" syntax for some project because they use jshint, and manually switch to "Javascript(Babel)" for some projects that don't use jshint.  I can't leave sublime set to use "Javascript(Babel)" as the default for *.js files or else I get no jshint.
I've started using https://github.com/reywood/sublime-project-specific-syntax to force certain projects to use Babel, but it means you have to "Open as Project" in Sublime, can't just subl . from a shell to edit a directory.
If this PR gets merged and released, then Sublime can just be set to use Javascript(Babel) as the default syntax for *.js.


Can’t compile due to OpenSSL

I can’t compile Diwata because Rustorm is using an old version of the crate openssl:
https://github.com/sfackler/rust-openssl/issues/987
Would it be possible to bump up the version of openssl in the depencecies?

@batisteo can you post the error log?
Also make sure openssl or libssl is installed in your workspace enviroment.
ssl package in ubuntu is libssl-dev

I’ve got OpenSLL version 1.1.1c and I got the same error as in the linked issue, and was solved in another project by bumping the crate version.
Are you using a mac which has an old version?

@batisteo No, I don't have a mac. I've read it from somewhere there's a bit of a problem/conflicts when installing or updating ssl library in mac. I'll try to setup travis-ci for mac.

I updated my rust toolchain and started seeing this now. I'll get this fix soon.

Fixed

Awesome, thanks!


feat: Add yq to act and custom

Resolves #78
I gave this a simple test build locally (linux x86_64).
docker build -f linux/ubuntu/Dockerfile \
--build-arg FROM_IMAGE=buildpack-deps \
--build-arg FROM_TAG=22.04 \
--build-arg TYPE=act \
-t test-act \
.

#         🧨 Executing yq.sh 🧨
# + /imagegeneration/installers/yq.sh
# Downloading 'https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64' to '/tmp/yq'...
# Download completed
# Performing checksum verification
# Checksum verification passed

docker run --rm test-act yq --version
# yq (https://github.com/mikefarah/yq/) version v4.35.2

11 minutes of pulling later... can confirm it's the same as:
docker run --rm catthehacker/ubuntu:full-latest yq --version
# yq (https://github.com/mikefarah/yq/) version v4.35.2


Create Landing Page

Create an impressive landing page
Use Animations and illustrations
1st Section (Introduction)
Heading -
Gather all the knowledge With CSWALA

Paragraph -
find the best resources in one place, which are already present in this huge network called INTERNET

Button - Get started (redirect to explore page)
2nd Section (About)
Heading - About us
Quote -
“Education is the passport to the future, for tomorrow belongs to those who prepare for it today.” - Malcolm X

Paragraph -
We are a community of like-minded peeps from different areas of interests and are united by a single motive - "spread knowledge about the best resources that are available free on the Internet but are not used frequently".
Everyone in our community was a beginner at some point in time and in reaching the level where they stand now, they came across various learning platforms and resources.
So they are all now sharing their knowledge with the OSS community!

3rd Section (Team)
Heading - Meet our Team
Add card design for every member -
Add Avatar image, Name, Bio, GitHub profile Link, blog Url

Team gtihub username -
Riturajjain2000 (Founder)

https://api.github.com/users/USERNAMEHERE (Gather user data from here)

Please assign this to me!

@ritmojs Assigned to you !


OpenCV - put relative paths in vcl project

This should help having a fully generic project configuration in Visual Studio project files.
--> Modify accordingly the VCL installation readme.md!

Done. Tested.


Prepare for new release of Bitbucket

Workflow links: https://github.com/atlassian-labs/atlassian-slack-integration-server/actions/runs/11045532769

Integration tests pass, so current version of Bitbucket DC for Slack is marked compatible with Bitbucket 9.2.0


updated eventemitter3 to v2

Release Notes

The reason I hadn't done this yet is because there is a breaking change that requires you to call the parent ctor; but we are using it as a mixin in some places IIRC.
Probably need to go through and ensure everything that uses EE3 also calls the constructor properly.

Hehe, yes, I actually wanted to make a pr for pixi, but then ee3 1.x got pulled in addition to 2.0 from resource loader. Thought the best would be to update it here first together with a new release and the update both, ee3 and resource-loader in pixi together.

I looked at the usage in pixi. DisplayObject, SystemRenderer, Texture, BaseTexture and InteractionManager are extending EE3, and they all call super in the constructor. Should be ready for EE3v2 from what I can see.