Pi build failing due to missing bootloader package

Seems like for some reason the Pi image build is failing in the mkimg.arm.sh script.
podman run --arch=arm64 --rm -it -v "/var/home/user/git/pinewall/images:/tmp/images:Z" --tmpfs "/tmp/cache" --env PROFILENAME=pinewall_rpi --env TARGETARCH=aarch64 localhost/pinewall-rpi ./imagebuild.sh
OK: 0 MiB in 0 packages
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz
v3.15.0-226-g0aa9a217b1 [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
OK: 4820 distinct packages available
>>> mkimage-aarch64: Building pinewall_rpi
>>> mkimage-aarch64: --> rpi_config 00f7d6efeac72ab6a7b7041c034980957ffa8192
>>> mkimage-aarch64: --> rpi_blobs
gzip: invalid magic
/usr/bin/tar: Child returned status 1
/usr/bin/tar: Error is not recoverable: exiting now
make: *** [Makefile:22: rpi] Error 1

The bit that seems to be failing is the build_rpi_blobs() function:
https://github.com/alpinelinux/aports/blob/f6a6a3540e70accbbeec4c4d6788f56684bb8d48/scripts/mkimg.arm.sh#L1-L5
I think the tar section of that command is failing, with the "gzip: invalid magic" error because it's not being passed anything by the apk pipe (because the raspberrypi-bootloader-common package only seems to exist in the edge branch of Alpine and not in 3.15).

Edge: https://pkgs.alpinelinux.org/packages?name=raspberrypi-bootloader-common&branch=edge
3.15: https://pkgs.alpinelinux.org/packages?name=raspberrypi-bootloader-common&branch=v3.15

Did you need to do anything special to get the Pi image building past this point, @andybroger? I wonder if this is maybe a recent error upstream in Alpine.
The Pi build script definitely worked last time I committed anything to do with Pi support, but I think that might have been before I updated from 3.14 to 3.15, so quite a few months ago.

Ah, it looks like that whole structure in mkimg.arm.sh arrived in a fairly recent commit on 18th Jan, and that previously the only package that was depended upon was the raspberrypi-bootloader package, which does exist in 3.15 and lower:
https://git.alpinelinux.org/aports/commit/?id=9a782440682903971ea57c457135531d26c6d7ab

Issue filed upstream since I think I've worked this one out: https://gitlab.alpinelinux.org/alpine/aports/-/issues/13464

Sorry, didn't had any time to work an this project. Got a new opportunity so I think, i will step back for 2 months to focus on that project. Yea, but I think just cloning the 3.15-stable branch from the aport repo, will do the trick.
Anyway, when we dont build from edge, we should stick to the official version numbers.
Hope this works.
KR Andy

Sorry, didn't had any time to work an this project. Got a new opportunity so I think, i will step back for 2 months to focus on that project. Yea, but I think just cloning the 3.15-stable branch from the aport repo, will do the trick. Anyway, when we dont build from edge, we should stick to the official version numbers.
Hope this works.
KR Andy

I think I managed to work that out just at the same time as you commented - so thanks! :laughing:
Yeah I noticed that Dockerfile-image just checks out the default branch of aports instead of the specific 3.15 branch.
For what it's worth, your fork still has the default behaviour there so you'll probably hit the same issue when you return to the project:
https://github.com/andybroger/pinewall/blob/f142b16ae6ab970b680225180d743b14570c9b4b/Dockerfile_image#L51
My fix that makes use of the ENV vars that already get set in the Dockerfile:
RUN git clone --branch "$ALPINEVER-stable" https://gitlab.alpinelinux.org/alpine/aports.git


fix: CGD-468: Application starts with corrupted data in case of invalid AES key

Fix:
The application starts with corrupted data in case of an invalid AES key.
The reason is @Transactional is not working  with @PostConstruct annotation.  We need to handle rollback manually.

@SebastianBezold
Rebase is done, you can merge now


Fix metrics setup

Codecov Report

Merging #13304 (d07efa5) into master (c668ae8) will decrease coverage by 13.03%.
The diff coverage is 9.09%.

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

alluxio-bot, merge this please


[drogon] fix: patch drogon redis link

drogon's source root CMakeLists.txt is now patched to link to hiredis::hiredis provided by vcpkg hiredis port. previosly it was linking against hiredis_lib target.
when using vcpkg manifest mode it used to link drogon.dll target to hiredis.dll while on debug build, hiredisd.dll is only available. this patch resolves this problem.
Fixes #32584

[x] Changes comply with the maintainer guide
[ ] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

@microsoft-github-policy-service agree

Thanks for the fix! Sorry I missed the dependency down in the feature list!


Update Composer dependencies (2024-06-25-00-10)

Visual regression test passed!
View the visual regression test report


Error kmapper.plotly

I am running following code
import kmapper as km
from kmapper.plotlyviz import plotlyviz
from kmapper.plotlyviz import *
import plotly.graphₒbjs as go
import ipywidgets as ipw
giving error

NameError                                 Traceback (most recent call last)
 in ()
1 color_function = projected_data[:, 1]-projected_data[:, 1].min()
----> 2 plotlyviz(scomplex,
3           title='Mapper graph of digits dataset',
4           color_function=color_function,
5           color_functionₙame='Distance to y-min',
NameError: name 'plotlyviz' is not defined

@mlnjsh  Have you installed the last kmapper version?  Here is the function plotlyviz: https://github.com/MLWave/kepler-mapper/blob/master/kmapper/plotlyviz.py#L57.


⚠ Bofrost.at has degraded performance

In 77c952f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2101 ms

Resolved: Bofrost.at performance has improved in f84d70d after 304 days, 20 hours, 33 minutes.


[Kubernetes Deployment] Couldn't send events to siddhi app using minikube IP

Description:
I tried the guide in https://siddhi-io.github.io/siddhi/documentation/siddhi-5.x/siddhi-as-a-kubernetes-microservice-5.x/ using minikube and deployed the monitor-app successfully.
After adding the host siddhi and minikube IP to the /etc/hosts file, I was able to sent events to monitor-app using a curl as follows.
curl -X POST
https://siddhi/monitor-app/8280/example
-H 'Content-Type: application/json'
-d '{
"type": "monitored",
"deviceID": "001",
"power": 341
}' -k
But when I directly used minikube IP in the CURL, I couldn't send events.
I guess this is because the type of the service is ClusterIP and not NodePort.
Can I get some explanation about this?
Shall we mention clearly in the doc that we can use only siddhi as the host?
Affected Version: 0.1.1

The ingress spec that automatically created by the siddhi-operator, set the host as siddhi.
Therefore it is better to use siddhi host in your request. You can use minikube IP to access the ingress. But when you access using the minikube IP address, ingress does not have an idea that you are trying to access the  siddhi host. Thus ingress redirects your request into the default backend. That is why you couldn't access it using minikube IP.
Internally ingress trying to find out the host that you trying to access using Host header. So if you really need to send that request using minikube or any IP you have to set that Host header in your request as below.
curl -X POST \
  https://<MINIKUBE_IP>:<PORT>/monitor-app/8280/example  \
  -H 'Content-Type: application/json' \
  -H 'Host: siddhi' \
  -d '{
    "type": "monitored",
    "deviceID": "001",
    "power": 341
    }' -k

Note that if you are using HTTP then use PORT as 80 and for HTTPS use 443. For more reference of the behaviour of host resolving in ingress refer following links.


Set up FIRST experiment

Using the pypi version of software, set up experiment with FIRST data, such that I can run it on a cluster of GPUs.

Blocked on #162, which I'll start working on soon!


Adding another column in collections to store raw text

As the title suggests, some other vector databases often have 'id,' 'metadata,' and 'embedding' columns, which Vecs supports here. However, they also support a raw text field (documents in Choma) for storing raw texts. Should it be an optional argument to add a 'text' field to the collection table? Or do you have any advice on how we should handle such a case in PgVector?

There are two options available currently

Use the string as the id
This would work for sentence level embeddings but I wouldn't recommend it for longer strings

Add the string in the metadata field

{"text_body": "..."}

and optionally return it when querying by setting include_metadata=True
https://github.com/supabase/vecs/blob/fb36966278d46c0c34ebbe659b441d47a896005d/src/vecs/collection.py#L454

embeddings aren't specific to text so we've shied away from adding an content specific columns
I'm going to close this issue but please follow up if you have any questions


[main] Upgrade to latest dependencies

GKE fixes in hack -dprotaso
/cc knative/operations-wg-leads
/assign knative/operations-wg-leads
Produced by: knative-extensions/knobots/actions/update-deps

/lgtm
/approve
/test eventing-upgrade-tests


INTLY-2791: adding OPENSHIFT_OAUTH_HOST env var

Motivation
JIRA: https://issues.jboss.org/browse/INTLY-2791
Main motivation is OpenShift 4 support
What
New env var is added to set OpenShift auth URL.
Why
In OpenShift 4 the url is different than master/console url.
How
New env var has been added. When it's not set, webapp will fallback to master url - this should enable backwards compatibility.
Verification Steps
Test backwards compatibility:

Get Integreatly cluster on Openshift 3.11
Swap image tag of tutorial-web-app deployment config for 2.15.0
Once new pod is running, open it's logs
Open tutorial web app route in private window
You should be redirected to login screen, once you log in, you should see a screen that shows service provisioning progress
In the logs you should observe this line: OPENSHIFT_OAUTH_HOST not set, using OPENSHIFT_HOST instead. This is okay on OCP 3.11, but will not work on 4.x, see INTLY-2791.

Verification steps on Openshift 4 will be described in a PR for the operator.
Checklist:

[x] Code has been tested locally by PR requester
[ ] Changes have been successfully verified by another team member

Additional Notes
Full E2E verification is currently blocked by inability to set additional CORS domain in OpenShift 4.1. This PR will be updated once we have more info on this issue.

checking now


low_processor_mode setting description seems outdated

Tested versions
4.3 dev5 and earlier
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>33) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
The description of low_processor_usage_mode in Project Settings says:

This setting only works on desktop platforms.

but then the OS equivalent:

Can improve battery consumption on mobile.

So either the project setting description is wrong (given it's 5 years old, it's rather likely), or if it's correct, it should be clarified that you need to enable it manually on mobile via OS.
Steps to reproduce
https://docs.godotengine.org/en/stable/classes/class_projectsettings.html#class-projectsettings-property-application-run-low-processor-mode
https://docs.godotengine.org/en/stable/classes/class_os.html#class-os-property-low-processor-usage-mode
Minimal reproduction project (MRP)
N/A

Completed in #90785


Missing Objects in LiDAR scans

CARLA version:
9.13
Platform/OS:
Win11
Problem you have experienced:
On Map Town10, the stairs in front of a building are missing in the scans.
The scan actually goes below the building.
Also, the flags on the lamp posts are missing.
I offset the point cloud from the mesh a little for better visibility of the problem.

