Issue with Tag Conversion and Auto-modification of Elements

URL
No response
How to reproduce the issue?

Convert a list of tags to text.
Observe that the tags within the list disappear and the original elements lose their attributes.
Copy the tag text.
Notice that certain elements in the viewport are automatically modified to match the copied tag without any editing being performed.

Screenshot(s) or anything else?
Uploading id 2.26.1.mp4…
Which deployed environments do you see the issue in?
Released version at openstreetmap.org/edit
What version numbers does this issue effect?
2.26.1
Which browsers are you seeing this problem on?
Chrome

Duplicate of #9774?

It's probably same as #9762. It just need a hotfix pushed now.

This was fixed in #9766

k-yle and tyrasd fixed and deployed as 2.26.2 earlier. Closing this issue, but please let us know if you continue to see similar behavior.


Incorrect undefined variable on return statement

@jamesstidard commented on Wed Apr 03 2019
Environment data

VS Code version: Version 1.32.3 (1.32.3)
Extension version (available under the Extensions sidebar): Python Version 1.32.3 (1.32.3)
OS and version: macOS 10.14.4
Python version (& distribution if applicable, e.g. Anaconda): N/A
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A

Expected behaviour
No problem reported
Actual behaviour
Undefined variable problem reported
Steps to reproduce:
def _():
    return [int(x) for x in range(5)]

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Starting Microsoft Python language server.
[Info  - 10:23:15 PM] GetCurrentSearchPaths /usr/local/bin/python3
[Info  - 10:23:15 PM] Python search paths:
[Info  - 10:23:15 PM]     /private/var/folders/5v/x8dcvr4n2wl0dlq2pxd35y2w0000gn/T/4p2tms4o.xpz
[Info  - 10:23:15 PM]     /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 10:23:15 PM]     /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 10:23:15 PM]     /usr/local/lib/python3.7/site-packages
[Info  - 10:23:15 PM] Configuration search paths:
[Info  - 10:23:15 PM]     /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python37.zip
[Info  - 10:23:15 PM]     /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7
[Info  - 10:23:15 PM]     /usr/local/Cellar/python/3.7.3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/lib-dynload
[Info  - 10:23:15 PM]     /usr/local/lib/python3.7/site-packages
[Info  - 10:23:15 PM]     /usr/local/bin
[Info  - 10:23:15 PM] Microsoft Python Language Server version <IP_ADDRESS>
[Info  - 10:23:16 PM] Initializing for /usr/local/bin/python3

@DonJayamanne commented on Wed Apr 03 2019
Where is this Undefined variable problem reported reported.
Please provide a screen sample.

@jamesstidard commented on Wed Apr 03 2019
@DonJayamanne Oh yeah :). I did take a screenshot and forgot to attach it.

@dvdma commented on Thu Apr 04 2019
I have the same issue with:

VS Code version: 1.30.0
ms-python.python version: 2019.1.0
OS: Linux

The issue comes up every time there is some code in the form of:
def f():
  return [g(idx) for idx in some_list]

This is #830.


blog monthly analytics

@lpgoldstein
December monthly blog analytics are ready for your review:
https://github.com/DOI-ONRR/blog-nrrd/wiki/Analytics
I had no issues updating this analytics wiki page within the new DOI-ONRR repo.
Excel sheet to help with checking (you should have an email allowing access):
https://doimspp-my.sharepoint.com/:x:/r/personal/thomasc_mms_gov/Documents/CLT Analytics/Blog/[Blog_Analytics_Dec22.xlsx](https://doimspp-my.sharepoint.com/:x:/r/personal/thomasc_mms_gov/Documents/CLT Analytics/Blog/Blog_Analytics_Dec22.xlsx?d=w3d16f1a9d03e4d62a1fc81f47f51e599&csf=1&web=1&e=pXG5jK)?d=w3d16f1a9d03e4d62a1fc81f47f51e599&csf=1&web=1&e=pXG5jK

@cthomasONRR looks good!


Redesign the page builder shortcuts menu as a control panel

Right now we have a shortcuts menu on the page builder plugin but would like to evolve this to a "control panel" to house the available features to the user. This control panel should include checkboxes to turn on the following features:

grid layout
accessibility labels
measure tool
screen dimensions and zoom level
ability to toggle between device sizes
toggle on/off module names (maybe?)
shortcuts

@jeremydw anything else?

Next steps from our discussion a few weeks ago:

Looks awesome and we want to start working on this when we have a quieter period (will work to assign it to another dev, perhaps Michael)
Default state is minimized toolbar – how can we make it less obtrusive?
Can we do this within an iFrame? (Storybook does this)

FYI: Building this out using Mantine components as part of the updated Blinkk starter pack.
https://user-images.githubusercontent.com/646525/162784418-fbfef5cc-b4de-4ab3-a4a2-7435141159e0.mov


updated component.json since it wasn't pointing to any files

Fixed issue I ran into issue while using duo. Since component.json pointed to wrong folders component and duo stopped working after the v.3.x.x update.

Sure, thanks


throw :abort to cancel callbacks; returning false is deprecated

/cc @GregP -  I think you were looking at doing something similar

@chessbyte Yes, will create one PR tonite to get this going before I check in the rest of 24 models (separatePRs), want to hash this one out first.


Create and Read for Activity Timeline

We need the backend setup for the activity timeline, right now it's only functional on the frontend but it has to store data to the database and update with this data when you reload
See Database Schema Doc for info.
We need to be able to Create and Read to the Activity Timeline.
API Endpoint info:

GET /api/employer/{employer_id}/timeline/notes.
POST /api/employer/{employer_id}/timeline/notes.

The API endpoints are not fully decided, it should look be something like what I've provided


Return actual error message from SoftLayer instead of generic error

