Launching Place Picker intent destroys the launcher activity

On Launching Place Picker intent, onStop() is called on launcher activity and the onDestroy is called() from the system. This is causing instabilities in the behaviour of the application.
OS: Android 5.0
Device: Samsung SM-N900
PlayServices Version: 8.7.03 (2645110-238)
We are not able to reproduce this on other devices with the same OS version or on the latest emulator.

Can you plz check the "Developer Options" in Settings and make sure the option "Don't Keep Activities" is not checked.

Thanks a lot Chandrashekar. That was the problem.


Feature request: Add option to cli to output Dockerfile

As I was playing around with running cog I found myself curious about what actually went into the Docker image that cog build produces. It would be nice to be able to output the Dockerfile that cog build produces, as both a learning tool and the ability to "escape hatch" out of cog if necessary.

cog debug dockerfile

Sssh... don't tell anyone. ;)

Seriously though -- this should be documented somewhere. Thanks for the request. 😄

I also wanted to take a look at the Dockerfile and found your code being what I needed. For me there wasn't any particular reason, I just wanted to see what cog does exactly :)

Thanks for opening this issue, @ericallam. This is now documented by #474
@all-contributors please add @ericallam for ideas.


support max_concurrency in upload_blob and download_blob operations

Exposes max_concurrency=None kwarg in async fs methods that use the azure SDK upload_blob and download_blob (which azure then uses to parallelize async chunk uploads/downloads)
Adds fs level AzureBlobFileSystem.max_concurrency attribute which is used whenever method-level max_concurrency is not set

Defaults to fsspec.asyn._get_batch_size()

For fs methods that support multiple file batching, max_concurrency defaults to 1 for the individual file upload/download.

So by default batch_size=... is used to parallelize uploads/downloads at the file level (in something like fs._get() or fs._put()), and no additional parallelization is done for chunks within each file.
To get both file level and chunk level parallelization the user can set both batch_size and max_concurrency. i.e. fs.get(path, batch_size=4, max_concurrency=2) would download up to 4 files at a time, and up to 2 chunks at a time within each file, giving an overall concurrency of up to 8 async download coroutines being run in the loop at a time.

Closes https://github.com/fsspec/adlfs/issues/268 (and supercedes the changes in the concurrent_io branch)
This PR is incompatible with https://github.com/fsspec/adlfs/pull/329 (but there was discussion in that PR regarding changing the name of the parameter used to something other than max_concurrency since it conflicts with the the azure SDK parameter)

@hayesgb @TomAugspurger Hey folks. Could you take a look, please? Just want to make sure you are fine with this.

Btw, for the record, some comparisons to show how much this patch speeds things up for us https://github.com/iterative/dvc-azure/issues/54#issuecomment-1663636862


Improve Stack spacings and add mobile vertical behavior

What I did
Reworked the Stack component to resolve reported/known issues:

Improve children spacings
Remove unwanted side padding

Add mobile vertical behavior

Checklist

[x] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
[ ] Make sure to add/update documentation regarding your changes.
[x] You are NOT deprecating/removing a feature.

@gciotola @marcomontalbano I already discussed about changes with Simone and we have his approval


Fix buffer pool leak in handleConnection(), fixes #3.

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at<EMAIL_ADDRESS>Thanks!

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@facebook-github-bot import


Fix accept thread not getting properly signalled to stop on certain platforms

To properly signal the blocking thread we need first to call shutdown() before close() on the socket, otherwise you need to signal the thread manually.

Changes looks good. Could you just change the PR with 'Dev' as the destination branch?

Done


feat: Add Wikipedia random article API endpoint

This commit adds a new API endpoint to fetch a random article from Wikipedia related to a specific topic. The topic is currently set to 'Technology' but can be changed as needed. The endpoint fetches a list of articles from Wikipedia, selects a random article, and returns its title, URL, and permalink in the response.
Co-authored-by: spikeysanju

Closing this PR. Pushed wikipedia integration directly to main branch!


[Networking] Application Gateway API is broken

:wave:
When attempting to delete an Application Gateway via the Azure SDK for Go / the Azure API's - the following HTTP request is generated:
DELETE /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctestrg-4072404901912593413/providers/Microsoft.Network/applicationGateways/acctestag-4072404901912593413?api-version=2017-09-01 HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/8.0.0 Azure-SDK-For-Go/v11.1.1-beta arm-network/;HashiCorp-Terraform-v0.10.6
Accept-Encoding: gzip

which returns a Long Running Request as shown below:
HTTP/1.1 202 Accepted
Cache-Control: no-cache
Pragma: no-cache
Expires: -1
Location: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/2076bd9d-c8f3-44b0-896d-e5b067c51bb4?api-version=2017-09-01
Retry-After: 10
x-ms-request-id: 2076bd9d-c8f3-44b0-896d-e5b067c51bb4
Azure-AsyncOperation: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2076bd9d-c8f3-44b0-896d-e5b067c51bb4?api-version=2017-09-01
Strict-Transport-Security: max-age=31536000; includeSubDomains
Server: Microsoft-HTTPAPI/2.0
Server: Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-writes: 1199
x-ms-correlation-request-id: daf1cc5a-a38d-42ef-8535-b68ec8aa0e7a
x-ms-routing-request-id: UKSOUTH:20171220T142556Z:daf1cc5a-a38d-42ef-8535-b68ec8aa0e7a
Date: Wed, 20 Dec 2017 14:25:56 GMT
Content-Length: 0

The Azure SDK for Go automatically makes a request for this URL:
GET /subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operations/2076bd9d-c8f3-44b0-896d-e5b067c51bb4?api-version=2017-09-01 HTTP/1.1
Host: management.azure.com
User-Agent: Go/go1.9.2 (amd64-darwin) go-autorest/8.0.0 Azure-SDK-For-Go/v11.1.1-beta arm-network/;HashiCorp-Terraform-v0.10.6
Accept-Encoding: gzip

.. and it receives that the deletion is InProgress:
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
Content-Encoding: gzip
Expires: -1
Retry-After: 10
Vary: Accept-Encoding
x-ms-request-id: 653c3d14-5ce7-42dd-b052-b44249ab87f4
Strict-Transport-Security: max-age=31536000; includeSubDomains
Server: Microsoft-HTTPAPI/2.0
Server: Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 14980
x-ms-correlation-request-id: 8d70896c-50fb-4384-8bb4-209194a626df
x-ms-routing-request-id: UKSOUTH:20171220T142700Z:8d70896c-50fb-4384-8bb4-209194a626df
Date: Wed, 20 Dec 2017 14:26:59 GMT

{
  "status": "InProgress"
}

.. eventually this returns Successful (which should mean that the Application Gateway no longer exists):
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
Content-Encoding: gzip
Expires: -1
Vary: Accept-Encoding
x-ms-request-id: f7e5a959-a3ca-4356-b559-d5bff8c8d914
Strict-Transport-Security: max-age=31536000; includeSubDomains
Server: Microsoft-HTTPAPI/2.0
Server: Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 14979
x-ms-correlation-request-id: d82f199f-c29f-4621-8076-41b18071b0d8
x-ms-routing-request-id: UKSOUTH:20171220T142711Z:d82f199f-c29f-4621-8076-41b18071b0d8
Date: Wed, 20 Dec 2017 14:27:11 GMT

{
  "status": "Succeeded"
}

At this time - it should be possible to delete the Subnet (since there's no items left within it). Attempting to do so invokes a Long Running Operation again that immediately fails:
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Transfer-Encoding: chunked
Content-Type: application/json; charset=utf-8
Content-Encoding: gzip
Expires: -1
Vary: Accept-Encoding
x-ms-request-id: fa89ddc9-80f7-4f99-a14b-2bbc49c6cfca
Strict-Transport-Security: max-age=31536000; includeSubDomains
Server: Microsoft-HTTPAPI/2.0
Server: Microsoft-HTTPAPI/2.0
x-ms-ratelimit-remaining-subscription-reads: 14978
x-ms-correlation-request-id: fc8be827-c65c-4963-899c-9a29bce04598
x-ms-routing-request-id: UKSOUTH:20171220T142723Z:fc8be827-c65c-4963-899c-9a29bce04598
Date: Wed, 20 Dec 2017 14:27:23 GMT

{
  "status": "Failed",
  "error": {
    "code": "InternalServerError",
    "message": "An error occurred.",
    "details": []
  }
}

Unfortunately since this is an InternalServerError we could retry this - but we need to know that this is actually a bug in the underlying service, and not a temporary failed request (which we can't easily determine). Attempting to investigate this further by checking the state of this via the Azure API then returns a provisioningState of Failed with no information about any items in the network that might be still present:
$ az network vnet subnet  show --name internal --vnet-name=acctestvn-4072404901912593413 --resource-group acctestrg-4072404901912593413
{
  "addressPrefix": "<IP_ADDRESS>/24",
  "etag": "W/\"8385f6d6-1b24-41fa-8865-4cacb8490508\"",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/acctestrg-4072404901912593413/providers/Microsoft.Network/virtualNetworks/acctestvn-4072404901912593413/subnets/internal",
  "ipConfigurations": null,
  "name": "internal",
  "networkSecurityGroup": null,
  "privateAccessServices": null,
  "provisioningState": "Failed",
  "resourceGroup": "acctestrg-4072404901912593413",
  "resourceNavigationLinks": null,
  "routeTable": null
}

This is a similar issue to #1233 which affects Virtual Network Gateways - in both cases the Networking API's are returning incorrect information (that the resources have been deleted when they're actually still being deleted).
Would it be possible for someone to look into these bugs? From what I can ascertain - most of the complex Networking resources appear to share the same underlying bug; in this case we're seeing 90% of our tests failing consistently due to this bug.
Thanks!

ping @alvadb

I still hit the issue 4/4 times in Central US.

@alvadb @mcardosos is there any chance we could get someone to prioritise a fix for this? This API is pretty unusable in it's current state; unfortunately we've already shipped this resource so it's become a major pain point for us 😞

We have completed and committed the fix for this today. It should be available in production in a month time frame or sooner. I will update the thread if I get exact dates

Cool!
Thanks @jaishals !

Hi @jaishals , thanks for your fix. How is the roll-out going? It seems West US still has the issue.

@jaishals is there a timeline to do so? It appears we're still seeing the issue in West Europe - from the API response:
Long running operation terminated with status 'Failed': Code="InternalServerError" Message="An error occurred." Details=[]

@tombuildsstuff , west europe has been rolled out with the fix now.

Just tested creating/deleting application gateway using terraform in West Europe and still hit an error.
azurerm_application_gateway.azure_application_gateway: Still destroying... (ID: /subscriptions/xxx-...tionGateways/azure_application_gateway, 1m50s elapsed)
azurerm_application_gateway.azure_application_gateway: Destruction complete after 1m56s
azurerm_subnet.azure_subnet_appgw_in_default_rg: Destroying... (ID: /subscriptions/xxx-...re_bosh_network/subnets/azure_subnet_3)
azurerm_public_ip.azure_ip_application_gateway: Destroying... (ID: /subscriptions/xxx-...Addresses/azure_ip_application_gateway)
azurerm_public_ip.azure_ip_application_gateway: Destruction complete after 3s

Error: Error applying plan:

1 error(s) occurred:

* azurerm_subnet.azure_subnet_appgw_in_default_rg (destroy): 1 error(s) occurred:

* azurerm_subnet.azure_subnet_appgw_in_default_rg: Error waiting for completion for Subnet "azure_subnet_3" (VN "azure_bosh_network" / Resource Group "xxx"): Long running operation terminated with status 'Failed': Code="InternalServerError" Message="An error occurred." Details=[]

@jaishals thanks for that. Unfortunately it appears we're still seeing the same issue in West Europe that @bingosummer has posted:
Error waiting for completion for Subnet "subnet-7866697221497721034" (VN "acctest-vnet-7866697221497721034" / Resource Group "acctestrg-7866697221497721034"): Long running operation terminated with status 'Failed': Code="InternalServerError" Message="An error occurred." Details=[]

@tombuildsstuff I'm working with @jaishals to troubleshoot it. I've provided Jaishal the detail information (subscription id, appgw name, ...) for investigations.

ping @bingosummer / @jaishals - any update here? :)

@tombuildsstuff Fix will be available only once the new release rollouts start in For some reason it has taken time this time. I am not sure of the cause. Sorry for the inconvenience and the delay

@jaishals thanks for the update :)
@salameer @devigned @kirthik sorry to pester - but would it be possible to escalate this release internally (for example by adding the Service Team label?) - as this API bug was reported 7 months and it sounds like a fix has been ready to ship for approximately 3 months?
Thanks!