I marked the missing objects here.

There is probably more missing objects I missed.
What you expected to happen:
For everything to show up in the scans.
Steps to reproduce:
Just let a car drive by with a LiDAR attached.

https://github.com/carla-simulator/carla/issues/5732


Issue when installing from master branch

Hello !
I'm trying to install the package directly from the GitHub repository in order to get the most up-to-date work (mainly this commit) with the following command:
pip install git+https://github.com/cloudera/dbt-hive.git
Unfortunately I'm met with the error

error: can't copy 'dbt/adapters/hive/.env': doesn't exist or not a regular file

It seems to be related to the fact that in setup.py there is data_files=[('', ['dbt/adapters/hive/.env'])],
while this file doesn't exist at the specified location in the master branch.
Would it be possible to add an empty folder at this location to fix this ?
Thank you for your support !

Strange behaviour actually:
when cloning the repository locally, and then installing locally, there is not problem at all
git clone https://github.com/cloudera/dbt-hive.git

pip install -e dbt-hive/

returns Successfully installed dbt-hive-1.3.1

@cylldby you may copy https://github.com/cloudera/dbt-hive/blob/main/.env_example in the above location
and use usage_tracking: false in your dbt profile

Thank you for everything !


[WIP] New zuul job for edpm_frr role

recheck

recheck gateway issues

recheck proxy issues

recheck - tempest failure


[test][MK][e2e] Change the way JobManagedBy feature gate is enabled.

What type of PR is this?
/kind bug

What this PR does / why we need it:
Change the way JobManagedBy feature gate is enabled in the manager's kind config to cover all the versions having their minor >= 30.
Which issue(s) this PR fixes:

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

None

/test all

/assign @mbobrovskyi

/lgtm
Thanks!


Wyze Bridge started crrashing 0.5.26