DCO 1.1 Signed-off-by: Yuriy Bondaruk<EMAIL_ADDRESS>In case of error occurred (like validation error) SoftLayer return response with code 500 and actual error message in the body.
For example, it could happen that hostname contains underscore char but it's forbidden according to SL rules. In such case softlayer-go was returning generic error message 'HTTP error code: "500"' without actual message.
This fix is checking for SL error message in http body in case of unsuccessful response and returns it.
It works for all requests to SoftLayer.
The issue was discovered in terraform (https://github.com/hashicorp/terraform):
https://github.com/hashicorp/terraform/issues/9241

@matt_cui

Thanks @bondyk thanks for the PR. Been traveling so sorry for slow response but will review by EOW

Looks great. I am merging and noting to @mattcui and @gu-bin and @zhanggbj to note here and confirm that our pipeline goes green after this. I am not able to track it today but I don't anticipate any issues. If there are then notify me in Wechat.
PS: @zhanggbj this might mean we need to update other projects dependencies. Please do so as part of your recent work updating dependencies. Thx much


Adding Options bag for parameters

Adding Options bag for API parameters in ListDocumentStatuses and ListTranslationStatuses. Upating tests, samples and readme.

API change check
APIView has identified API level changes in this PR and created following API reviews.
com.azure:azure-ai-translation-document


[bug] [bitcoin-core test] ScriptSig: '0x27 0x302402107777777777777777777777777777777702108777777777777777777777777777777701' -- ScriptPubKey: '0 CHECKSIG NOT'

Issue
The following bitcoin-core test is failing to give the correct result :
ScriptSig: '0x27 0x302402107777777777777777777777777777777702108777777777777777777777777777777701' -- ScriptPubKey: '0 CHECKSIG NOT'

This code should be passing, but is panicking while executing.
Replicate
To replicate the issue you can use the latest main branch with the following command:
scarb cairo-run '[[85638222473728638769160410210893464261263086061422684165462972715402475319,97557673223841770041305211021412912560163447201069703897584165137845532471],5288612062596008609236648564283419927782315402045370417,23,[],976111785041138328458856412106580,14,[],0,0]'

This comment might help some with how to debug : https://github.com/keep-starknet-strange/shinigami/pull/192#issuecomment-2322981566

Can I do this please? @b-j-roberts

This bug is happening due to the way CHECKSIG OPCODE was  implemented
A quick log along the execution path should show what is happening
@b-j-roberts kindly assigned

@b-j-roberts can I hop on this?

Can I do this please? @b-j-roberts

@od-hunter Sure, I will assign you. Let me know if you have questions and I will check-in in a couple days.

@od-hunter Hey, any luck working on this issue yet?


Bump Makie and CairoMakie dependencies

Codecov Report

Merging #22 (0c7a104) into main (5a519da) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   23.52%   23.52%
=======================================
  Files           4        4
  Lines          68       68
=======================================
  Hits           16       16
  Misses         52       52

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build 935527490

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 23.529%

Totals

Change from base Build 928123219:
0.0%

Covered Lines:
16

Relevant Lines:
68

💛  - Coveralls


Request: a command to compile just kafka-ui-api, ignoring the frontend

Is your proposal related to a problem?
I'd like to be able to iterate building the Java portion of kafka-ui without building the frontend.
I assumed this would work, but it runs npm:
cd kafka-ui-api
 ./mvnw compile -Pprod

I was told to open this issue on Discord.
Describe the solution you'd like
cd kafka-ui-api
 ./mvnw compile -Pprod

The above should compile just the backend.

I can take this one.
Actually the  ./mvnw compile -Pprod doesn't compile the "kafka-ui-contract" (or am I wrong?). So when compiling the "kafka-ui-api" if you dont compile the contract you can receive some erros (if the contracts were updated).
Maybe this is an another issue?

Yeah, let's do something like this.
It depends on the directory you run this command in.

Since we don't have the wrapper as part of the modules what is the approach we want to follow regarding this request? Do we want to skip frontend build for ui-api and ui-contract?
By running something like this ./mvnw clean install -Pprod -DskipUIBuild=true
Original Request is based on this possibility but it is not anymore like this:
cd kafka-ui-api
./mvnw compile -Pprod

Since we don't have the wrapper as part of the modules what is the approach we want to follow regarding this request? Do we want to skip frontend build for ui-api and ui-contract?
By running something like this ./mvnw clean install -Pprod -DskipUIBuild=true
And changing this on both POM's:
configuration.skip.skipUIBuild
Original Request is based on this possibility but it is not anymore like this:
cd kafka-ui-api ./mvnw compile -Pprod
@Haarolean

what if we create a new profile with skipUIBuild property set to enabled by default?

Since we don't have the wrapper as part of the modules what is the approach we want to follow regarding this request? Do we want to skip frontend build for ui-api and ui-contract?
By running something like this ./mvnw clean install -Pprod -DskipUIBuild=true
And changing this on both POM's:
configuration.skip.skipUIBuild
Original Request is based on this possibility but it is not anymore like this:
cd kafka-ui-api ./mvnw compile -Pprod
@Haarolean

what if we create a new profile with skipUIBuild property set to enabled by default?

That is what the closed PR was doing and was pushed back due to duplicated code.

@Haarolean Lets not create unnecessary profiles. I suggested simple solution here https://github.com/provectus/kafka-ui/pull/1696#discussion_r830601917 .
In should work like ./mvnw compile -DskipUiBuild=true.

@Haarolean Lets not create unnecessary profiles. I suggested simple solution here #1696 (comment) . In should work like ./mvnw compile -DskipUiBuild=true.

Do we want it just for api or also for contract project?

@Haarolean Lets not create unnecessary profiles. I suggested simple solution here #1696 (comment) . In should work like ./mvnw compile -DskipUiBuild=true.

https://github.com/provectus/kafka-ui/pull/2424 This is solution 2


Enable MintGarden offer sharing on mainnet

MintGarden now natively supports hosting offer, so we'd love to enable the offer upload on mainnet too!

@greimela would you be able to sign your commit? Our branch policy blocks merges unless all commits are signed. Thanks!

@paninaro Done, sorry for forgetting about it again...


[IO] IO\error_handle() ( STDERR ) should be readable.

Describe the bug
the handle returned from IO\error_handle() ( which refers to STDERR ), should be both read and write handle.
To Reproduce
Code to reproduce the behavior: N/A
Expected behavior
N/A
Environment (please complete the following information):

OS: Ubuntu
PHP version 8.1
Version 2.0.x-dev

Additional context
ref: https://twitter.com/azjezz/status/1466953587620261895?s=20

I didn't implement this because i'm not sure if i should.
The patch is pretty simple, we just change the fd mode from wb to wb+ and use CloseReadWriteStreamHandle instead of CloseWriteStreamHandle.
However, the behavior of reading from STDERR is weird, the only application for it is when STDIN is redirected.
e.g:
php script.php 0< some-file.txt

In this case, IO\input_handle() points to some-file.txt, and you cannot get user confirmation on things.
The only way to do it is by reading from STDERR!
however, even when STDIN is not redirected, you can still read from STDERR.

STDERR appears to be write-only on Windows.

more context:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/stderr.html

The stderr stream is expected to be open for reading and writing.

https://unix.stackexchange.com/questions/574086/reading-from-stderr-in-c/574096#574096

BTW: Reading from file descriptor 2 was frequently done for things like password input; before the /dev/tty device was introduced, around 1977.

decided that this won't be fixed for now, will come back to it later after 2.0 has been released.


Update README.md

Add a "How to use" section, a gif of project working.
Update"Introduction" and "Required libraries" section.

Working on it.

update the ReadMe with some sample input and output images as well mentioning the filter applied on them


Reuse unificontrol.UnifiClient when iterating sites on same controller

Currently if we "login" to unifi controllers and then get a list of sites to iterate for more details , it looks like a new instance of unificontrol.UnifiClient needs to be created each time in the loop. So for example, if there are 100 sites on a controller  and we iterate them and an API for each site, there are 100 "logins" to the controller API created.
For example if we iterate a list of controller, extract list of sites from each one, and then attempt to device level detail of each .
Can there be a way to create an instance of unificlient without if calling a login to controller as we've already been authenticated in the first "cont" loop . Just trying to reduce the amount of logins required and load on unfi controller..

controllers =[  ["myserver.acme.com","8443","admin","mysecretpassword1"],
["myserver2.acme.com","8443","admin","mysecretpassword2"]
         ]

for cont in controllers:
login = unificontrol.UnifiClient(host=cont[0],port=cont[1],username=cont[2], password=cont[3], site="default",cert=None)
sites = login.list_sites()

for site in sites:
    current_site = site.get("name")
    current_sitedesc = site.get("desc")
    client = unificontrol.UnifiClient(host=cont[0],port=cont[1],username=cont[2], password=cont[3], site=current_site,cert=None)
    devices=  client.list_devices()

    for device in devices:
        ip =  device.get("ip")
        device_name = device.get("name")
        print (current_sitedesc , " " , device_name, " " , ip)

controllers =[ ["myserver.acme.com","8443","admin","mysecretpassword1"],["myserver2.acme.com","8443","admin","mysecretpassword2"]]
for cont in controllers:
login = unificontrol.UnifiClient(host=cont[0],port=cont[1],username=cont[2], password=cont[3], site="default",cert=None)
sites = login.list_sites()
for site in sites:
current_site = site.get("name")
current_sitedesc = site.get("desc")
client = unificontrol.UnifiClient(host=cont[0],port=cont[1],username=cont[2], password=cont[3], site=current_site,cert=None)
devices=  client.list_devices()
for device in devices:
    ip =  device.get("ip")
    device_name = device.get("name")
    print (current_sitedesc , " " , device_name, " " , ip)

``


Auth function

ToDo:

[ ] Run function locally with docker compose

[x] python
[ ] go
[ ] nodejs

[ ] Add support for Knative

[x] python
[ ] go
[ ] nodejs

[ ] Tracing support
[ ] Continuous integration tests

PR #47 fixes this.

Adopt changes from AES, support CI and then close. We need support for all runtimes


Example in a separate branch makes it really hard to develop the dropdown

Maybe I'm missing something, but having your example code in gh-pages and pointing to the npm module as source code makes it really hard to contribute back to the dropdown. I was hoping to work on the accessibility of this dropdown and I'm finding it impossible to work with. Having a working example you can run in a local server would make it a lot easier to contribute back to this component.

Hey Marcy, thanks for submitting your issue!
I've always had hella trouble with running the example as well, for the same reason. Ultimately it's because I was using the example for the gh-pages site, so I'd have to switch branches all the time and... ech.
LUCKILY, GitHub just released a (new gh-pages feature)[https://github.com/blog/2228-simpler-github-pages-publishing] which will make things way easier. I'll work on implementing that soon!

Hey @marcysutton, I just took care of this issue in master. Please try it out and tell me if it works for you!


Can we increase the character limit?

Is there a way to increase the char limit on the anvil considering the tags can be quite long?

Unfortunately it's not possible on client side using default Anvil screen, but might be possible with custom AnvilScreenHandler, but I'm not sure.

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
AreyonD, @z904832819, @likegogogo, @leeliner, @yuanyuansoft, @q-nie, @hash070, @LVM-23, @xiaocdh, @axzid, @Gaonuk, @yangl, @ElonJelinek, @zyjia, @Alex-NTD, @Fogulus, @xiangliu886, @zhaodylan, @zxcdeyouxiang, @Heliopause0916


Homebridge crashing with garage door errors

Following up on https://github.com/AMoo-Miki/homebridge-tuya-lan/issues/7#issuecomment-585723049 which is now closed. I’ve recently found that homebridge crashes after about 2-3 days the last errors in the log prior to the crash appear to be related to the garage door opener timing out. Any ideas what I can do to troubleshoot this. It was previously working ok for several weeks.

[TuyaAccessory] Slowing down retry attempts; if you see this happening often, it could mean some sort of incompatibility.
[TuyaAccessory] Socket had a problem and will reconnect to GarageDoor (Error: ERR_CONNECTION_TIMED_OUT)

This may be a false alarm due to another app log consuming the entire root partition. Will monitor and report back.

@verisgit any update on it? mine is doing the same

@verisgit any update on it? mine is doing the same

Check if your disk is full. That was the issue on mine.

@verisgit any update on it? mine is doing the same

Check if your disk is full. That was the issue on mine.

I have around 100GB on my disk


Cannot install flutterwave-react-v3 for react version 17.0.2

Steps to replicate.
Create a new react project using the latest react version (17.02)
install flutterwave-react-v3 using "npm install flutterwave-react-v3"
ERROR MESSAGE:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving<EMAIL_ADDRESS>npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/react
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>|| ^16.0.0" from<EMAIL_ADDRESS>npm ERR! node_modules/flutterwave-react-v3
npm ERR!   flutterwave-react-v3@"*" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See /Users/heyphord/.npm/eresolve-report.txt for a full report.
npm ERR!      /XXX/.npm/_logs/2021-08-06T23_59_07_267Z-debug.log

Hi Thanks for the feedback but npm install flutterwave-react-v3 still works. Nevertheless, we are working on updating to the latest react version. Please check our next release


⚠ Bofrost.at has degraded performance

In 5c94798, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1871 ms

Resolved: Bofrost.at performance has improved in a8a99f7.


The plugins are broken for some networks (eg. Hedera and ZkSync)

Both Hedera and ZKSync have different address derivation rules. They come with special SDKs to abstract those new rules, but in the process, every deployment tooling is broken (like this one).
I'm adding this repository as a reference for how to deploy a UUPS upgradeable contract in ZkSync:
https://github.com/ernestognw/zksync-uups-vault

ZkSync Deployment docs
ZkSync Hardhat Plugins
ZkSync Migration Guide

There is starting to be demand for zkSync upgrades
https://github.com/ernestognw/zksync-uups-vault/issues/1#issue-1643194902


Don't group debug console output

VSCode Version: 1.9.0-insiders

Expected:

Actual:

@isidorn it doesn't make sense to group single characters like this.


Mike's index page

PROPOSAL

Minimal cleanup. Reworded some stuff.

CHANGELOG
* Changed font macros for paragraphs from `size-xs` to `size-sm`

* Breakpoint is set to 900px

* Images use `clamp()` to scale dynamically

* `AcmButton` re-written to use `--button-bg` and `--button-hover` for different styles in light/dark themes

* Modified wording in some paragraphs

This is change #3 of my big update to prepare for next semester's codebase.
Mods to AcmButton (and AcmSelect in another PR) fixes #347.

https://github.com/EthanThatOneKid/acmcsuf.com/pull/402

[12:57 PM] moike: Okok go ahead and close 426, 415, 414, 413, and 406


Command examples?

Preferences like FirstRowTypeLeft have either a value of App, URL, or Command.  However, the related FirstRowLinkLeft preference only every shows examples for Apps or URLs to open.  The description seems to indicate only support for Apps or URLs:

The Bundle Identifier of the app or link that should be opened.

Is Command in fact a supported value, and if so can the documentation reflect this?  Examples would also be helpful.

NVM I missed https://github.com/root3nl/SupportApp#app-link-or-command-shortcuts

HI, love the app!  One small thing - the "Last reboot" button shows "5 hour since last reboot" as opposed to "5 hours since last reboot".  Could this be added to upcoming fixes?
Thank you!


WIP: tests/e2e: enclave-cc setup

Signed-off-by: Mikko Ylinen<EMAIL_ADDRESS>

oops. this initial WIP PR was targeted to my own fork. closing and will be right back.


Add termux support.

This PR will add termux environment support.
https://play.google.com/store/apps/details?id=com.termux

Interesting. I don't have an environment to test that but at least it seems not to break other environments. Merging.


Update JmxAgent to be compatible with JDK 11

Since access to sun.management.Agent is prohibited since JDK 9, JmxAgent
class needs another compatible code. As a limitation with JDK 9, users
must set jdk.attach.allowAttachSelf=true system property to enable
JMX.
Behavior doesn't change with JDK 8.

We'd better to upgrade JDK11 for Digdag.


Enabling lint tests.  Fixing a few along the way.

This change is

PTAL @roboerikg

Review status: 0 of 5 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: 0 of 5 files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


ADS telemetry is not capturing 'Provider' name

Discussed internally with the team, the 'provider' name is not available in the connection telemetry data for all providers and all data is mapping to 'BLANK' provider.
Issue started with ADS Version: 1.42.0 (stable)
cc @alanrenmsft @Charles-Gagnon

this should be put under Connection area, right?

Fixed it, I changed the name of the property in https://github.com/microsoft/azuredatastudio/pull/22112 - so the report just needed to be updated.

@Charles-Gagnon does it mean the report can only work with either versions prior to 1.42 or after 1.42?

No, I fixed it so that it'll pull from whichever name is used for each event for the provider column.


Support multiple selections

File dummytext-plugin/src/com/kstenschke/dummytext/ActionPerformer.java:~69
seems to support only one selection. There's some sample code around multiple selections here:
https://www.jetbrains.org/intellij/sdk/docs/tutorials/editor_basics/working_with_text.html
and related code here:
https://github.com/JetBrains/intellij-community/blob/master/platform/platform-api/src/com/intellij/openapi/editor/EditorModificationUtil.java

thankyou for your suggestio.
please feel free to send a PR should you want to implement multi-selection handling.

@idontusenumbers Thanks again for your PR, i (finally) am preparing an update release, including your contribution. I took the liberty to list you as a contributor within the README ;-)


update DataChannel

DataChannelをv2.0.1に更新

published:
https://jcenter.bintray.com/jp/co/dwango/cbb/function-channel/2.0.1/


fix(module:carousel): prevent iOS from triggering navigation

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features), not required for this edge case
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
If a user swipes the carousel on the edge of the carousel on an iOS device, it would trigger a navigation event.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Do you still focus on the issue? If it is, please rebase with master and make sure CI passed :)