@tombuildsstuff, I started a conversation internally. It sounds like this is still 2-4 weeks out, and may take more time depending on the region. I'll try to keep this thread updated as I learn more.

@tombuildsstuff The fix has been rolled out to the production. Can you please try the scenario that you were trying. I tried to create and delete a deployment using terraform and appgw / vnet / subnet all get successfully deleted.

@jaishals checking out nightly tests this appears to be fixed, I'm going to leave this issue open for the moment and confirm for sure in a week - but this looks good on first glance :). Thanks for getting this fixed 👍

I also verified the fix in my pipeline. Looks good.

👋 hey all
To give an update here - taking a look at our test results this API appears to be fixed (the Application Gateway tests I've checked have passed consistently since 3rd August) - so I'm going to close this issue.
Thanks for all the work to get this resolved :)


Add status reason and type constants for UDN resource support

Short description:
This pull request adds new status reason and type constants to support the User Defined Network (UDN) resource, enhancing the clarity and functionality of network-related conditions.
More details:
What this PR does / why we need it:
This PR adds necessary constants to support future utility functions for User Defined Network resources.
Which issue(s) this PR fixes:
Special notes for reviewer:
Bug:

Report bugs in Issues
The following are automatically added:

Add reviewers from OWNER file (in the root of the repository) under reviewers section.
Set PR size label.
New issue is created for the PR. (Closed when PR is merged/closed)
Run pre-commit if .pre-commit-config.yaml exists in the repo.

Available user actions:

To mark PR as WIP comment /wip to the PR, To remove it from the PR comment /wip cancel to the PR.
To block merging of PR comment /hold, To un-block merging of PR comment /hold cancel.
To mark PR as verified comment /verified to the PR, to un-verify comment /verified cancel to the PR.
verified label removed on each new commit push.
To cherry pick a merged PR comment /cherry-pick <target branch to cherry-pick to> in the PR.

Multiple target branches can be cherry-picked, separated by spaces. (/cherry-pick branch1 branch2)
Cherry-pick will be started when PR is merged

To build and push container image command /build-and-push-container in the PR (tag will be the PR number).

You can add extra args to the Podman build command

Example: /build-and-push-container --build-arg OPENSHIFT_PYTHON_WRAPPER_COMMIT=<commit_hash>

To add a label by comment use /<label name>, to remove, use /<label name> cancel
To assign reviewers based on OWNERS file use /assign-reviewers
To check if PR can be merged use /check-can-merge

Supported /retest check runs

/retest tox: Retest tox
/retest python-module-install: Retest python-module-install

Supported labels

hold
verified
wip
lgtm

/verified


DelegatingByTypeSerializer does not work for Tombstones

Expected Behavior
DelegatingByTypeSerializer should not crash when receiving Tombstone (null value)
I should be able to configure a Serializer for Tombstones based on KafkaNull
@Bean
public ProducerFactory<Object, Object> producerFactory(KafkaProperties config) {
    return new DefaultKafkaProducerFactory<>(config.buildProducerProperties(),
            null,
            new MyDelegatingByTypeSerializer(Map.of(
                    String.class, new StringSerializer(),
                    byte[].class, new ByteArraySerializer(),
                    KafkaNull.class, new ByteArraySerializer())));
}

Current Behavior
DelegatingByTypeSerializer throws NullpointerException on Tombstone message due to
Serializer<?> delegate = delegates.get(data.getClass()); //data is null for null message

Context
I'm using tombstone messages to remove entries from compacted topics and trigger deletion in consumer services. When starting to use DelegatingByTypeSerializer producing the Tombstones lead to errors.
A possible fix could be:
if (data == null) {
    delegate = this.delegates.get(KafkaNull.class);
} else {
    delegate = this.delegates.get(data.getClass());
}

Thanks for reporting; I've changed this to a bug.
KafkaNull never appears in a ProducerRecord; it is an artifact for converting to/from spring-messaging Message<?>; null values should simply be returned as null.


fix: git discard if applicationDetail already present

Description

This PR fixes the git discard operation if the applicationDetail is already present in the git repo, and the current application has some other property in the applicationDetail object trying to discard.

PR fixes following issue(s)
Fixes #28237
Type of change

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

Testing
How Has This Been Tested?

[x] Manual
[x] JUnit

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test


chore: Merge master into develop

Issue #, if available:
Description of changes:
There are some changes that are in master that should be in develop. This PR is to fix that.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

closing in favor of #493


fix(table): stickyHeaderClass should not display by default

Fixes an issue where the table will display stickyHeaderClass when no value is provided for props.stickyHeader.
Proposed Changes

Cast props.stickyHeader to bool in tableWrapperClasses

@whiplashwebb Thanks for finding this bug. Maybe better set the prop default to false?

@mlmoravek I wasn't sure if the prop was intentionally true/false/undefined so that computed seemed safer, but if you think it's safe i like that much better. fixed.

@whiplashwebb please regenerate the docs. The props section should change and the default false should be added.


Unsigned indices in dictionaries give error

repro using oxford_pet:
ds.column("class").to_numpy()
Raises exception:
ArrowTypeError: Converting unsigned dictionary indices to pandas not yet supported, index type: uint8

this won't be supported until we make a corresponding pandas extension dtype


Add command to rerun latest terminal command

It would be very helpful if entering a build command again and again (with up-arrow and enter) to just use the new terminal features and add a command which runs the latest command of the terminal again. Then the user could specify a keyboard shortcut to activate this command.
It would be an extension to the "Terminal: Run Recent Command..." and just selecting the latest one.

You can make your own keybinding to do that:
  {
    "key": "alt+x",         // whatever keybinding you want

    "command": "workbench.action.terminal.sendSequence",

    "args": { "text": "\u001b[A\u000d" }  // sends an uparrow to the terminal
  },

`\u000d` is a return so that the last command is run immediately.

@ArturoDent Thanks!
The question would be if VSCode should implement this natively or if it would be rather redundant compared to the VSCode Tasks feature.

I think there are too many ways to already do this; focus and press up enter, tasks, keybindings, run recent command enter. I recommend @ArturoDent's keybinding as this is exactly what you're after.


Add option to group objects by Catalog and/or Schema

With the MySQL driver, all DB objects are grouped by catalog (called "database" in MySQL jargon), and schemas are not used. This is shown in DBeaver as an additional grouping in the navigator, like this:
MySQL Connection
 \_ Databases
     \_ CATALOG_1
     |   \_ Tables
     |   |  ...
     |   \_ Views
     |      ...
     \_ CATALOG_2
         \_ Tables
         |  ...
         \_ Views
            ...

Other databases like Oracle use schemas instead of catalogs, and again DBeaver shows the grouping correctly. But, as far as I can tell, this is provided by the "Driver Type" setting in the driver manager. Does the "Generic" driver type allow grouping by schema and/or by catalog?
As an example, I'm using a generic driver (ClickHouse) that supports schemas, but I cannot find an option to enable grouping DB objects by schema like this:
ClickHouse Connection
 \_ Schemas
     \_ SCHEMA_1
     |   \_ Tables
     |   |  ...
     |   \_ Views
     |      ...
     \_ SCHEMA_2
         \_ Tables
         |  ...
         \_ Views
            ...

If it's not currently there, I think it would be useful to add it as a driver configuration option. Some drivers group their items by catalogs, some by schemas, some by both (possibly) and some by none. There should be a setting enabling these 4 options, or equivalently 2 boolean settings (Group by catalog and Group by schema.)

