Error: Cannot find module 'semver'

Please only submit reproducible issues.
If you're not sure if it's a real bug or if it's just you, please open a topic on the forum: https://forum.magicmirror.builders/category/15/bug-hunt
Problems installing or configuring your MagicMirror? Check out: https://forum.magicmirror.builders/category/10/troubleshooting
When submitting a new issue, please supply the following information:
Platform: Raspberry Pi Zero w running DietPi v6.25.3
Node Version: ?
MagicMirror Version:  v2
Description: During install I get a  Error: Cannot find module 'semver' when I do step 4 on the manual Install : npm install && npm start
This happened on both the manual and bash command
Steps to Reproduce: step 4: Install and run the app with: npm install && npm start
Expected Results: I just want magic mirror to work
Actual Results: root@DietPi:~# bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
$$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$
$$$\    $$$ |                    _|          $$$\    $$$ |_|                                        $$  $$
$$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  _/  $$ |
$$$$$$ $$ | _$$\ $$  $$\ $$ |$$  |$$$$$$ $$ |$$ |$$  $$\ $$  $$\ $$  $$\ $$  $$\  $$$$$$  |
$$ $$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ $$$  $$ |$$ |$$ |  _|$$ |  _|$$ /  $$ |$$ |  _|$$  /
$$ |$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
$$ | _/ $$ |$$$$$$$ |$$$$$$$ |$$ |$$$$$$$\ $$ | _/ $$ |$$ |$$ |      $$ |      $$$$$$  |$$ |      $$$$$$$$
_|     _| _| _$$ |_| _|_|     _|_|_|      __|       _/ _|      _______|
$$\   $$ |
$$$$$$  |
_____/
this appears not to be a Raspberry Pi 2 or 3, do you want to continue installtion (y/N)?y
Updating packages ...
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 https://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
Installing helper tools ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.6).
curl is already the newest version (7.64.0-4).
git is already the newest version (1:2.20.1-2).
unzip is already the newest version (6.0-23+deb10u1).
wget is already the newest version (1.20.1-1.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v5.1.0
Installed Node version: v8.11.3
No Node.js upgrade necessary.
Check current NPM installation ...
NPM currently installed. Checking version number.
module.js:549
throw err;
^
Error: Cannot find module 'semver'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/share/npm/lib/utils/unsupported.js:2:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
Minimum npm version: V6.0.0
Installed npm version: V
npm should be upgraded.
Installing npm ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version (5.8.0+ds6-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
npm installation Done!
Cloning MagicMirror ...
Cloning into 'MagicMirror'...
remote: Enumerating objects: 315, done.
remote: Counting objects: 100% (315/315), done.
remote: Compressing objects: 100% (282/282), done.
remote: Total 315 (delta 39), reused 193 (delta 21), pack-reused 0
Receiving objects: 100% (315/315), 655.08 KiB | 771.00 KiB/s, done.
Resolving deltas: 100% (39/39), done.
Cloning MagicMirror Done!
Installing dependencies ...
module.js:549
throw err;
^
Error: Cannot find module 'semver'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/usr/share/npm/lib/utils/unsupported.js:2:14)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
Unable to install dependencies!
Configuration:  Don't have one yet?
Additional Notes: I have worse problems when installing on raspbian, seems like some major failure. The message below isn't while installing Magic Mirror, but I get a similar message
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.668667] Internal error: Oops: 17 [#1] ARM
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.767644] Process dpkg (pid: 739, stack limit = 0x5c2e8ed1)
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.774598] Stack: (0xd595dcc0 to 0xd595e000)
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.781256] dcc0: 00000000 da4bcc38 d4f0bc68 d595dcd8 c0117840 d595dec0 000004bc d595de20
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.788363] dce0: db0dc0e4 0000159a 00000000 000007ff d595de20 0000000c d595dd2c d595dd08
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.795253] dd00: c022226c c0242884 00000000 c01094e0 000004bd d595dd90 00058cbd 00000000
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.802477] dd20: d595ddcc d595dd30 c0227894 c02221f4 00000800 00000000 c02226fc c011cab4
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.809800] dd40: d595de07 d4f0bc68 d595de38 d8cd2118 d4f0bc68 0000000f 000004bf d595010f
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.816850] dd60: db0dbf34 db0dbf58 db0dbf7c db0dbfa0 db0dbfc4 db0dbfe8 db0dc00c db0dc030
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.824296] dd80: db0dc054 db0dc078 db0dc09c db0dc0c0 db0dc0e4 db0dc108 db0dc12c 2c58bbb1
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.831383] dda0: 00000002 d4f0bc68 d595dec0 00000000 d8cd2118 00000000 d595dec0 00000000
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.838804] ddc0: d595dea4 d595ddd0 c0228374 c0227628 00000000 0000000c d595de14 d595dde8
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.845941] dde0: 00000001 00000000 da502000 d4f0bd54 00000000 00000001 da5022d0 7fffffff
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.853406] de00: dacc28d0 0000000c d595de08 d595de08 da55a430 da55a430 d595de18 d595de18
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.860810] de20: d4f0bc68 d595dec0 000004bc 00000801 ffffffff d5934320 00058800 00000000
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.868242] de40: 00000000 00000800 00000060 0000000c d595dec0 d93e4460 d8d0e1e0 c019147c
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.875972] de60: 00058cbc 00000000 d595c001 d595dec0 00000024 2c58bbb1 00000000 d595dec0
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.883474] de80: d4f0bd54 d4f0bc68 7fffffff 00000000 00000000 00000000 d595debc d595dea8
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.891298] dea0: c01189d4 c0227d8c d4f0bd54 c09e3028 d595df34 d595dec0 c0108880 c01189b0
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.898817] dec0: 7ffffb43 00000000 00000000 00000000 ffffffff 7fffffff 00000000 00000000
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.906657] dee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.914127] df00: c09e3028 2c58bbb1 d58bfaa0 00000000 00000000 d5958aa0 d4f0bd54 00000002
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.921870] df20: 00000000 d5958aa0 d595df7c d595df38 c01a8508 c01087d4 ffffffff 7fffffff
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.929337] df40: 00000000 0000009a ffffffff 7fffffff d595df94 00000000 00000000 beb49ad0
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.937129] df60: 00000155 c00091a4 d595c000 00000000 d595dfa4 d595df80 c01a8594 c01a83b0
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.944709] df80: 00000000 00000000 00000002 d595df98 00000000 00000000 00000000 d595dfa8
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.952390] dfa0: c0009000 c01a8578 00000000 00000000 0000000b 00000002 00000000 00000000
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.960192] dfc0: 00000000 00000000 beb49ad0 00000155 0159af66 00de4280 ffffffff 00de4218
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4500.967783] dfe0: 0000006c beb496c0 00013de8 b6ef4d0c 60000010 0000000b 00000000 00000000
Message from syslogd@raspberrypi at Sep 24 18:13:12 ...
kernel:[ 4501.075602] Code: e1a02000 e1a01005 e5980000 ebfd77db (e1c821d0)

Thanks for opening an issue!
To allow us to help you it's extremely important that we have all the details about your setup. During the creation of this issue, important details were asked to fill in. Because you did not provide (any) of these details we are unable to help you.
If you are running into errors, please provide as many detailed error logs as possible in addition to the requested details.
If you are unaware how to retrieve all the requested information, feel free to ask for help on http://forum.magicmirror.builders.
This issue will be closed. Feel free to open a new issue with all the requested information.

Is this a canned response? Because I did have lots of details in my post,
may be I didn't have all the details asked for but I had most.
On Fri, Oct 4, 2019 at 11:24 AM Michael Teeuw<EMAIL_ADDRESS>wrote:

Thanks for opening an issue!
To allow us to help you it's extremely important that we have all the
details about your setup. During the creation of this issue, important
details were asked to fill in. Because you did not provide (any) of these
details we are unable to help you.
If you are running into errors, please provide as many detailed error logs
as possible in addition to the requested details.
If you are unaware how to retrieve all the requested information, feel
free to ask for help on http://forum.magicmirror.builders.
This issue will be closed. Feel free to open a new issue with all the
requested information.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1771?email_source=notifications&email_token=ANJ4ANEU7HI7ZCNCEL7YMELQM5U5FA5CNFSM4I2UIT7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAMFZZA#issuecomment-538467556,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANJ4ANFO2MKFM7FJZQ4OGTTQM5U5FANCNFSM4I2UIT7A
.

Anyhow the problem I was having was because of some shorted GPIO pins, killing all GPIOs and causing the kernel errors.
It now works and I'm having a problem auto starting videos but that is a problem for another thread.