Do you still focus on the issue? If it is, please rebase with master and make sure CI passed :)

Yeah. Will do that/

@simplejason Done.


Unresolved dependencies  core-js

Output information
https://rollupjs.org/guide/en/#warning-treating-module-as-external-dependency
core-js/modules/es.array.from (imported by src\i.js)
core-js/modules/es.string.iterator (imported by src\i.js)

expect
Packing Dependencies Correctly into Output Files
configure
babel.config.js
module.exports = {
  presets: [
    [
      '@babel/preset-env',
      {
        useBuiltIns: 'usage',
        // useBuiltIns: 'entry',
        corejs: 3,
        modules: false,
      },
    ],
    ['@babel/preset-typescript'],
  ],
  plugins: [
    '@babel/plugin-transform-typescript',
    '@babel/plugin-syntax-dynamic-import',
    '@babel/plugin-proposal-class-properties',
  ],
};

rollup.config.js
import babel from 'rollup-plugin-babel';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import { terser } from 'rollup-plugin-terser';
export default {
  input: './src/index.ts',
  output: [
    {
      file: 'dist/index.esm.js',
      format: 'cjs',
      sourcemap: true,
    },
    {
      file: 'dist/index.js',
      format: 'umd',
      sourcemap: true,
      name: 'lazyLoad',
    },
    {
      file: 'dist/index.esm.browser.js',
      format: 'es',
      sourcemap: true,
    },
  ],
  plugins: [
    resolve(),
    commonjs(),
    // terser(),
    babel({
      extensions: ['js', 'ts'],
    })
  ],
};

I think it's the Babel 7 useBuiltIns problem, but what should I do?

You need to add core-js as a dependency if you are using useBuiltIns: 'usage'. https://babeljs.io/docs/en/babel-preset-env#usebuiltins

This option adds direct references to the core-js module as bare imports. Thus core-js will be resolved relative to the file itself and needs to be accessible. You may need to specify core-js@2 as a top level dependency in your application if there isn't a core-js dependency or there are multiple versions.

@loganfsmyth
You're right. I looked up the dependencies and found that corejs was installed.

@loganfsmyth: What do you mean exactly by add core-js as a dependency?

@drzraf Add it in your package.json's dependencies.

adding as a dependency still doesnt fix the unresolved dependencies for all the runtime helpers

+1

Which file is requiring core-js?

I'd resolved this problem with addition exclude option for babel-plugin.

I'd solved this problem by adding 'exclude' option for babel-plugin.
exclude: 'node_modules/core-js/**',
Attention: for yarn or pnpm could be need another path.
Babel shouldn't transpilling core-js code.

i am also getting the circular dependencies error even though i've excluded core-js from babel. my babel config inside rollup.config.js:
		babel({
			extensions: [ '.js', '.mjs', '.html', '.svelte' ],
			runtimeHelpers: true,
			exclude: [ 'node_modules/@babel/**', 'node_modules/core-js/**' ],
			presets: [
			  [
				'@babel/preset-env',
				{
					targets: '> 0.25%, not dead',
					useBuiltIns: 'usage',
					corejs: 3
				}
			  ]
			],
			plugins: [
			  '@babel/plugin-syntax-dynamic-import',
			  [
				'@babel/plugin-transform-runtime',
				{
				  useESModules: true
				}
			  ]
			]
		  }),

any more hints/ideas?

ah sorry fixed, forgot to add     "core-js": "^3.6.4" as a dependency inside package.json


Use a PackageRepository instance to represent the repository in PackageDescriptor

Description:
https://github.com/ballerina-platform/ballerina-lang/pull/28857#discussion_r586005165

After the revamp of package resolution, the PacakgeRepositories are redesigned and so this issue is not relevant anymore.


View information about structured data

[ ] Requirement 1: Information about the dataset should only be accessible via user interaction (e.g. click, preview hover)
[ ] Requirement 2: Upon user interaction, the following is viewable: data source, date, author, etc.

Backend prototype should fetch info from #2 and expose to an arbitrary UI element.

Data source (author) can be grabbed from the response's facet.provenanceUrl
Observation date is typically associated with individual values and will likely explicitly be represented on all visualizations. For non- time series data sets, we can grab an arbitrary element's observation date and expose as a UI element or as part of the visualization's title. Will defer to UX for final decision.


DSND-2379: Add expected transforms to unit test

Describe the changes

Improves assertions made within the transform service unit tests

Related Jira tickets
DSND-2379
Developer check list
General

[x] Is the PR as small as it can be?
[ ] Has the Jira ticket been updated with any relevant comments?
[ ] Is the README up to date?
[ ] Has the POM been updated for the latest versions of dependencies?
[x] Has the code been double-checked against main?
[ ] Does the code adhere standards in this repository, including SonarQube checks?

Testing

[ ] Do the code changes have unit and integration tests with code coverage > 80%?
[ ] Has the code been tested locally and/or passed the API Karate tests on Tilt?
[ ] Have mandatory manual test cases been run?
[ ] Are extra Karate tests required?
[ ] Are all the test data resources up to date?

Release preparation
Where possible, add links to the respective Jira tickets when an item is checked

[ ] Have these changes been included in a release ticket?
[ ] Are changes required to the docker-chs-development deployment or test data?
[ ] Are any changes required to the environment added to chs-configs?

Notes to the tester
Add any testing hints or instructions here.

CI: No security warnings found


[LOW] UI Issue: Send Button Remains Active After Send To BNB From [x] Txns (USER REPORT)

Describe the bug
When bridging to BNB from other networks (example provided is Polygon to BNB), the "Send" button remains Active/Blue even while the transfer is in progress, and the page has to either be reloaded or the network switched for the txn's "Executed" status to be visible and the Send button to become inactive.
Noted in ticket here: https://discord.com/channels/454734546869551114/1062443488303657110/1062443593614241822
To Reproduce
Steps to reproduce the behavior:

Go to Bridge
Send funds from Polygon (or other) to BNB

Unfortunately, I could not reproduce the issue.


Update cats-effect, cats-effect-kernel, ... to 3.4.6

Updates

org.typelevel:cats-effect
org.typelevel:cats-effect-kernel
org.typelevel:cats-effect-std

from 3.4.5 to 3.4.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

@mergifyio rebase


cursor grab fails in fullscreen on windows

When I add the line window.set_cursor(winit::CursorState:Grab).unwrap() after the window build in fullscreen example and run it on windows then it fails.
The window does not respond and windows ask to quit or wait.

I think you mean: window.set_cursor_state(winit::CursorState::Grab).unwrap()
I have the same issue on Windows 10
It also occurs with CursorState::Hide.
The issue occurs when with_fullscreen(Some(..)) is used to create a window while cursor is Grab or Hide.
The issue also occurs when the cursor is Grab or Hide and then set_fullscreen(Some(..)) is called.

It looked like a deadlock was happening somewhere, and the results are a bit amusing.
As you might've heard by now, we block during resize events on Windows. However, we only unblock in run_forever/poll_events. Entering fullscreen triggers a resize, and thus a block. This means that all event processing is frozen in the duration between creating a fullscreen window and starting run_forever/poll_events execution, and due to some other fun complexities of our Windows implementation, cursor grabbing requires posting a message to the event queue. set_cursor_state doesn't return until it gets a result, but since event processing is still held up in the WM_SIZE handler, your program freezes.
Here's a really goofy temporary workaround you can use:
extern crate winit;

use winit::{ControlFlow, Event, WindowEvent};

fn main() {
    let mut event_loop = winit::EventsLoop::new();
    let monitor = event_loop.get_primary_monitor();
    let window = winit::WindowBuilder::new()
        .with_fullscreen(Some(monitor))
        .build(&event_loop)
        .unwrap();

    let mut run_count = Some(0);

    event_loop.run_forever(|event| {
        match event {
            Event::WindowEvent { event, .. } => match event {
                WindowEvent::Resized(_) => {
                    if let Some(count) = run_count {
                        let dpi_factor = window.get_hidpi_factor();
                        if (dpi_factor == 1.0 && count == 0)
                        || (dpi_factor != 1.0 && count == 1) {
                            window.grab_cursor(true).unwrap();
                            run_count = None;
                        }
                    }
                },
                WindowEvent::CloseRequested
                | WindowEvent::KeyboardInput {
                    input: winit::KeyboardInput {
                        virtual_keycode: Some(winit::VirtualKeyCode::Escape),
                        ..
                    }, ..
                } => return ControlFlow::Break,
                _ => (),
            },
            _ => (),
        }
        run_count = run_count.map(|n| n + 1);
        ControlFlow::Continue
    });
}

@Osspial are you still down to implement #459 on Windows? I'm ready to start this migration if you are.

@francesca64 I am, yes. Sorry about disappearing for a few weeks there! I'm going to be away from any Windows machines until the end of the month starting next week, but I'll try to make the most progress I can in the next couple days.

Ran into this same deadlock when resizing a window, which triggered a Focused, which my game uses to know when to grab the cursor.