DBeaver groups tables by schemas always - if this is possible.
Most likely your driver (ClickHouse) doesn't provide information about schemas.
Please check error/debug log for any related errors (https://github.com/serge-rider/dbeaver/wiki/Log-files)

Reopen if any information will be available.


pip install, ./run_subj -> From sureal.config no module named config

Installed via pip install sureal, on ubuntu 18.04 installation. Downloaded the git repository, tried to run ./run_subj, with or without arguments, own user or sudo-ed, either way it fails to run with this printback:
Traceback (most recent call last):
  File "./run_subj", line 11, in <module>
    from sureal.config import DisplayConfig
ImportError: No module named config

./unittest works...
Output from (rerunning) pip install sureal:
Requirement already satisfied: sureal in /home/elijs/.local/lib/python2.7/site-packages (0.1.1)
Requirement already satisfied: pandas>=0.19.2 in /home/elijs/.local/lib/python2.7/site-packages (from sureal) (0.23.4)
Requirement already satisfied: scipy>=0.17.1 in /home/elijs/.local/lib/python2.7/site-packages (from sureal) (1.1.0)
Requirement already satisfied: matplotlib>=2.0.0 in /home/elijs/.local/lib/python2.7/site-packages (from sureal) (2.0.2)
Requirement already satisfied: numpy>=1.12.0 in /home/elijs/.local/lib/python2.7/site-packages (from sureal) (1.15.4)
Requirement already satisfied: python-dateutil>=2.5.0 in /home/elijs/.local/lib/python2.7/site-packages (from pandas>=0.19.2->sureal) (2.7.5)
Requirement already satisfied: pytz>=2011k in /home/elijs/.local/lib/python2.7/site-packages (from pandas>=0.19.2->sureal) (2018.7)
Requirement already satisfied: subprocess32 in /home/elijs/.local/lib/python2.7/site-packages (from matplotlib>=2.0.0->sureal) (3.5.3)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in /home/elijs/.local/lib/python2.7/site-packages (from matplotlib>=2.0.0->sureal) (2.3.0)
Requirement already satisfied: six>=1.10 in /home/elijs/.local/lib/python2.7/site-packages (from matplotlib>=2.0.0->sureal) (1.10.0)
Requirement already satisfied: functools32 in /home/elijs/.local/lib/python2.7/site-packages (from matplotlib>=2.0.0->sureal) (3.2.3.post2)
Requirement already satisfied: cycler>=0.10 in /home/elijs/.local/lib/python2.7/site-packages (from matplotlib>=2.0.0->sureal) (0.10.0)

The last version on PyPI is from Sept. 13, so this should at some point be updated.
What happens if you clone this repo and do a pip install .?

Looking at the code, I think that installation via Pip and module handling is very likely to be broken; see also https://github.com/Netflix/sureal/issues/12

idk if it is relevant anymore, but doing pip install . in a new clone-repo does not succeed:
    Complete output from command python setup.py egg_info:
    rm: cannot remove '/tmp/sureal_packaging_temp/sureal/config.py': No such file or directory
    running egg_info
    error: error in 'egg_base' option: 'pip-egg-info' does not exist or is not a directory

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-RSaLJJ/

Yes, I've come across the same issue. I tried to re-work everything; you may check my PR #13 in the meantime. Any input is welcome.

Thanks, your branch 'fix-package' worked. (+ neater install and unittest highlighted the required/missing packages better).

Great, thank you for testing this! I'll wait for Zhi to review and merge the PR. Hope you can work with the tool in the meantime.

Thank you for providing the fixes :) MLE & MLE_CO work beautifully.
There are some small things that are misbehaving with the fix-package branch (dtype float64 json serialization w/ MOS models, python3 map indexability with --print argument...). Should I report details for those now (here or elsewhere) or should I wait until the fix-package branch is merged in?

I guess it would be better to fix these after the branch is merged. I guess the changes can be rebased from the source files, since I only moved them, but I don't know if it would complicate things.

Ok, sounds reasonable. Thank you. I'll check back / retest when the main branch is updated, and report if any issues persist.

@x2eliah @slhck I've merged #13 to master. Please let me know if there is any issues. Next step I'll update sureal on Pypi.


Update json.rs - documentation nit

Hey, I'm trying to get a better understanding of nom reading this example, and think the following makes sense:

delete lines 70 and 71, as value was already described (lines 64 to 66), and this other description seemed incomplete
change true to false in line 75, as it makes more sense with the code that follows

Coverage decreased (-0.04%) to 82.713% when pulling 6e98c70430d8e936515ab24af17440715ec98172 on jufajardini:patch-1 into c5090ef1e2a1704851b1773169653728b0761d9c on Geal:master.

Coverage decreased (-0.04%) to 82.713% when pulling 6e98c70430d8e936515ab24af17440715ec98172 on jufajardini:patch-1 into c5090ef1e2a1704851b1773169653728b0761d9c on Geal:master.

thanks!

thanks!


Should be one JBossRulesDerivedLocalUniqueIdValuesProvider for all abstraction computing

Right now there is one per rule consequence, which theoretically could result in duplicates.

The current implementation uses a working memory global, so duplicates should not be an issue.


Big refactor

Right now, the library uses words like composite and set. In reality, a composite is equivalent to the logical operator or and the set is equivalent to the logical operator and.
ConditionComposite and ConditionSet could be rename to ConditionOr and ConditionAnd.
Also, there are two ways to create a condition:
var toggleFullScreen = new ConditionComposite();
toggleFullscreen.AddSet(Keys.Enter).AddNeed(Keys.LeftAlt);
toggleFullscreen.AddSet(Keys.Enter).AddNeed(Keys.RightAlt);

and
var toggleFullScreen  =
    new ConditionComposite(
        new ConditionSet(
            new ConditionKeyboard(Keys.Enter),
            new ConditionKeyboard(Keys.LeftAlt)),
        new ConditionSet(
            new ConditionKeyboard(Keys.Enter),
            new ConditionKeyboard(Keys.RightAlt))
    );

I think it would be better to remove the first one. That would let me store conditions in an array instead of a list internally. The second syntax also scales better to create complex trees like:
var toggleFullScreen  =
    new ConditionSet(
        new ConditionKeyboard(Keys.Enter),
        new ConditionComposite(
            new ConditionKeyboard(Keys.LeftAlt),
            new ConditionKeyboard(Keys.RightAlt)
        ),
    );

No need to force always starting from ConditionComposite.

Closed by #8.


Locally defined classes got restored as dict

Eg the following raises the ValueError in the load method:
import jsonpickle
import unittest
import numpy as np

def load(file_like):
    import bz2
    try:
        if is_string(file_like):
            file_like = bz2.open(file_like)

        inp = str(file_like.read(), encoding='ascii')
        obj = jsonpickle.loads(inp)

    finally:
        file_like.close()

    return obj

class SerializableMixIn(object):
    """

    """

    def save(self, filename):
        """
        Parameters
        -----------
        filename: str
            path to desired output file.
        """
        try:
            flattened = jsonpickle.dumps(self)
        except Exception as e:
            raise
        import bz2
        try:
            fh = bz2.BZ2File(filename, 'w')
            fh.write(bytes(flattened, encoding='ascii'))
        except:
            raise
        finally:
            fh.close()

    @classmethod
    def load(cls, file_like):
        """
        Parameter
        ---------
        file_like : str or file like object (has to provide read method).
            The file like object tried to be read for a serialized object.

        Returns
        -------
        obj : the serialized object
        """
        obj = load(file_like)

        if obj.__class__ != cls:
            raise ValueError("Given file '%s' did not contain the right type:"
                             " desired(%s) vs. actual(%s)" % (file_like, cls, obj.__class__))

        return obj

class TestSerialisation(unittest.TestCase):
    def test_save_interface(self):
        class test_cls(SerializableMixIn):
            def __init__(self):
                self.a = np.random.random((100, 10))
                self.x = 'foo'
                self.y = None

            def __eq__(self, other):
                return np.allclose(self.a, other.a) and self.x == other.x and self.y == other.y

        inst = test_cls()
        with tempfile.NamedTemporaryFile(delete=False) as fh:
            inst.save(filename=fh.name)

            new = test_cls.load(fh.name)

            self.assertEqual(new, inst)

ValueError: Given file '/tmp/tmpoxfg1o7x' did not contain the right type: desired(<class 'test_serialization.TestSerialisation.test_save_interface..test_cls'>) vs. actual(<class 'dict'>)
If I define the test_cls outside of the unit test everythings works like expected. I just wonder if this is expected or a bug.
Thank you very much!

Sorry something got truncated during copy paste, here the correct exception message:
ValueError: Given file '/tmp/tmpoxfg1o7x' did not contain the right type: desired(<class 'test_serialization.TestSerialisation.test_save_interface.<locals>.test_cls'>) vs. actual(<class 'dict'>)

Note that it also works like expected if the test_cls is defined within a function instead of a method...

jsonpickle can only serialize instances of classes that can be imported by python's module importer. jsonpickle's unittests deal with this issue by keeping its test classes in a separate module.
I wonder if we could have a way to provide extra scopes to look in for resolving classes; that could be an interesting way to tackle dynamic classes.

jsonpickle can only serialize instances of classes that can be imported by python's module importer. jsonpickle's unittests deal with this issue by keeping its test classes in a separate module.
Thank you for the explanation.
I wonder if we could have a way to provide extra scopes to look in for resolving classes; that could be an interesting way to tackle dynamic classes.
Thats an appealing idea! The code should be available via the AST, right?


Send version with esql

Elasticsearch version 8.14 will require a version parameter. This defaults it to the first released version. That version is supported in 8.13.3, but not before that.

Do we want to support versions of Elasticsearch that don't know about this parameter?

Do we want to support versions of Elasticsearch that don't know about this parameter? Or at least wait for 8.13.3 to be released?

I haven't checked, https://github.com/elastic/elasticsearch/pull/107438 should make rally work even without this PR and this one can wait until we upgrade.
As for versions of ES.... I dunno! ESQL's not GA in 8.13 so I'd be ok dropping any executions against it. But waiting to 8.13.next seems fine, especially if we have that ES PR.

https://github.com/elastic/elasticsearch/pull/107438 should make rally work even without this PR

Rally uses Python client 8.6.1, so looking at this it won't? I think we need to merge this before version is required on the ES side.
Please also add documentation of version parameter under https://github.com/elastic/rally/blob/master/docs/track.rst#esql.

Please also add documentation of version parameter under https://github.com/elastic/rally/blob/master/docs/track.rst#esql.

Added to docs, thanks for the pointer!

run CI / unit macOS 3.8 (pull_request)

@nik9000 We started seeing benchmark failures with ESQL operations after https://github.com/elastic/elasticsearch/pull/107433 got merged, so it's time to merge this one.

Merged!

sorry for the delay


[DART-1043] -  Set Kafka enable auto commit to true by default and a fix to a compose file variables

@kwalcock I've pushed the change to set Kafka auto commit to true because I think wmexchanger is not committing offset manually.  If you are going to merge the PR please squash merge.  Not sure why the rest of the commits are part of this PR.
Thanks!

Thanks for the tip!  Too many tabs in too many tabs and I was mostly looking in GitKraken.  Next time will be a charm.


Create generator-generic-ossf-slsa3-publish.yml

Create generator-generic-ossf-slsa3-publish.yml

Asking again because this comment is unclear to me, can you please add context to what these changes do?

Hi, this PR is still unclear to me.
Please feel free to re-open once you've answered the question above https://github.com/facebookincubator/meta-code-verify/pull/286#issuecomment-1845897368


fix: formatFunc should take source params

props.formatWeekDay of DatePicker will be passed to getFormattedWeekdayInLocale via argument formatFunc as a callback.
The naming of the prop suggests that it is designed to provide flexibility for users to format the weekday. So I think the expected behavior is taking the source date and locale as input and returning the formatted value (i.e. As the replacement of the built-in formatDate). But now it  takes the formatted string as input.
Expected Usage Example
import DatePicker from 'react-datepicker';
import { format } from 'date-fns';