refactor(meta): reorganize global barrier manager field

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
This PR includes some general refactors on the global barrier manager.
First, currently we have GlobalBarrierManager and GlobalBarrierManagerContext. GlobalBarrierManager is actually a owned worker that works in a loop to handle different async barrier event, and GlobalBarrierManagerContext holds some shared structs and is used by both the GlobalBarrierManager worker and other external usages (e.g. DdlController and etc). In this PR, the GlobalBarrierManager worker is renamed to GlobalBarrierWorker, and GlobalBarrierManagerContext is renamed to GlobalBarrierWorkerContext, and will be used by only GlobalBarrierWorker. The external usages will only use a new GlobalBarrierManager, which contains only the fields used by the external usages. With this refactor, only the GlobalBarrierManager has the pub visibility, and the GlobalBarrierWorker and the GlobalBarrierWorkerContext will only be visible within the crate.
Second, in the code of barrier manager, the tuple (prev_epoch, curr_epoch, barrier_kind) appears together in many codes. In this PR, we extract them to a new struct BarrierInfo that holds the 3 fields, and some related code can be less verbose.
Third, the BarrierWorkerState will be moved from GlobalBarrierWorker to CheckpointControl, and the logic of handle_new_barrier in GlobalBarrierWorker is narrowed down to only within CheckpointControl, so that it becomes a method of CheckpointControl only. Besides, previously in GlobalBarrierWorker, we have a separate field pending_non_checkpoint_barriers, which tracks the inflight non-checkpoint barrier before the next checkpoint barrier. In this PR, the field is moved to BarrierWorkerState, and we introduce a method next_barrier_info to generate a BarrierInfo of the next barrier in a single method call. In handle_new_barrier, the BarrierWorkerState becomes immutable after apply_command.
Fourth, the CompletingTask is moved out of CheckpointControl to GlobalBarrierWorker, which decouples the logical CheckpointControl from the physical join handle that calls commit_epoch. In the future PR that supports database isolation, we will have a CheckpointControl per database, but still a single global CompletingTask.
Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

The external usages will only use a new GlobalBarrierManager, which contains only the fields used by the external usages

IIUC GlobalBarrierManager will be the external interface used by other services, e.g. DdlController, ScaleServiceImpl? Then GlobalBarrierWorker takes care of the event loop, handling barrier events. If so this change LGTM.


Ignore benign setup() invocations in cmd-overwrite

It is a common pattern to use setuptools's setup() override to change the behavior of the default set up invocation. However, many packages don't use the entry points feature of setuptools setup() or call any additional code. It is fairly obvious when setup() is calling other code.
We should modify cmd-overwrite to be more granular when scanning for setup() in setup.py.

cmd-overwrite requires the use of cmdclass to further execute extra code at installation time.
closing this one


Migrate the Firefox version to a WebExtension

Firefox will not support old-style XUL-based extensions starting November 2017 (in Firefox 57+). Do you have plans to migrate to a new WebExtension standard?
Perhaps porting the existing Chrome extension might be easier that the current Firefox one.

Is anyone actively working on this?

@schalkneethling The last YSlow version was released 4.5 years ago. The last commit landed 3.5 years ago. I think it's safe to assume this project is not maintained anymore.

@mgol Yup, I noticed that. Thanks for the reply.


Refresh

Home assistant 23.1
Python 3.4.2
Chrome & Firefox on tablet PC and phone.
Every time returning to the web page a refresh is required to get things streaming again.
Even after a reset is called using the interface after hass has rebooted you must push f5 to get streaming.
This is also happening to my work colleague who has similar setup at his house.
Previous version 0.20 worked ok. Then i jumped to 23.1

It was fixed in the dev branch recently, which is not in 23.1 yet from what I can see

Thank you.

:+1: feel free to reopen if it persists in the next release. dev has been pretty quick to reconnect for me on iOS & Firefox


Add activation parameter to BatchNormalization

Describe the problem
This is a feature request: add activation parameter to the BatchNormalization layer.
This layer is often followed by an activation function, e.g., ReLU, hence it would be convenient to provide it as a parameter similar to the Dense layer.

@eli-osherovich,
Can you please provide more details and a use case where this Feature is applicable? Thanks!

@rmothukuru
Most modern architectures use BN followed by an activation layer (typically ReLU). It would be nice (and more aligned with other layers, e.g., Dense, Conv) to have activation parameter directly within the BN layers. The code will also be more concise.

@fchollet: leave this to Francois as API owner for further comment.

Hello, Thank you for reporting an issue.
We're currently in the process of migrating the new Keras 3 code base from keras-team/keras-core to keras-team/keras.
Consequently, This issue may not be relevant to the Keras 3 code base . After the migration is successfully completed, feel free to reopen this Issue at keras-team/keras if you believe it remains relevant to the Keras 3 code base. If instead this Issue is a bug or security issue in legacy tf.keras, you can instead report a new issue at keras-team/tf-keras, which hosts the TensorFlow-only, legacy version of Keras.
To know more about Keras 3, please read https://keras.io/keras_core/announcement/


When I'm trying to upload my app, fastlane crashes

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Hi, when I'm trying to upload my ipa to itunes connect - fastlane finished with errors. Thank you 🙏
Complete output when running fastlane, including the stack trace and command used

You can use: --capture_output as the last commandline argument to get that collected for you

Command Used: upload
Output/Log

DEBUG [2017-04-22 16:37:56.74]: Checking if there are any plugins that should be loaded...
INFO [2017-04-22 16:37:56.76]: -------------------------------------------------
INFO [2017-04-22 16:37:56.76]: --- Step: Verifying required fastlane version ---
INFO [2017-04-22 16:37:56.76]: -------------------------------------------------
INFO [2017-04-22 16:37:56.76]: Your fastlane version 2.28.3 matches the minimum requirement of 2.28.3  ✅
INFO [2017-04-22 16:37:56.77]: ------------------------------
INFO [2017-04-22 16:37:56.77]: --- Step: default_platform ---
INFO [2017-04-22 16:37:56.77]: ------------------------------
INFO [2017-04-22 16:37:56.77]: Driving the lane 'ios upload' 🚀
INFO [2017-04-22 16:37:56.77]: -----------------------
INFO [2017-04-22 16:37:56.77]: --- Step: cocoapods ---
INFO [2017-04-22 16:37:56.77]: -----------------------
INFO [2017-04-22 16:37:57.04]: gem 'cocoapods' is already installed
INFO [2017-04-22 16:37:57.04]: $ pod install
INFO [2017-04-22 16:37:59.15]: ▸ Analyzing dependencies
INFO [2017-04-22 16:37:59.15]: ▸ Downloading dependencies
INFO [2017-04-22 16:37:59.15]: ▸ Using Alamofire (4.4.0)
INFO [2017-04-22 16:37:59.15]: ▸ Using Cloudinary (2.0.1)
INFO [2017-04-22 16:37:59.15]: ▸ Using Crashlytics (3.8.4)
INFO [2017-04-22 16:37:59.15]: ▸ Using Fabric (1.6.11)
INFO [2017-04-22 16:37:59.15]: ▸ Using PureLayout (3.0.2)
INFO [2017-04-22 16:37:59.15]: ▸ Using RevealingSplashView (0.1.0)
INFO [2017-04-22 16:37:59.15]: ▸ Using SAConfettiView (0.1.8)
INFO [2017-04-22 16:37:59.15]: ▸ Using SVProgressHUD (2.1.2)
INFO [2017-04-22 16:37:59.15]: ▸ Using SwiftKeychainWrapper (3.0.1)
INFO [2017-04-22 16:37:59.15]: ▸ Using SwiftyJSON (3.1.4)
INFO [2017-04-22 16:37:59.15]: ▸ Using iosMath (0.9.3)
INFO [2017-04-22 16:37:59.15]: ▸ Generating Pods project
INFO [2017-04-22 16:37:59.15]: ▸ Integrating client project
INFO [2017-04-22 16:38:01.81]: ▸ Sending stats
INFO [2017-04-22 16:38:01.84]: ▸ Pod installation complete! There are 11 dependencies from the Podfile and 11 total pods installed.
INFO [2017-04-22 16:38:01.87]: ---------------------
INFO [2017-04-22 16:38:01.87]: --- Step: deliver ---
INFO [2017-04-22 16:38:01.87]: ---------------------
Successfully loaded Appfile at path '/Users/vyacheslav/Desktop/pokemonz-app-ios/fastlane/Appfile'
- app_identifier: 'com.horbac.pokemonz-app'
- apple_id<EMAIL_ADDRESS>- team_id: 'MJ6Q39T6CJ'
-------
INFO [2017-04-22 16:38:01.91]: Successfully loaded '/Users/vyacheslav/Desktop/pokemonz-app-ios/fastlane/Deliverfile' 📄