I added the code to winit that blocks on during windows resize events, in order to fix visual bugs that happened when resizing a window (see #250). I don't think that's as important as making sure programs don't freeze, though! I think getting rid of that block would fix this as well as #391, so we may want to remove it in the meantime while #459 gets hammered out.

@Osspial if it's only a visual issue, then I'd definitely be in favor of that.

Removing that code should be pretty simple so I'll see if I can get a PR up in the next day or so.

It seems that this might be related to a freeze when I try to resize the window on Windows builds. No issues happen on Mac or Linux. A snippet to reproduce, using the latest pull from the winit repo:
``
extern crate winit;
fn main() {
let mut events = winit::EventsLoop::new();
let window = winit::Window::new(&events).unwrap();

while true {
    events.poll_events(|event| {
        match event {
            // Grab mouse cursor if window is focused; release otherwise
            winit::Event::WindowEvent {
                event: winit::WindowEvent::Focused(focused),
                ..
            } => {
                if let Err(e) = window.grab_cursor(focused) {
                    eprintln!("{}", e);
                }
            },
            _ => {}
        }
    });
}

}
A sample stacktrace from debug calls:

[Inline Frame] demo.exe!std::sys::windows::c::SleepConditionVariableSRW() Line 78 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\sys\windows\compat.rs:78)
[Inline Frame] demo.exe!std::sys::windows::condvar::Condvar::wait() Line 32 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\sys\windows\condvar.rs:32)
[Inline Frame] demo.exe!std::sys_common::condvar::Condvar::wait() Line 51 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\sys_common\condvar.rs:51)
[Inline Frame] demo.exe!std::sync::condvar::Condvar::wait() Line 214 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\sync\condvar.rs:214)
demo.exe!std::thread::park() Line 885 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\thread\mod.rs:885)
demo.exe!std::sync::mpsc::blocking::WaitToken::wait() Line 81 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\sync\mpsc\blocking.rs:81)
demo.exe!std::sync::mpsc::oneshot::Packet<core::result::Result<(), alloc::string::String>>::recv<core::result::Result<(), alloc::string::String>>(core::option::Optionstd::time::Instant self) Line 163 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\sync\mpsc\oneshot.rs:163)
demo.exe!std::sync::mpsc::Receiver<core::result::Result<(), alloc::string::String>>::recv<core::result::Result<(), alloc::string::String>>() Line 1203 (d:\rustc\d586d5d2f51489821b471f20959333558c24b129\src\libstd\sync\mpsc\mod.rs:1203)
demo.exe!winit::platform::platform::window::Window::grab_cursor(bool self) Line 397 .cargo\git\checkouts\winit-5993d63686bf7f83\214e157\src\platform\windows\window.rs:397)

@hobogenized I don't think it's related. The previous issue would freeze the entire program, preventing Winit windows from being resized. It seems like a soft-lock is happening here that's still letting Windows process events (so resizing still works), it's just that those events aren't getting delivered to Winit.

@Osspial Thanks for the feedback. Should I open up a new issue for easier tracking?

@hobogenized Sure, that would be great!
We can also close this issue since the issue it describes is resolved. cc @francesca64

Thanks!


missing datepicker strings

Start and End date in date picker are missing from localization dictionary.
Those might be displayed as part of datepicker component.

Ooh...  you're right.  I thought we might have been getting that translation as part of the Telerik component.
There's a little bit of code to write to integrate the Telerik localizer with our implementation.  I'm going to use the sample from @marin-bratanov on this page as inspiration for connecting our localizer to the component:
https://github.com/telerik/blazor-ui/blob/1ff5e737c53488e13ee1a26356127f2ee2f36a7a/common/localization/ClientLocalizationResx/Shared/Services/SampleResxLocalizer.cs#L6

I'm going to publish what we have now... and add this integration in a patch later today or tomorrow

Indeed, these translations must come from the app. In the examples we have, there are .resx files with keys corresponding to the keys that the components will request from the Telerik components localization service. In this example, the framework is very kind to resolve that indexer for us, so you just have to tweak the resx files. The two keys for this are DateRangePicker_Start and DateRangePicker_End
The caveat is that the resx localizer from the framework compiles those files to a C# class that always goes in the codebase of the app, and if I remember right, we wanted the localizations to get downloaded on demand, only when needed. So, the actual service may have to do a bit more work here if we want it to fetch resources on demand (could probably be relatively easy by serializing the resx to a dictionary so you keep the easy indexer).

The caveat is that the resx localizer from the framework compiles those files to a C# class that always goes in the codebase of the app, and if I remember right, we wanted the localizations to get downloaded on demand, only when needed. So, the actual service may have to do a bit more work here if we want it to fetch resources on demand (could probably be relatively easy by serializing the resx to a dictionary so you keep the easy indexer).

Agreed -- it looks like a service can be written that bridges the ITelerikStringLocalizer and the Toolbelt localizer.  I'll tinker with this later today

I hope I don't miss this on the stream when it happens (but I don't have my hopes up :D) On the other hand, I'm joining Ed's stream tonight (12 ET for your side of the big lake) :D

I don’t think I’ll stream this and just get the code working later today.  I’ll recap on Sunday so that it’s shared.
Jeff

On Mar 19, 2021, at 10:17, Marin Bratanov @.***> wrote:

I hope I don't miss this on the stream when it happens (but I don't have my hopes up :D) On the other hand, I'm joining Ed's stream tonight (12 ET for your side of the big lake) :D
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Fixed with ef4e0ca


What is the use of synonyms and regex in training data ?

I just want to know the use of synonyms and regex in training data and I did not see any option to add up synonyms and regex from GUI trainer.

Is the functionality to use regex and synonym added in GUI?


Fix error

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.03%) to 30.67%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
1318

Relevant Lines:
5222

💛  - Coveralls


log: Add feature flag for VerboseLogging to optionally enable additional context for each Pod, Cert etc.

With Log pod name in XDS logs; internal IDs are not useful #2924 we found out that OSM contributors do not like the new logging paradigm while working on the source code.
With #2951 we explored a way to have 2 ways of logging - one on the local workstation, another when in production.
This PR introduces a new function and a feature flag to change the mode of this function:

--verbose-logging
IdentifyPodForLog(pod) would return different context to be logged depending on the --verbose-logging flag
proxy.IdentifyForLog() would the same for a Proxy.

This is one of a few PRs to introduce this.
The full PR is available here:  #2951

Codecov Report

Merging #3223 (3fea66a) into main (c576683) will decrease coverage by 0.30%.
The diff coverage is 6.66%.

@@            Coverage Diff             @@
##             main    #3223      +/-   ##
==========================================
- Coverage   66.44%   66.13%   -0.31%
==========================================
  Files         163      163
  Lines        7495     7510      +15
==========================================
- Hits         4980     4967      -13
- Misses       2488     2516      +28
  Partials       27       27

Flag
Coverage Δ

unittests
66.13% <6.66%> (-0.31%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/envoy/proxy.go
74.02% <0.00%> (-15.04%)
:arrow_down:

pkg/featureflags/featureflags.go
80.00% <0.00%> (-20.00%)
:arrow_down:

cmd/osm-controller/osm-controller.go
17.18% <100.00%> (+0.65%)
:arrow_up:

pkg/configurator/validating_webhook.go
71.89% <0.00%> (-9.16%)
:arrow_down:

Continue to review full report at Codecov.

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


Feat: add social links in contributor profile page

Description
Currently, social links are not working as they are not plugged in. Retrieve social links from contribution meta data and add as link component and render respective icon.
Screenshots
No response
Additional Information
No response

I would love to work on this issue.
But I only know html, css & js & not any frameworks yet.

So, can you guide me, what do I need to learn to contribute to this issue?

This issue is fixed yesterday. But there are some other social links that a contributor can share such as reddit, artstation, behance etc. Add those. The only thing you have to do is add the social field name inside src>types>client>Contributors.ts and create the respective icon component inside src>components>icons>socials. There are so many examples, have a look at how it is designed and create an Icon. I highly recommend Simple Icons. Next, add the entry to allowedComponents src>components>contributorProfilePage, remember the array index is the priority of social links

So this issue is fixed. I'm closing this issue.


Issues with redshift

I'm aware redshift is not supported but it's almost there!
Things I noticed:

sqlx sends at the beginning of a pg session extra_float_digits = 3. This is not supported by redshift and will cause the connection to fail. eg: this branch fixes it  https://github.com/framp/sqlx/commit/8de282f090dec301fbb76d24b79f5f6f9c10f882
Binding i64 cause a Not Implemented error, manually concatenating i64 in the query works (could be related to their use, I was trying to set a limit and offset)
Password containing certain character $ don't work and cause an authentication error (sending %24 doesn't work as well)

extra_float_digits could very well be just another option in PgConnectOptions; the other two require some more investigation.
I'll try to come back and fix them as soon as I get some time.
Feel free to close if it's out of scope and cluttering your issue tracking.

Another data point:
I have an older postgres, and the extra_float_digits is also not supported.  Given time and support staffing, I'd have already moved to postgres 14, but at the moment, I'm still stuck on 10.  I like that there's a default which felt reasonable, but I need a way to remove it entire, and I'd prefer not to carry a patch to the repo.

I have an older postgres, and the extra_float_digits is also not supported. Given time and support staffing, I'd have already moved to postgres 14, but at the moment, I'm still stuck on 10.

Postgres 10 supports extra_float_digits? https://www.postgresql.org/docs/10/runtime-config-client.html#RUNTIME-CONFIG-CLIENT-FORMAT
It may have been added in a point-release greater than the one you're currently running. Would it possibly be easier to upgrade to 10.20 rather than 14? Or do you simply not have the ability to touch the running instance at all?

As an aside, are these options really required for connectivity? It seems more of a very opinionated (and non-controllable) set of parameters.

@mehcode can weigh in here since he wrote that part of the driver, but to my understanding the primary reasoning for setting extra_float_digits is so that floating-point values in the text format can be parsed into the exact same value as they are in Postgres, whereas the default value of 0 may trigger rounding on some platforms.
Granted, floating points shouldn't be used if you care about exact, reproducible values anyway, but to avoid surprising anyone we probably want to make sending the parameter opt-out rather than opt-in.

I have found a workaround by setting up pgbouncer, which has a setting that can let me ignore the extra_float_digits.
I'm not able to touch Postgres at this time; not enough time (we're short handed) and it could cause a massive fire.  We have an always on instance on bare-metal with limited extra bare-metal machines and 10s of terabytes of data.  Migration will likely happen within a few months to 14, though, when we swap to a cloud based solution.

parameter opt-out rather than opt-in.

Is this true, though?  Perusing the code, it seems like there's a way to add a parameter, but not actually remove or update the parameter.  That makes me think that it's not really opt-out.
For what it's worth, I also found this Pull request.  And I saw these comments from @mehcode:  here, which is now pretty dated (20 Dec 2020).  Essentially, I think that implies it should be removed (??).

Honestly, I'd rather just lower the default for extra_float_digits to 2. From Postgres 12 onward, any positive value selects the shortest-precise format so it doesn't really matter what we pass: https://www.postgresql.org/docs/12/runtime-config-client.html#GUC-EXTRA-FLOAT-DIGITS
The last Postgres release to actually care about the exact value will sunset in less than two months, and this behavior only ever affected the text-format output of floats anyway.


Updating function signatures and expected test outputs to match SG API v6

Done and tested:

Updated function signatures to support SendGrid v6
Updated tests to match what was expected (omission of empty subject from Personalization)
Tested sending with Django (tested adding attachments

What has not been tested:

Templates using template_id (as I am not using any)
Substitutions (again, not using any)

I think this should now require fairly small amount of work to get fully tested

Codecov Report

Merging #95 into master will increase coverage by 0.62%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
+ Coverage   77.35%   77.98%   +0.62%
==========================================
  Files           1        1
  Lines         106      109       +3
  Branches       30       30
==========================================
+ Hits           82       85       +3
  Misses         19       19
  Partials        5        5

Impacted Files
Coverage Δ

sgbackend/mail.py
77.98% <66.66%> (+0.62%)
:arrow_up:

Continue to review full report at Codecov.

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

@petrklus please update codecov.

thank you for the quick reply @andriisoldatenko - do you mean that I should write brand new tests for the file attachment dynamic, as well as substitutions?
Considering that the code was untested on master before, is that really necessary to implement new tests as a requirement for the PR to be merged? Curious!


csv path not right - file cannot be found

I used the kaggle plugin to download a csv file as shown below. The data profiling shows the correct results:

However, when I want to visualize the data, the code seems to be correct but the file path is not correct:

I don't know how to change the path to reflect the folder structure shown on the left - please help.
Thanks!

if you run the code in sandbox with docker,you shoud mout
ource=<PATH_TO_PROJECT>/backend/data,target=/home

if you run the code in sandbox with docker,you shoud mout source=<PATH_TO_PROJECT>/backend/data,target=/home

Thanks, my screenshots were made at https://chat.xlang.ai/ - not local

if you run the code in sandbox with docker,you shoud mout source=<PATH_TO_PROJECT>/backend/data,target=/home

we have tried this and it seems to solve the problem - thanks!


SMB and Spotify Linking Errors

What version of Music Assistant has the issue?
2B29
The problem
Local albums which have a Spotify equivalent are misbehaving in various ways. Firstly, please view this video: https://drive.google.com/file/d/1MSeZNzLmOCNOBQ9wYcVDTniGsqyhQOXT/view?usp=share_link
After what you saw in the video I then selected the album and played it and all the tracks are duplicated

I also have this album. MA has put these tracks on the same album but has not linked the tracks. I'm assuming due to the word remaster in the title?

How to reproduce
Have a local album with a Spotify equivalent where the tracks have a slightly different name.
Relevant log output
No response
Additional information
What I expect to happen in the above cases is that the albums are not linked in the first place if all the tracks aren't going to link.  If the albums should be seen as the same then the tracks should also be linked.
What version of Home Assistant Core are your running
2023.4.5
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Raspberry Pi

We had issues such as these on MA V1 that I worked with Marcel to eliminate. I believe it is difficult due to the lack of metadata supplied by Spotify. Then it is not helped by Spotify having artist name variations such as the two you indicated. Lets see what Marcel thinks of the above. There are a few weird problems like i the video I made where going to different parts of MA shows different information when it should be the same.

I had weeks of just the SMB provider before adding Spotify as I was expecting these sorts of issues to have to be resolved again. I could try a complete reinstall to see if that makes any difference but I doubt it will eliminate them all.

Yes I think the new approach to the library has made this issue redundant. Will raise a new issue if needed in the future.


IAMClientCallbackHandler could not be found

keep getting this error:
[2023-01-06 14:13:05,494] ERROR Unknown error when running consumer:  (kafka.tools.ConsoleConsumer$:43)
org.apache.kafka.common.config.ConfigException: Invalid value software.amazon.msk.auth.iam.IAMClientCallbackHandler for configuration sasl.client.callback.handler.class: Class software.amazon.msk.auth.iam.IAMClientCallbackHandler could not be found.
	at org.apache.kafka.common.config.ConfigDef.parseType(ConfigDef.java:758)
	at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:504)
	at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:497)
	at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:113)
	at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:133)
	at org.apache.kafka.clients.consumer.ConsumerConfig.<init>(ConsumerConfig.java:630)
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:664)
	at org.apache.kafka.clients.consumer.KafkaConsumer.<init>(KafkaConsumer.java:645)
	at kafka.tools.ConsoleConsumer$.run(ConsoleConsumer.scala:65)
	at kafka.tools.ConsoleConsumer$.main(ConsoleConsumer.scala:52)
	at kafka.tools.ConsoleConsumer.main(ConsoleConsumer.scala)

I saw it was noted in the troubleshooting
and it says to:
That means that this aws-msk-iam-auth library is not on the classpath of the Kafka client. Please add the aws-msk-iam-auth library to the classpath and try again.

Depending on how you are running your consumer, you need to add the aws-msk-iam-auth library to the classpath differently. Some options are:
(1) add it to the project dependencies using the maven repo.
(2) add it to the java env classpath like you are doing in your example.
(3) add it to external jar files manifest files.
About (3), running an already existing jar file will probably override the env classpath with the internals META-INF/MANIFEST.mf file class-path, so you need to edit it to let it know where to find this external jar library.
https://stackoverflow.com/questions/22682809/how-can-i-change-manifest-file-in-java

I was able to solve this issue by copying aws-msk-iam-auth-1.1.1-all.jar into kafka_2.12-2.8.1/libs/

I was able to solve this issue by copying aws-msk-iam-auth-1.1.1-all.jar into kafka_2.12-2.8.1/libs/

thanks, worked for me too

It doesn't seem to be working using kafka_2.13-2.8.2.

Thanks, it worked for me too

We are facing the same issue when we are trying to use the IAM authentication from kafka connect.
We are getting Invalid value software.amazon.msk.auth.iam.IAMClientCallbackHandler for configuration sasl.client.callback.handler.class: Class software.amazon.msk.auth.iam.IAMClientCallbackHandler could not be found.
We are using the  confluentinc/cp-kafka-connect-base image with version 7.5.0.
So, while creating our image, which will use the IAM auth, we are using the latest jar of version 2.0.3.
In this image, we are copying this jar into the following path

/usr/share/java/
/etc-kafka-connect/jars
/usr/share/java/cp-base-new

We are running our kafka-connect in the distributed mode.
We have also set the CLASSPATH in the docker file as an environment variable to this path /usr/share/java/.
Also, we have set the plugin path for our kafka-connect to  /usr/share/java,/usr/share/confluent-hub-components
But after all this, we still get the same error mentioned above.
Do you guys have any idea on how to resolve this issue?

@Devarsh23
Doing the following while building the connect image worked for me:
FROM confluentinc/cp-kafka-connect-base:latest
COPY aws-msk-iam-auth-2.0.3-all.jar /usr/share/java/kafka

we are using the confluentinc/cp-kafka-connect-base image with version 7.7.0.
following work for me:

CLASSPATH: /usr/share/java/kafka/aws-msk-iam-auth-2.2.0-all.jar

It seems there was no effect.

aws-msk-iam-auth-2.2.0-all.jar path : /usr/share/java/cp-base-new/

/usr/share/java/kafka/ : IAMClientCallbackHandler could not be found.
/usr/share/java/cp-base-new/ : work

we have tried distroless and scratch image but getting the same error. Any lead on classpath, where can we put this explicitly?

Hi, I'm trying to use kafka cli with AWS_MSK_IAM mechanism and I get the same error.
I put the jar aws-msk-iam-auth-2.2.0-all.jar in /opt/homebrew/Cellar/kafka/3.7.1/libexec/libsz.
Any ideas?
command:
kafka-topics --bootstrap-server server --describe --topic topic --command-config client.properties

We faced the same error when converting our kafka-connect cluster from TLS authentication to AWS IAM authentication.
In the end, we got it working by copying the jar file in these locations:

/usr/share/java/kafka
/usr/share/java/cp-base-new
AFAIK, the first location is where by default the classpath gets loaded for creating the admin client, serving the connector list, status, tasks, etc. through the REST endpoint. This admin client starts by reading the deployed connectors from a kafka topic and needs read access to the topic storing these connectors, so it fails when it can't authenticate.
The second location is probably added to the classpath of each connector plugin. This is needed when a sink connector needs to read from a topic or a source connector needs to write to it. Also, sink connectors need to be allowed to use the group called "connector-group" (by default).
I can't find any documentation on confluent that acknowledges this, so if anyone knows where it is, please post the link.

We faced the same issue when we were trying to create kafka consumer from spring boot application with plain java. We needed it to be a async task. So we used a following code snippet.
CompletableFuture.runAsync(         () -> {           ...         });
With this asynchronus task, it will try to instantiate software.amazon.msk.auth.iam.IAMLoginModule with the class loader. Class loader which will be used for CompletableFuture.runAsync() is ForkJoinPool which is created when JVM is initialized. So it will not able to access the spring class loader which leads to have class not found exception.
Solution we found is to provide a separate executor pool which suggested in https://stackoverflow.com/questions/49113207/completablefuture-forkjoinpool-set-class-loader answer
ExecutorService pool = Executors.newFixedThreadPool(10); final CompletableFuture<String> future =      CompletableFuture.supplyAsync(() -> { /* ... */ }, pool);
This executor pool solved my class loader issue.


Initial design for the improvements to the button behavior

This is the initial design document for the improvements to the button behavior.  The design pretty much reflects what we already have with the addition of the performing action states for hover and button actions.  Also, all action will now provide button event data that includes the point that the event is currently happening at, or the collection of points if it is a performing update event.

Closing the design PR and opening a new one for the actual work.  Thanks all!


[Feature]:  For S3 DS, On expanding the tables from the schema, the structure is not showing up.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I connect to S3 DS, and create a query, on the left entity explorer, on expanding the DS, and the bucket, the structure does not show up
Steps To Reproduce

Connect to S3 DS
Create a new query
On the left entity explorer, on expanding the Redis DS, the DB schema is displayed.
Expand one of the buckets, nothing comes up below.

Public Sample App
No response
Environment
Release
Issue video log
No response
Version
Cloud

Just a clarification, the S3 integration was implemented this way, hence it is not a bug.


Added Swedish to langs

I have no real experience with translations other than working in cross-language teams speaking and writing both English and Swedish.
As of right now I am the sole requested maintainer of this project, but I'm hoping more will join in shortly. If not, I am ready to start doing the translations myself going at my own pace.

I am happy to help

Here you go!
https://github.com/reactjs/sv.reactjs.org/issues/1


App force close on release mode: undefined is not an object (evaluating 'e.length')

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13
Node: 8.9.0
Yarn: 1.2.1
npm: 5.5.1
Watchman: 4.7.0
Xcode: Xcode 9.1 Build version 9B37
Android Studio: 3.0 AI-171.4402976
Packages: (wanted => installed)
react: ^16.0.0 => 16.0.0
react-native: ^0.50.2 => 0.50.2
Target Platform: iOS (11.1)
Steps to Reproduce

App with React Native v0.50+ installed
Run debug build (works)
Run release build (crash on app open)

Expected Behavior
Not crash
Actual Behavior
Crash on app open with this error:
RCTFatalException: Unhandled JS Exception: undefined is not an object (evaluating 'e.length')'
Stack points inside the color-converter package.
Current workaround

Downgrade to 0.49.5

Possibly related: #16737, #16743

@petejkim did you manage to fix?