const myCustomFormatString = 'EEEEE'
const myCustomPrefix = '#'

function formatWeekDay(date, dateFnsLocale) {
  return myCustomPrefix + format(date, myCustomFormatString, { locale: dateFnsLocale })
}

function App () {
  // ...
  return (
    <DatePicker
      formatWeekDay={formatWeekDay}
      {/* ... */ }
    />
  )
}

The typo failed the linting is fixed 🙏

I ran the jobs but looks like there's a failure.

I ran the jobs but looks like there's a failure.

I updated the test case for formatWeekday in test/calendar_test.js. And it fits the use case mentioned in PR description and can be passed now. 👌

This was a breaking change, and down-stream projects are gradually starting to explode because of this, as is demonstrated by https://github.com/Hacker0x01/react-datepicker/issues/3918.
The proper way to do this would have been to add date and locale as the 2nd and 3rd arguments of the formatWeekDay callback.
That way code relying on the 1st parameter being  a string, would continue to work.


add first pass end-to-end script

First stab at a golden spike script.  There are several kludge-y bits with the fileIO so I will mark this as a draft PR for now.  I also copied a few of the functions from Julia's examples scripts for plotting and point estimates into eval_utils.py, we should discuss whether these should live somewhere more permanent (mainly for the point statistics).
There is also some placeholder stuff in spike_utils.py where I use PhotoZDC1 to add errors to the truth data, if @jfcrenshaw has an updated flow that incorporates magnitude uncertainties and non-detections (or if we switch to luptitudes or some other system), then this will need to be replaced.

Oh, and I forgot to run flake8, so there's likely some linting and such to still take care of.

added mention of alternate pip command for zsh, and added seaborn to evaluation's extras_require in setup.py (which also includes it in [all]

I finished all the updated I wanted, other than a refactor of base.yaml, which probably deserves its own issue after some discussion (a few options aren't really used practically when running batches of codes a la this goldenspike script).
Moving this from draft to ready to review, @eacharles comments would be welcome now that most of the temporary stuff has finally been removed.


shipping address form field ordering

Can someone point me to some documentation or configuration where I can customize the order in which the address fields display?
It's currently displaying as
given name | family name
company name
address 1 | address 2
city | state
zip
country

but what I'd really like is something like
given name | family name
company name | phone
address 1 | address 2
city | state | zip
country

Currently the forms are constructed using i18n address data provided by Google. You can take a look at the code to see how this works. You can then override the defaults for a particular country by assigning your own custom form class to COUNTRY_FORMS[country_iso_code].

that makes sense 👍


Issue 51521: Add switch to disable Server HTTP header

Rationale
Some organizations don't like having the product and version identified in HTTP headers. We can make it optional.
Changes

New site setting that lets admins opt-in or -out of the Server HTTP response header
Move the setting of the header into AuthFilter, alongside other header setting, to be consistent across all responses
Also fix SQL for new plate metrics

@labkey-alan FYI on the plate metrics SQL. I was getting SQLExceptions due to the lack of an alias on the subquery


Missing doc info on keptn cli add resource

great new capability in 0.5beta. Would be great to document all the parameters such as resourceUri which is shown in the onboard use case

The keptn add-resource command has been documented here: https://keptn.sh/docs/0.5.0/reference/cli/#keptn-add-resource
However, I believe that the --resourceUri parameter has not been documented.


What does "stochastic" mean here?

As titled, what does "stochastic" mean in hg.CG and hg.fix_point? Does this mean the inner loop can be updated with SGD?
https://github.com/prolearner/hypertorch/blob/24826349f73d84f0820da429023f6f6aeada7c74/hypergrad/hypergradients.py#L143

Exactly. When stochastic=True, fp_map is called K times (if fp_map is SGD each call will give a different value depending on the mini-batch) while, when stochastic=False fp_map is called just 1 time to save computation. Autograd is always used K times for Jacobian-vector products.

Got it. Thanks!


plugin not working for windows

Installed the plugin on a windows machine. tried to preview a doc from the cmacc-test repo. got an error:
Error: ENOENT: no such file or directory, open 'C:\C:\Users\Clémentine\Pictures\Documents\GitHub\cmacc-test\ID\gender\he.cmacc'
at Error (native)
at Object.fs.openSync (fs.js:640:18)
at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:178:20)
at Object.fs.readFileSync (fs.js:508:33)
at Object.fs.readFileSync (ELECTRON_ASAR.js:511:29)
at fetch (C:\Users\Clémentine.vscode\extensions\wilmveel.cmacc-vscode-0.0.26\node_modules\cmacc-compiler\src\fetch.js:33:27)
at convert (C:\Users\Clémentine.vscode\extensions\wilmveel.cmacc-vscode-0.0.26\node_modules\cmacc-compiler\src\convert.js:17:16)
at parse (C:\Users\Clémentine.vscode\extensions\wilmveel.cmacc-vscode-0.0.26\node_modules\cmacc-compiler\src\parse.js:7:23)
at eval (eval at parse (C:\Users\Clémentine.vscode\extensions\wilmveel.cmacc-vscode-0.0.26\node_modules\cmacc-compiler\src\parse.js:8:23), :9:14)
at parse (C:\Users\Clémentine.vscode\extensions\wilmveel.cmacc-vscode-0.0.26\node_modules\cmacc-compiler\src\parse.js:8:23)

notice the C:\C:\Users at the beginning of the link that the plugin is trying to open. got this on several windows machine.


Messages Notes

Describe the problem
These are some random notes about implementing instant messages
Describe the solution
Instant messages will be dependent on incident. Add message_messages.incident_ids.
Additional context and instructions
Add any other context or screenshots about the feature request here.

Completed.


Use the doctest module in get_example_data

Fixes #282
Still several todos here:

[x] Clean up code (probably don't need to define the class inside of the function)
[ ] Add tests
[ ] Check that the generated JSON is as desired (the execution status is not actually included. I'm not clear why)
[ ] Make it so that any doctest anywhere is run, not just ones in "Examples" (this doesn't necessarily need to be done in this PR)
[ ] Allow libraries to configure doctest options (like ELLIPSIS)

Here's an example:
def docstring(x):
    """
    Examples
    ========

    >>> from test_mod import docstring
    >>> a = docstring(1)
    >>> a
    2

    >>> 1 + a
    3

    >>> import matplotlib.pyplot as plt
    >>> plt.plot([0, 1], [0, 1])
    >>> plt.show()

    >>> 1 + 1
    2

    >>> syntax error

    >>> 1/0 # exception
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    ZeroDivisionError: division by zero

    >>> 1/0 # unexpected exception
    """
    return x + 1

__version__ = '0'

[global]
module = 'test_mod'

Generates
  "example_section_data": {
    "children": [
      {
        "type": "code",
        "value": "from test_mod import docstring\n"
      },
      {
        "type": "code",
        "value": "a = docstring(1)\n"
      },
      {
        "type": "code",
        "value": "a\n"
      },
      {
        "type": "code",
        "value": "1 + a\n"
      },
      {
        "type": "code",
        "value": "import matplotlib.pyplot as plt\n"
      },
      {
        "type": "code",
        "value": "plt.plot([0, 1], [0, 1])\n"
      },
      {
        "type": "code",
        "value": "plt.show()\n"
      },
      {
        "type": "Fig",
        "value": {
          "kind": "assets",
          "module": "test_mod",
          "path": "fig-test_mod:docstring-0-c8430bd5.png",
          "type": "RefInfo",
          "version": "0"
        }
      },
      {
        "type": "code",
        "value": "1 + 1\n"
      },
      {
        "type": "code",
        "value": "syntax error\n"
      },
      {
        "type": "code",
        "value": "1/0 # exception\n"
      },
      {
        "type": "code",
        "value": "1/0 # unexpected exception\n"
      }
    ],

I think the main thing that needs to be done here is now is to take a look at the generated JSON and see if we like how it looks. It's not hard to change what is there.

To do for me:

Check why the exec_status is in the JSON
Check wether the output of doctests is in the Json.
Add the tests examples.

You should also just review the code, and run this against the existing example configurations to make sure nothing funny is happening.

I pushed a commit that inject a debug function instead of lambda s: None,
It seem that some of the parsing is incorrect, as I get an
$ papyri gen examples/papyri.toml --only papyri.examples:example1
...
Unexpected exception (<class 'SyntaxError'>, SyntaxError('multiple statements found while compiling a single statement', ('<doctest example1[0]>', 1, 32, 'import matplotlib.pyplot as plt\n', 1, 32)), <traceback object at 0x1202d7a40>)

Note that this debug message make it looks like the exec(compile(..., 'single')) in doctest got a line with \n et the end, but it does get a multiple line.
I'm not sure why this is happening or why the code here is wrong.  I'll investigate.

Ha, I think it considers ... as continuation always. So replacing ... with >>> in a couple of places works.
And that make me realize we should have a custom parser in IPython/testing/plugin/ipdoctest.py`

One of the remaining issue is that with this each example line appear now appear in it's own code block and that any interleaved text dispear, so we still need to do some custom parsing instead of completely delegating to doctest runner.

This doesn't use the doctest parser at all, just the runner. It assumes that the examples have already been parsed ahead of time. So we just need to improve the parser that is used to extract examples better. This is also sort of the same issue as the examples only being parsed in the "Examples" section.

It does indirectly use the doctest parser as example_section_data  used to contain both code and examples, but now that this is assigned to in def report_*, it only get content that get executed. So it does lose some minimal from from examples sections.

In the future, do not force push to other people's branches.

There seems to be a segfault from one of the plots in the np.sinc doctest
Fatal Python error: Segmentation fault

Current thread 0x00000002016d0240 (most recent call first):
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 43 in _wrapit
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 54 in _wrapfunc
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/numpy/core/fromnumeric.py", line 2597 in cumsum
  File "<__array_function__ internals>", line 200 in cumsum
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/gridspec.py", line 193 in get_grid_positions
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/_api/deprecation.py", line 384 in wrapper
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/gridspec.py", line 665 in get_position
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 793 in set_subplotspec
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/axes/_base.py", line 661 in __init__
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/figure.py", line 757 in add_subplot
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/figure.py", line 1628 in gca
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/pyplot.py", line 2309 in gca
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/matplotlib/pyplot.py", line 3084 in title
  File "<doctest sinc[1]>", line 1 in <module>
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/doctest.py", line 1351 in __run
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/doctest.py", line 1498 in run
  File "/Users/aaronmeurer/Documents/papyri/papyri/gen.py", line 1335 in get_example_data
  File "/Users/aaronmeurer/Documents/papyri/papyri/gen.py", line 1655 in prepare_doc_for_one_object
  File "/Users/aaronmeurer/Documents/papyri/papyri/gen.py", line 2129 in collect_api_docs
  File "/Users/aaronmeurer/Documents/papyri/papyri/gen.py", line 558 in gen_main
  File "/Users/aaronmeurer/Documents/papyri/papyri/__init__.py", line 474 in gen
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/typer/main.py", line 683 in wrapper
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/click/core.py", line 760 in invoke
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/click/core.py", line 1404 in invoke
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/click/core.py", line 1657 in invoke
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/typer/core.py", line 216 in _main
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/typer/core.py", line 778 in main
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/click/core.py", line 1130 in __call__
  File "/Users/aaronmeurer/anaconda3/envs/papyri/lib/python3.11/site-packages/typer/main.py", line 311 in __call__
  File "/Users/aaronmeurer/Documents/papyri/papyri/__main__.py", line 3 in <module>
  File "<frozen runpy>", line 88 in _run_code
  File "<frozen runpy>", line 198 in _run_module_as_main

Although there's a separate question which is why the doctests are being run at all with --no-exec.

I fixed the --no-exec flag. The segfault doesn't happen on main, though. I'm guessing it has something to do with with the fig managers.

I think the culprit of set_numeric_ops (I've pushed a commit that deactivate it), which replace addition with addition mod 5 globally. It might still be a bug but as it's deprecated maybe it's not worth our time tracking it down.
I've pushed a commit that exclude just this function from being executed.
I was also able to reproduce just with
papyri gen examples/numpy.toml --no-narrative --only numpy:set_numeric_ops --only numpy:sinc

I've fixed the parser to be more robust for interleaving text. It now properly handles the case where text is right before an example.  My main concerns now are if we are actually including everything we want in the output JSON.
In particular, the JSON output doesn't include the prompts (>>> and ...), and it doesn't include the outputs of the doctests. This is the case even when exec=false. We should presumably fix it to include the outputs, but note that this is also the case in main. For example, here's np.select in main:
  "example_section_data": {
    "children": [
      {
        "type": "code",
        "value": "x = np.arange(6)\ncondlist = [x<3, x>3]\nchoicelist = [x, x**2]\nnp.select(condlist, choicelist, 42)"
      },
      {
        "type": "code",
        "value": "condlist = [x<=4, x>3]\nchoicelist = [x, x**2]\nnp.select(condlist, choicelist, 55)"
      }
    ]

and in this branch
  "example_section_data": {
    "children": [
      {
        "type": "code",
        "value": "x = np.arange(6)\n"
      },
      {
        "type": "code",
        "value": "condlist = [x<3, x>3]\n"
      },
      {
        "type": "code",
        "value": "choicelist = [x, x**2]\n"
      },
      {
        "type": "code",
        "value": "np.select(condlist, choicelist, 42)\n"
      },
      {
        "type": "text",
        "value": "\n"
      },
      {
        "type": "code",
        "value": "condlist = [x<=4, x>3]\n"
      },
      {
        "type": "code",
        "value": "choicelist = [x, x**2]\n"
      },
      {
        "type": "code",
        "value": "np.select(condlist, choicelist, 55)\n"
      }
    ],

Compare the actual docstring:
    Examples
    --------
    >>> x = np.arange(6)
    >>> condlist = [x<3, x>3]
    >>> choicelist = [x, x**2]
    >>> np.select(condlist, choicelist, 42)
    array([ 0,  1,  2, 42, 16, 25])

    >>> condlist = [x<=4, x>3]
    >>> choicelist = [x, x**2]
    >>> np.select(condlist, choicelist, 55)
    array([ 0,  1,  2,  3,  4, 25])

Ok, test are passing, let's merge and move on.


JSON parsing produces invalid trace and span IDs

I am using RegisterTraceServiceHandlerFromEndpoint from go.opentelemetry.io/proto/otlp/collector/trace/v1 to allow forwarding of traces sent via HTTP to the gRPC endpoint. This works perfectly for Protobuf records, but produces invalid records when JSON is sent.
Expected behavior
Telemetry sent as JSON is parsed and converted to valid models.
Observed behaviour
Models produced by JSON input have trace and span IDs that are 50% longer than expected.
This appears to be because the code uses the default Protobuf JSON handler via the runtime.MarshalerForRequest function. This uses base64 to encode and decode binary arrays. This differs from the OTLP spec that states that trace and span IDs must be hex encoded.
The result is that the hex encoded IDs are being decoded as if they were base64.

My workaround is to base64 encode the invalid IDs, then hex decode the result. This inverts the incorrect decoding and produces valid IDs.


Bump module versions and update GitHub workflows

what

Bump module versions and update GitHub workflows

why

Keep up to date

/test all

/test all

/test all


ungoogle-chromium's sandbox fails to build

Describe the bug
For ungoogled-chromium attribute, the build fails: https://hydra.nixos.org/build/143434434 . The log is here: https://nix-cache.s3.amazonaws.com/log/c3i89xjqcr2a6570lhw6lbywnsn1zvw1-chromium-unwrapped-90.0.4430.212.drv
To Reproduce
nix-build -A ungoogled-chromium on current nixos-unstable branch.
Expected behavior
Build doesn't fail.
Additional context
Regular chromium doesn't fail to build
Notify maintainers
@primeos @squalus
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Maintainer information:
attribute: ungoogled-chromium

Is that build failure reproducible? Previous ungoogled-chromium-90.0.4430.212 builds where fine so this isn't due to an ungoogled-chromium change/update and stdenv-linux/setup: line 1325: 45938 Killed                  ninja -C "out/Release" -j$NIX_BUILD_CORES -l$NIX_BUILD_CORES "chrome" sounds to me like the build process was simply killed by the OS (maybe wendy went OOM?).

The next nixpkgs:trunk build succeeded again: https://hydra.nixos.org/build/143687975
https://hydra.nixos.org/job/nixpkgs/trunk/ungoogled-chromium.x86_64-linux:

So I guess we can close this.


boolean running is never set to true

typo - incorrect method call in main()

@confluentinc It looks like @magaton just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

Looks good. Thanks @magaton.


Integration in another app

I tried to integrate this app into my own app for more functionalities so integrated it ,but when i tried to run it only broadcasting was working while when i hit the play button in the videoplayer(ExoPlayer) it suddenly crashed and i was moved to the previous activity.
I built it with an authentication using FirebaseAuth, but I don't think it should cause any big issues.
If you know anything about the issue then please help.
I can provide you with the code if you want.

Issues tab will be closed for this project. Please submit your issues on https://github.com/ant-media/Ant-Media-Server


Getting wrong actions predictions even after adding a lot of stories.

Rasa Core version:0.8.0
Python version: 3.6.4
Operating system (windows, osx, ...):OSX
Issue:So, I have a couple of slots where in I am storing priorities - (low, medium and high), name of the project and type of the issue('bugs', 'stories'). I cannot use categorical slot because the user can choose more than 1 type of the same value...So he can choose both 'low' and 'medium' as the priorities.. Now ideally, I needed to extract the priorities as a list but since atm rasa doesn't append the slot values to a list, I have used 3 different slots for these priorities. Now what I want is that all the priorities that the user has talked about in his message should be used to retrieve information. However, if the user has not talked about any priorities in his current message, then I would like to use his previous priority preferences(using slots). What I did was I created actions to set and reset these priority slots and I tried to train the model so that it learns which slots to set and which slots to reset depending upon what slots have currently been extracted from the users message. But its still now working.
I think its not working because the action flow is controlled by slots...Now if there is a case where my 'medium' and 'high' slots are set due to users previous message and then the user asks for low priority...In this case, ideally my medium and high priority slots should be re-set since the user doesn't want them in the query...But if I don't have the exact flow of slots, then it wouldn't work...so suppose, in my training stories, if I had an example where only low slot was set and then i trained it for the above query...so this story would be different than the user's message because of the previous set slots...Am i right or am I missing something?If I am right, then there would be 100+ combinations for such a small part of the bot that I am building...Then is it even possible to cover all these possibilities?
Content of domain file (if used & relevant):

slots:
  all_issues:
    type: bool
    initial_value: False
  bugs:
    type: bool
    initial_value: False
  stories:
    type: bool
    initial_value: False
  project_name:
    type: text
  med_pri:
    type: bool
  low_pri:
    type: text
  high_pri:
    type: text

intents:
 - greet
 - goodbye
 - inform
 - anything_else

entities:
 - all_issues
 - bugs
 - stories
 - project_name
 - low_pri
 - med_pri
 - high_pri

templates:
  utter_greet:
    - 'Hello!How can I help?'
    - 'Hi!'
  utter_goodbye:
    - 'Talk to you later.'
    - 'Bye!'
  utter_anything_else:
    - "Can I help you with anything else?"
    - "Anything else?"
    - "Do you need anything else?"

  utter_ask_project_name:
    - "Which project?"

actions:
 - utter_greet
 - utter_goodbye
 - utter_anything_else
 - utter_ask_project_name
 - actions.ActionSetIssuesSlot
 - actions.ActionSetBugsSlot
 - actions.ActionSetStoriesSlot
 - actions.ActionSetBugsStoriesSlot
 - actions.ActionResetIssuesSlot
 - actions.ActionResetBugsSlot
 - actions.ActionResetStoriesSlot
 - actions.ActionResetBugsStoriesSlot
 - actions.ActionResetStoriesIssuesSlot
 - actions.ActionResetBugsIssuesSlot
 - actions.ActionSetLowSlot
 - actions.ActionSetMediumSlot
 - actions.ActionSetHighSlot
 - actions.ActionSetLowMedSlot
 - actions.ActionSetMedHighSlot
 - actions.ActionReSetLowSlot
 - actions.ActionReSetMediumSlot
 - actions.ActionReSetHighSlot
 - actions.ActionReSetLowMediumSlot
 - actions.ActionReSetMediumHighSlot
 - actions.ActionReSetLowHighSlot
 - actions.ActionIssue

Content of stories file (if used & relevant):

inform{"project_name": "fae"}

slot{"project_name": "fae"}
action_issue

inform{"project_name": "tpo"}

slot{"project_name": "tpo"}
action_issue

inform{"bugs": "bugs", "project_name": "fae"}

slot{"bugs": "bugs"}
slot{"project_name": "fae"}
action_reset_stories_issues
slot{"stories": null}
slot{"all_issues": null}
action_issue

inform{"stories": "stories", "project_name": "tpo"}

slot{"stories": "stories"}
slot{"project_name": "tpo"}
action_reset_bugs_issues
slot{"bugs": null}
slot{"all_issues": null}
action_issue

inform{"all_issues": "issues", "project_name": "fae"}

slot{"all_issues": "issues"}
slot{"project_name": "fae"}
action_issue

inform{"bugs": "bugs", "stories": "stories", "project_name": "fae"}

slot{"bugs": "bugs"}
slot{"stories": "stories"}
slot{"project_name": "fae"}
action_reset_issues
slot{"all_issues": "all issues"}
action_issue
export

Generated Story -4993798069511925315

inform{"bugs": "bugs", "stories": "stories", "project_name": "fae"}

slot{"bugs": "bugs"}
slot{"stories": "stories"}
slot{"project_name": "fae"}
action_issue

inform{"low_pri": "low"}

slot{"low_pri": "low"}
action_issue

inform{"med_pri": "med"}

slot{"med_pri": "med"}
action_issue

inform{"high_pri": "high"}

slot{"high_pri": "high"}
action_issue
export

Generated Story -2794009131783263642

inform{"bugs": "bugs", "project_name": "fae", "low_pri": "low"}

slot{"bugs": "bugs"}
slot{"project_name": "fae"}
slot{"low_pri": "low"}
action_reset_stories_issues
slot{"stories": null}
slot{"all_issues": null}
action_reset_medium_high
slot{"med_pri": null}
slot{"high_pri": null}
action_issue

inform{"bugs": "bugs", "med_pri": "medium", "project_name": "tpo"}

slot{"bugs": "bugs"}
slot{"med_pri": "medium"}
slot{"project_name": "tpo"}
action_reset_stories_issues
slot{"stories": null}
slot{"all_issues": null}
slot{"high_pri": null}
action_reset_low_high
slot{"low_pri": null}
slot{"high_pri": null}
action_issue

Consider this story that I have in my stories.md

Generated Story<PHONE_NUMBER>094896892

inform{"low_pri": "low", "stories": "stories", "project_name": "fae"}

slot{"low_pri": "low"}
slot{"stories": "stories"}
slot{"project_name": "fae"}
action_reset_bugs_issues
slot{"bugs": null}
slot{"all_issues": null}
action_reset_medium_high
slot{"med_pri": null}
slot{"high_pri": null}
action_issue

Now, even though I am typing the exact sentence as the above query, I am getting the correct entity extraction but wrong action prediction.This is the result

<img width="1056" alt="screen shot 2018-07-03 at 23 50 43" src="https://user-images.githubusercontent.com/29357469/42237827-96511866-7f1c-11e8-921c-2bdae55d72f0.png">

Whats your NLU Data?

please try running the bot with the --debug flag active, e.g. rasa_core.run --debug, that should print out some helpful information to understand what's going wrong

@amn41 I got the mistake...Actually I think there is something wrong with the rasa-nlu online trainer...When you select a word to double click it for adding it as an intent, it actually selects a space also at the end of the word...So, if you have "pizza", then on double clicking it, it would select "pizza " rather than "pizza". This extra space caused so much trouble...After I removed all these spaces and corrected the start and end in all of my training data (It was a pain!!!!), my bot started predicting everything correctly...Its even correctly predicting those sentences which I didn't even expect it to...lol :P


Release process to be automated

Make sure your local master branch is up-to-date

git checkout master
git fetch upstream
git reset --hard upstream/master

Decide the version number of your next release, depending on the commits included:

a patch version X.X.(n+1) when the release includes only bug fixes or small new features
a minor version X.(n+1).0 when the release includes notable new features
a major version (n+1).0.0 when the release introduces breaking changes / major refactoring or changes

Package the action with npm run all

Git add the changes of the dist/ directory with git add -u

Bump the package version with npm version -f X.Y.Z with the version decided before

Publish to Github! git push --tags upstream master

Update the “Major” version sliding tag vN

git tag -d vN
git tag vN master
git push upstream vN --force

Create a new GitHub release with a comprehensive changelog on https://github.com/bump-sh/github-action/releases/new

I’ve had a lot of success with semantic-release for automating release of these smaller packages that you don’t want to have to think about too much or manually release every time you merge a PR.


Issue/5/support funcv4

Purpose

Updates Azure Functions from V3 to V4
Completes issue #5

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test
Use az-func-http and az-func-event-hub READMEs for instructions on running the sample and deploying the Function app code.
What to Check
Verify that the following are valid

Function code deploys successfully
Functions behave properly

Validation Screenshots

Updating the dev container base image to support Azure Functions Core Tools v4 also updates the .NET version to .NET 6. At this point, it probably makes sense to update all the .NET components to .NET 6.


support for dbt-databricks adapter

Hi I've just tested this package against our dbt-databricks setup. I know this isn't supported but thought I'd post the error I get, to see if there is a simple solution we can implement locally. I built a very basic model that selects a single column from the source table.
The sql that the package builds fails to run however, which appears to be due to the fact that  when it creates the cte of the source table, it uses the syntax:
WITH "stg_model_name" AS (....

and the quoted name of the cte is not allowed syntax in databricks, so causes the query to fail.
I couldn't locate exactly which macro is quoting the cte name but was wondering if there is a way to stop it doing this for our setup?

Hey @psousa50 , this certainly does resolve the issue for me! Many thanks. My normal models seem to now be functioning as expected with the unit test package in databricks, which is great!
I'm hitting another error on a slightly more complex model we have, which uses the dbt_utils pivot macro combined with a get_column_values macro. Happy to post this in a new issue but I get the following error message:
'NoneType' object has no attribute 'lower'
This appears to be before any queries are sent to the database. Again, happy to raise another issue or just accept that databricks is not currently supported. But it would be ace if I could get it to work fully against my project!
For reference my model (anonymised a bit) is like this:
-- model_name.sql

{% set lookback_predicate %}
    DBT_INTERNAL_DEST.date > DATE_ADD(CURRENT_DATE, -{{ var('default_refresh_days') }})
{% endset %}

{{
  config(
    materialized = 'incremental',
    on_schema_change = 'append_new_columns',
    incremental_strategy = 'merge',
    unique_key  = ['timestamp','id'],
    partition_by = ['date'],
    incremental_predicates = [lookback_predicate]
  )
}}

SELECT
    {{ dbt_utils.generate_surrogate_key(['timestamp', 'id']) }} AS unique_id,
    id,
    type,
    timestamp,
    date,
    {{ dbt_utils.pivot(
        'reading',
        dbt_utils.get_column_values(table=ref('stg_data_raw'), column='reading'),
        agg='max',
        then_value='value',
        else_value='null'
    )}}
FROM {{ ref('stg_data_raw') }}

{% if is_incremental() %}
WHERE
    date > DATE_ADD(CURRENT_DATE, -{{ var('default_refresh_days') }})
{% endif %}

GROUP BY
    date,
    id,
    timestamp,
    type

I'm wondering whether its the get_colum_values that is causing an issue here, as I don't believe it likes cte's as inputs (which is why I'm not using a source cte.
Anyway, many thanks for your help so far!

if you are overriding the ref macro in your project as suggested in the README then you'll have to use builtins.ref in your get_column_values call, as stated here
Please let me know if this helps

Closing here due to inactivity. Happy to re-open if there is a need for that. thanks

For people wondering if databricks is supported, the formal answer is no, but since version 4.2 (which comes after 4.11 and 4.12..?) the identifier mentioned earlier has been added anyways :).


Usage of the word anonymous is misleading and confusing for who can join the meeting.

Can this documentation be improved?
We could improve this line that reads "2. Under Participants, turn on Anonymous users can join a meeting."
It could say something like anonymous is not actually anyone without authentication but invited users outside the tenant like gmail.com, outlook.com email addresses.

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

ID: 470478ed-3b4e-ced8-0e28-6cda545b8400
Version Independent ID: 95b4044b-3a47-a511-c726-b5ee75863441
Content: Manage meeting settings - Microsoft Teams
Content Source: Teams/meeting-settings-in-teams.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@rachoksh  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @rachoksh, thank you for your feedback.
"Anonymous users can join a meeting" is an option in the Teams Admin Center and I cannot change it. Anyway, anonymous users can join Teams meeting without an account, just writing their name:
https://support.microsoft.com/office/join-a-meeting-without-a-teams-account-c6efc38f-4e03-4e79-b28f-e65a4c039508?ui=en-us&rs=en-us&ad=us

@rachoksh Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.

The link posted is not working. Thanks

Sorry about that:
https://support.microsoft.com/en-us/office/join-a-meeting-without-a-teams-account-c6efc38f-4e03-4e79-b28f-e65a4c039508

The customer turned on anonymous join and it works now for users outside the tenant invited with personal email addresses. I understand the documentation is based on the UI and you cannot change the UI. Thanks

Hi @rachoksh,
If the anonymous join is enabled, you can join the meeting without authentication or email, just writing your name.
Why do you think that the UI must be updated?

Hi @dariomws,
I suggest there is an information button on the participant option that states who anonymous users are, it is quite confusing to differentiate guests and anonymous users. Maybe they are the same!?
When I add a @yahoo.com account as a team member, the word guest is in brackets. Not clear how anonymous is defined. If there is a link do let me know.
thank you
Suresh
Suresh

Hi @suresh-solomon,
Anonymous don´t have an email or account, they just can join the meeting without using credentials:
https://docs.microsoft.com/microsoftteams/meeting-settings-in-teams#allow-anonymous-users-to-join-meetings
https://support.office.com/article/join-a-meeting-without-a-teams-account-c6efc38f-4e03-4e79-b28f-e65a4c039508
Guests are external users that you add to your organization to participate in teams and channels, they are authenticated/identified:
https://docs.microsoft.com/microsoftteams/guest-access
And they can also join meetings.
There are also external users from other companies:
https://docs.microsoft.com/microsoftteams/communicate-with-users-from-other-organizations

Thank you @dariomws ,  this definitely helped, I could not figure out how to join a teams meeting anonymously, now I understand.
Suresh


No config file? Structures not compatible with terralith.

I love this mod, but with terralith installed the structures spawn in very strange places. Its immersion breaking for me, it would be nice to either have mod compat or a config!
Thanks!

there is a config file; though its not picked up by the mods that read configs. there is HOWEVER a config file you can edit
IMPORTANT NOTE: avoid using notepad to edit json files; it messes them up and wont save properly; use a different thing like VSC or another json compatible option
AS for terralith, thats a datapack gen thing; would be intresting nontheless to have compat wtih it
as for the config, it might be possible to have it work with the config mods, but may take a bit of tinekring; tbh im not sure the process

What is Terralith supposed to do about compatibility when you don't use the biome tags that exist specifically for compatibility with Terralith/other worldgen mods?


feat: find Decidable instances via unification

I've been finding situations where these simp lemmas don't fire, because the decidable instance is not the one found by typeclass inference.
This perhaps deserves a deeper fix, but I want to see if just changing the binder types here suffices for my purposes.
(Previously this behaviour was being hidden by the default decide := true in simp.)

This perhaps deserves a deeper fix,

Agreed.

but I want to see if just changing the binder types here suffices for my purposes.

Happy to merge the workaround. We have used it in other places.

Mathlib adaptation PR at https://github.com/leanprover-community/mathlib4/pull/8285


[Question]:Why the default number of connections is 5

`/**

Create a new connection pool with tuning parameters appropriate for a single-user application.
The tuning parameters in this pool are subject to change in future OkHttp releases. Currently
this pool holds up to 5 idle connections which will be evicted after 5 minutes of inactivity.
*/
public ConnectionPool() {
this(5, 5, TimeUnit.MINUTES);
}
`
why the default number of  connection is 5?

Historical accident. What should it be?

No action to take on this.


Limited to one highlight per line

Codly only shows the last highlight defined for each line. This is a regression from 1.0.0.
#import "./codly.typ": *

#set page(height: auto, width: 10cm, margin: 1em)
#show: codly-init.with()

#codly(
  highlights: (
    (line: 0, start: 14, end: 18, fill: blue),
    (line: 2, start: 5, end:10, fill: green),
    (line: 2, start: 24, end:38, fill: blue),
  ),
)

```java
public class MyApp {
  public static void main(String[] args) {
    System.out.println("Hello, world!");
  }
}
```

Swapping the highlight definitions shows the other highlight:
#import "./codly.typ": *

#set page(height: auto, width: 10cm, margin: 1em)
#show: codly-init.with()

#codly(
  highlights: (
    (line: 0, start: 14, end: 18, fill: blue),
    (line: 2, start: 24, end:38, fill: blue),
    (line: 2, start: 5, end:10, fill: green),
  ),
)

```java
public class MyApp {
  public static void main(String[] args) {
    System.out.println("Hello, world!");
  }
}
```

I just got to documenting that part and noticed it too, trying to fix it now. Probably won't be done until tomorrow after work.

Ok, figured it out, fixed in the next commit (will push this change tonight)

See cdffb47


Default texture filters to GL_NEAREST

I would like to argue that the default min/mag filters should be changed from GL_LINEAR to GL_NEAREST.
The motivation is that GL_NEAREST is more flexible: For textures it gives you a pixelated look. Something which is not possible with GL_LINEAR filters. If you want filtering you should write it yourself in your fragment shader by evaluating your color function for n pixels with offsets delta_1…delta_n, and then average them for the fragment color.
Also, if you treat your textures as height maps you would want to get the accurate height information of that pixel, and not some average of pixels as it is the case with GL_LINEAR.
Is this convincing?
Would an example be appreciated that shows how to do filtering with the default being no filtering?

I'd rather keep LINEAR the default, as it feels more beginner friendly, and
make it configurable if you need it. So a new enum and a new 'raw' function
for creating textures.
On Jun 1, 2015 6:22 AM, "Alexander Foremny"<EMAIL_ADDRESS>wrote:

I would like to argue that the default min/mag filters should be changed
from GL_LINEAR to GL_NEAREST.
The motivation is that GL_NEAREST is more flexible: For textures it gives
you a pixelated look. Something which is not possible with GL_LINEAR
filters. If you want filtering you should write it yourself in your
fragment shader by evaluating your color function for n pixels with
offsets delta_1…delta_n`.
Also, if you treat your textures as height maps you would want to get the
accurate height information of that pixel, and not some average of pixels
as it is the case with GL_LINEAR.
Is this convincing?
Would an example be appreciated that shows how to do filtering with the
default being no filtering?
You can view, comment on, or merge this pull request online at:
https://github.com/johnpmayer/elm-webgl/pull/25
Commit Summary

Default texture filters to GL_NEAREST

File Changes

M src/Native/WebGL.js
https://github.com/johnpmayer/elm-webgl/pull/25/files#diff-0 (4)

Patch Links:

https://github.com/johnpmayer/elm-webgl/pull/25.patch
https://github.com/johnpmayer/elm-webgl/pull/25.diff

—
Reply to this email directly or view it on GitHub
https://github.com/johnpmayer/elm-webgl/pull/25.

I don't necessarily agree that GL_LINEAR is more beginner friendly, because I image a beginner expecting texture2D to return the requested pixel's color exactly. Since with filtering it usually does not, there is something going on which is not immediately obvious. So, I think with GL_NEAREST as the default it is easier to reason about why your texture does not look the way you expected it, and thus implement filtering in the shader (or use a loadTextureFiltered) function.
Never the less, is what I implemented now the way you would like to go? :)

Taking a look at this, I think I want to go with some sort of pattern like the below to minimize the API impact. I think I can refactor this myself. Bucketing in next release.
defaultOptions : TextureOptions
loadTextureWithConfig : TextureOptions -> String -> Task Error Texture
loadTexture = loadTextureWithConfig defaultOptions

Great! Cannot wait to see the next release! :))
I found myself having to disable depth test and enabling blending. Do you plan on exposing this to the API as well, or could I open an issue to make a stand to get this functionality into the next release? :)