+------------------------+--------------------------------------+
|         Detected Values from './fastlane/Deliverfile'         |
+------------------------+--------------------------------------+
| app_identifier         | com.horbac.pokemonz-app                   |
| username               |<EMAIL_ADDRESS>                   |
| price_tier             | 0                                    |
| app_review_information | {:first_name=>"Vjaceslav",           |
|                        | :last_name=>"Horbac",                |
|                        | :phone_number=>"+44 7490 403 517",   |
|                        |<EMAIL_ADDRESS> |
|                        | :demo_user=>"No demo account         |
|                        | needed", :demo_password=>"No demo    |
|                        | account needed", :notes=>"Hello,     |
|                        | Apple Reviewer! TEST TEST\n\n  We    |
|                        | forgot to include our in-app         |
|                        | purchases together with our          |
|                        | previous build. We just fixed        |
|                        | that.\n\n  Thanks again and keep     |
|                        | rocking!\n  Vjacelsav\n\n  ps. you   |
|                        | make App Store better!"}             |
| submission_information | {:export_compliance_encryption_upda  |
|                        | ted=>false,                          |
|                        | :export_compliance_uses_encryption=  |
|                        | >false,                              |
|                        | :content_rights_contains_third_part  |
|                        | y_content=>false,                    |
|                        | :add_id_info_uses_idfa=>false}       |
| automatic_release      | false                                |
| app_icon               | ./fastlane/metadata/app_icon.jpg     |
| copyright              | Copyright (c) 2017 Vjaceslav Horbac    |
|                        | Ltd                                  |
| primary_category       | MZGenre.Education                    |
| secondary_category     | MZGenre.Utilities                    |
| app_rating_config_path | ./fastlane/metadata/itunes_rating_c  |
|                        | onfig.json                           |
+------------------------+--------------------------------------+

INFO [2017-04-22 16:38:01.92]: Login to iTunes Connect<EMAIL_ADDRESS>WARN [2017-04-22 16:38:04.62]: Lane Context:
INFO [2017-04-22 16:38:04.62]: {:DEFAULT_PLATFORM=>:ios, :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios upload"}
ERROR [2017-04-22 16:38:04.62]:
INFO [2017-04-22 16:38:04.62]: Successfully generated documentation at path '/Users/vyacheslav/Desktop/pokemonz-app-ios/fastlane/README.md'

+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | Verifying required  | 0           |
|      | fastlane version    |             |
| 2    | default_platform    | 0           |
| 3    | cocoapods           | 5           |
| 💥   | deliver             | 2           |
+------+---------------------+-------------+

ERROR [2017-04-22 16:38:04.64]: fastlane finished with errors

Looking for related GitHub issues on fastlane/fastlane...
Search query:

URL: https://api.github.com/search/issues?q=+repo:fastlane/fastlane
➡  Feature request: use deliver to manage apps bundle metadata and screenshots
   https://github.com/fastlane/fastlane/issues/8965 [open] 2 💬
   11 hours ago

➡  Pilot - Error when distributing build to external group
   https://github.com/fastlane/fastlane/issues/8964 [open] 0 💬
   15 hours ago

➡  Fixed recent spaceship change to work on Ruby 2.0 too
   https://github.com/fastlane/fastlane/pull/8963 [closed] 1 💬
   an hour ago

and 8950 more at: https://github.com/fastlane/fastlane/search?q=&type=Issues&utf8=✓

🔗  You can ⌘ + double-click on links to open them directly in your browser.

🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.4

Ruby
2.4.1

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.4 (16E195)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.28.3"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Creating a code signing certificate and provisioning profile"
  lane :provision do
    cert
    sigh(force: true)
  end

  desc "Create ipa"
  lane :build do
    increment_build_number
    gym
  end

  desc "Upload to App Store"
  lane :upload do
    deliver
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "pokemonz-appr") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "pokemonz-app") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # This block is called if there was an error running a lane.
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.horbac.pokemonz-app" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "MJ6Q39T6CJ" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.28.3
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.28

json
2.0.2

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

io-console
0.4.6

openssl
2.0.3

bigdecimal
1.3.0

psych
2.2.2

generated on: 2017-04-22

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.4

Ruby
2.4.1

Bundler?
false

Git
git version 2.11.0 (Apple Git-81)

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.12.4 (16E195)

Ruby Lib Dir
/usr/local/Cellar/ruby/2.4.1_1/lib

OpenSSL Version
OpenSSL 1.0.2k  26 Jan 2017

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.28.3"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
    cocoapods

  end

  desc "Creating a code signing certificate and provisioning profile"
  lane :provision do
    cert
    sigh(force: true)
  end

  desc "Create ipa"
  lane :build do
    increment_build_number
    gym
  end

  desc "Upload to App Store"
  lane :upload do
    deliver
  end

  desc "Runs all the tests"
  lane :test do
    scan
  end

  desc "Submit a new Beta Build to Apple TestFlight"
  desc "This will also make sure the profile is up to date"
  lane :beta do
    # match(type: "appstore") # more information: https://codesigning.guide
    gym(scheme: "pokemonz-app") # Build your app - more options available
    pilot

    # sh "your_script.sh"
    # You can also use other beta testing services here (run `fastlane actions`)
  end

  desc "Deploy a new version to the App Store"
  lane :release do
    # match(type: "appstore")
    # snapshot
    gym(scheme: "pokemonz-app") # Build your app - more options available
    deliver(force: true)
    # frameit
  end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful

    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # This block is called if there was an error running a lane.
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "com.horbac.pokemonz-app" # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "MJ6Q39T6CJ" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.28.3
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.1.0

slack-notifier
1.5.1

CFPropertyList
2.3.5

claide
1.0.1

colored2
3.1.2

nanaimo
0.2.3

xcodeproj
1.4.4

rouge
1.11.1

xcpretty
0.2.6

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

plist
3.2.0

public_suffix
2.0.5

addressable
2.5.1

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.5.0

babosa
1.0.2

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

excon
0.55.0

faraday
0.12.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170404

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.0

gh_inspector
1.0.3

uber
0.0.15

representable
2.3.0

retriable
2.1.0

mime-types-data
3.2016.0521

mime-types
3.1

hurley
0.2

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.2

jwt
1.5.6

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

google-api-client
0.9.28

json
2.0.2

mini_magick
4.5.1

multi_xml
0.6.0

rubyzip
1.2.1

security
0.1.3

xcpretty-travis-formatter
0.0.4

dotenv
2.2.0

bundler
1.14.6

faraday_middleware
<IP_ADDRESS>

io-console
0.4.6

openssl
2.0.3

generated on: 2017-04-22

I've just remembered that Apple is currently updating their servers, so they are in maintenance mode. I'll try again, once they're back online.

Hey @thehorbach could you confirm if this is fixed or not?

@ohayon sorry, forgot - yes it was Apple Servers :]

WOOT 🚀


Antela Smart plug updating slow (is there an interval setting for yaml?)

Hey there,
I have bought some Antela Smart Plugs, they're get well recognized with smartplugv2.yaml but after it updates 3 times every 5 minutes it stopped updating. After I plugged it in it update the first 2-3 Times (only every 5 Minutes) but then it got stuck on 93,2W. This is not the behaviour I would expect from "Smart Switch Gotchas", so maybe someone could point out where to get me a hint to add an update interval to the yaml config or an extended error log to see what's going wrong...
PS:
Ah sorry and totally forgot to tell that the switches are cut off from the internet by mac-address filtering