Hi @brunolemos
Still having the same problem I am afraid.
It is quite tricky to track down as the error is not very helpful and it does not happen in debug mode. I thought it was a problem with NativeBase to be honest but if you are not using NativeBase then it points to something else.
Is there a way of us getting more useful crash information I wonder?
Thanks,
Stephen

I don't use NativeBase, but I am having similar problem, it's rly hard to debug

{"offset":{"line":690,"column":0},"map":{"version":3,"sources":["/Users/ovr/projects/interpals/mobile/node_modules/color-string/color-string.js"],"names":["__d","global","require","module","exports","getRgba","string","rgb","a","match","i","length","parseInt","slice","parseFloat","Math","round","colorNames","scale","getHsla","alpha","isNaN","getHwb","rgbaString","rgba","undefined","percentaString","hslaString","hsla","num","min","max","hexDouble","str","toString","toUpperCase","getRgb","getHsl","getAlpha","vals","hexString","rgbString","percentString","hslString","hwbString","hwb","keyword","reverseNames","name"],"mappings":"AAAAA,IAAA,SAAAC,EAAAC,EAAAC,EAAAC,GAsBA,SAASC,EAAQC,GACd,GAAKA,EAAL,CAGA,IAMIC,GAAO,EAAG,EAAG,GACbC,EAAI,EACJC,EAAQH,EAAOG,MARP,uBASZ,GAAIA,EAAO,CACRA,EAAQA,EAAM,GACd,IAASC,EAAI,EAAGA,EAAIH,EAAII,OAAQD,IAC7BH,EAAIG,GAAKE,SAASH,EAAMC,GAAKD,EAAMC,GAAI,SAGxC,GAAID,EAAQH,EAAOG,MAdb,uBAcyB,CACjCA,EAAQA,EAAM,GACd,IAASC,EAAI,EAAGA,EAAIH,EAAII,OAAQD,IAC7BH,EAAIG,GAAKE,SAASH,EAAMI,MAAU,EAAJH,EAAW,EAAJA,EAAQ,GAAI,SAGlD,GAAID,EAAQH,EAAOG,MAnBb,2FAmB0B,CAClC,IAASC,EAAI,EAAGA,EAAIH,EAAII,OAAQD,IAC7BH,EAAIG,GAAKE,SAASH,EAAMC,EAAI,IAE/BF,EAAIM,WAAWL,EAAM,SAEnB,GAAIA,EAAQH,EAAOG,MAxBd,6GAwB0B,CACjC,IAASC,EAAI,EAAGA,EAAIH,EAAII,OAAQD,IAC7BH,EAAIG,GAAKK,KAAKC,MAAiC,KAA3BF,WAAWL,EAAMC,EAAI,KAE5CF,EAAIM,WAAWL,EAAM,SAEnB,GAAIA,EAAQH,EAAOG,MA7BV,SA6B0B,CACrC,GAAgB,eAAZA,EAAM,GACP,OAAQ,EAAG,EAAG,EAAG,GAGpB,KADAF,EAAMU,EAAWR,EAAM,KAEpB,OAIN,IAAK,IAAIC,EAAI,EAAGA,EAAIH,EAAII,OAAQD,IAC7BH,EAAIG,GAAKQ,EAAMX,EAAIG,GAAI,EAAG,KAS7B,OAHGF,EAJEA,GAAU,GAALA,EAIHU,EAAMV,EAAG,EAAG,GAHZ,EAKPD,EAAI,GAAKC,EACFD,GAGV,SAASY,EAAQb,GACd,GAAKA,EAAL,CAGA,IACIG,EAAQH,EAAOG,MADT,4GAEV,GAAIA,EAAO,CACR,IAAIW,EAAQN,WAAWL,EAAM,IAK7B,OAJQS,EAAMN,SAASH,EAAM,IAAK,EAAG,KAC7BS,EAAMJ,WAAWL,EAAM,IAAK,EAAG,KAC/BS,EAAMJ,WAAWL,EAAM,IAAK,EAAG,KAC/BS,EAAMG,MAAMD,GAAS,EAAIA,EAAO,EAAG,MAKjD,SAASE,EAAOhB,GACb,GAAKA,EAAL,CAGA,IACIG,EAAQH,EAAOG,MADT,0GAEV,GAAIA,EAAO,CACV,IAAIW,EAAQN,WAAWL,EAAM,IAK3B,OAJQS,EAAMN,SAASH,EAAM,IAAK,EAAG,KAC7BS,EAAMJ,WAAWL,EAAM,IAAK,EAAG,KAC/BS,EAAMJ,WAAWL,EAAM,IAAK,EAAG,KAC/BS,EAAMG,MAAMD,GAAS,EAAIA,EAAO,EAAG,MAyCjD,SAASG,EAAWC,EAAMJ,GAIvB,YAHcK,IAAVL,IACDA,OAAqBK,IAAZD,EAAK,GAAmBA,EAAK,GAAK,GAEvC,QAAUA,EAAK,GAAK,KAAOA,EAAK,GAAK,KAAOA,EAAK,GAC9C,KAAOJ,EAAQ,IAc5B,SAASM,EAAeF,EAAMJ,GAI3B,MAAO,QAHCL,KAAKC,MAAMQ,EAAK,GAAG,IAAM,KAGZ,MAFbT,KAAKC,MAAMQ,EAAK,GAAG,IAAM,KAEA,MADzBT,KAAKC,MAAMQ,EAAK,GAAG,IAAM,KACY,OAASJ,GAASI,EAAK,IAAM,GAAK,IAUlF,SAASG,EAAWC,EAAMR,GAIvB,YAHcK,IAAVL,IACDA,OAAqBK,IAAZG,EAAK,GAAmBA,EAAK,GAAK,GAEvC,QAAUA,EAAK,GAAK,KAAOA,EAAK,GAAK,MAAQA,EAAK,GAAK,MACpDR,EAAQ,IAkBrB,SAASF,EAAMW,EAAKC,EAAKC,GACtB,OAAOhB,KAAKe,IAAIf,KAAKgB,IAAID,EAAKD,GAAME,GAGvC,SAASC,EAAUH,GACjB,IAAII,EAAMJ,EAAIK,SAAS,IAAIC,cAC3B,OAAQF,EAAItB,OAAS,EAAK,IAAMsB,EAAMA,EAnNxC,IAAIhB,EAAaf,EAAQ,KAEzBC,EAAOC,SACJC,QAASA,EACTc,QAASA,EACTiB,OA4GH,SAAgB9B,GACb,IAAIkB,EAAOnB,EAAQC,GACnB,OAAOkB,GAAQA,EAAKX,MAAM,EAAG,IA7G7BwB,OAgHH,SAAgB/B,GACd,IAAIsB,EAAOT,EAAQb,GACnB,OAAOsB,GAAQA,EAAKf,MAAM,EAAG,IAjH5BS,OAAQA,EACRgB,SAmHH,SAAkBhC,GACf,IAAIiC,EAAOlC,EAAQC,GACnB,OAAIiC,EACMA,EAAK,IAENA,EAAOpB,EAAQb,IACdiC,EAAK,IAENA,EAAOjB,EAAOhB,IACbiC,EAAK,QADV,GAzHLC,UA+HH,SAAmBjC,GAChB,MAAO,IAAMyB,EAAUzB,EAAI,IAAMyB,EAAUzB,EAAI,IAClCyB,EAAUzB,EAAI,KAhI3BkC,UAmIH,SAAmBjB,EAAMJ,GACtB,OAAIA,EAAQ,GAAMI,EAAK,IAAMA,EAAK,GAAK,EAC7BD,EAAWC,EAAMJ,GAEpB,OAASI,EAAK,GAAK,KAAOA,EAAK,GAAK,KAAOA,EAAK,GAAK,KAtI5DD,WAAYA,EACZmB,cAgJH,SAAuBlB,EAAMJ,GAC1B,OAAIA,EAAQ,GAAMI,EAAK,IAAMA,EAAK,GAAK,EAC7BE,EAAeF,EAAMJ,GAMxB,OAJCL,KAAKC,MAAMQ,EAAK,GAAG,IAAM,KAIb,MAHZT,KAAKC,MAAMQ,EAAK,GAAG,IAAM,KAGD,MAFxBT,KAAKC,MAAMQ,EAAK,GAAG,IAAM,KAEW,MAvJ5CE,eAAgBA,EAChBiB,UAgKH,SAAmBf,EAAMR,GACtB,OAAIA,EAAQ,GAAMQ,EAAK,IAAMA,EAAK,GAAK,EAC7BD,EAAWC,EAAMR,GAEpB,OAASQ,EAAK,GAAK,KAAOA,EAAK,GAAK,MAAQA,EAAK,GAAK,MAnK7DD,WAAYA,EACZiB,UA+KH,SAAmBC,EAAKzB,GAIrB,YAHcK,IAAVL,IACDA,OAAoBK,IAAXoB,EAAI,GAAmBA,EAAI,GAAK,GAErC,OAASA,EAAI,GAAK,KAAOA,EAAI,GAAK,MAAQA,EAAI,GAAK,UACrCpB,IAAVL,GAAiC,IAAVA,EAAc,KAAOA,EAAQ,IAAM,KAnLrE0B,QAsLH,SAAiBvC,GACf,OAAOwC,EAAaxC,EAAIM,MAAM,EAAG,MAenC,IAAIkC,KACJ,IAAK,IAAIC,KAAQ/B,EACd8B,EAAa9B,EAAW+B,IAASA"}}

+1

Same here! 0.50.2

Looks like someone might have solved the issue : https://github.com/GeekyAnts/NativeBase/issues/1348#issuecomment-342757700

@stephenheron it didn't help me. Still getting:
Unhandled JS Exception: undefined is not an object (evaluating 'e.length')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'e.length'), stack:
<unknown>@982:132
<unknown>@982:196
exports@982:395
<unknown>@979:218
<unknown>@979:72
t@2:620
<unknown>@977:39
t@2:620
<unknown>@976:285
t@2:620
<unknown>@975:287
t@2:620
<unknown>@974:446
t@2:620
<unknown>@968:293
t@2:620
<unknown>@967:126
t@2:620
<unknown>@966:265
t@2:620
<unknown>@965:178
t@2:620
<unknown>@964:144
t@2:620
<unknown>@963:194
t@2:620
<unknown>@962:213
t@2:620
<unknown>@960:233
t@2:620
<unknown>@930:278
t@2:620
<unknown>@910:118
t@2:620
<unknown>@844:135
t@2:620
<unknown>@843:99
t@2:620
<unknown>@648:187
t@2:620
<unknown>@356:132
t@2:620
<unknown>@12:44
t@2:620
<unknown>@2:154

+1

@dotansimha what specifically did you change in the minify.js file to get it working?