Bulk URL Shortening

Enabling users to shorten multiple URLs at once by uploading a list or file containing multiple long URLs.

Hey @Rohitha-pudu, currently we don't have much compute as this feature need cloud functions to execute this intensive task.
Contribute to other issues or projects, good luck.


Aave flashloan using lenders' stable coin collateral.

Lenders will lend there tokens (USDC for now) to our contract, which we will supply to aave.
We will use the collateral to borrow, give flashloan and payback (aave flashloan at 0% fee).
Lenders will get the aave's apy, along with some cut in the fee whenever this route is used.

In aave v3 we cant borrow and payback in same block


Support for NX projects

Is your feature request related to a problem? Please describe.
We use NX (https://nx.dev) and would love for this extension to work.
When trying we just get Your supportFile is missing or invalid: src/support/e2e.{js,ts}
Describe the solution you'd like
A clear and concise description of what you want to happen.

Hi @mackelito
Sorry for the delay
Indeed messages are a bit confusing, I will explain the steps I had to replicate in order to get it working on a Sample NX project
Just launched a basic project using NX
npx create-nx-workspace nx-cypress-runner

I had the same issue as you shared
Your supportFile is missing or invalid: src/support/e2e.{js,ts}

So the steps I followed in order to get it working are the following I modified the cypress.config.ts with the following lines

And now the extension works as expected, maybe on future release I will add this configs to the extensions so there is no need to modify your current config and provide values on

Just to keep it clear, is looks like a configuration of cypress more than an issue with the extension itself
Please let me know if the solution works for you :)