Describe The Bug:
0.5.24 Bridge started crashing. I had just installed Homebridge for the first time, Just installed this plugin the day before, it was running fine, could GET and SET status of devices. Next day bridge stopped working (error message below).
I have since downgraded to version 0.5.24 and the bridge is running. I can GET status of Wyze devices, but I cannot SET status anymore.
To Reproduce:
not really that kind of error.
Expected behavior:
Bridge not crash, SET status device (where allowed by Wyze parent permissions e.g. allowed to lock doors but not unlock doors with Siri)
Logs:
[5/8/2023, 12:09:25 PM] [Wyze] Launched child bridge with PID 18498
[5/8/2023, 12:09:25 PM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[5/8/2023, 12:09:25 PM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.26 child bridge successfully
[5/8/2023, 12:09:25 PM] Loaded 4 cached accessories from cachedAccessories.0ECAE4E9E45A.
[5/8/2023, 12:09:25 PM] Homebridge v1.6.1 (HAP v0.11.1) (Wyze) is running on port 53516.
/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:384
const prop_key = Object.keys(lockProperties)
^
TypeError: Cannot convert undefined or null to object
at Function.keys ()
at WyzeLock.lockGetProperty (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:384:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[5/8/2023, 12:09:26 PM] [Wyze] Child bridge process ended
[5/8/2023, 12:09:26 PM] [Wyze] Process Ended. Code: 1, Signal: null
[5/8/2023, 12:09:33 PM] [Wyze] Restarting Process...
Plugin Config:
        {
            "name": "Wyze",
            "username": "[email redacted]",
            "password": "[pw redacted]",
            "refreshInterval": 60000,
            "entryExitDelay": 30,
            "showAdvancedOptions": false,
            "excludeMacAddress": false,
            "excludedeviceType": false,
            "platform": "WyzeSmartHome",
            "_bridge": {
                "username": "[coded username redacted]",
                "port": 53516
            }

Screenshots:

Environment:

Plugin Version:
was 0.5.26
now 0.5.24
Homebridge Version: 1.6.1
Node.js Version: 14.12.3
NPM Version: 6.14.18
Operating System: Raspbian

New user of homebridge and this homebridge-wyze-smart-home plugin.
Version 0.5.26.
Same crash bug as @rcbeamer
From the Status page, the Homebridge Logs:
/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422
    const prop_keypad = Object.keys(lockKeypadProperties)
                               ^
TypeError: Cannot convert undefined or null to object
    at Function.keys (<anonymous>)
    at WyzeLock.lockGetProperty (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422:32)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
[6/13/2023, 5:19:51 AM] [Wyze] Child bridge process ended
[6/13/2023, 5:19:51 AM] [Wyze] Process Ended. Code: 1, Signal: null
[6/13/2023, 5:19:58 AM] [Wyze] Restarting Process...
[6/13/2023, 5:20:00 AM] [Wyze] Launched child bridge with PID 4532
[6/13/2023, 5:20:01 AM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[6/13/2023, 5:20:01 AM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.26 child bridge successfully
[6/13/2023, 5:20:01 AM] Loaded 15 cached accessories from cachedAccessories.0E69AE9E1C7C.
[6/13/2023, 5:20:01 AM] Homebridge v1.6.1 (HAP v0.11.1) (Wyze) is running on port 46785.

Does the plugin code assume, because there's a Wyze Lock, there's also the Lock Keypad?  The Lock Keypad's optional!

I have a keypad for each lock, had one all along.On another note. I found homebridge to be extremely unreliable in general and have since stopped using it. I wont be able to assist in troubleshooting this issue. Sent from my iPadOn Jun 13, 2023, at 1:26 AM, Chris Coleman @.***> wrote:
New user of homebridge and this homebridge-wyze-smart-home plugin.
Version 0.5.26.
Same crash bug as @rcbeamer
From the Status page, the Homebridge Logs:
/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422
const prop_keypad = Object.keys(lockKeypadProperties)
^
TypeError: Cannot convert undefined or null to object
at Function.keys ()
at WyzeLock.lockGetProperty (/var/lib/homebridge/node_modules/homebridge-wyze-smart-home/src/accessories/WyzeAccessory.js:422:32)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[6/13/2023, 5:19:51 AM] [Wyze] Child bridge process ended
[6/13/2023, 5:19:51 AM] [Wyze] Process Ended. Code: 1, Signal: null
[6/13/2023, 5:19:58 AM] [Wyze] Restarting Process...
[6/13/2023, 5:20:00 AM] [Wyze] Launched child bridge with PID 4532
[6/13/2023, 5:20:01 AM] Registering platform 'homebridge-wyze-smart-home.WyzeSmartHome'
[6/13/2023, 5:20:01 AM] [Wyze] Loaded homebridge-wyze-smart-home v0.5.26 child bridge successfully
[6/13/2023, 5:20:01 AM] Loaded 15 cached accessories from cachedAccessories.0E69AE9E1C7C.
[6/13/2023, 5:20:01 AM] Homebridge v1.6.1 (HAP v0.11.1) (Wyze) is running on port 46785.
Does the plugin code assume, because there's a Wyze Lock, there's also the Lock Keypad?  The Lock Keypad's optional!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

I found the solution!
The wyze plugin in this exact repo where we are now, has the bug currently.
However, a user has forked this repo, fixed this bug in their fork, and published it in homebridge plugins!
How to get the working version?
Install "Homebridge Wyze Smart Home" by zswuwing
How?

Login to your Homebridge, then click Plugins.
Click on the search bar.
Type homebridge wyze smart home
Hit Enter.
Next to this non-working plugin: homebridge wyze plugin by @jfarmer08 dated 2023-03-24, Click on 🔧 (wrench = Settings).  Click Disable to disable this non-working plugin.
Next to the working plugin: homebridge wyze plugin by [@zswuwing](https://www.npmjs.com/~zswuwing), click Install.
The working plugin should automatically use your Wyze username/password, 2FA code, from the non-working plugin.
To add your Wyze devices to your Home app:
Next to the plugin, click on the 🔧 (wrench).
Click Bridge Settings
Open Home app on your Apple device (iPhone for example).
In your Home app, tap + (add device)
Use your iPhone camera to scan the QR code (block pattern) on the Bridge Settings page.
Follow the prompts in Apple Home app, as it discovers and adds each Wyze device.
All of your Wyze devices will add to your Apple Home app!  Enjoy!


PHP 7.4 features invalidating PHP 7.2 code

By merging #4380 PHP 7.4 functionality seems to have entered the realm of existing rules which are applied to existing projects. If I understand the code changes correctly there should be a check whether the function exists but for some reason that is not respected. I created a small test case to verify this.
We're running on Docker PHP 7.2 environments so nothing too fancy there.
Are we misconfiguring our tools somewhere or should this be fixed on the CS Fixer side?
Cheers,
L
PHP version: 7.2.19
PHP CS Fixer version: PHP CS Fixer 2.15.2 Europe Round by Fabien Potencier and Dariusz Ruminski (c9d30fd)
Command used;
./php-cs-fixer fix --config=.php_cs test.php

Configuration used;
<?php

return PhpCsFixer\Config::create()->setRules([
    'mb_str_functions' => true,
])->setLineEnding("\n")->setRiskyAllowed(true);

Before running PHP CS Fixer (no changes);
<?php

var_dump(function_exists('mb_str_split'));
// bool(false)

str_split('splitting the string');

With unexpected changes applied when running PHP CS Fixer;
<?php

var_dump(function_exists('mb_str_split'));
// bool(false)

mb_str_split('splitting the string');
// Fatal error: Uncaught Error: Call to undefined function mb_str_split() in /src/test.php on line 5

With the changes you expected instead;
<?php

var_dump(function_exists('mb_str_split'));
// bool(false)

str_split('splitting the string');

Might be good to know that we're retrieving it via;
$ curl -L https://cs.symfony.com/download/php-cs-fixer-v2.phar -o php-cs-fixer

Came here to report the same issue. We're running PHP 7.3.6.

looks like we need to revert #4380 , thanks for the report

@keradus It was still scratching my head since the code was very solid which was added. Unfortunately, a dependency used by the project adds a polyfill. This is why for the validator is always seems to exist even though it isn't.
Dependency: symfony/console which requires symfony/polyfill-mbstring
Code which causes the eventual issue;
https://github.com/symfony/polyfill-mbstring/blob/b42a2f66e8f1b15ccf25652c3424265923eb4f17/bootstrap.php#L60-L62
Since symfony/console is used as the base application for PHP CS Fixer I think this has to be discussed internally how you want to proceed with this issue. If you decide on the way to go, I'd love to help out in addressing this problem.

exactly what i just wrote here: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/4380/files#r319718704
for now, i will revert as-is, recreate the original PR and we will continue on discussion how to bring this change. most probably, configuration option for the fixer, i believe.

Closing due to merge of #4533
I will release it today

Great, thanks! Keep us posted of any developments and where we can help out!

Thanks!

If you would be willing to help, best place would be to help with reviews! we have quite a few opened, but not that much capacity to deal with all of them as fast as we would want to!

@LarsGrevelink , released

@keradus Thanks! When do you think the latest version is also fetchable through the Symfony URLs as well? Just now only 2.15.2 was available there.
I will see if I can find some time to start reviewing some code in the upcoming days. 😄

our automated page regeneration triggered by deployment ( ref https://travis-ci.org/FriendsOfPHP/PHP-CS-Fixer/jobs/579168739#L580 ) didn't done the trick.
looks to be related to Travis CI Status : Partial System Outage (ref https://www.traviscistatus.com/ )
page is autogenerated nightly, so it should go back to normal
also, `php php-cs-fixer self-update should do the trick, as it uses GitHub releases
ker@dus:/tmp λ php php-cs-fixer --version
PHP CS Fixer 2.15.2 Europe Round by Fabien Potencier and Dariusz Ruminski (c9d30fd)
ker@dus:/tmp λ php php-cs-fixer self-update
php-cs-fixer updated (v2.15.3)

@LarsGrevelink
our automated page regeneration triggered by deployment ( ref https://travis-ci.org/FriendsOfPHP/PHP-CS-Fixer/jobs/579168739#L580 ) didn't done the trick.
looks to be related to Travis CI Status : Partial System Outage (ref https://www.traviscistatus.com/ )
page is autogenerated nightly, so it should go back to normal
also, `php php-cs-fixer self-update should do the trick, as it uses GitHub releases
ker@dus:/tmp λ php php-cs-fixer --version
PHP CS Fixer 2.15.2 Europe Round by Fabien Potencier and Dariusz Ruminski (c9d30fd)
ker@dus:/tmp λ php php-cs-fixer self-update
php-cs-fixer updated (v2.15.3)


The mirrors library does not understand extensions

The dart:mirrors library has no notion of extensions.
It doesn't expose an extension declaration as a member of the library it's declared in. Instead it exposes the synthetic top-level declarations that the extension is desugared into. Exposing those is definitely wrong.
Example:
library name;
import"dart:mirrors";

extension Foo<T> on T {
  static int foo() => 42;
  T get log {
    print(this);
    return this;
  }
}

main() {
 var library = reflectClass(Hook).owner as LibraryMirror;
 print("Library name: ${library.simpleName}"); // Sanity check, it's the current library.
 print("Library declares Foo: ${library.declarations[#Foo]}"); // No
 print("Library leaks Foo.log: ${library.declarations[#Foo.log]}"); // Yes, it does.
 print("Library leaks Foo.foo: ${library.declarations[#Foo.foo]}"); // Yes, it does.
}
class Hook {}

The mirrors library should either be deprecated or be made compatible with new language features.

At this point we have no plans for enhancing the dart:mirrors library to account for new language features.
Please see https://github.com/dart-lang/sdk/issues/44489 which is investigating a path towards discontinuing support for dart:mirrors


feat: generic <Data> type for onBeforePrerenderStart()

Needed by https://github.com/vikejs/vike-vue/pull/52
@brillout it works :) I have updated the react-full example accordingly, which makes the react-data-fetching example obsolete, by the way. If you like this DX I will:

adapt vue-full in the same way
delete react-data-fetching
document this at https://vike.dev/onBeforePrerenderStart

💯 LGTM. Feel free to merge.

If you want I can add you to https://npmjs.com/package/vike so you can push new versions.

If you want I can add you to https://npmjs.com/package/vike so you can push new versions.

Yes, why not. I won't release any new versions without asking you first, at least for now, because I feel like I don't always know if it's safe to release. But I don't mind doing this one. Thanks!

👍 Done.


fileFormDataName seemingly ignored

On my local machine, when I specify the config option fileFormDataName with a value of logo, I get the following request sent to the server:
------WebKitFormBoundary595YPR0mPFV4GX4r
Content-Disposition: form-data; name="logo"; filename="avatar_2.jpg"
Content-Type: image/jpeg
------WebKitFormBoundary595YPR0mPFV4GX4r--

As you can see, the file name is correctly logo.
However, after deploying the exact same code in another environment, the config option is suddenly ignored, and it reverts back to file:
------WebKitFormBoundaryO2geiLg6gk2TFUst
Content-Disposition: form-data; name="file"; filename="avatar_2.jpg"
Content-Type: image/jpeg
------WebKitFormBoundaryO2geiLg6gk2TFUst--

Any idea what could be happening here? The only difference is that the code is being minified, but it's still passing the correct config option to the uploader:
o.upload({
  url: l.api.baseUrl + "organisation/logo",
  file: n,
  fileFormDataName: "logo"
  }).then(...)

It's been deprecated since version 7.2.0. read the Migration notes at the beginning of the docs.

I find this a really strange update to be honest, having to put both the key and filename in the key of the object.  Why didn't you leave the old parameters in for backwards compatibility? Shouldn't breaking changes be reserved for major versions, or aren't you using semantic versioning?

I agree I should have bumped the major version.
Version 8.0.1 now has those stated in the release notes and with samples
The reason behind it is to simplifying how you specify the files and keys. It makes it more intuitive to specify them as key value inside data. Also added Upload.rename(file, newName) function to avoid using the key,filename split syntax. Also keeping the old functionality will make the code that deals with adding them to the form data more complicated and migrating to using data should be very easy and make the code simpler/shorter.

Alright, thanks for the clarification. I will check out Upload.rename.


[iotex-balance] add support for iotx testnet

@bonustrack @ChaituVR please check it. thanks.

Looks good to me @bonustrack

@ChaituVR @bonustrack please review, thanks

@ChaituVR @bonustrack please check again, thanks

@maswalker Can you also add an image here for the new network: https://github.com/snapshot-labs/snapshot.js/tree/master/src/networks ?

image added. thanks.
@bonustrack @ChaituVR


[Feature] Start here! pages

Include a section on where to start.
Include:

how do i play ctf
types of ctf
where to find CTF
benefits of a VM or native terminal
download links for python, wsl, wireshark whatever
toolkit stuff

I think download links and relevant resources for tools/software already exists under docs/faq/recommended-software.md

Closed in #18


Fix Find Rating to handle Special Characters

Fixed find rating to be able to handle special characters like "+".

Codecov Report

Merging #263 (21ef812) into master (636bf2e) will increase coverage by 0.02%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #263      +/-   ##
============================================
+ Coverage     49.18%   49.21%   +0.02%
  Complexity      390      390
============================================
  Files            91       91
  Lines          1722     1721       -1
  Branches        193      193
============================================
  Hits            847      847
+ Misses          798      797       -1
  Partials         77       77

Impacted Files
Coverage Δ

...n/java/seedu/trackermon/commons/core/Messages.java
0.00% <ø> (ø)

...edu/trackermon/logic/parser/FindCommandParser.java
30.61% <0.00%> (+0.61%)
: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 636bf2e...21ef812. Read the comment docs.


[HOLD for payment 2023-06-28] [HOLD for payment 2023-06-21] Update the dismissModal to work with multiple pages in the RHP stack

Problem
Related to  https://expensify.slack.com/archives/C01GTK53T8Q/p1686126333958959
Now the dismissModal does not work well if there is multiple pages in the RHP stack to be popped.
### Why is it important
Its not universally working well.
### Solution
Lets ensure that when we are requesting money for example, we close the RHP modal and on clicking browser back button we are not navigated back to the request money flow.
@Tushu17 is a reporter https://expensify.slack.com/archives/C049HHMV9SM/p1686230588336239
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~013cc3cbba001fa0d0
Upwork Job ID:<PHONE_NUMBER>974063616
Last Price Increase: 2023-06-15

Commenting

Maybe good one to focus on now

Isn't it resolved by https://github.com/Expensify/App/pull/20815?

Hey @mountiny, I'm coming from here. I had reported an issue on Slack (here) around a week before this issue was created. It seems like the PR for this issue has fixed that as well so I think I'm eligible for reporting compensation.

Updated the op and I agree this should be fixed by the PR
@Christinadobrzyn I think there is nothing to wait for here in terms of reporting payment, could you please pay @Tushu17 $250 for reporting this issue?

Sounds good! Hired @Tushu17 in Upwork.
Internal job: https://www.upwork.com/ab/applicants/1669364724974063616/job-details
External job: https://www.upwork.com/jobs/~013cc3cbba001fa0d0

Paid @Tushu17
@mountiny do we need a regression test?

@Christinadobrzyn I think we could add a regression step for this:

Open settings in the Settings
Navigate to Profile
Navigate to Contact Methods
Open the shortcuts modal using CMD + J
Hit ESC
Verify it closes the Keyboard modal
Hit ESC again
Verify it closes the RHP too

Regression test created - https://github.com/Expensify/Expensify/issues/295388
Closing this!


NFCError 200 or NFCError 201

i just download this code and start to see how it's work.
I tried to read my Id card but always have error NFCError: 200.
I tried most of your code but the same NFCError:200
i using iPhone XR.
Can you help how to start read identity card Nationality.
I don't change nothing for your code.
made npm install
pod install
and whit xCode add the developer team.
No error when i build.
Some suggestion?
Thank you

@gospod1978  Any changes?


ENH: special: dispatch to array library

Reference issue
https://github.com/scipy/scipy/pull/18668#pullrequestreview-1520118163
What does this implement/fix?
Special functions are not currently covered by the Array API. Until they are, we could use a way to dispatch to the appropriate library for our special function calls. This is an idea of how we might do that. Thoughts on implementation are appreciated.
from scipy import special
from scipy._lib.array_api_compat.array_api_compat import numpy
import torch

x = torch.Tensor([1.])
print(special.ndtr(x))  # tensor([0.8413])

x = numpy.asarray([1.])
print(special.ndtr(x))  # [0.84134475]

Additional information

Tests would be needed, of course. I'm just submitting this for feedback right now to see if it's anywhere close to the "right" approach.
Some (all?) special ufuncs already seem to support CPU PyTorch tensors. The example above produces the same output with or without this PR, but I've checked that this PR actually is doing the expected dispatching in the example above.
Minor modifications would be needed to work correctly with CuPy (cupyx.scipy.special, not cupy.special ) and JAX (jax.scipy.special, not jax.special).
We'd also need to raise an error or use the SciPy implementation if the library doesn't have the special function we're looking for.
We could define a mapping when there is a difference in signatures, but I think the other libraries were pretty careful to keep the signatures consistent.

This is great, thanks for getting the ball rolling here Matt!

Some (all?) special ufuncs already seem to support CPU PyTorch tensors. The example above produces the same output with or without this PR, but I've checked that this PR actually is doing the expected dispatching in the example above.

What's happening here is that currently the ufuncs will convert the PyTorch tensor to a NumPy array, call the scipy.special implementation, and then call __array_wrap__ to convert it back to a PyTorch tensor.  That should be better (assuming the signatures match) - for example, it will work for tensors that are part of an autograd graph. Also performance should be better I'd expect.

We could define a mapping when there is a difference in signatures, but I think the other libraries were pretty careful to keep the signatures consistent.

I think we're going to need that mapping, since I don't think any other library implements all of the ~380 functions in scipy.special nor the ~280 in scipy.special._ufuncs. There's also a lot of cruft in naming. What I think we should do is define a much smaller set of special functions that we'd expect other libraries to have, with matching signatures and behavior. And then we forward those calls.
Special functions would in principle be a useful array API standard extension, a la fft and linalg. But I'd expect that to be a namespace of a reasonable size (30 functions maybe, or 50?) with the most commonly used functionality.

@mdhaber would you be interested in hashing out a proposal for a special extension module in the array API standard together? Most functions are element-wise with no keyword arguments, so hopefully it's not too difficult - more just scoping what to include based on usefulness and presence in CuPy/PyTorch/JAX.

Yes, I considered doing that. I looked into GitHub code search to collect usage data for the functions they have in common and to determine what other functions should be  prioritized. Are there other tools you'd recommend?

I looked into GitHub code search to collect usage data for the functions they have in common and to determine what other functions should be prioritized. Are there other tools you'd recommend?

May be worth giving https://github.com/data-apis/python-record-api a look.
An excerpt from Aaron's slides from SciPy 2023:

I looked into GitHub code search to collect usage data for the functions they have in common and to determine what other functions should be prioritized. Are there other tools you'd recommend?

May be worth giving https://github.com/data-apis/python-record-api a look.

That python-record-api tool is quite powerful, but not easy to use (and very slow to run). So in this case, I think manual curation first and then for the fairly small set of functions where usage data could be the deciding factor, grepping the code bases of scipy, scikit-learn, statsmodels, networkx & co by hand will likely be the more painless way of going about this.

The idea is just to make sure the functions are supposed to be the same and that arguments are in the right order, not to check accuracy.

That sounds useful indeed. Using assert_allclose with a very loose tolerance would probably also be fine. To confirm that functions actually behave the same, something like rtol=1e-4 is probably fine? We don't need 1e-10 or better like in our own tests.

Thanks @rgommers.
There's just one part I wanted to check about - IIUC the only reference available on CI right now is PyTorch CPU. I don't think we need all CI runs to test all backends, but what should the test plan be? It's think I can test some locally but maybe not all (e.g. JAX on Windows is tricky, and I don't think my Mac has a compatible GPU).

I don't think we need all CI runs to test all backends, but what should the test plan be? I can test some locally, but maybe not all (e.g. JAX on Windows is tricky, and I don't think my Mac has a compatible GPU).

I think CI also tests numpy.array_api. We can add a JAX run once it's added to array-api-compat. CuPy and PyTorch GPU aren't testable in CI (with reasonable effort at least), because there are no CI services which offer free GPUs. I can test those locally, as can @lucascolley and probably several other folks. So I think until we get much further along, we should only test on GPU locally.

For array-like input we should preserve the current behavior.

This is the error you get when you pass a list to array_namespace. Whether that's the desired behavior or not is debateable (I'd be happy with lists being converted to NumPy arrays), but my understanding is that we are supposed to pass the input into array_namespace per the top post of gh-18668.
Maybe what we need to do is skip all this stuff unless the SCIPY_ARRAY_API environment variable is set?

Maybe what we need to do is skip all this stuff unless the SCIPY_ARRAY_API environment variable is set?

This already happens in the array_namespace you can import from _lib._array_api, so importing from the correct location will fix this.
However, my comments above pertain to how to treat array-likes when the environment variable is set. This is what may involve a change to compliance_scipy, although maybe we do want to refuse array-likes when the environment variable is set.

Gathered some information relevant to a special function array API extension here. Invited @steppi to collaborate; LMK if you'd like to be an editor.

I'd be keen to contribute to this if possible. A lot of special functions have come up in work I do, and have had to work around several of the shortcomings in sp.special over the years. Have also made a lot of use of the slatec library, the Amos Bessel functions of which were recently put into more use for the Bessel functions in SciPy (https://github.com/scipy/scipy/pull/509).
Something tangential: I know this issue is about the array API, but it might be good to explore whether the C versions of the special functions can be made very easily "copy-and-pasteable" to include in other array libraries. This way, although the C implementation isn't a defined standard itself, it would help out a lot of other projects if SciPy has something other libraries can easily steal. Example: how much of CuPy's special implementation is just taken directly from SciPy's, with __device__ in front of everything? Could SciPy just have a lot of header files for special functions that other projects can easily include?

@izaid I hope others can answer these questions since I'm only familiar with the Python side of things. The only other thing I know is that a lot of SciPy's implementations are vendored from other existing compiled libraries. For instance, we include Boost Math as a git submodule now, and some of the functions we use in stats are from that.

A lot of special functions have come up in work I do, and have had to work around several of the shortcomings in sp.special over the years.

@izaid I was in the same situation as you and am trying to make a push to improve things in special. I plan to make a tracking issue and would like to ping you on that to get your opinion on which shortcomings it would be good to address sooner than later.

Could SciPy just have a lot of header files for special functions that other projects can easily include?

That's an interesting idea. Can you submit an issue requesting this? This isn't really the place to discuss that at the depth I'd like to.

@izaid I hope others can answer these questions since I'm only familiar with the Python side of things. The only other thing I know is that a lot of SciPy's implementations are vendored from other existing compiled libraries. For instance, we include Boost Math as a git submodule now, and some of the functions we use in stats are from that.

Right, much of it is vendored from existing libraries, but for some SciPy has its own bug fixes and enhancements added on top of those. There's also a decent number of custom implementations, and this number will hopefully grow as we continue rewriting functions which are buggy and poorly implemented.

@mdhaber I brought up the idea of a special extension for the array API standard in a members meeting, and the initial reception was positive. Some questions about the Bessel function naming and whether a few functions that are in C99 (there seem to be four, two error and two gamma functions) belong in the main namespace instead of in special. But overall I think a proposal will be very welcome.

Oops, I need to undo the change to the submodule, but I added the documentation note.

@lucascolley I think I'll still need another commit to fix remaining doc issues. In the meantime, do you have suggestions on fixing the MyPy complaints? I could tell mypy to ignore all that, but do you know how I could avoid the complaints in the first place? I'm guessing it has to do with the import *s, but there were already import *s before this PR.

do you have suggestions on fixing the MyPy complaints?

Hmm sorry, I have no idea. I'm not familiar with _ufuncs and all of the imports are a bit confusing.
The only thing I can think is that something might need to change in meson.build?
Are imports from __init__.py treated differently to imports from other files like _support_cupy_torch_jax.py?

I'm not sure : / Any ideas @rgommers? Also, LMK what you think of how the notes are added to the documentation (links to artifact from latest CI run). I think it worked out pretty seamlessly.

The generated entries in the Notes sections looks pretty good, and the code to insert them is easy enough to understand - nice. The autodoc-generated tables show an issue:

I'll have a look at the Mypy complaints now.

Mypy is unhappy because the apparent location of the functions from _ufuncs moved, and you didn't tell it about that. There's a _ufuncs.pyi file that's generated and installed into scipy/special/. It looks like so:
# This file is automatically generated by _generate_pyx.py.
# Do not edit manually!

...
_cosine_cdf: np.ufunc
_cosine_invcdf: np.ufunc
...

The first thing to do is to stop using start imports in this PR. Both from _ufuncs import * and from ._support_cupy_torch_jax import * can be changed to only import the names you need. That reduces the size of the problem. After that, the functions that are now coming from __support_cupy_torch_jax.py should be declared in a _support_cupy_torch_jax.pyi stub. They are no longer ufuncs:
>>> isinstance(special.ndtr, np.ufunc)
False
>>> isinstance(special._ufuncs.ndtr, np.ufunc)
True

which is a backwards compat break unfortunately:
>>> special._ufuncs.ndtr.reduce
<built-in method reduce of numpy.ufunc object at 0x7f729b7a7040>
>>> special.ndtr.reduce
Traceback (most recent call last):
  Cell In[10], line 1
    special.ndtr.reduce
AttributeError: 'function' object has no attribute 'reduce'

So that's a bit of a problem. We have never advertised that these functions are ufuncs, and the signatures in the docs are explicitly omitting the ufunc-specific keywords. So this is more an implementation accident than anything else. But it's not unlikely that someone is relying on some functions being ufuncs. E.g., Numba may be in a few places: https://github.com/numba/numba-scipy/issues/14#issuecomment-541033257.
This is something that I hadn't thought about before. We reserve the right of moving things to ufuncs, and I think we equally reserve the right to move things from ufuncs. So this should not be a showstopper. However, it does require a bit more thinking - and I think it'd be good to put the use of the _support_cupy_torch_jax.py variants of these functions behind a if SCIPY_ARRAY_API=1` switch.

@mdhaber this utility may be useful: https://github.com/asmeurer/removestar. Good to do anyway, independent of this PR. from ... import * is best avoided completely.

Good to do anyway

Sure, but I didn't really mean to sign up for that : ) This was the practice in __init__.py, and I wasn't sure how to avoid it here without changing it there. How will the imports in __init__.py look after this? Do I need to make all of those explicit, or can I leave from ._ufuncs import * alone there and replace specific definitions like from _support_cupy_torch_jax import ndtr, ....?

or can I leave from ._ufuncs import * alone there and replace specific definitions like from _support_cupy_torch_jax import ndtr, .... after that?

Yes, that should work fine, and should indeed be easier to do.

Are these functions that are replaced going to need to be removed from _ufuncs.pyi?
What do I put in _support_cupy_torch_jax.pyi if the signatures will be different depending on SCIPY_ARRAY_API?

Do these functions that are replaced need to be removed from _ufuncs.pyi?

No, because they are still present in _ufuncs.so and the annotations remain correct.

What do I put in _support_cupy_torch_jax.pyi if the signatures will be different depending on SCIPY_ARRAY_API?

It's a single function that's defined in the .py file, so it can have a single signature in the .pyi file. It will only get picked up by Mypy if SCIPY_ARRAY_API=1.
Anyway, we are only running Mypy in the config where SCIPY_ARRAY_API is not set. So you can also simply ignore the problem for now and open an issue to deal with it later. The commit you just pushed with the change to __init__.py should be enough I believe.

Erg, well, as written, this also means that the docstring is only modified when SCIPY_ARRAY_API=1. So the note is not added to the rendered documentation in this commit.

OK, I think the suggestions will resolve the lint and MyPy issues. Maybe we can figure out how to do the documentation in a followup.

Erg, well, as written in a11333c, this also means that the docstring is only modified when SCIPY_ARRAY_API=1.

That could perhaps be handled by setting SCIPY_ARRAY_API=1 in the doc build job. But that's not a great solution.

So the note is not added to the rendered documentation in that commit. And AttributeError: attribute '__doc__' of 'numpy.ufunc' objects is not writable, so I can't seem to change the documentation and maintain ufunc-ness.

Amending docstrings in scipy/special/_add_newdocs.py would be the way to do that.

So I'll remove the notes for now and save documentation for a follow-up.

That seems like a good idea indeed.

OK. Well, aside from needing https://github.com/scipy/scipy/pull/19023#discussion_r1320482871, CI seems to be happy. Then I guess we can just wait for https://github.com/scipy/scipy/pull/19186 to get the stricter array checks. After this merges, I can open an issue about what to do about the ufuncness of these functions - whether we are OK with these no longer being ufuncs, or if there is some way to get the best of both worlds.

@izaid I was in the same situation as you and am trying to make a push to improve things in special. I plan to make a tracking issue and would like to ping you on that to get your opinion on which shortcomings it would be good to address sooner than later.

Thanks @steppi (and @mdhaber)! Just circling back here, I'm still keen to help. Did this tracking issue get created?

Could SciPy just have a lot of header files for special functions that other projects can easily include?

That's an interesting idea. Can you submit an issue requesting this? This isn't really the place to discuss that at the depth I'd like to.

Certainly, will soon create said issue. I agree, it's at least worth a proper discussion. Thanks for taking the time to respond earlier!

Did this tracking issue get created?

Not yet, but I was actually going to email you about it this weekend. Look out for that!

Updated with xp_assert_close now that gh-19186 has merged.

Renamed.


Create contribute_file

contribute my contribute file to the parent repository.

No apparent or clear explanation on the need for this pull request. It is apparently not related to any open issue.


API call fail, please retry

I can use the py script to call the openai API

Thank you for reporting the issue. At present, any backend errors will result in the message "API call fail, please retry." This could be due to an issue with the codebase or potentially an API problem. Would you please attempt to restart the onboarding process? If the error persists, it is highly probable that there is an issue with the codebase file.

I can use the py script to call the openai API

Thank you for reporting the issue. At present, any backend errors will result in the message "API call fail, please retry." This could be due to an issue with the codebase or potentially an API problem. Would you please attempt to restart the onboarding process? If the error persists, it is highly probable that there is an issue with the codebase file.


Can't build android

Hi I'm trying to build android and have this issue.
* Where:
Build file 'C:\Users\Administrator\Desktop\MyProject\node_modules\react-native-image-picker\android\build.gradle' line: 20

* What went wrong:
A problem occurred evaluating project ':react-native-image-picker'.
> Failed to apply plugin [id 'com.android.internal.library']
   > The option 'android.enableUnitTestBinaryResources' is deprecated.
     The current default is 'false'.
     It has been removed from the current version of the Android Gradle plugin.
     The raw resource for unit test functionality is removed.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Yep Same error is happening here also after updating the react-native from 62 to 63 and gradle to latest.

#1390

https://github.com/jafar-jabr/node_modules_temp_fixes

Yep Same error is happening here also after updating the react-native from 62 to 63 and gradle to latest.
But found the solution here
https://github.com/react-native-community/react-native-image-picker/pull/1390/files

Thank you this saved me a ton of time since I was compiling a library and no seemed to have the reason why.  This fixed my compiling issues!

I've tried everything and I'm having it:
BUILD FAILED in 10s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API.

I've tried everything and I'm having it:
BUILD FAILED in 10s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API.

android -> build.gradle
buildscript {
...
minSdkVersion = 21
...
}


Update our fork from upstream

FYI - this is going to be big enough that's its going to be hard to review. So probably just going to approve when the time comes.

FYI - this is going to be big enough that's its going to be hard to review. So probably just going to approve when the time comes.

@BenjamenMeyer understood. There's really only a few lines of changes that I make on top of each new delta from upstream. And we may not need to keep maintaining this repository anyway; in my latest branch, I've found a way to avoid using this repo altogether.
Will keep you updated.

Might be wise to setup a GitHub action to do rebases and submit PRs, dependabot style

@BenjamenMeyer can we close this PR, and archive our fork of the repo? We don't need it with the latest 0.9.x code.
Also, can you maybe cut a new 0.9 alpha or beta release, if you haven't already? I'm a bit concerned that alpha 4 may be pulling the outdated code from our fork of this repo. Which wouldn't be good, because that might pull in the compromised xz library and so forth.
Thanks!


[Bug]-[0]:lodash's debounce doesn't work as expected

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
No Alert is visible when tried {{_.debounce(() => showAlert('heelo'),500)}}
Steps To Reproduce

Try to add {{_.debounce(() => showAlert('heelo'),500)}} in input widget
Type in input widget
See the issue.

Expected behaviour -
Alert should be visible when the user stops typing and the 500ms wait is completed.
Environment
Production
Version
Cloud

Hi Guys, any update pn when this can be rolled out?

Hi @dsakaria16 , this is currently being investigated and will be fixed as soon as possible.

Internal discussion thread about this https://theappsmith.slack.com/archives/C02K0SZQ7V3/p1643175364068100?thread_ts=1643117151.066300&cid=C02K0SZQ7V3

Stats

Stat
Values

Reach
0

Effort (months)
0.25

@rohan-arthur would like to know how did we calculate reach and effort for this issue?

not supporting debounce is pretty sad. Any plans to look into this :) ?
I was not able to find any workarounds for this in other issues or discord.
Trying some stuff with setIntervals/async functions/storing values in appsmith state always seems to fail on something.
Thanks!

And updates on this?

Hey,
So I tried using this in the onBlur method of a text input widget, and I get a weird error.
https://github.com/appsmithorg/appsmith/assets/60510869/615cfe3a-6632-447e-b94a-afda8f563e9c
Code -
_.debounce(()=>storeValue('currentTest',{...appsmith.store.currentTest,title:inp_name.text}),500)

Basically, I am setting the store value to the field value when user clicks out of the text field. But I am not able to use debounce here.


Disallow -- as unquoted node identifier

As discussed at https://github.com/orgs/pg-format/discussions/29

Done in 0.2.4.


New parameters in Paybox documentation

Hi there!
In Paybox documentation, you can use these parameters "PBX_2MONT", "PBX_DELAIS", "PBX_FREQ", "PBX_NBPAIE", "PBX_QUAND" for subscription.
Is that planned to implement them in your bundle or do I need to fork your bundle?
Regards,
Nicolas

Hi, nothing planned on our side.


deps: update web dev deps

Update web dependencies to latest

The reference of process in https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/packages/opentelemetry-sdk-metrics-base/test/export/TestMetricExporter.ts#L24 can be replaced with common API queueMicrotask to support web environments properly.

The reference of process.nextTick in https://github.com/open-telemetry/opentelemetry-js/blob/main/experimental/packages/opentelemetry-sdk-metrics-base/test/export/TestMetricExporter.ts#L24 can be replaced with common API queueMicrotask to support web environments properly.

Ah I added the process module before seeing this. It implements the timing functions needed. queueMicrotask looks good but it doesn't support IE. I can't remember if we've made a decision on if we're supporting IE or not.

@dyladan queueMicrotask is equivalent to Promise.resolve().then(task) in some ways. Anyway, we use a lot of Promise in our code base and I suppose IE doesn't support it natively?

@dyladan queueMicrotask is equivalent to Promise.resolve().then(task) in some ways. Anyway, we use a lot of Promise in our code base and I suppose IE doesn't support it natively?

Hmm didn't realize that. IE has been dead for a long time anyway so i'm not too worried about it.


Remove mutable arguments

As mentioned in openjournals/joss-reviews#1315, some functions have mutable arguments.
I found the following instances of this:
https://github.com/scikit-tda/kepler-mapper/blob/8a2a955e2b7302ee3c37e5c6a2c6ebfc1924a39b/kmapper/kmapper.py#L630-L632
These could easily be transformed into something like
def f(param=None):
    param = [] if param is None else param

Hi @sauln
I'm new to os, but I'd like to take a look at this

Yeah, absolutely! Let me know how I can support you!

Excellent, leave this with me. I'll come back to you if I get stuck.

I would add to be wary of dictionaries and non-builtin types (like instances of your own classes) as well.

#167 fixes most of the occurrences of mutable arguments. I can't find any dictionaries and all that is left is some non-builtin types.
I'm hesitant to change the instances when it's our class or a sklearn class. For one, I like how they are rendered in the documentation and I'm not sure how to best convey the defaults when cover=None. They also all have a fit method that is called within the function, so we can be sure the objects aren't being fit to the wrong data.
@leouieda, if you're steadfast on these non-builtin types, we can figure out how to remove them without compromising the documentation.

@sauln I understand your points and have struggled with that myself. The main problem is that the default arguments are instantiated at import time. So calling fit the default argument will have side effects on other instances. For example:
class Estimator:
    def __init__(self):
        self.params_ = None
    def fit(self, X, y):
        self.params_ = [X, y]
        return self

class OtherEstimator:
    def __init__(self, estimator=Estimator()):
        self.estimator = estimator
    def fit(self, X, y):
        self.estimator.fit(X, y)
        return self

a = OtherEstimator()
b = OtherEstimator()

a.fit(1, 2)

a.estimator is b.estimator
# True

print(a.estimator.params_)
# [1, 2]

print(b.estimator.params_)
# [1, 2]

This can lead to nasty bugs. It's convenient for the docs but I don't think the trade-off is worth it.
If you look at the scikit-learn defaults and other core Python libraries, you'll see some different strategies for dealing with this. Many packages default to None if want an empty container or a string if there are many options with names. See cmap="viridis" in matplotlib or the cv argument in cross_val_score.
That is certainly the approach I'd recommend.


[WIP] batchNorm gradients

This change is

@nsthorat hey just got started. Wanted to get some advice from you before diving in.
I would love it if you could help walk me through the gradients portion a little bit. I'm confused on how to calculate them.

Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed.

src/ops/batchnorm.ts, line 197 at r1 (raw file):

    const grad = (dy: Tensor4D) => {
      return {x: () => dy, mean: () => dy, variance: () => dy};

Alright, so here you want to return a value for all of the tensor inputs (x, mean, variance, scale, offset).
Each of those values will be the partial derivative of the output with respect to that variable, times dy (dy is actually de/dy).
For example, de/dx = de/dy * dy/dx
So your job here now is to complete dy / d(variable) for each of those inputs.
Check out the equation for batchnorm: https://www.tensorflow.org/api_docs/python/tf/nn/batch_normalization
Now you just need to compute all of the partial derivatives.

src/ops/batchnorm.ts, line 205 at r1 (raw file):

            varianceEpsilon, batchnormReshape4D(scale),
            batchnormReshape4D(offset)),
        {x: x4D, mean, variance}, grad);

here you will have to also specify the other inputs so we can compute derivatives.

Comments from Reviewable

Added a comment, hope this helps.

@nsthorat thanks that was super helpful! I will copy tensorflow!  I see that beta and gamma are offset and scale now. Sometimes reading the documentation is important!
Thanks again!

@nsthorat hey just made some progress. I've got a couple questions if you don't mind helping. I will give finishing this up another stab in a day or so.

I've been using the batch norm paper for the partial derivatives. These are consistent with tensorflow until I get to derMean. When I use tf.gradients I get a different result, but when I redo the equation from scratch in tensorflow, it lines up with the results in this PR. I could just be implementing it wrong. Maybe you see something or this formula is incorrect?
I'm having trouble reshaping the gradient for x. This could be because of issues with my formulas, but perhaps there is something else that I am missing.

Hey @easadler, if the current tests work for the subset of gradients, let's merge this as is, there's actually an internal person who needs batchNorm who can finish your work up! How does that sound to you? Would you just leave a comment saying which derivative isn't yet working?
To respond to your questions directly, I usually check out wolfram alpha to compute non-trivial partial derivatives, you could try that for the gradients you are trying to compute. Going forward you should try that, it's really helpful!

Thanks @easadler for starting this!

Thanks guys :).


[BUG] [Crunchy] Unable to download season without name

** Main info: **
Oreimo Season 1 cannot download - I suspect it's because it doesn't have season name, but have no evidence to suggest this.
Script version: 2.0.9
Service: Crunchy
Show ID: GYQ4WX036
Episode ID: ?
Command used: node .\index.js --service crunchy --srz GYQ4WX036 --all

Console output:
=== Multi Downloader NX 2.0.9 ===

[INFO] USER: Jaynator495
[INFO] Your Country: US

  [Z:GYQ4WX036] Oreimo (Seasons: 2, EPs: 25) [SUB]
  [S:GY5VP833Y] NO_TITLE (Season: 1) [SUB]
  [S:GR09X82ER] Oreimo Season 2 (Season: 2) [SUB]
[1] Oreimo Season 2 - My Little Sister Can't Come Back Home Again [Japanese]
[2] Oreimo Season 2 - The Onii-san I Trusted and Sent Off Can't Get This Hooked on Portable Bishoujo Games and Start Sexually Harassing Me [Japanese]
[3] Oreimo Season 2 - My Friend Can't Take Off Her Glasses [Japanese]
[4] Oreimo Season 2 - My Little Sister's Rival Can't Come to Japan [Japanese]
[5] Oreimo Season 2 - I Can't Be My Little Sister's Boyfriend, and My Little Sister Can't Have a Boyfriend [Japanese]
[6] Oreimo Season 2 - My Little Sister Can't Be Bringing Her Boyfriend Home [Japanese]
[7] Oreimo Season 2 - I Can't Become a Couple with My Underclassman [Japanese]
[8] Oreimo Season 2 - I Can't Create a Summer Memory with My Underclassman [Japanese]
[9] Oreimo Season 2 - My Little Sister Can't Be This Cute! [Japanese]
[10] Oreimo Season 2 - My Little Sister Can't Wear a Wedding Dress [Japanese]
[11] Oreimo Season 2 - Little Sisters Can't Barge In On Their Brother Who Lives Alone [Japanese][12] Oreimo Season 2 - Total Angel Ayase-tan Can't Descend Upon My Place While I Live Alone [Japanese]
[13] Oreimo Season 2 - Little Sisters Can't Fall in Love With Their Older Brothers!

Unfortunately not really. It just proceeds to download all of season 2 but ignore all of season 1.
I can't share anymore than that because powershell has a line limit, but pretty much after that it just normally downloads all of season 2 and stops after finishing season 2

I will look into it

I confirmed that it is indeed a bug and I work on it

Found the issue. The multi downloading is currently not able to handle multiple different season.
The fix will take a while - sorry about that

I just released a fix.
Can you try it for me to confirm that it is working for you?
Sorry for the wait btw

While it did do a lot better than it did before, it is still not working, not sure what is different about this season from other crunchy seasons but... It finds all the episodes of season 1 now, but can't find any url to download them, so it ends up skipping straight to season 2
=== Multi Downloader NX 2.0.11 ===

[INFO] USER: Jaynator495
[INFO] Your Country: US

  [Z:GYQ4WX036] Oreimo (Seasons: 2, EPs: 25) [SUB]
  [S:GY5VP833Y] NO_TITLE (Season: 1) [SUB]
  [S:GR09X82ER] Oreimo Season 2 (Season: 2) [SUB]
[S1E1]  - My Little Sister Can't Be My Love [Japanese]
[S1E2]  - My Little Sister Can't Bring Me to an IRL Meet [Japanese]
[S1E3]  - My Little Sister Can't Be This Cute [Japanese]
[S1E4]  - My Little Sister Can't be Going to Summerket [Japanese]
[S1E5]  - My Little Sister's Best Friend Can't Be This XX [Japanese]
[S1E6]  - My Childhood Friend Can't Be This Cute [Japanese]
[S1E7]  - My Little Sister Can't Be A Novelist [Japanese]
[S1E8]  - My Little Sister Can't Be Animated [Japanese]
[S1E9]  - My Little Sister Can't Be This Absorbed into Eroge [Japanese]
[S1E10]  - My Little Sister Can't Be Cosplaying Like This [Japanese]
[S1E11]  - My Little Sister Can't Be This Maid [Japanese]
[S1E12]  - My Little Sister's Advice Can't End Here (GOOD END) [Japanese]
[S2E1] Oreimo Season 2 - My Little Sister Can't Come Back Home Again [Japanese]
[S2E2] Oreimo Season 2 - The Onii-san I Trusted and Sent Off Can't Get This Hooked on Portable Bishoujo Games and Start Sexually Harassing Me [Japanese]
[S2E3] Oreimo Season 2 - My Friend Can't Take Off Her Glasses [Japanese]
[S2E4] Oreimo Season 2 - My Little Sister's Rival Can't Come to Japan [Japanese]
[S2E5] Oreimo Season 2 - I Can't Be My Little Sister's Boyfriend, and My Little Sister Can't Have
a Boyfriend [Japanese]
[S2E6] Oreimo Season 2 - My Little Sister Can't Be Bringing Her Boyfriend Home [Japanese]
[S2E7] Oreimo Season 2 - I Can't Become a Couple with My Underclassman [Japanese]
[S2E8] Oreimo Season 2 - I Can't Create a Summer Memory with My Underclassman [Japanese]
[S2E9] Oreimo Season 2 - My Little Sister Can't Be This Cute! [Japanese]
[S2E10] Oreimo Season 2 - My Little Sister Can't Wear a Wedding Dress [Japanese]
[S2E11] Oreimo Season 2 - Little Sisters Can't Barge In On Their Brother Who Lives Alone [Japanese]
[S2E12] Oreimo Season 2 - Total Angel Ayase-tan Can't Descend Upon My Place While I Live Alone [Japanese]
[S2E13] Oreimo Season 2 - Little Sisters Can't Fall in Love With Their Older Brothers!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [G609X83E6] Oreimo - 2 - My Little Sister Can't Bring Me to an IRL Meet
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [G67598QJR] Oreimo - 3 - My Little Sister Can't Be This Cute
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [GYX0JZQKR] Oreimo - 4 - My Little Sister Can't be Going to Summerket
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [GR19X8326] Oreimo - 5 - My Little Sister's Best Friend Can't Be This XX
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [GYNQVE20Y] Oreimo - 6 - My Childhood Friend Can't Be This Cute
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [G6MGE02G6] Oreimo - 7 - My Little Sister Can't Be A Novelist
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [G63VK8ZWY] Oreimo - 8 - My Little Sister Can't Be Animated
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [GR2P4Z2ER] Oreimo - 9 - My Little Sister Can't Be This Absorbed into Eroge
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [GRZXJPG9Y] Oreimo - 10 - My Little Sister Can't Be Cosplaying Like This
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [G6Q4WX23R] Oreimo - 11 - My Little Sister Can't Be This Maid
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [GYWE4PQQY] Oreimo - 12 - My Little Sister's Advice Can't End Here (GOOD END)
[WARN] Raw streams not available!
[WARN] Try hardsubs stream: en
[INFO] Selecting raw stream
[WARN] Can't find urls for subtitles!
[INFO] Skip muxing since no vids are downloaded
[INFO] Requesting: [GYE5X370R] Oreimo Season 2 - 1 - My Little Sister Can't Come Back Home Again
[INFO] Selecting raw stream
[INFO] Full stream found! (✓1: adaptive_hls/jpn/- )
[INFO] Full stream found! ( 2: download_hls/jpn/- )
[INFO] Full stream found! ( 3: vo_adaptive_hls/jpn/- )

That’s because they don’t have soft subs.
You would need to—hlsubs en

Thanks, using --hslang worked (hlsubs isn't in the flags list?)
That fixes that problem, however I do have another problem, going to open another issue for that


Experimental

This is just to see what the module looks like with all my changes.

Thanks, I’ll be looking at all this towards the weekend.
On Oct 8, 2023 at 10:24 PM -0700, Xeonis @.***>, wrote:

This is just to see what the module looks like with all my changes.
You can view, comment on, or merge this pull request online at:
https://github.com/jopeek/fvtt-loot-sheet-npc-5e/pull/413
Commit Summary
• fb39985 feat: saving coins of different denominations
• 89a80c9 fix: I'm blind, didn't notice this
• 45b4e25 Fix: a litle more blind
• f54f1f1 fix: currency and weight
• b4a086c ref: move module propertuies to single file
• 229e922 feat: quick quantity change + some translate
• 8ab70cb Init_feat: Add lang files
• 5b1355c feat: more beautiful name for sheet
• 63720ca feat: quick quantity change + some translate
• 80e8b01 Merge commit '63720cae1130042811c9bc131d10da9b8e85f840'
• 06d143b add: moved all text to be able add translations
• 1710c2e fix: litle
• d3de082 fix: litle2
• 150f407 add translation info
• bc2a998 readme add 1
• 3aadedb rm 2
• a7d0ad8 rm3
• c764c0a rm4
• 9717dfe rm5
• 941f2e7 rm6
• c0a5cd7 rm7
• 9397d56 add: lang to Quantity Window
• 087990a Merge branch 'translate' of https://github.com/Xeonis/fvtt-loot-sheet-npc-5e into translate
• 8a81cbc litle fixes
• 4aada81 rm 8
• fa9ac8e Merge commit '45b4e25c48b9442bf03ed3feb72c0096d9a9a9ce' into Experimental
• e744112 Merge commit 'f54f1f1b2de17186383204a0413e52f983463b32' into Experimental
• 13fe97e Merge commit '229e922fcc04d93b585d5aa1f1d99d58abacb0f0' into Experimental
• d14daf8 Merge pull request #2 from Xeonis/buying
• 934730a Merge commit '8a81cbc33490e1d3b1e346ad122751fc71edd66b' into Experimental
• eff0356 Merge commit '4aada810805fe7a748e4337d8017b10d6f460e53' into Experimental
• 5caeb42 fix: my trouble
• 82cb5d2 Merge commit '5caeb421d6d7007e754d1a7620a530f4cc617fb3' into Experimental
• ff73e0f Merge commit 'b4a086c5584fd00484ed7bdf81fd4cae17acc06a' into Experimental
• f6e4a6a add: change button
• e9ce2b2 Merge commit 'f6e4a6a75ab7dbd86c9bbce159d2073d4fc9df01' into Experimental
• 92e0e02 fix: stpd
• aa11140 add: more ru
• 8ef93a6 Merge branch 'translate' into Experimental
File Changes
(8 files)
• M README.md (35)
• M css/lootsheet-simple.css (40)
• A lang/en.json (38)
• A lang/ru.json (28)
• M lootsheet-simple.js (355)
• M module.json (10)
• A scripts/settings.js (64)
• M template/npc-sheet.html (123)
Patch Links:
• https://github.com/jopeek/fvtt-loot-sheet-npc-5e/pull/413.patch
• https://github.com/jopeek/fvtt-loot-sheet-npc-5e/pull/413.diff
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Error to download "Bakeoff" from it.dplay.com

Hello,
I cannor download the forth episode of Bakeoff Italy. No problems in the last weeks to download the previous episodes.
Please find below my issue details.
Hope you can help on this.
Many thanks
Regards,
Andrea
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-F', 'https://it.dplay.com/realtime/bake-off-italia/stagione-6-episodio-4-puntata-del-28-settembre-2018/', '--verbose', '--output', '\Bakeoff\p04.mp4']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2018.09.26
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.16299
[debug] exe versions: none
[debug] Proxy map: {}
[debug] Using fake IP <IP_ADDRESS> (IT) as X-Forwarded-For.
[DPlayIt] stagione-6-episodio-4-puntata-del-28-settembre-2018: Downloading webpage
[DPlayIt] stagione-6-episodio-4-puntata-del-28-settembre-2018: Downloading JSON metadata
[DPlayIt] stagione-6-episodio-4-puntata-del-28-settembre-2018: Downloading m3u8 information
WARNING: unable to extract series; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
WARNING: unable to extract episode; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[info] Available formats for 23769:
format code  extension  resolution note
hls-64       mp4        audio only   64k , mp4a.40.2
hls-234      mp4        320x180     234k , avc1.42C015, 25.0fps, mp4a.40.2
hls-463      mp4        480x270     463k , avc1.42C01F, 25.0fps, mp4a.40.2
hls-863      mp4        640x360     863k , avc1.4D401E, 25.0fps, mp4a.40.2
hls-1757     mp4        960x540    1757k , avc1.4D401F, 25.0fps, mp4a.40.2
hls-3350     mp4        1280x720   3350k , avc1.64001F, 25.0fps, mp4a.40.2
hls-6550     mp4        1920x1080  6550k , avc1.640029, 25.0fps, mp4a.40.2 (best)

There are no errors in your log.


BadCredentials

I'm getting "BadCredentials" error when I try to use Zotify.
FYI, there is an existing ticket for this issue but it is closed and I'm unsure if the devs get notified about closed tickets. The existing ticket is https://github.com/zotify-dev/zotify/issues/167
I tried on mac and Windows.
macOS Ventura 13.6.9:
asdf@asdf-iMac ~ % zotify "https://open.spotify.com/playlist/12345" --download-lyrics=false --download-format=mp3 --download-quality=high
Username<EMAIL_ADDRESS>Password: ***************
Traceback (most recent call last):
File "/Users/jeremy/.local/bin/zotify", line 8, in
sys.exit(main())
File "/Users/jeremy/.local/pipx/venvs/zotify/lib/python3.9/site-packages/zotify/main.py", line 64, in main
args.func(args)
File "/Users/jeremy/.local/pipx/venvs/zotify/lib/python3.9/site-packages/zotify/app.py", line 21, in client
Zotify(args)
File "/Users/jeremy/.local/pipx/venvs/zotify/lib/python3.9/site-packages/zotify/zotify.py", line 21, in init
Zotify.login(args)
File "/Users/jeremy/.local/pipx/venvs/zotify/lib/python3.9/site-packages/zotify/zotify.py", line 46, in login
cls.SESSION = Session.Builder(conf).user_pass(user_name, password).create()
File "/Users/jeremy/.local/pipx/venvs/zotify/lib/python3.9/site-packages/librespot/core.py", line 1634, in create
session.authenticate(self.login_credentials)
File "/Users/jeremy/.local/pipx/venvs/zotify/lib/python3.9/site-packages/librespot/core.py", line 939, in authenticate
self.__authenticate_partial(credential, False)
File "/Users/jeremy/.local/pipx/venvs/zotify/lib/python3.9/site-packages/librespot/core.py", line 1350, in __authenticate_partial
raise Session.SpotifyAuthenticationException(ap_login_failed)
librespot.core.Session.SpotifyAuthenticationException: BadCredentials
Windows 10 Pro 10.0.19045 Build 19045:
C:\Users\asdf>zotify "https://open.spotify.com/playlist/12345" --download-lyrics=false --download-format=mp3 --download-quality=high
Username<EMAIL_ADDRESS>Password: *****************
Traceback (most recent call last):
File "", line 198, in run_module_as_main
File "", line 88, in run_code
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Scripts\zotify.exe_main.py", line 7, in
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Lib\site-packages\zotify_main.py", line 64, in main
args.func(args)
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Lib\site-packages\zotify\app.py", line 21, in client
Zotify(args)
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Lib\site-packages\zotify\zotify.py", line 21, in init
Zotify.login(args)
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Lib\site-packages\zotify\zotify.py", line 46, in login
cls.SESSION = Session.Builder(conf).user_pass(user_name, password).create()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Lib\site-packages\librespot\core.py", line 1634, in create
session.authenticate(self.login_credentials)
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Lib\site-packages\librespot\core.py", line 939, in authenticate
self.__authenticate_partial(credential, False)
File "C:\Users\asdf\AppData\Local\Programs\Python\Python312\Lib\site-packages\librespot\core.py", line 1350, in __authenticate_partial
raise Session.SpotifyAuthenticationException(ap_login_failed)
librespot.core.Session.SpotifyAuthenticationException: BadCredentials

Having the same error on Debian 13.2.0

Same error despite immediately authenticating using the same credentials via the Spotify website.
Also accessing natively from a static IP in the U.S. where I've always used the service from.
No reason for some of the known issues; this is a new issue with Spotify/Zotify
Error:
librespot.core.Session.SpotifyAuthenticationException: BadCredentials

https://github.com/librespot-org/librespot/issues/1308#issuecomment-2276196094
I suspect this is because spotify changed how users authenticate.

librespot-org/librespot#1308 (comment)
I suspect this is because spotify changed how users authenticate.

what is the possible fix to this ?

I am going to wait until the dev pushes an update, but if you are asking me how I think that should be implemented, I unfortunately have no idea.

Duplicate of #174; see this comment for a workaround.

how to authenticate:
install git, rust and cargo, download the following branch of librespot https://github.com/kingosticks/librespot/tree/credentials_with_access_token
run branch using:
cargo run --no-default-features -- --cache . --token ""

you'll need to open a link and let it redirect to the local librespot webservice.
if everything went well you end up with a credentials.json in the directory, which looks like this:
{
  "username": "QWERQWERQWERQWER",
  "auth_type": 1,
  "auth_data": "ASDFASDFASDF"
}

change it to look like the follwing:
{
  "username": "QWERQWERQWERQWER",
  "type": "AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS",
  "credentials": "ASDFASDFASDF"
}

and you're done - don't forget to refrence the credentials.json in you zotify/config.json

I have a problem with this, when I run the command
cargo run --no-default-features -- --cache . --token ""
I get a bunch of warnings, and after that the  credentials.json file is not created, it doesn't open any link on my internet browser, and I get this output
Error parsing command line options: Unrecognized option: 'token'

librespot 0.4.2 9d96efa (Built on 2024-09-08, Build ID: Bl43N9iw, Profile: debug)

An open source client library for Spotify, with support for Spotify Connect

https://github.com/librespot-org/librespot

I'm not sure I understand the part about the local librespot service, is it something more I have to set up?

how to authenticate using the new oauth way:
install git, rust and cargo, download the following branch of librespot https://github.com/kingosticks/librespot/tree/credentials_with_access_token
run branch using:
cargo run --no-default-features -- --cache . --token ""

you'll need to open a link and let it redirect to the local librespot webservice.
if everything went well you end up with a credentials.json in the directory, which looks like this:
{
  "username": "QWERQWERQWERQWER",
  "auth_type": 1,
  "auth_data": "ASDFASDFASDF"
}

change it to look like the follwing:
{
  "username": "QWERQWERQWERQWER",
  "type": "AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS",
  "credentials": "ASDFASDFASDF"
}

and you're done - don't forget to refrence the credentials.json in you zotify/config.json

Update
Some things have changed, this method works on Mac (Silicon chip)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo build --release
git clone https://github.com/librespot-org/librespot
cd librespot
cargo run --no-default-features -- --cache . --enable-oauth
# Follow the login link printed to the terminal and login in your web browser
# ^C
cat credentials.json | sed 's/"auth_type":1,/"type":"AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS",/' | sed 's/auth_data/credentials/'

Hi, thanks for the detailed write up. Unfortunately, I'm still getting the same BadCredentials error even with a "fixed' credentials.json file. Is it normal to have Zotify ask for username and password even with the credentials.json file in place?

Hi, thanks for the detailed write up. Unfortunately, I'm still getting the same BadCredentials error even with a "fixed' credentials.json file. Is it normal to have Zotify ask for username and password even with the credentials.json file in place?

Maybe your command line calling zotify still makes use of parameters "--username" and "--paswword"  ... ?
If such is the case==> with confing.json properly setup you then want to REMOVE these 2 parameters from command line.
Also, maybe try to use parameter "--credentials-location" to explicitly give it the path to the json file you generated.
Below, a digest of ztify command line options.

usage: zotify [-h] [-ns] [--config-location CONFIG_LOCATION] [--username USERNAME] [--password PASSWORD] [-l] [-f]
[-p] [-s [SEARCH]] [-d DOWNLOAD] [--save-credentials SAVE_CREDENTIALS]
[--credentials-location CREDENTIALS_LOCATION] [--output OUTPUT] [--song-archive SONG_ARCHIVE]
[--root-path ROOT_PATH] [--root-podcast-path ROOT_PODCAST_PATH] [--split-album-discs SPLIT_ALBUM_DISCS]
[--download-lyrics DOWNLOAD_LYRICS] [--md-save-genres MD_SAVE_GENRES] [--md-allgenres MD_ALLGENRES]
[--md-genredelimiter MD_GENREDELIMITER] [--download-format DOWNLOAD_FORMAT]
[--download-quality DOWNLOAD_QUALITY] [--transcode-bitrate TRANSCODE_BITRATE]
[--skip-existing SKIP_EXISTING] [--skip-previously-downloaded SKIP_PREVIOUSLY_DOWNLOADED]
[--retry-attempts RETRY_ATTEMPTS] [--bulk-wait-time BULK_WAIT_TIME]
[--override-auto-wait OVERRIDE_AUTO_WAIT] [--chunk-size CHUNK_SIZE]
[--download-real-time DOWNLOAD_REAL_TIME] [--language LANGUAGE] [--print-splash PRINT_SPLASH]
[--print-skips PRINT_SKIPS] [--print-download-progress PRINT_DOWNLOAD_PROGRESS]
[--print-errors PRINT_ERRORS] [--print-downloads PRINT_DOWNLOADS] [--print-api-errors PRINT_API_ERRORS]
[--print-progress-info PRINT_PROGRESS_INFO] [--print-warnings PRINT_WARNINGS]
[--temp-download-dir TEMP_DOWNLOAD_DIR]
[urls ...]

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo new project-name --bin
cd project-name
cargo build --release
git clone https://github.com/librespot-org/librespot
cd librespot
cargo run --no-default-features -- --cache . --enable-oauth
# Follow the login link printed to the terminal and login in your web browser
# ^C
cat credentials.json | sed 's/"auth_type":1,/"type":"AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS",/' | sed 's/auth_data/credentials/'

Wow, thanks for this guide. I get my credentials updated but zotify shows me an strange Enter search: output after putting the command to download.
That's strange and I don't know what it means.

how to authenticate using the new oauth way:
install git, rust and cargo, download the following branch of librespot https://github.com/kingosticks/librespot/tree/credentials_with_access_token
run branch using:
cargo run --no-default-features -- --cache . --token ""

you'll need to open a link and let it redirect to the local librespot webservice.
if everything went well you end up with a credentials.json in the directory, which looks like this:
{
  "username": "QWERQWERQWERQWER",
  "auth_type": 1,
  "auth_data": "ASDFASDFASDF"
}

change it to look like the follwing:
{
  "username": "QWERQWERQWERQWER",
  "type": "AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS",
  "credentials": "ASDFASDFASDF"
}

and you're done - don't forget to refrence the credentials.json in you zotify/config.json

Update
Some things have changed, this method works on Mac (Silicon chip) (It might work for any OS actually)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo new project-name --bin
cd project-name
cargo build --release
git clone https://github.com/librespot-org/librespot
cd librespot
cargo run --no-default-features -- --cache . --enable-oauth
# Follow the login link printed to the terminal and login in your web browser
# ^C
cat credentials.json | sed 's/"auth_type":1,/"type":"AUTHENTICATION_STORED_SPOTIFY_CREDENTIALS",/' | sed 's/auth_data/credentials/'

Place these credentials inside ~/Library/Application Support/Zotify/credentials.json

that's cool I have the credentials.json file but what argument do I use because it just gives me the username and password prompt.

Did you tried without credentials.json? I'm not close to the laptop but it probably do the trick.
Or just use the default folder with zotify as is.

Did you tried without credentials.json? I'm not close to the laptop but it probably do the trick.
Or just using the default folder with zotify as is.

yes I did and it just ask me for my username and password and you need oauth as of right now

I kindly suggest you to put the credentials into default folder of your system and skipp to add the variable. It should work.

I kindly suggest you to put the credentials into default folder of your system and skipp to add the variable. It should work.

if you mean putting the credentials in application support/zotify/,
yes I did and it still ask me for may username and password.

I kindly suggest you to put the credentials into default folder of your system and skipp to add the variable. It should work.

if you mean putting the credentials in application support/zotify/, yes I did and it still ask me for may username and password.

Hey @Minetrio1256,
I believe @satonotdead means to put the credentials in the root directory where you are located when you use the cd command. I was able to get it working by doing cp credentials.json ~/ when inside the librespot directory. Hope this helps!

I kindly suggest you to put the credentials into default folder of your system and skipp to add the variable. It should work.

if you mean putting the credentials in application support/zotify/, yes I did and it still ask me for may username and password.

Hey @Minetrio1256, I believe @satonotdead means to put the credentials in the root directory where you are located when you use the cd command. I was able to get it working by doing cp credentials.json ~/ when inside the librespot directory. Hope this helps!

The credentials.json is in the root directory and in ~/Library/Application Support/Zotify/credentials.json


Release 0.6.2

And another. I should not have released 0.6.1. It didn't have anything useful.
0.6.2-SNAPSHOT has the updated releaseProcess and will get used in the 0.6.2 release.

Wait a moment, AFAIK the build is going to fail due to the plugin not found, am I missing something?


⚠ ClamAV has degraded performance

In c017608, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 80 ms

Resolved: ClamAV performance has improved in cc40202.


Fix 2 "unused parameter" build warnings

Comment unused parameters to avoid build warnings when Recast and Detour and built with /W4 on windows or -Wunused-parameter on gcc/clang

Thank you for merging the PR

Thanks for the fixes! :+1:


Update for wagtail 2.10 - remove request.site reference

https://docs.wagtail.io/en/latest/releases/2.9.html#upgrade-considerations
As of wagtail 2.10 request.site is no longer available. The suggested replacement appears to have been available way back, so shouldn't cause backwards compatibility issues.

Pipeline test failure above will be resolved by #9


Exception when loading parquet

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/shughes/miniconda3/lib/python3.5/site-packages/dask/dataframe/io/parquet.py", line 286, in read_parquet
    categories=categories, index=index)
  File "/Users/shughes/miniconda3/lib/python3.5/site-packages/dask/dataframe/io/parquet.py", line 68, in _read_fastparquet
    minmax = fastparquet.api.sorted_partitioned_columns(pf)
  File "/Users/shughes/miniconda3/lib/python3.5/site-packages/fastparquet/api.py", line 607, in sorted_partitioned_columns
    sorted(max) == max and
TypeError: unorderable types: dict() < dict()

I've attached the parquet files that generate this error. They were created with dask also.
test.zip
It looks like it causes an issue when a column value is a dictionary

Unfortunately it loads OK for me.
I notice a couple of things:

column zonePlan is encoded as JSON, although everything is strings (actually just one value of a string): would recommend categorical, bytes or UTF8 encoding. This is the column that might look like a dict somehow.
no index was defined for the data (specifically, the pandas metadata exists, and says that none of the given columns should treated as the index)
timestamp looks very index-like, so even though no index is defined, index='timestamp' is probably a useful thing to do. Alternatively, index=False will prevent the attempt to guess an index, and so calling the stats functions; this happens automatically in your case of metadata specifying no index as of https://github.com/dask/dask/commit/81e1dea6c2f86238044f2b716cd9c601cb11b08b

Yes, it seems you are right, and calculating the order of column values fails for dictionaries. This should be silently ignored, since dictionaries should never be used as an index, and comparison operations ought always to fail.


Error when accessing using HTTP instead of HTTPS

At work the site https://www.opendota.com/ is blocked and if I try using http://www.opendota.com/ instead, I have access to the site, but the site do not display any data, everything is broken.
Search feature returns 0 results always
Request parse throws an error
Heroes page does not display the images of the heroes
Distributions page does not return any data

Replacing https://github.com/odota/ui/blob/b80e371a28aa8c46d6e8ebeebdd953930b868ae4/webpack.config.js#L77 from https://api.opendota.com to //api.opendota.com should work

Do we want it to work over http?
On Tue, Nov 8, 2016 at 10:52 AM blukai<EMAIL_ADDRESS>wrote:

Replacing
https://github.com/odota/ui/blob/b80e371a28aa8c46d6e8ebeebdd953930b868ae4/webpack.config.js#L77
from https://api.opendota.com to //api.opendota.com should work
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/odota/ui/issues/453#issuecomment-259174253, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAGKFRr2iBgQ6jGV2LFdAcsX2OBuifsNks5q8JqlgaJpZM4KsjCz
.

// means that requests will be addicted to protocol that user using.

Note: I undid this change since I enabled force HTTPS on cloudflare.
@OpenDotaUser does this prevent you from using the site completely?


Jx cellranger build ref gencode

In this PR:
Add a wdl workflow to generate cellranger reference using gencode annotation

Hey what's the intersection between the count matrix columns produced by this and the ones in SS2?

@mckinsel

Hey what's the intersection between the count matrix columns produced by this and the ones in SS2?
Did you mean the gene_id or transcript_id columns in RSEM outputs of SS2?

@jishuxu, I think I mean the gene id. (I think transcript doesn't make sense for 3' method right?)

@jishuxu, I think I mean the gene id. (I think transcript doesn't make sense for 3' method right?)

Just keep in mind that RSEM's output only have gene_id or tracking_id, not gene name.

@jishuxu it looks like the BuildCellRangerReferenceBundleEnsembl.wdl and BuildCellRangerReferenceBundleGencode.wdl are the same. Can we just have one generic wdl in that case and keep the two different input JSON files?

@jishuxu it looks like the BuildCellRangerReferenceBundleEnsembl.wdl and BuildCellRangerReferenceBundleGencode.wdl are the same. Can we just have one generic wdl in that case and keep the two different input JSON files?

I think the main workflow is the same but the task and inputs are the different. One is use gene_type and another is gene_biotype for attribute name. I talked with @rexwangcc before I implemented. my original thought was to use a input parameter to trigger the different task in the same workflow. The current way just tried to reduce the confusion. I am open to either approach,  let's pick up the best way then.

Oh I see! Could you make the attribute a parameter if that is the only difference between the two tasks?

Oh I see! Could you make the attribute a parameter if that is the only difference between the two tasks?

Sure, I will try!

Just updated and re-factor-ed wdls. Here is list of changes.

Now, to build Ensembl and Gencode references by one workflow BuildCellRangerRef
add a input variable ref_source to differentiate different annotation, Ensembl and Gencode
Also updated runtime. Now it only requires 8-core and 30G ram standard machine. It does takes a little bit longer compared to 64 cores.
two jsons files as inputs, BuildCellRangerReferenceBundleEnsembl.json and BuildCellRangerReferenceBundleGencode.json

Btw I love seeing the refactor of the code here, it is much cleaner now :) Thanks!!


Update to .Net 8

Update to .Net 8
Update dependencies
C# 12 code style

The build pipeline needs to be updated to use .Net 8 SDK


No tweets displayed for samples

Actual Behaviour
There are certain samples such as FOSSASIA Summit 2018 and Google Io extended whose tweet section shows No Tweets Available though tweets by their handles can be seen on twitter.
Expected Behaviour
The tweets should be shown.
Would you like to work on the issue?
Yes.

@mariobehling can i work on this issue?

Yes

okay, thank you