Update: It is updating (gosh what an englich :D) but very slow. Is there a way to add a scan interval or increase it in smartplugv2.yaml or globally (doesn't mind if it is specifig or the whole eco system)?

Basically this issue is a duplicate of issue #176, but it is likely being made worse by the fact that you are blocking network access for the device (which would be device behaviour that is outside our control).


Points in range are not displayed

🐛 Bug Report
Points in range are not displayed cf forum.image.sc post , @jni suggested to open an issue
💡 Steps to Reproduce

import numpy as np
import napari

viewer = napari.Viewer()

# Make an Image
image_range = 20
square = np.zeros((image_range , 128, 128)) # make a 0 background stack with 20z 128x128
square[ : , 32:64 , 32:64] = 128 # make a square on all slices

# Make a list of  Points
points_range = 500
XYZ = np.random.rand( 50 , 3  )
posXYZ = XYZ * ( points_range , 128 ,128)
point_properties = {
    'confidence': np.ndarray.flatten( np.random.rand( 50 , 1  ) ), # to add random colors to the point for visibility
}

#Add to viewer
range_ratio = points_range / image_range

viewer.add_image(square ,  scale=( range_ratio ,1,1) ,  contrast_limits = (0,512) , opacity=0.5 )

viewer.add_points( posXYZ ,
                      properties=point_properties,
                      face_color='confidence',
                      face_colormap='viridis',
                 )

viewer.dims.set_range(0, (0 , 500 , 1) ) # this is the default, with this example one can see all the points

# After running
viewer.dims.set_range(0, (0 , 500 , range_ratio ) )
# Only a few dots are visible (if they are exactly at the coordinates of the slice

# feature request / bug correction : project the points positioned at +/-(range_ratio / 2) around the slice

💡 Expected Behavior
project the points positioned at +/-(range_ratio / 2) around the slice
🌎 Environment
napari: 0.4.19
Platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
System: Ubuntu 22.04.3 LTS
Python: 3.9.18 | packaged by conda-forge | (main, Dec 23 2023, 16:33:10) [GCC 12.3.0]
Qt: 5.15.8
PyQt5: 5.15.9
NumPy: 1.26.4
SciPy: 1.12.0
Dask: 2024.2.1
VisPy: 0.14.1
magicgui: 0.8.1
superqt: 0.6.1
in-n-out: 0.1.9
app-model: 0.2.4
npe2: 0.7.4
OpenGL:

GL version: 4.5 (Compatibility Profile) Mesa 23.0.4-0ubuntu1~22.04.1
MAX_TEXTURE_SIZE: 16384

Screens:

screen 1: resolution 1705x1768, scale 1.0

Settings path:

/home/biop/.config/napari/brainrender_99a07259ffd2c013441ab0a3f4a19c4f09f5962f/settings.yaml

💡 Additional Context
No response

Thanks for the report @romainGuiet! I indeed can reproduce the issue; we'll work to get a fix in ASAP!

I think I ran into this today when doing some points on oblique planes. I will try to take a closer look.


support v4.1+ & setting the version to install

Starting in CryoSPARC v4.1, the post-install script currently in main fails to install the application.  The errors I saw were the same as described by others on the CryoSPARC forum.  AFAICT, it traces back to the use of conda environments and the mismatch of trying to install the application as root and then changing the permissions back to the standard OS user.  This changes does away with installing the components as root and instead installs the master and worker software as the standard OS user.  It also removes trying to start the master application once before installing the worker and removes an environment variable that isn't needed.
Additionally, I added a new positional CLI argument for setting the version of CryoSPARC to install.  It defaults to latest, so there is no change in default behavior, but for users who want to pin/install a specific version, this will come in handy.  I used it to install v4.0.3 to test that this change also works for "older" CryoSPARC installs and it does.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Great update, thanks a bunch for the contribution. We're working on a fresh version of this that accommodates the formatting changes of the pcluster yaml in version 3.4 so stay tuned for an update.


Strength bars not showing in EN>ES tree due to change in bonus skills id

Hi. Thank you for the update from yesterday. However, it seems that there still some problems. In my EN>ES tree, I don't see the strength bars. I did some digging, and it seems that it is (again) connected to a change of the ID of bonus skills.
This line fixed the problem for me: const BONUS_SKILL_DIVIDER = "_23P6X";
Duo-Strength version: 1.2.10
Browser: Vivaldi (basically Chrome)
This is the full log from the console:
duoStrength.js:711 Uncaught (in promise) TypeError: Cannot read property '0' of undefined
at addStrengths (duoStrength.js:711)
at getStrengths (duoStrength.js:2020)
at handleDataResponse (duoStrength.js:2205)
at duoStrength.js:2235
at requestResponseMutationHandle (duoStrength.js:2133)
at MutationObserver.requestResponseHelper (duoStrength.js:2092)

Hi thanks for reporting this.
I must have forgotten to check if the bonus skill divider class changed. I desperately need to write a checklist to go through to check all the different features...
I'll make the change and do some more testing then release it as v1.2.11.
Toran

The classname for the bonus skill dividers has been updated in d7ea1e41a4e6b96cdaaa766afea135f726c04fb0. I am about to package up and release v1.2.11 including this change.

v1.2.11 has now been released on all browsers.
Thanks again for letting me know about the issue!
Toran


Add CITATION.cff

@marcocuturi I think we can replace the CITATION.bib we have with this.

Closing as stale, we can revisit later.


enforcing Dirichlet conditions in ex21 mars symmetry

While following up the discussion of enforce #591, in particular in relation to generalized eigenvalue problems, I noticed that it had been used in
https://github.com/kinnala/scikit-fem/blob/56fe1564d39c6ae0ea94c98c4ace2f864e4db106/docs/examples/ex21.py#L88
but then that running the example raises quite a lot of noise.
/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/numpy/core/_asarray.py:83: ComplexWarning: Casting complex values to real discards the imaginary part
  return array(a, dtype, copy=False, order=order)
Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/tkinter/__init__.py", line 1885, in __call__
    return self.func(*args)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/tkinter/__init__.py", line 806, in callit
    func(*args)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/backends/_backend_tk.py", line 253, in idle_draw
    self.draw()
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw
    super(FigureCanvasTkAgg, self).draw()
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
    self.figure.draw(self.renderer)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/figure.py", line 1863, in draw
    mimage._draw_list_compositing_images(
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
    a.draw(renderer)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 445, in draw
    sorted(self.collections,
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 446, in <lambda>
    key=lambda col: col.do_3d_projection(renderer),
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/mpl_toolkits/mplot3d/art3d.py", line 669, in do_3d_projection
    self.update_scalarmappable()
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/collections.py", line 855, in update_scalarmappable
    self._facecolors = self.to_rgba(self._A, self._alpha)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/cm.py", line 333, in to_rgba
    rgba = self.cmap(x, alpha=alpha, bytes=bytes)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/colors.py", line 610, in __call__
    rgba = lut[xa]
IndexError: arrays used as indices must be of integer (or boolean) type

Is the ComplexWarning due to the loss of symmetry mentioned in #591 on 2021-04-02?  I note that in §8.4.3 ‘Keeping the essential nodes’ of Ern & Guermond (2004, cited in #591):

If the bilinear form a is symmetric, this technique has the apparent drawback of breaking the symmetry of the stiffness matrix.  Actually, symmetry is not lost if an iterative method is used to solve the linear system.

That was with matplotlib 3.3.2; on (pip install -U matplotlib) upgrading to 3.4.1, it's:
/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/skfem/visuals/matplotlib.py:39: MatplotlibDeprecationWarning: Axes3D(fig) adding itself to the figure is deprecated since 3.4. Pass the keyword argument auto_add_to_figure=False and use fig.add_axes(ax) to suppress this warning. The default value of auto_add_to_figure will change to False in mpl3.5 and True values will no longer work in 3.6.  This is consistent with other Axes classes.
  ax = Axes3D(fig)
/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/numpy/core/_asarray.py:83: ComplexWarning: Casting complex values to real discards the imaginary part
  return array(a, dtype, copy=False, order=order)
Exception in Tkinter callback
Traceback (most recent call last):
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/tkinter/__init__.py", line 1885, in __call__
    return self.func(*args)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/tkinter/__init__.py", line 806, in callit
    func(*args)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/backends/_backend_tk.py", line 239, in idle_draw
    self.draw()
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/backends/backend_tkagg.py", line 9, in draw
    super().draw()
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/backends/backend_agg.py", line 406, in draw
    self.figure.draw(self.renderer)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/artist.py", line 74, in draw_wrapper
    result = draw(artist, renderer, *args, **kwargs)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/artist.py", line 51, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/figure.py", line 2737, in draw
    mimage._draw_list_compositing_images(
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images
    a.draw(renderer)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/artist.py", line 51, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 485, in draw
    sorted(self.collections,
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/mpl_toolkits/mplot3d/axes3d.py", line 471, in do_3d_projection
    return artist.do_3d_projection()
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 431, in wrapper
    return func(*inner_args, **inner_kwargs)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/mpl_toolkits/mplot3d/art3d.py", line 796, in do_3d_projection
    self.update_scalarmappable()
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/collections.py", line 926, in update_scalarmappable
    self._mapped_colors = self.to_rgba(self._A, self._alpha)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/cm.py", line 360, in to_rgba
    rgba = self.cmap(x, alpha=alpha, bytes=bytes)
  File "/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/matplotlib/colors.py", line 641, in __call__
    lut.take(xa, axis=0, mode='clip', out=rgba)
TypeError: Cannot cast array data from dtype('complex128') to dtype('int64') according to the rule 'safe'

and the shown figure is blank.  (With 3.3.2 it was a uniform turquoise rather than the old graded plot that I remember.)

Switching back to condense, I see that the ComplexWarning is still raised, along with some other matplotlib stuff
/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/skfem/utils.py:178: ComplexWarning: Casting complex values to real discards the imaginary part
  y[I] = X
/home/gmcbain/miniconda3/envs/skfem/lib/python3.9/site-packages/skfem/visuals/matplotlib.py:39: MatplotlibDeprecationWarning: Axes3D(fig) adding itself to the figure is deprecated since 3.4. Pass the keyword argument auto_add_to_figure=False and use fig.add_axes(ax) to suppress this warning. The default value of auto_add_to_figure will change to False in mpl3.5 and True values will no longer work in 3.6.  This is consistent with other Axes classes.
  ax = Axes3D(fig)

but the figure is as I remembered it.

I think there are a few different things going on here.

Reverting to the current enforce makes
pytest -k ex21 tests/test_examples.py

fail (although not terribly significantly, though I'm wondering why it fails here and not in CI):
FAILED tests/test_examples.py::TestEx21::runTest - AssertionError: (50196.03548679974+0j) != 50194.51136114997 within 1 delta (1.5241256497683935 dif...

The eigenvalues L look like enforce:
array([ 50196.0354868 +0.j,<PHONE_NUMBER>673 +0.j,<PHONE_NUMBER>3364+0.j,
<PHONE_NUMBER>7617+0.j,<PHONE_NUMBER>3683+0.j])

and condense:
array([ 50194.94436948+0.j,<PHONE_NUMBER>8838+0.j,<PHONE_NUMBER>456 +0.j,
<PHONE_NUMBER>4065+0.j,<PHONE_NUMBER>5666+0.j])

which I don't think is anything to worry about.  I mean my previous fears about spurious eigenvalues don't seem to be relevant in the interesting part of the spectrum.

I'm thinking that it should be possible to use enforce #591 #596 in ex19 to clean up a lot of stuff like
https://github.com/kinnala/scikit-fem/blob/56fe1564d39c6ae0ea94c98c4ace2f864e4db106/docs/examples/ex19.py#L81-L84
in IVPs #531 but I haven't quite worked it out yet.


[WIP] Support pre-install patches

This is followup on @orta's PR (#13).
I was able to simplify the version resolving by using the sandbox that is available in the context.
Now post files should have a -post.rb suffic, and pre files -pre.rb.
This should still be tested with more than just my application, but I think it's good to go :)
cc: @threeve, since you needed pre installs in #10

Turns out I did my testing wrong, and it doesn't work correctly (yet) unfortunately.

Feels 👍 to me

Alright, I think it should be good now :)
I also tried to use the analyzer, since its initializer accepts the sandbox, podfile, and lockfile like so:
analyzer = Pod::Installer::Analyzer.new(context.sandbox, context.podfile, context.lockfile)
aggregate = Pod::Source::Aggregate.new(analyzer.sources)
spec_set = aggregate.search(Pod::Dependency.new('React'))

But the search on aggregate always returns the latest version of the spec, which isn't what we want obviously.
It might still be possible using the analyzer, and making the code a little more concise, but I'm not too familiar with the CocoaPods codebase, so can't say for sure.

Also updated the README, (and autoformatted it using Prettier)

Unfortunately there's now an issue with resolving local dependencies (specified by :path or :podspec)
UWRN is the library which for Artsy is Emission. So UWRN is add a dependency using a path, but the resolver than fails on finding the specification for this dependency.
@orta do you have any idea what would be the right fix here?
Pod::StandardError - [Bug] Unable to find the specification for `UWRN (from `~/Development/unitedwardrobe/UWRN-secondary`)`.
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.0/lib/cocoapods/resolver.rb:393:in `find_cached_set'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.0/lib/cocoapods/resolver.rb:372:in `specifications_for_dependency'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.0/lib/cocoapods/resolver.rb:177:in `search_for'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.0/lib/cocoapods/resolver.rb:288:in `block in sort_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.0/lib/cocoapods/resolver.rb:281:in `each'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.0/lib/cocoapods/resolver.rb:281:in `sort_by'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.0/lib/cocoapods/resolver.rb:281:in `sort_dependencies'

I created a workaround so that at least installation doesn't fail completely: #17


Add support of choosing different target storage class

Is your feature request related to a problem? Please describe.
Currently, all the objects to be replicated are uploaded to S3 with Standard storage class, it will be nice if it's possible to choose different target storage class whenever required.
Describe the solution you'd like
Add a new parameter for desitination storage class
Describe alternatives you've considered
n/a
Additional context
n/a

Feature implemented and tested successfully. Close this issue.


Help with Look Sync, Make Promise

Hi @isRuslan
You were so helpful with my last query that I have another quick on for you,
Here is my code (it works):
function getFoo () {
  return new Promise(function (resolve, reject){
    resolve('foo');
  });
}

function run (generator) {
  var it = generator(); //create itterator to control generator

  function go(result) { //result is what is yielded by the generator following it.next(), firt time around it is a new Promise

    if (result.done) return result.value; //returns undefined
    //if not done, the promise is pending

    console.log(result);                //{ value: Promise { 'foo' }, done: false }
    console.log(result.value);          //Promise { 'foo' }
    console.log(result.value.then());   //Promise { <pending> }

    result.value.then(fufilled,rejected); //return???

    function fufilled(value) {
      go(it.next(value)); //pass the resolved value back to the run function  - need to return???
    }

    function rejected(error) {
      go(it.throw(error));   //return???
    }

  }
  go(it.next()); //start generator
}

run(function* () {
  try {
    var foo = yield getFoo();
    console.log(foo);
  } catch (e) {
    console.log('Error: ' + e);
  }
});

I got stuck for a very long time dealing with the result parameter. I thought result was a Promise returned by getFoo()  but result.then() did not work.
Only through some logging
    console.log(result);                //{ value: Promise { 'foo' }, done: false }
    console.log(result.value);          //Promise { 'foo' }
    console.log(result.value.then());   //Promise { <pending> }

Did I see that  I needed to do result.value to access the Promise.
Can you explain why this is as nowhere in the documentation can I find any references to Promise.value
For example
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
creates a new promise p1 and then p1.then() works as I would expect.
The last thing is why are returns required here in your solution:
    return result.value.then(function (value) {
      return go(it.next(value));
    }, function (error) {
      return go(it.throw(error));
    });

I didn't put them in and it works fine, am I asking for trouble ;-)
Thanks so much again for everything!

Hi @swinston100!
Let's deep into promise + generators questions.

I see that I needed to do result.value to access the Promise.

This is absolutely true.
The result argument in example above is result of it.next() call and it.next returns an iterator which have {value: VALUE_FROM_YIELD, done: IS_THIS_FINISHED} semantic - this is very first exercise in learn-generators.
So result is not Promise from getFoo, it is an iterator from it.next which has Promise in .value field.

The last thing is why are returns required here in your solution

This is another truth.
But the return requirement exist not due to generators or only in this example. This is Promise implementation requirement.
Promise.prototype.then() should always return something.
Above example works with no return because there is no Promise chain. You can put several .then calls following one by another to get sync steps of async operations.
More docs and example in: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/then
Promises are really helpful with the help of generators, and the deserve separate workshopper.

@swinston100 if it solves your question, I'll close this.

Hi @isRuslan
Sorry I didn't see your answer until now.
Almost there...
The first part is very clear.
The second part is tougher to understand.
I see that
    function fufilled(value) {
      return go(it.next(value)); //pass the resolved value back to the run function
    }

    function rejected(error) {
      return go(it.throw(error));
    }

This would allow hypothetically to add another then() as follows:
result.value.then(fufilled,rejected).then()

But i still don't understand why the return here is necessary.
 return result.value.then(fufilled,rejected);

About the second part.
Yes, current implementation of run function does not require return keyword, this will work:
 return result.value.then(fufilled,rejected);

But still, it is correct to always return something from Promise, due to implementation requirements.

OK many thanks!


Synthesis failed for java-servicedirectory

Hello! Autosynth couldn't regenerate java-servicedirectory. :broken_heart:
Here's the output from running synth.py:
2020-10-28 22:15:40,150 autosynth [INFO] > logs will be written to: /kokoro/artifacts/logs/java-servicedirectory
2020-10-28 22:15:40,684 autosynth [DEBUG] > Running: git config --global core.excludesfile /root/.autosynth-gitignore
2020-10-28 22:15:40,687 autosynth [DEBUG] > Running: git clean -fdx
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/synthtool/autosynth/synth.py", line 259, in _inner_main
    git.configure_git(args.github_user, args.github_email)
  File "/synthtool/autosynth/git.py", line 37, in configure_git
    executor.check_call(["git", "config", "user.name", user])
  File "/synthtool/autosynth/executor.py", line 28, in check_call
    logger.debug(f"Running: {' '.join(command)}")
TypeError: sequence item 3: expected str instance, NoneType found

Google internal developers can see the full log here.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 9d26ea8 build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#206)
2020-10-28 22:26:52,833 autosynth [DEBUG] > Running: git checkout ab0498dc4bd2bcfcb70ab257e8edfa00f86083a6
Note: checking out 'ab0498dc4bd2bcfcb70ab257e8edfa00f86083a6'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ab0498dc fix!: update package names to avoid conflict with google-cloud-bigquery
2020-10-28 22:26:52,850 autosynth [DEBUG] > Running: git checkout ea52b8a0bd560f72f376efcf45197fb7c8869120
Note: checking out 'ea52b8a0bd560f72f376efcf45197fb7c8869120'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at ea52b8a docs: add proto-plus to intersphinx mapping (#832)
2020-10-28 22:26:52,857 autosynth [DEBUG] > Running: git branch -f autosynth-349
2020-10-28 22:26:52,861 autosynth [DEBUG] > Running: git checkout autosynth-349
Switched to branch 'autosynth-349'
2020-10-28 22:26:52,866 autosynth [INFO] > Running synthtool
2020-10-28 22:26:52,866 autosynth [INFO] > ['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']
2020-10-28 22:26:52,866 autosynth [DEBUG] > log_file_path: /kokoro/artifacts/logs/java-servicedirectory/349/sponge_log.log
2020-10-28 22:26:52,867 autosynth [DEBUG] > Running: /usr/local/bin/python -m synthtool --metadata synth.metadata synth.py --
2020-10-28 22:26:53,148 synthtool [DEBUG] > Executing /root/.cache/synthtool/java-servicedirectory/synth.py.
On branch autosynth-349
nothing to commit, working tree clean
2020-10-28 22:26:53,329 synthtool [DEBUG] > Ensuring dependencies.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/.cache/synthtool/java-servicedirectory/synth.py", line 32, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/synthtool/synthtool/languages/java.py", line 296, in bazel_library
    gapic = gcp.GAPICBazel()
  File "/synthtool/synthtool/gcp/gapic_bazel.py", line 39, in __init__
    self._ensure_dependencies_installed()
  File "/synthtool/synthtool/gcp/gapic_bazel.py", line 306, in _ensure_dependencies_installed
    f"Dependencies missing: {', '.join(failed_dependencies)}"
OSError: Dependencies missing: zip
2020-10-28 22:26:53,392 autosynth [ERROR] > Synthesis failed
2020-10-28 22:26:53,393 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9d26ea8 build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#206)
2020-10-28 22:26:53,398 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-28 22:26:53,403 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth is still having trouble generating java-servicedirectory. :sob:
Here's the output from running synth.py:
DO NOT EDIT!' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateEndpointRequest.java.
2020-10-28 22:44:17,914 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/UpdateServiceRequest.java.
2020-10-28 22:44:17,915 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/ListServicesResponse.java.
2020-10-28 22:44:17,915 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateNamespaceRequestOrBuilder.java.
2020-10-28 22:44:17,915 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/DeleteServiceRequest.java.
2020-10-28 22:44:17,915 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/ResolveServiceResponseOrBuilder.java.
2020-10-28 22:44:17,915 synthtool [INFO] > Replaced '// Generated by the protocol buffer compiler.  DO NOT EDIT!' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/CreateEndpointRequest.java.
2020-10-28 22:44:17,920 synthtool [INFO] > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/LocationName.java.
2020-10-28 22:44:17,921 synthtool [INFO] > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/NamespaceName.java.
2020-10-28 22:44:17,921 synthtool [INFO] > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/EndpointName.java.
2020-10-28 22:44:17,921 synthtool [INFO] > Replaced '/\\*\n \\* Copyright \\d{4} Google LLC\n \\*\n \\* Licensed under the Apache License, Version 2.0 \\(the "License"\\); you may not use this file except\n \\* in compliance with the License. You may obtain a copy of the License at\n \\*\n \\* http://www.apache.org/licenses/LICENSE-2.0\n \\*\n \\* Unless required by applicable law or agreed to in writing, software distributed under the License\n \\* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express\n \\* or implied. See the License for the specific language governing permissions and limitations under\n \\* the License.\n \\*/\n' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/proto-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/ServiceName.java.
2020-10-28 22:44:17,925 synthtool [INFO] > Replaced '^package (.*);' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/grpc-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/RegistrationServiceGrpc.java.
2020-10-28 22:44:17,925 synthtool [INFO] > Replaced '^package (.*);' in /tmp/tmp5g1xjqzn/google-cloud-servicedirectory-v1beta1-java/grpc-google-cloud-servicedirectory-v1beta1-java/src/main/java/com/google/cloud/servicedirectory/v1beta1/LookupServiceGrpc.java.
2020-10-28 22:44:18,034 synthtool [INFO] > Running java formatter on 19 files
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/synthtool/__main__.py", line 102, in <module>
    main()
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/synthtool/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/.cache/synthtool/java-servicedirectory/synth.py", line 32, in <module>
    bazel_target=f'//google/cloud/{service}/{version}:google-cloud-{service}-{version}-java',
  File "/synthtool/synthtool/languages/java.py", line 308, in bazel_library
    cloud_api=cloud_api,
  File "/synthtool/synthtool/languages/java.py", line 210, in _common_generation
    format_code(f"google-{cloud_prefix}{destination_name}/src")
  File "/synthtool/synthtool/languages/java.py", line 82, in format_code
    shell.run(["java", "-jar", str(jar), "--replace"] + files)
  File "/synthtool/synthtool/shell.py", line 33, in run
    encoding="utf-8",
  File "/usr/local/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/local/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/local/lib/python3.6/subprocess.py", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'java': 'java'
2020-10-28 22:44:18,098 autosynth [ERROR] > Synthesis failed
2020-10-28 22:44:18,098 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 9d26ea8 build(deps): update dependency com.google.cloud:google-cloud-shared-config to v0.9.4 (#206)
2020-10-28 22:44:18,114 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-10-28 22:44:18,128 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/local/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/synthtool/autosynth/synth.py", line 354, in <module>
    main()
  File "/synthtool/autosynth/synth.py", line 189, in main
    return _inner_main(temp_dir)
  File "/synthtool/autosynth/synth.py", line 334, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/synthtool/autosynth/synth.py", line 65, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/synthtool/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/synthtool/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['/usr/local/bin/python', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


Feature request: Pass cwd to terminal previewers

The "termopen()" function can receive "cwd" as an opts, so I would like to be able to pass this to the terminal previewers.
This is useful when I want to run "git log" using the current buffer path, which has nothing to do with Vim's cwd.
Currently this can be done with "sh -c", but it doesn't work on Windows, which is a problem.
NOTE: git can exec with any cwd by "-C" flag.

This is already solved with 26b2c1da44942293d8633b2f937b9ccfe6d3db04.


Redstone does not work the same as normal minercraft

**I am currently use almura 1.12.2 client, **

SpongeForge version: 1.12.2-2705-7.1.0-BETA-3320

SpongeAPI version: 7.1.0-SNAPSHOT-8976964

Java version: 8

Operating System: win 10

Plugins/Mods: Dockter's Almura from technics so I have no idea.
it does this on the server and a single player world
Issue Description
RedStone Does not work the same as in normal M.C comparators are one thing that is that has this
problem 1 dispenser  with water bucket comparator out the back  should get redstone level of 2 but always get power level of 1 when press button on top of it, it dispenses water and the redstone level should go down to 1 but the power level does not change.

For Reference, Vanilla 1.12: https://youtu.be/1Knze5oCjPw

Unable to replicate: https://youtu.be/qNP5eP8BMww
Tested on forge-1.12.2-<IP_ADDRESS>39-universal.jar with spongeforge-1.12.2-2705-7.1.0-BETA-3206.jar
No plugins or mods.

@ryantheleach that sf version is super old, test on latest

I retested on 1.12.2-2705-7.1.0-BETA-3322 and it still works.. still, testing on such an old build especially when the issue was made for a way newer build doesn't really help

@phit Apologies, must have hit recommended instead of latest on the download site by accident.


inline-block + 0 height rendering issue

A phantomjs snapshot of a 0 height inline-block element differs from what you actually see in the browser.

Which version of PhantomJS are you using?
2.1.1

What steps will reproduce the problem?

HTML
<!DOCTYPE html>

            abcd

Phantomjs script
var page = require('webpage').create();
page.open('file:///path/to/test.html', function(status) {
  if(status === "success") {
    page.render('example.png');
  }
  phantom.exit();
});

Expected
From Chrome Version 56.0.2924.87

Actual
Notice that the content is almost one line below the li marker

Which operating system are you using?
Windows 7 Enterprise (64 bit)

Did you use binary PhantomJS or did you compile it from source?
Binary

Could you try again with 2.5 binary please? Thanks!

Thanks! That fixed it.
Do you want me to close this now, or after 2.5 is officially published?


Removes quotes in column anomalies tests

Description
Resolves bug #913
Removes quotes from column names before comparison in the macro get_column_obj_and_monitors

Hey @Arun-kc ! Thanks for this contribution :) I want to run the test on this PR, can you update your master and merge it again? Then you can contact me and I'll run the tests

Hi @noaKurman, happy to help! I have updated the master and have merged it. Please take a look at it.


Update documentation cli

Description
This PR updates the documentation to include abqpy cli.
The text may be improved. This is a first version to appear in the documentation.
Related #1269
Backporting
This change should be backported to the previous releases:

[x] 2016
[x] 2017
[x] 2018
[x] 2019
[x] 2020
[x] 2021
[x] 2022

Type of change

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

Nice job!


Introduce RAPIDS.cmake a better way to fetch rapids-cmake

The original approach of using FetchContent naively to acquire
rapids-cmake has a subtle bug, which can easily be resolved
by using the new and improved RAPIDS.cmake approach.
Now to acquire rapids-cmake projects can do the following:
file(DOWNLOAD
    https://github.com/rapidsai/rapids-cmake/blob/branch-<Major>.<Minor>/RAPIDS.cmake
    ${CMAKE_BINARY_DIR})
include(${CMAKE_BINARY_DIR}/RAPIDS.cmake)

This will automatically fetch rapids-cmake if that hasn't happened
before. Otherwise unlike the old approach it will ensure that
rapids-cmake is in CMAKE_MODULE_PATH, solving a subtle bug.
When multiple adjacent projects included rapids-cmake via CPM they
would hit a bug where the second project couldn't find any rapids-cmake
modules.

rerun tests

@gpucibot merge


slickGoTo doesn't scroll at index -2, -3, ...

If I use your own example at http://jsfiddle.net/k70vendr/ on issue https://github.com/kenwheeler/slick/issues/960 and extend the slidesToShowup to 5, there I can use slickGoTo with an data-slick-index of -2 and it will be fine.
But if I use the current version 1.5.9 instead of 1.4.0 then the slider doesn't move.
Look at http://jsfiddle.net/4j6a1u22/.
Do I something wrong or truly a bug?

Hmmm....
if you can go ahead and create a proper JS fiddle with the unminified master branch ( http://jsfiddle.net/simeydotme/fmo50w7n/ ) then I can do some actual debugging and see if this is a bug or an intended change :)

The slick.js source was just embedded like kenwheeler wrote them before. Sorry...
Here a shorter one: http://jsfiddle.net/am7n6wnj/.

Hi!
Is there any news on this topic?
I'm stuck with exactly the same bug over here.
thx,
janein

#2285

fixed in this pull-request:
#2285

Temporary fix:
var index, slickObj;

index = -2;

slickObj = $('.wrapper').slick('getSlick');

if (index <= -2) {
  index += slickObj.slideCount;
}

slickObj.slickGoTo(index);


Main

Some Indention Adjustment

I did some indention adjustment

I'm sorry. These changes do not only fix intendatiob, but change the coding style.
I can't accept the patch.


Revert "Merge pull request #2 from championshuttler/master"

This reverts commit 62e52f776d9f60fc34712d6c937b8ed73ad490b6, reversing
changes made to b7bd0df0c84be2699d5439eb6b1026662ac78ae4.
Ref: https://github.com/kubernetes/.github/pull/2#issuecomment-768651790
/assign @mrbobbytables

/lgtm

/lgtm


DG-15578: sanitize validator error message output

https://github.com/Josebaseba/sails-hook-validator/pull/7


C33 SFU OTAUsage example just blinks LEDs?

The C33 SFU library example OTAUsage, doesn't look like it does what it should do. There is no code to download an update file to FS.

Hi @JAndrassy,
The OTAUsage example is included as a reference to show how to build an OTA binary. The intention was to upload the binary to our servers and create another example that downloads the file and performs the update, but we are fixing some issues related to download https://github.com/arduino/ArduinoCore-renesas/pull/134 https://github.com/arduino/ArduinoCore-renesas/pull/151
In the end i've decided to add this example that loads the update file directly from the sketch to the flash and performs the update.
As soon as all the fixes are merged we will add another example that is downloading the file and performs the update.


Search Terms not Coming Up when google trends has them

Hi! Thanks for all your work. Great script.
When analyzing the CHGG stock vs search term Chegg I get an error ( full error below).
It doesn't give the failed "There are no search terms" because there are search terms ( link to term, https://trends.google.com/trends/explore?date=today 5-y&geo=US&q=chegg ).
But it won't take that search results and index it to the chart... it works for AMZN and Microsoft and broader search terms ie (college) but it yields electoral college, and college football as search terms.
Thanks for all your help in advance.

AttributeError                            Traceback (most recent call last)
 in
----> 1 chegg.changepoint_date_analysis(search = 'chegg')
~\Projects\stocker.py in changepoint_date_analysis(self, search)
779
780             print('\n Top Related Queries: \n')
--> 781             #print(related_queries[search]['top'].head())
782
783             print('\n Rising Related Queries: \n')
AttributeError: 'NoneType' object has no attribute 'head'

Fixed.
Original Code:....
Line 688          pytrends.build_payload(kw_list, cat=0, timeframe=date_range[0], geo='', gprop='news')
Fixed Code (DELETE BOLD)....
Line 688          pytrends.build_payload(kw_list, cat=0, timeframe=date_range[0], geo='', gprop='news')

Yes, I setup pytrends to search for news by default. If you are searching for a topic that won't appear in the news, you'll need to change the code. Thanks for the fix!


File and Folder renames on local leave old files in remote

Expected Behavior
As a user, when I rename a file on local and it is auto-uploaded on save:

I can see my renamed file on remote
I can not see the file with old name anymore

Actual Behavior
When I rename a file on local, both files with new and old names exist on remote
Steps to Reproduce the Problem

Rename File through VSCode.
Make a change in a newly renamed file - upload changes
Observe 2 files instead of 1.

Requisites (important to diagnose the problem!)
Extension Logs
[info] config at /Users/ohdear/Projects/RASPBERRY/SomethingSimple {"protocol":"sftp","host":"<IP_ADDRESS>","port":22,"username":"******","password":"******","connectTimeout":10000,"interactiveAuth":false,"sshConfigPath":"~/.ssh/config","secure":false,"passive":false,"remotePath":"./SomethingSimple","uploadOnSave":true,"downloadOnOpen":false,"syncMode":"update","ignore":[],"watcher":{"files":false,"autoUpload":false,"autoDelete":false},"concurrency":4,"context":"/Users/ohdear/Projects/RASPBERRY/SomethingSimple"}
[info] transfer /Users/ohdear/Projects/RASPBERRY/SomethingSimple/test-pins-RENAMED/turn_on_the_lights-RENAMED.py
[info] [file-save] upload /Users/ohdear/Projects/RASPBERRY/SomethingSimple/test-pins-RENAMED/turn_on_the_lights-RENAMED.py

sftp.json
{
    "protocol": "sftp",
    "host": "<IP_ADDRESS>",
    "username": "***",
    "password": "***",
    "remotePath": "./SomethingSimple",
    "uploadOnSave": true
}

Specifications

Version: 10.13.4 (17E199)
Platform: MacOS High Sierra

Hi @TuxujPes. Maybe you can do something with the configuration parameter syncMode?
The default syncMode=update removes no files on sync.
If syncMode=full, files, which do not exists, will be removed on the other side while syncing.
I think automatically on file change this is not possible. The sync is only possible on folders. Possibly sftp is not able to know, that a file was renamed. A rename looks like removing a file and adding a new file with another name.

This is expected.

This worked for me, add this:
...
"uploadOnSave": true,
"watcher": {
"files": "**/*",
"autoUpload": true,
"autoDelete": true
}


i3lock-color: 2.13.c.3 -> 2.13.c.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/PandorasFox/i3lock-color/releases.
meta.description for i3lock-color is: "A simple screen locker like slock, enhanced version with extra configuration options"
meta.homepage for i3lock-color is: "https://github.com/PandorasFox/i3lock-color"
meta.changelog for i3lock-color is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/0z9xy5pq9p9695lrrv7zh3fn14i0cc2c-i3lock-color-2.13.c.4/bin/i3lock-color passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 2.13.c.4 with grep in /nix/store/0z9xy5pq9p9695lrrv7zh3fn14i0cc2c-i3lock-color-2.13.c.4

found 2.13.c.4 in filename of file in /nix/store/0z9xy5pq9p9695lrrv7zh3fn14i0cc2c-i3lock-color-2.13.c.4

directory tree listing: https://gist.github.com/14187ce9a16916e71cda2645eeea5470

du listing: https://gist.github.com/33c42aec4ee72f377d386024b0683320

Rebuild report (if merged into master) (click to expand)

13 total rebuild path(s)

4 package rebuild(s)

4 x86_64-linux rebuild(s)
4 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
4 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
betterlockscreen
i3lock-color
i3lock-fancy
multilockscreen

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0z9xy5pq9p9695lrrv7zh3fn14i0cc2c-i3lock-color-2.13.c.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A i3lock-color https://github.com/r-ryantm/nixpkgs/archive/37b6952d1dc49620f4d3bbfb5bf8e8dd4919aaef.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0z9xy5pq9p9695lrrv7zh3fn14i0cc2c-i3lock-color-2.13.c.4
ls -la /nix/store/0z9xy5pq9p9695lrrv7zh3fn14i0cc2c-i3lock-color-2.13.c.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

4 packages built:

betterlockscreen
i3lock-color
i3lock-fancy
multilockscreen

Maintainer pings
cc @malyn for testing.

Result of nixpkgs-review pr 125881 at 37b6952d run on aarch64-linux 1

4 packages built successfully:

betterlockscreen
i3lock-color
i3lock-fancy
multilockscreen


ImageSlider height is 15px less than the image inside

Here is the code I used.
return (<View style={styles.container}>             <ImageSlider images={[                 require('./../res/apt1.jpg'),                 require('./../res/apt2.jpg'),                 require('./../res/apt3.jpg'),                 require('./../res/apt4.jpg'),                 require('./../res/apt5.jpg'),             ]}/>             <View>             <Text>Community</Text>             </View>         </View>);

The simple fix is passing height set to the height of the largest image.
The longer fix is this library needs some love and care so that it works better.

hey @kdong007 - what tool are you using to inspect / debug your application ? Thanks

@pcooney10 That is the built-in inspect tool that React native has. Open the developer menu to access it.

I found that changing flex to flexbox fixed this for me.


Allow Vietnamese 1900 numbers to be validated

Fixes #518 - 1900 premium rate numbers should be plausible for Vietnam
Source - Wikipedia: Telephone numbers in Vietnam

@A-Nolan Thanks so much for your PR! 🙇🏻♂ Released in 2.20.11 🚀

@A-Nolan Thank you, and without contributors, this library would be nowhere, so thank you!


Add the ability to configure a custom output parser

Issue
https://github.com/langchain4j/langchain4j/issues/968
Change
Add the ability to configure a custom output parser, here is an example :
First of all, I define City class and my custom output parser by implementing OutputParser interface
@Data
@AllArgsConstructor
static class City {
    private String name;
}

static class CityOutputParser implements OutputParser<City> {

    @Override
    public City parse(String string) {
        return new City(string);
    }

    @Override
    public String formatInstructions() {
        return "A name of a city";
    }
}

Then, I use my custom output parser by adding an annotation on my method called @Output like this :
interface AiService {

        @Output(CityOutputParser.class)
        @UserMessage("What is the capital of Germany?")
        City chat();
}

Here is a test :
@Test
void test() {

    // given
    AiService aiService = AiServices.builder(AiService.class)
            .chatLanguageModel(chatLanguageModel)
            .build();

    // when-then
    assertThat(aiService.chat()).isEqualTo(new City("Berlin"));
    verify(chatLanguageModel).generate(singletonList(userMessage("What is the capital of Germany?A name of a city")));
}

General checklist

[ ] There are no breaking changes
[ ] I have added unit and integration tests for my change
[ ] I have manually run all the unit and integration tests in the module I have added/changed, and they are all green
[ ] I have manually run all the unit and integration tests in the core and main modules, and they are all green

[ ] I have added/updated the documentation
[ ] I have added an example in the examples repo (only for "big" features)

Checklist for adding new model integration

[ ] I have added my new module in the BOM

Checklist for adding new embedding store integration

[ ] I have added a {NameOfIntegration}EmbeddingStoreIT that extends from either EmbeddingStoreIT or EmbeddingStoreWithFilteringIT
[ ] I have added my new module in the BOM

Checklist for changing existing embedding store integration

[ ] I have manually verified that the {NameOfIntegration}EmbeddingStore works correctly with the data persisted using the latest released version of LangChain4j

Related: https://github.com/langchain4j/langchain4j/pull/1176


brew-build-bottle-pr: improvements

Can you please fix the following brew style errors?
% brew style cmd/brew-build-bottle-pr.rb
== cmd/brew-build-bottle-pr.rb ==
C: 46:  8: Space inside square brackets detected.
C: 46: 40: Space inside square brackets detected.
C: 47: 10: Space inside parentheses detected.
C: 47: 24: Do not use semicolons to terminate expressions.
C: 47: 31: Space inside parentheses detected.
C: 49:  1: Trailing whitespace detected.
C: 50: 59: Trailing whitespace detected.

incorporated your suggestion (thanks!) and fixed style issues.

thanks again, @rwhogg! I've incorporated your suggestions

Requesting a review from @sjackman about the change in behaviour of not building dependencies by default.

Thanks @rwhogg !

Thanks for this work, Maxim. I'm good with everything except the dependency behaviour.
When test-bot tests a formula f1, it also installs every formula f2 that recursively depends on f and is bottled. It the dependencies of f2 are not bottled, they're built from source. So, it's critical that all the dependencies of a bottled formula are also bottled. If anything, I would change the default behaviour to not submit a build bottle PR until all of the formula's recursive dependencies are bottled.

I'm going to argue your last point: when I request to build a bottle (via build-bottle-pr) for a formula I am specific that I want to build a bottle for just that bottle, not for its dependencies. I can revert this hunk but I will try to document the problem I am trying to solve with this change next time I stumble upon it.

I am specific that I want to build a bottle for just that bottle, not for its dependencies.

In what situation would you want to build a bottle for a formula but not its dependencies?

I think I recall the problem: my remote names are inconsistent across repos, e.g. maxim in linuxbrew/homebrew-core, maxim-belkin in linuxbrew/homebrew-xorg and homebrew/homebrew-core, etc. and build-bottle-pr was failing because of that.

Use git remote rename to rename your remotes so that they're consistent.

@sjackman I reverted back to unless ARGV.one? and added necessary remote checks.
Also, added an early failure in case hub is not installed

@rwhogg please check it out again!

Looking good, Maxim. Thanks for these sanity checks.

Thanks, Maxim! Please squash before merging.

made final fixes

@sjackman I squashed the commits but I don't have permissions in this repo.

That's an oversight. You have push permissions now.

Thanks, Maxim.


Got unknown error invalid literal for int() with base 10

Since TV Time changed the format in their data files, season_number and episode_number columns have floated values that results with error in the title.
This can be fixed with changing two lines in searcher.py from:
https://github.com/lukearran/TvTimeToTrakt/blob/26cd599e4574f538818197deb109df985285a476/searcher.py#L110-L111
to
self.season_number = int(float(row["season_number"]))
self.episode_number = int(float(row["episode_number"]))

I only imported a couple of shows like this. Don't know any side effects but please let me know if you encounter one.

What value is given in the CSV for season and episode numbers?
Also, do you want to make a PR for this fix?

What value is given in the CSV for season and episode numbers? Also, do you want to make a PR for this fix?

They are float values. No, I don't. Anyone can search for the hotfix in issues. Maybe there could be another solution.


deprecated ? yes : no

@meyskens As you stated in multiarch/ubuntu-debootstrap#14 ubuntu-deboostrap is deprecated.
But what about this repository? Is this repository deprecated, too?

Probably not, i forked this one and it works fine. Ubuntu has 2 repos Debian only this one

Op 9 feb. 2017 om 13:44 heeft Benedikt Heine<EMAIL_ADDRESS>het volgende geschreven:
@meyskens As you stated in multiarch/ubuntu-debootstrap#14 ubuntu-deboostrap is deprecated.
But what about this repository? Is this repository deprecated, too?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Probably not, i forked this one and it works fine. Ubuntu has 2 repos Debian only this one

Ah, ok. So I interpret this as "Pull requests Welcome". 😁
Can someone explain me, how these images get built and uploaded to docker hub? Unfortunately, travis-ci is not successful in this repository.

https://github.com/meyskens/debian-debootstrap/blob/master/.travis.yml
It doesn't work on Travis as it needs a patch on QEMU that is only in Xenial/Jessie.


LiveShare : Python Interactive window doesn't work if live share is installed during an interactive session

Disable your liveshare extension
Reload VS code
Start an interactive sessoin
Reenable live share
Start collaboration
Guest will not be able to run code.
Workaround is just reload everything and start over.

At minimum we should add a message indicating that installing liveshare while in an interactive session doesn't work.


feat:  🚀 Added a feature to pass environment variables in Terraform workflows and TFDrift workflows.

what

Added a feature to pass environment variables in Terraform workflows and TFDrift workflows.
Resolved issues facing in tfdrift workflow

LGTM

Can you send screenshot of working action, where we are getting these env values. Thanks!

Can you send screenshot of working action, where we are getting these env values. Thanks!

I set environment variables in first step then you can see in second step there is KAFKA_API_KEY: test value assigned in env