Add support for P4estMesh to subcell-limiting

Adding support for subcell limiting with P4estMesh.
TODOs:

[ ] Check if StructuredMesh and P4estMesh give the same results
[ ] Convergence test

I'm thinking about wether it's useful to keep this default implementation of get_boundary_outer_state that only returns the inner value. When keeping it, the user doesn't really get an information if the used boundary condition has an influence to the bounds calculation or not.
https://github.com/bennibolm/Trixi.jl/blob/1b2ce66a1edfb816fcd43f27c9eada2b39d5f061/src/solvers/dgsem_tree/dg_2d_subcell_limiters.jl#L1853-L1858
What do you think about that @amrueda ?

I'm thinking about whether it's useful to keep this default implementation of get_boundary_outer_state that only returns the inner value. When keeping it, the user doesn't really get an information if the used boundary condition has an influence to the bounds calculation or not.
https://github.com/bennibolm/Trixi.jl/blob/1b2ce66a1edfb816fcd43f27c9eada2b39d5f061/src/solvers/dgsem_tree/dg_2d_subcell_limiters.jl#L1853-L1858
What do you think about that @amrueda ?

True, I was also thinking recently about this routine. I think it is better to remove it because it can lead a user to think that the bound computation takes into account their BCs. However, sometimes it makes sense to just use the inner solution. Is it possible to activate this computation with an input argument and keep it inactive as default?

True, I was also thinking recently about this routine. I think it is better to remove it because it can lead a user to think that the bound computation takes into account their BCs. However, sometimes it makes sense to just use the inner solution. Is it possible to activate this computation with an input argument and keep it inactive as default?

Yesterday, I revised the implementation of this routine. It is much more flexible and cleaner now.
Yes, it would be possible to add a boolean variable like use_inner_value_as_boundary_value_as_default (or something longer :wink: ) and throwing an error when the default routine is clled but the variable is false.  If someone still wants to just use the inner value it is about 4 lines of code to add to the elixir.


The ability to make the duration forever

As far as I can tell from the code duration is only an integer. It would be nice to make it indefinite.

Then it wouldn't move. Don't you mean loop: true?

Oh, I think I confused myself... Yes, yes I did


Enhancement Request - Multilingual UI

Brief summary of your request
Multilingual UI
Request details
Canyou add multilingual support?
i can provide DUTCH language. If there are more people who can help with other languages, please reply!
Anything else?
No response

@CMTriX, the first version of Get My IP with multilingual support is nearly ready.  I don't plan any changes or additions to the language files. There are currently 189 strings, with several in the About and Settings sections being unchanged from WUView. Be sure to check out the wiki page, I've made some changes from WUView. I figured out how to use a carriage return in a string, so watch out for
 in about 6 of the strings.  If you can submit a PR for Dutch I would appreciate it.
I've also added a display on the Language section of the settings page (green ellipse). It shows the number of strings in the current language file versus the number in the en-US file.

No hurry, I still have a lot to do before I release version 0.9.0.
Thanks in advance.
Tim

Sure, the en-US file is here.
Whenever your translation is ready, I'll add it in version 0.9.1.
Thanks again for contributing.
Tim

GETMYIP_Strings.nl-NL.zip

Thank you!

@Timthreetwelve
I believe that you can close this request.

Im send Slovak Translation
GETMYIP_Strings.sk-SK .zip
please check it out...

@Vaso73
Thanks. I will  add to the GetMyIP  language folder.
If you can and have time pelase complete also language for Windows Update Viewer
https://github.com/Timthreetwelve/WUView/tree/main/WUView/Languages
Thanks.


@AspirinSJL Need a code owner review for http_connect_handshaker.cc
The change is adding a nullptr argument to http_connect_handshaker

****************************************************************