I did some digging around.. I modified the minify.js file from
`function minify(inputCode, inputMap) {
const result = uglify.minify(inputCode, {
mangle: false,//{ toplevel: true },
compress:false,
output: {
  ascii_only: true,
  quote_style: 3,
  wrap_iife: true },

sourceMap: {
  content: inputMap,
  includeSources: false },

toplevel: true });

if (result.error) {
throw result.error;
}
return {
code: result.code,
map: result.map };
}
`
to
`function minify(inputCode, inputMap) {
const result = uglify.minify(inputCode, {
mangle: false,//{ toplevel: true },
compress:false,
output: {
  ascii_only: true,
  quote_style: 3,
  wrap_iife: true },

sourceMap: {
  content: inputMap,
  includeSources: false },

toplevel: true });

if (result.error) {
throw result.error;
}
return {
code: result.code,
map: result.map };
}
`

@PvanHengel I just changed the code to return the original inputCode. Just wanted to verify that the issue is with the minification and not something else...

I was able to fix the problem by resolving the color-conver package to use the pull request here:
just changed my package.json to include:
"resolutions": {     "color-convert": "github:zbarbuto/color-convert"   }

@PvanHengel solution worked, but of course is just a workaround... any idea how to fix this issue permanently?

@prjmax see @andrew-wagner89 above that seems to be the root cause.

Same issue.
MacOS 10.12.6
package.json:
 "dependencies": {
...
    "react": "^16.0.0",
    "react-native": "0.50.3",
...
"resolutions": {
    "metro-bundler": "0.20.2",
    "color-convert": "github:zbarbuto/color-convert"
  }

My steps:
- watchman watch-del-all
- rm -rf node_modules/
- npm cache clean --force
- npm install
- react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
- npm start --reset-cache

Launch Android Studio 3. Clean, Rebuild, Generated Signed APK (debugkeystore)
Install apk to device.
Launch from device.
Logcat:
E/ReactNativeJS: undefined is not an object (evaluating 'e.length')

The root cause is a bug in uglify-js: https://github.com/mishoo/UglifyJS2/issues/2449
Fixed in this pull request: https://github.com/mishoo/UglifyJS2/pull/2458
You can wait for a react-native upgrade or resolve uglify-js from the pull request (temporarily) in your package.json:
"resolutions": {
  "uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"
},

@askielboe Thank you, but not working for me.
I added to resolution section:
"resolutions": {
    "moment": "2.19.1",
    "metro-bundler": "0.20.2",
    "color-convert": "github:zbarbuto/color-convert",
    "uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"
  }

and performed all updates.
But still receiving:
E/ReactNativeJS: undefined is not an object (evaluating 'e.length')

Have you checked that the packages are actually resolved correctly? I'm using yarninstead of npm. Not sure if that makes a difference..
https://docs.npmjs.com/files/package.json#github-urls

I can confirm that the fix of @askielboe works.
@mobdim have you tried the following:

Clear watchman watches: watchman watch-del-all.
Delete the node_modules folder: rm -rf node_modules && npm install.
Reset Metro Bundler cache: rm -fr $TMPDIR/react-* or npm start -- --reset-cache.

For me, the following works (0.50.3):
  "resolutions": {
    "metro-bundler": "0.20.2",
    "color-convert": "github:zbarbuto/color-convert",
    "uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"
  },

Using latest Yarn.
Also, make sure to run:
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf node_modules/
yarn cache clean
yarn install

(and reinstall Pods if you are using it).

Oh yeah forgot to mention that yesterday I tried with npm and it didn’t work I think you must use yarn

On Nov 9, 2017, at 8:22 AM, Andreas Skielboe<EMAIL_ADDRESS>wrote:
Have you checked that the packages are actually resolved correctly? I'm using yarninstead of npm. Not sure if that makes a difference..
https://docs.npmjs.com/files/package.json#github-urls
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@askielboe, @masterpetit Thanks, I tried:
package.json:
...
    "react": "^16.0.0",
    "react-native": "0.50.3",
...
"resolutions": {
    "moment": "2.19.1",
    "metro-bundler": "0.20.2",
    "color-convert": "github:zbarbuto/color-convert",
    "uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"
  }

My steps:
- watchman watch-del-all
- rm -rf $TMPDIR/react-*
- rm -rf node_modules/
- npm cache clean --force
- yarn cache clean
- yarn install
- npm start --reset-cache

Then I run Android Studio 3, rebuild and generate release apk with debugkeystore. (Maybe something here wrong?)
Install and launch on device.
And I still receiving E/ReactNativeJS: undefined is not an object (evaluating 'e.length')

@dotansimha Thank you.
I using yarn 1.3.2 and perform spells. ))
But not working on device (android, release signed debugkeystore).
Online bundle working, but offline has error.

@mobdim my resolutions looks like this:
"resolutions": {"uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"}
Maybe also remove your yarn and npm lock files.

FYI the pull request for color convert has been merged and released as v1.9.1, so color convert resolutions can now be
"resolutions": { ...     "color-convert": "1.9.1", ...   }
see here

@masterpetit
Yes, I set resolutions only
"resolutions": {
    "uglify-js": "github:alexlamsl/UglifyJS2#issue-2449"
  }

and added steps
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm -rf node_modules/
rm yarn.lock
rm android/app/src/main/assets/index.android.bundle
rm android/app/src/main/assets/index.android.bundle.meta
npm cache clean --force
yarn cache clean
yarn install
npm start --reset-cache

but not working...
I will create empty project and try to run it.

I've come across the same issue with release 0.50.2
What I have discovered is that navigator is undefined in release build. But it is available in debug build of the app.
We use navigator to check if we are in ReactNative or in the browser, in the following manner.
In 0.49.5, we get reactNative=true when running on Android, but in 0.50.2 we get false. Again, only in the release build.
const reactNative =
  typeof navigator === 'object' && navigator.product === 'ReactNative';

For those of you using npm (like myself), as a hack workaround until uglify-es npm package is re-published, run this from the root of your project: cd node_modules/metro-bundler/ ; rm -fr node_modules/uglify-es ; npm i https://github.com/mishoo/UglifyJS2.git ; mv node_modules/uglify-js node_modules/uglify-es ; cd ../..

@th317erd i think this would be lost on every npm install

You can also change the metro-bundler options in ./node_modules/metro-bundler/src/JSTransformer/worker/minify.js and add
compress: {
  reduce_vars: false
}

See documentation here: https://www.npmjs.com/package/uglify-es
Note: This change will likely be reverted on npm i

@andrew-wagner89 Simply updating color-convert is NOT A GOOD IDEA. This bug WILL silently break other things as well. Your best bet it to apply one of the other work-arounds mentioned

My solution:
"react-native": "0.50.3",
"react": "^16.0.0",

remove resolutions from package.json
and build steps:
watchman watch-del-all
rm -rf $TMPDIR/react-*
rm yarn.lock
rm android/app/src/main/assets/index.android.bundle
rm android/app/src/main/assets/index.android.bundle.meta
yarn cache clean
yarn install
mkdir -p android/app/src/main/assets/
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/
cd android
./gradlew clean
./gradlew assembleDebug
cd ..

Everything ok!

@mobdim how about when you use assembleRelease instead of assembleDebug?

this one https://github.com/facebook/react-native/issues/16745#issuecomment-343443988 fixed for me

remove all the cache

TO ANYONE WHO FINDS THEMSELVES HERE: This issue has been resolved with a recent publish to uglify-es npm package. There is no longer a need for any of these hacky workarounds. Simply remove the node_modules/metro-bundler module and npm i, or wipe all your node_modules and npm i (the later is heavier on bandwidth).

@th317erd You're totally right, thanks for the information

Hi,
I think a have a same issue with @brunolemos when I upgrade my project from react-native 0.45 to 0.50.3, but my error is a bit difference
 Unhandled JS Exception: undefined is not an object (evaluating 'p.View.propTypes.style')', reason: 'Unhandled JS Exception: undefined is not an object (evaluating 'p.View.prop..., stack:
<unknown>@2285:2191
i@2:563
<unknown>@2284:203
i@2:563
<unknown>@2207:402
i@2:563
<unknown>@2201:197
i@2:563
<unknown>@2200:124
i@2:563
<unknown>@1274:1117
i@2:563
<unknown>@301:389
i@2:563
<unknown>@12:38
i@2:563
n@2:267
global code@2833:9
'

I tried to install the latest metro-bundler like @th317erd said, but can't fix it.
PS: debug mode everything is perfect :(

@thphu Your issue is similar to https://github.com/facebook/react-native/issues/16567
View.propTypes have been deprecated. but some code or dependent package is still using View.propTypes in your project.
check it: https://github.com/facebook/react-native/issues/16567#issuecomment-340041357

@brunolemos No, I still use assembleDebug. Because my project is still under development. assembleRelease not working and don't know what to do.

this comment  works for me , tnx @mobdim

In my case, View.propTypes.style causes crash.
I run the app in release mode with react-native run-ios --configuration Release for debug it easily and see the report in Crashlytics. Then I see the error and solve it.

we have similar issues keep coming up #17348

Upgraded react-native to 0.52.2 and this is no longer an issue.

@brunolemos

Upgraded react-native to the latest version and this is no longer an issue.

So, what version of React and React Native do you use now?

@mosleim
Are you able to fix the crash? If you are, how?

When I tried @mobdim 's solution it got rid of the error undefined is not an object but caused another issue where the release bundle doesn't include assets anymore. Has anyone else seen this?


problem with counter-reset in nested lists (Firefox only)

Firefox has a problem with the numbering of nested ordered lists.
With the reset, the property "counter-reset" in Firefox is not set, so Firefox counts every list item continuously. All other browsers are using the standard: ol {counter-reset: list-item}, but for Firefox this must be explicitly set.
MWE:
list.txt

Oh! There's a report here already!
I encountered this as well.
In any case, I filed a bug report over at Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=1881517
Hopefully they'll add counter-reset: list-item in their UA stylesheet.

Update.
It's not a Firefox bug per se, Firefox does have counter-reset: list-item in its UA stylesheet. The problem, as they explained, is that the other browsers are not implementing lists as per the CSS spec.
To quote Emilio Cobos Álvarez (https://bugzilla.mozilla.org/show_bug.cgi?id=1881517#c4):

Yeah, this is not really a regression from that change, and this is really invalid. Firefox implements CSS lists using CSS counters as per spec, so you're really resetting https://searchfox.org/mozilla-central/rev/a8cc31504a2379bcf8ba395d2da7bb632b5521d6/layout/style/res/html.css#570.
The issue is that other browsers don't implement html lists using CSS.

The best solution then if using the all property is to also set:
ol { counter-reset: list-item; }

Since the all property reset the counter-reset property.


Need pretrained model for SA-1B

Hi, it seems that the checkpoints provided are trained on LVIS and COCO ,and it works teerrible on zero-shot jobs.
Can you provide model trained on SA-1B? THX

The released checkpoints were trained on SA-1B. COCO and LVIS were not used during training.


Mangopay\Money $Amount doc-block reference of @var Long can not be found.

\Mangopay\Money variable $Amount has reference to unknown type @var Long. This leads to static analysis problems.
    /**
     * The currency amount of money
     * @var Long
     */
    public $Amount;

Hello @wRLSS!
A PR is submitted to solve this and will be merged ASAP.
Thanks for bringing this to our attention!

Hello @wRLSS (and thanks @paulhristea for your PR),
This enhancement has been merged and will be released this week !


Parent expressionProperties."templateOptions.disabled" overwrites child expressionProperties

Description
When a parent field has expressionProperties["templateOptions.disabled"] configured and returning true, all children expressionProperties are set to true
This is an issue because we lose all values set by the expressions properties in the children components.
Minimal Reproduction
https://stackblitz.com/edit/angular-dekyhl?file=src/app/app.component.ts
Your Environment

Angular version: 7.2
Formly version: 5.5.13

Source code
https://github.com/ngx-formly/ngx-formly/blob/27ef27c828ed17911192a2277313e4a588686a84/src/core/src/lib/extensions/field-expression/field-expression.ts#L41-L45

https://github.com/ngx-formly/ngx-formly/blob/27ef27c828ed17911192a2277313e4a588686a84/src/core/src/lib/extensions/field-expression/field-expression.ts#L98-L107

This issue has been fixed and released as part of v5.5.14 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


Download fails to complete when exception is encountered

Describe the bug
When an exception is occurs while downloading a resource, the com.google.android.fhir.sync.download.DownloaderImpl attempts to emit a com.google.android.fhir.sync.DownloadState.Failure failure in the catch block which results to a FATAL_EXCEPTION.
Component
Core library
To Reproduce
Steps to reproduce the behavior:

Attempt downloading a resource that has an exception. (Example in our use case was an Encounter resource missing a coding.code)

Expected behavior
In case of a Resource sync failure com.google.android.fhir.sync.DownloadState.Failure should be emitted with the parameter ResourceSyncException wrapping the sync exception without violating the flow exception transparency.
Error logs
FATAL EXCEPTION: main
                                                                                Process: org.smartregister.fhircore.ecbis, PID: 10487
                                                                                java.lang.IllegalStateException: Flow exception transparency is violated:
                                                                                Previous 'emit' call has thrown exception java.lang.NullPointerException: coding.code must not be null, but then emission attempt of value 'Failure(syncError=ResourceSyncException(resourceType=Encounter, exception=java.lang.NullPointerException: coding.code must not be null))' has been detected.
                                                                                Emissions from 'catch' blocks are prohibited in order to avoid unspecified behaviour, 'Flow.catch' operator can be used instead.
                                                                                For a more detailed explanation, please refer to Flow documentation.
                                                                                at kotlinx.coroutines.flow.internal.SafeCollector.exceptionTransparencyViolated(SafeCollector.kt:140)
                                                                                at kotlinx.coroutines.flow.internal.SafeCollector.checkContext(SafeCollector.kt:104)
                                                                                at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:83)
                                                                                at kotlinx.coroutines.flow.internal.SafeCollector.emit(SafeCollector.kt:66)
                                                                                at com.google.android.fhir.sync.download.DownloaderImpl$download$2.invokeSuspend(DownloaderImpl.kt:56)
                                                                                at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:48)
                                                                                at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                at kotlinx.coroutines.flow.internal.SafeCollector.invokeSuspend(SafeCollector.kt:48)
                                                                                at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
                                                                                at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
                                                                                at android.os.Handler.handleCallback(Handler.java:938)
                                                                                at android.os.Handler.dispatchMessage(Handler.java:99)
                                                                                at android.os.Looper.loop(Looper.java:223)
                                                                                at android.app.ActivityThread.main(ActivityThread.java:7656)
                                                                                at java.lang.reflect.Method.invoke(Native Method)
                                                                                at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
                                                                                at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
                                                                                Suppressed: kotlinx.coroutines.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@1662c1a, Dispatchers.Main.immediate]