libgrpc.so

     VM SIZE                                                                             FILE SIZE
 ++++++++++++++ GROWING                                                               ++++++++++++++
  +0.2% +1.67Ki [None]                                                                +62.6Ki  +0.7%
      +0.3% +1.67Ki [Unmapped]                                                            +62.6Ki  +0.7%
      [NEW]      +8 grpc_core::(anonymous namespace)::timestamps_callback                       0  [ = ]
   +28% +1.84Ki src/core/lib/iomgr/tcp_posix.cc                                       +1.84Ki   +28%
      [NEW]    +875 process_errors                                                           +875  [NEW]
      [NEW]    +732 tcp_write                                                                +732  [NEW]
       +49%    +413 tcp_flush                                                                +413   +49%
      [NEW]    +236 tcp_handle_error                                                         +236  [NEW]
      [NEW]    +141 drop_uncovered((anonymous namespace)::grpc_tcp*) [clone .isra.5]         +141  [NEW]
       +16%    +120 grpc_tcp_create                                                          +120   +16%
      [NEW]     +58 tcp_send                                                                  +58  [NEW]
      +107%     +29 tcp_destroy                                                               +29  +107%
       +21%     +24 grpc_tcp_destroy_and_release_fd                                           +24   +21%
       +12%     +12 tcp_unref                                                                 +12   +12%
      +4.1%      +7 [Unmapped]                                                                 +7  +4.1%
  [NEW]    +472 src/core/lib/iomgr/buffer_list.cc                                        +472  [NEW]
      [NEW]    +195 grpc_core::TracedBuffer::ProcessTimestamp                                +195  [NEW]
      [NEW]    +135 grpc_core::TracedBuffer::AddNewEntry                                     +135  [NEW]
      [NEW]    +103 grpc_core::TracedBuffer::Shutdown                                        +103  [NEW]
      [NEW]     +31 [Unmapped]                                                                +31  [NEW]
      [NEW]      +8 grpc_core::grpc_tcp_set_write_timestamps_callback                          +8  [NEW]
  +2.3%     +48 src/core/lib/iomgr/ev_posix.cc                                            +48  +2.3%
       +39%     +36 grpc_fd_create                                                            +36   +39%
      +5.8%     +12 [Unmapped]                                                                +12  +5.8%
  +2.3%     +16 src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc     +16  +2.3%
      +2.3%     +16 grpc_insecure_channel_create_from_fd                                      +16  +2.3%
  +2.2%     +16 src/core/lib/iomgr/endpoint_pair_posix.cc                                 +16  +2.2%
      +2.2%     +16 grpc_iomgr_create_endpoint_pair                                           +16  +2.2%
  +0.4%     +16 src/core/lib/security/transport/secure_endpoint.cc                        +16  +0.4%
      [NEW] +1.21Ki endpoint_write                                                        +1.21Ki  [NEW]
      +3.0%      +3 [Unmapped]                                                                 +3  +3.0%
  +0.4%     +16 src/core/lib/security/transport/security_handshaker.cc                    +16  +0.4%
      +5.2%      +8 [Unmapped]                                                                 +8  +5.2%
      +1.5%      +8 on_handshake_next_done_locked                                              +8  +1.5%
  +0.4%      +8 src/core/lib/iomgr/tcp_server_utils_posix_common.cc                        +8  +0.4%
      +1.1%      +8 grpc_tcp_server_add_addr                                                   +8  +1.1%
  [NEW]      +6 src/core/lib/iomgr/internal_errqueue.cc                                    +6  [NEW]
      [NEW]      +6 kernel_supports_errqueue                                                   +6  [NEW]

  +0.3% +4.09Ki TOTAL                                                                 +65.0Ki  +0.7%

****************************************************************

libgrpc++.so

     VM SIZE              FILE SIZE
 ++++++++++++++ GROWIN ++++++++++++++

 -------------- SHRINK --------------
  [ = ]       0 [None]      -8  -0.0%

  [ = ]       0 TOTAL       -8  -0.0%

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,953,148      Total (>)      1,952,584

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
 3,620,030       Core (>)      3,618,618

10,667,114      Total (>)     10,665,704

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,953,148      Total (>)      1,952,584

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
 3,620,030       Core (>)      3,618,618

10,667,115      Total (>)     10,665,707

[microbenchmarks] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                                             FILE SIZE
 ++++++++++++++ GROWING                                                               ++++++++++++++
  +0.2% +1.67Ki [None]                                                                +62.6Ki  +0.7%
      +0.3% +1.67Ki [Unmapped]                                                            +62.6Ki  +0.7%
      [NEW]      +8 grpc_core::(anonymous namespace)::timestamps_callback                       0  [ = ]
   +28% +1.84Ki src/core/lib/iomgr/tcp_posix.cc                                       +1.84Ki   +28%
      [NEW]    +875 process_errors                                                           +875  [NEW]
      [NEW]    +732 tcp_write                                                                +732  [NEW]
       +49%    +413 tcp_flush                                                                +413   +49%
      [NEW]    +236 tcp_handle_error                                                         +236  [NEW]
      [NEW]    +141 drop_uncovered((anonymous namespace)::grpc_tcp*) [clone .isra.5]         +141  [NEW]
       +16%    +120 grpc_tcp_create                                                          +120   +16%
      [NEW]     +58 tcp_send                                                                  +58  [NEW]
      +107%     +29 tcp_destroy                                                               +29  +107%
       +21%     +24 grpc_tcp_destroy_and_release_fd                                           +24   +21%
       +12%     +12 tcp_unref                                                                 +12   +12%
      +4.1%      +7 [Unmapped]                                                                 +7  +4.1%
  [NEW]    +472 src/core/lib/iomgr/buffer_list.cc                                        +472  [NEW]
      [NEW]    +195 grpc_core::TracedBuffer::ProcessTimestamp                                +195  [NEW]
      [NEW]    +135 grpc_core::TracedBuffer::AddNewEntry                                     +135  [NEW]
      [NEW]    +103 grpc_core::TracedBuffer::Shutdown                                        +103  [NEW]
      [NEW]     +31 [Unmapped]                                                                +31  [NEW]
      [NEW]      +8 grpc_core::grpc_tcp_set_write_timestamps_callback                          +8  [NEW]
  +2.3%     +48 src/core/lib/iomgr/ev_posix.cc                                            +48  +2.3%
       +39%     +36 grpc_fd_create                                                            +36   +39%
      +5.8%     +12 [Unmapped]                                                                +12  +5.8%
  +2.3%     +16 src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc     +16  +2.3%
      +2.3%     +16 grpc_insecure_channel_create_from_fd                                      +16  +2.3%
  +2.2%     +16 src/core/lib/iomgr/endpoint_pair_posix.cc                                 +16  +2.2%
      +2.2%     +16 grpc_iomgr_create_endpoint_pair                                           +16  +2.2%
  +0.4%     +16 src/core/lib/security/transport/secure_endpoint.cc                        +16  +0.4%
      [NEW] +1.21Ki endpoint_write                                                        +1.21Ki  [NEW]
      +3.0%      +3 [Unmapped]                                                                 +3  +3.0%
  +0.4%     +16 src/core/lib/security/transport/security_handshaker.cc                    +16  +0.4%
      +5.2%      +8 [Unmapped]                                                                 +8  +5.2%
      +1.5%      +8 on_handshake_next_done_locked                                              +8  +1.5%
  +0.4%      +8 src/core/lib/iomgr/tcp_server_utils_posix_common.cc                        +8  +0.4%
      +1.1%      +8 grpc_tcp_server_add_addr                                                   +8  +1.1%
  [NEW]      +6 src/core/lib/iomgr/internal_errqueue.cc                                    +6  [NEW]
      [NEW]      +6 kernel_supports_errqueue                                                   +6  [NEW]

  +0.3% +4.09Ki TOTAL                                                                 +65.0Ki  +0.7%

****************************************************************

libgrpc++.so

     VM SIZE              FILE SIZE
 ++++++++++++++ GROWIN ++++++++++++++

 -------------- SHRINK --------------
  [ = ]       0 [None]      -8  -0.0%

  [ = ]       0 TOTAL       -8  -0.0%

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,955,009      Total (>)      1,954,445

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
 3,639,638       Core (>)      3,638,230

10,843,691      Total (>)     10,842,281

[microbenchmarks] No significant performance differences


[Feature Request] Add hint text to show operation Columns

Feature Request
What's the feature you think Backpack should have?
Show hint text under column name in show operation.
Have you already implemented a prototype solution, for your own project?
✔ Pull request: #4588
Do you see this as a core feature or an add-on?
As a core feature

Hello @anwsonwsymous , thanks for the suggestion and the contribution.
I am going to close this issue, let's move the conversation over to the PR thread. #4588
Cheers


SyntaxError: Unexpected token when using wildcard in the file path

Hello,
When I run
npx stylelint './src/**/*.jsx'

It caused the error as follows:
SyntaxError: Unexpected token, expected ; (8:11)
    at Parser.pp$5.raise (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:4454:13)
    at Parser.pp.unexpected (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:1761:8)
    at Parser.pp.semicolon (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:1742:38)
    at Parser.pp$1.parseVarStatement (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:2170:8)
    at Parser.pp$1.parseStatement (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:1861:19)
    at Parser.parseStatement (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:5910:22)
    at Parser.pp$1.parseBlockBody (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:2268:21)
    at Parser.pp$1.parseTopLevel (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:1778:8)
    at Parser.parse (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:1673:17)
    at Object.parse (/Users/me/myProject/node_modules/stylelint-processor-styled-components/node_modules/babylon/lib/index.js:7305:37)

However, if I run stylelint against a single file it works.
npx stylelint './src/**/MyComponent.jsx'

Environment:

stylelint: 8.0.0
styled-components: 2.1.2
stylelint-config-standard: 17.0.0
stylelint-processor-styled-components: 0.3.0

Config:
// .stylelintrc.js
module.exports = {
  extends: 'stylelint-config-standard',
  syntax: 'scss',
  processors: ["stylelint-processor-styled-components"],
};

Hi @liunaijia, that sucks!
First of all thanks for showing me npx just googled it and that seems like a nice new tool by npm :).
For your problem I'm afraid I'm gonna have to redirect you to the Stylelint repo though, as this very much sounds like a Stylelint bug.  I don't think there's anything we can do for that from a processor side.
I'll close this issue for now due to that, but if you get more information that insinuates we could do something about it feel free to comment here and maybe we'll reopen it, I do doubt it though, it definitely seems like a Stylelint bug.

Hi @emilgoldsmith , thanks for your prompt reply.
I reinstalled all the packages from fresh, the error was gone. I guess it would be caused by dependency issues.
Thanks,

No problem :).
Good to hear! Yeah it might be that Stylelint's globbing dependency was causing issues I guess?
Good to hear your problem was fixed anyway :). Enjoy linting your Styled Components CSS!


Redshift: fix com_snowplowanalytics_snowplow_remove_from_cart_1

Update it with Schema Guru following https://github.com/snowplow/iglu-central/issues/384
Putting this into Blocked schemas in case the change is problematic (I don't think it will be though - the JSON Paths file shouldn't change)...

Migrated to https://github.com/snowplow/iglu-central/issues/529