Libraries used:
org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.2
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.2

This exception when you run SyncJob#run method in a try-catch block. Also happens when you use the catch operator on each emitted flow state.
  coroutineScope {
      syncStateFlow
        .onEach {
            //handle sync state
        }
        .catch { throwable -> Timber.e(throwable) }
        .launchIn(this)
}

@ellykits @maimoonak  @f-odhiambo I created a new PR to use the flow catch feature to handle invalid resources, and added unit tests. Please see PR #1917 .  From my experimentation, this should catch errors thrown after resources have been successfully downloaded, but cannot be synced into the db

@aditya-07 is working on a design right now.


x86_32 support

Hello,
Please forgive me if this isn't your preferred method of communication for such issues. If you feel this should be posted elsewhere, I'd be happy to oblige.
I am writing on behalf of the Fedora x86 SIG, which is currently under formation. Our goal is to keep Fedora running on the i686 platform and if there is enough interest, we might produce an i686 spin. As we are examining our options for a specific deliverable that we want to see maintained, the “tiny server” target seems the most sustainable one, but we haven't ruled out desktops yet.
What I would like to hear from you is if your road map for the foreseeable future includes some change that might make it impractical to run Lumina on i686 machines, or if you intend to drop support for the architecture altogether. We haven't decided on the minimum specs we are willing to support/test, but for now PAE support seems out and we are still trying to figure out if we want to include non-SSE2 CPUs. In any case, we are talking about systems with limited resources, so it would be desirable e.g. to keep RAM use of the desktop below 512MB.
Best regards
Alexander Ploumistos

Hi Alexander,
I believe Lumina is essentially agnostic when it comes to platform hardware - there are no plans to drop support for an i686 platform. Lumina is still intended to be very system resource conscious and this will likely be even more true when Lumina 2.0 is released.
That being said, if you decide to incorporate or use Lumina with your project, we're very open to integrating upstream any specific features or troubleshooting your team may add. Just submit a pull request and we'll review and merge it as soon as possible. :)

Thank you very much Tim, that is good to know.
All the best

No problem! Best of luck to your new project.


ADD : Chudnovsky algorithm

🛠 Issue (Number)

Issue no #922
👨💻 Changes proposed

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots
Python output:

Cpp output:

C output:

Java output:

@Arun9739 I have added the screenshots of  output of all the languages.

@Kumar-laxmi This PR is ready to be merged.


Authentication needed... but definitely passed

So, this is the snippet I'm using;

\TwitchApi::setToken($user->channel->token);
		$update = \TwitchApi::updateChannel($user->channel->display_name, [
			'title' => $request->title,
		], $user->channel->token);

My token is definitely set, and as you can see I also try to force it with setToken... but had no luck.
Regardless I receive
"RequestRequiresAuthenticationException in Api.php line 111:
Request requires authentication"

I can confirm I'm having the same issues. Looking into it now.

Issue appears on this line.
public function __construct($clientId = null, $token = null)
should be
public function __construct($token = null, $clientId = null)
I'll check if this breaks anything before updating. In the meantime, you can change this manually in /vendor/zarlach/laravel-twitch-api/src/API/Api.php.
There also seems to be an issue handling $options (parameters such as 'status', 'game', etc when updating a channel) in Api.php, I'll look into this.

I've locally fixed the $options issue. I'll check if this breaks anything else tomorrow. In the meantime, this is how you fix it:
Replace this foreach loop  with this
foreach ($options as $name => $option) {
    foreach ($option as $key => $value) {
        $url .= (parse_url($url, PHP_URL_QUERY) ? '&' : '?').$name.'['.$key.']='.$value;
    }
}

Replace these variables with this
$availableOptions = ['channel' => ['status', 'game', 'delay']];
$options = ['channel' => $options];

To update channel
TwitchApi::setToken($someToken);
TwitchApi::updateChannel('zarlach', ['status' => 'Awesome title', 'game' => 'League of Legends']);

Thanks for the swift response, I'll try this in a couple of hours :)

The fix above does break other functions, including authentication, however, it's all fixed in 1.3.3!
If you've already made changes to some files locally and the update fails (like it did to me), make sure to close any open laravel-twitch-api files, then composer update.

The fix above does break other functions, including authentication, however, it's all fixed in 1.3.3!
If you've already made changes to some files locally and the update fails (like it did to me), make sure to close any open laravel-twitch-api files, then composer update.

Thats awesome thank you. I just tested and it works fine :)
One more issue I forgot about, the cursor is missing from the availibleOptions in channelFollows()

$availableOptions isn't used anymore. Anything you put in $options is sent to Twitch.
Make sure you're using TwitchApi::followers($name) and not TwitchApi::channelFollows(). There are some function name inconsistencies.
TwitchApi::followers('zarlach', ['cursor' => '1458786849892131000']); works just fine for me.
If you're still having problems updating, try completely reinstalling laravel-twitch-api with composer.
composer remove zarlach/laravel-twitch-api --no-scripts

composer require zarlach/laravel-twitch-api --no-scripts


Adding the ability to nest animations within slots on a parent animation

Wiki for this feature: https://github.com/mauville-technologies/godot_dragonbones/wiki/Feature:-Nested-Dragonbones-Projects
Very likely going to go into a 3.2.52 release (2 releases from now) -- as this has a ripple effect and I want to design it right;
this PR proves the concept though
New function signatures:
sprite.nest_armature_in_slot(project_name, slot_name, _ske_resource)

In this GIF, the hat is a separate Hat dragonbones project and nested within a hat slot on the Player project
Define your child animations in editor:

onready var sprite = $Sprite

# Called when the node enters the scene tree for the first time.
func _ready():

    sprite.display_child_animation_on_slot("OtherHat", "hat")

the beginnings of animation blending and mixing? :)

Yeah. We discovered that setting child armatures in the slots is possible within the DragonBones API -- but not by the DragonBones Pro editor itself.
Doing it this way will allow you to keep all your animations independent of each other. (Good for things like objects, guns, etc); getting around the 4000px X 4000 px limit on the texture atlas sizes generated in DragonBones Pro.
It looks completely do-able; but there are errors on destroying an object with nested armatures.
I estimate that this will take me at least a few weeks to iron out the kinks and generate enough assets to prove it out to my liking.
It's become the headline feature of 3.2.52 =)
https://www.godotdragonbones.com/feature-roadmap

Closing this as the lovely folks over in the Discord helped me get the native Dragonbones child armatures working, see this PR:
https://github.com/mauville-technologies/godot_dragonbones/pull/17


Startup code doesn't get re-run when restarting Jupyter kernel

Startup code doesn't get re-run when restarting Jupyter kernel.
(Hydrogen version 2.5.0. Windows 7)

Hydrogen 2.6.0 Windows 7. Startup code still doesn't get re-run after kernel restart.
@BenRussert @lgeiger

It works for me when restarting the Python kernel.
When I set my Startup Code setting to:
{"Python 3": "a = 1\n%matplotlib inline\n%config InlineBackend.figure_format='svg'"}

and I run a, I see 1.

But it doesn't work for me. When I "Shutdown Kernel" then start it again - startup code runs. But when I "Restart Kernel" - it doesn't run. I've just tested on (Hydrogen version 2.6.0. Windows 7 x64).

May be relevant: I have a custom named kernel: "research".

I've just tested on (Hydrogen version 2.6.0. Windows 7 x64).

I was just putting together some release notes and realized we haven't shipped this fix yet. I will ship 2.7 tonight! Sorry for the confusion!