Error displaying widget: model not found on new Jupyter Lab

Environment

Operating System: Windows
Python Version: Python 3.6.6 :: Anaconda, Inc.
How did you install Qgrid: pip
Jupyter lab packages (if applicable):

JupyterLab v1.1.1
Known labextensions:
   app dir: c:\users\xxxx\.conda\envs\xxxx\share\jupyter\lab
        @jupyter-widgets/jupyterlab-manager v1.0.2 enabled  ok
        qgrid v1.1.1 enabled  ok

Description of Issue

What did you expect to happen?

Qgrid displays. This was working until I tried installing the latest version of jupyterlab-manager because I needed my notebook to work with ipywidgets.

What happened instead?

Received error message Error displaying widget: model not found.
Reproduction Steps
Run this code to receive error message (in Jupyter Lab 1.1.1)
import pandas as pd
import numpy as np
import qgrid

df = pd.DataFrame(np.random.rand(5,5))

gridopts = {"fullWidthRows": False,
            "autoEdit": True,
            "sortable": False,
            }
qgrid.show_grid(df, grid_options=gridopts)

What steps have you taken to resolve this already?
Tried downgrading to qgrid 1.1.0. Did not resolve.

The similar issue #261

It's a duplicate issue, indeed.
We're going to get more dupes like this, unless some maintainer of this project merge #262 and edits the titles of dupe issues.
With latest jupyter lab, install from PyPi and install JS extensions from qzchenwl/qgrid repo (instructions described in #261):
pip install qgrid
git clone --depth=1 https://github.com/qzchenwl/qgrid qgrid.git
jupyter labextension install qgrid.git/js/

I have seen that @qzchenwl has created an npm package. However, it's not working on my system. That's why I have created my own npm package.
For those of you who want to install the qgrid JS in the usual way and not from a github repo directly, you can do it now the following way:
jupyter labextension @8080labs/qgrid

You can find a binder demo repo here: https://github.com/tkrabel/qgrid_jupyterlab

I have seen that @qzchenwl has created an npm package. However, it's not working on my system. That's why I have created my own npm package.
For those of you who want to install the qgrid JS in the usual way and not from a github repo directly, you can do it now the following way:
jupyter labextension @8080labs/qgrid

You can find a binder demo repo here: https://github.com/tkrabel/qgrid_jupyterlab

Thank you very much for providing this solution - got Qgrid to work with my Jupyter Lab after hours of trying.
Just a quick correction - I think you meant to type:
jupyter labextension install @8080labs/qgrid

Fixed in https://github.com/quantopian/qgrid/pull/275


Just a general query

Your streamlit component is successfully able to read and write from the localstorage but when I use vanilla js to read and write from the localstorage, it doesn't work (you can check this https://github.com/piyushK52/streamlit_globalrefresh/blob/main/streamlit_globalrefresh/frontend/src/index.ts).. Any idea as to why this happens? (I am talking about localStorage.setItem and localStorage.getItem)

Thanks.
Whenever you use vanilla localStorage.setItem, the component/iframe needs to remount before the changes are recognised by streamlit. Hence why I used import useLocalStorageState from 'use-local-storage-state' library as it does this automatically.

Ah.. got it. Thanks.


[BUG] Log.error() and Log.progress() cause error when double-quotes are in msg

Current Behavior
when the message reads 'my test name is "blabla".' then the execution of copado throws an error
Expected Behavior
double quotes should be auto-escaped

already done elsewhere


yuitoken update

YUI is a digital currency community with a mission to create communities

we've fixed it


Expose GenerationId for consumed messages

I'm working on a consumer that needs to have a consistent view of partition ownership across consumers, which I think requires knowing the group GenerationId for each message.
Specifically, my consumer needs to guarantee that that message handling is mutually exclusive across consumers.  This should be true for a given message so long as the local consumer delays processing a newly-acquired partition for Group.Session.Timeout and has successfully issued a heartbeat within the past Group.Session.Timeout before processing a given message.
This seems to require conflicting uses of Notifications() and Messages().  On the one hand, it's necessary to consume Notifications() independently of Messages() so the message handler can be notified of partition releases that happen after reading a message but before the operation requiring mutual-exclusivity.  On the other hand acquisitions, reads and releases need to be serialized to ensure that a given message is consumed after the correct delay period.  For instance, consider the following sequence:

Partition N is acquired by process P1, message M1 is read, partition N is released
Partition N is acquired by process P2, message M2 is read, partition N is released
Partition N is acquried by process P1 again, message M3 is read.

In this case, P1 could see either [acquire N, M1, M3, release N, acquire N] or [acquire N, M1, release N, acquire N, M3].  In the first case M3 potentially gets processed immediately, conflicting with writes by P2.
I think the best solution here is to expose GenerationId from the sarama.JoinGroupResponse.  This would allow Messages() consumers to differentiate between messages received from different "lease" periods.  The bad news is I think this requires changing the method signature of Messages() to use a wrapper around sarama.ConsumerMessage. Maybe there's another way?

Thinking about this more, there's a similar situation with partition release.  When a partition release notification is received, I don't think there's currently a way to know when all messages for a given partition have been consumed.
Does it make sense for sarama-cluster.Consumer to expose Messages()? Maybe it would be better to restrict the API to group management, and use the existing sarama tools for message fetching and offset management?

Sorry, but could you please give me a more specific example or use case of what you are trying to achieve? So far, from your description, I take that you are trying to change Kafka's default delivery guarantee from "at-least-once" to "exactly-once", right?
Sarama cluster does its best to prevent a message from being consumed 2x but it generally follows the Kafka principle of "at-least-once". The Notifications channel is not supposed to be used operationally it's for information and logging at best. Synchronising the consumption of Notifications and Messages  channels would only help your cause if you are consuming messages within the same process, but there is no way to assert "exactly-once" if your consumers are distributed across multiple processes/hosts (as intended).
Internally, we have built highly transactional systems that implement de-duping on top of Kafka, which requires a central store to maintain state (e.g. memcached or redis). This - obviously - adds significant overhead but I cannot really tell you if it's an appropriate solution without knowing your particular use case.

Closing for now ...


Chown from gulp file for generated files

Hello i would like to be able to chown of the files that are generated from the sass script, with one listed in an environment variable. I know that this has too be done from the gulp file and probably wright before the dest is set.
However I don't know how to :{
I would appreciate some insight into this problem i am having :?

I figured it out
chown = require('gulp-chown'),
....
    .pipe(chown(1000,1000))


Support mysql_clear_password for compatibility with RDS IAM

Attempting to use canal with RDS IAM Auth tokens results in ERROR 1105
ERRO[0013] canal start sync binlog err: start sync replication at binlog (mysql-bin-changelog.000003, 267160) error ERROR 1105 (HY000): Failed to register slave; too long 'report-password'
ERRO[0013] canal has failed. error: start sync replication at binlog (mysql-bin-changelog.000003, 267160) error ERROR 1105 (HY000): Failed to register slave; too long 'report-password'
panic: canal has failed

Is the mysql_clear_password auth plugin not supported?

According to #757, it should already be supported. But it might not actually be because of this line

Judging by MySQL Bug #43439, it appears this is an old (but unexpected) limitation of CHANGE MASTER

The password used for a replication user account in a CHANGE MASTER TO statement is limited to 32 characters in length. Trying to use a password of more than 32 characters causes CHANGE MASTER TO to fail (see MySQL docs)


[Node.js] Debugging Node.js stops responding after a number of step-over requests

OS: Windows 10
Build#: 0.10.12-alpha
Node: 4.1.1
Node.js seems to stop responding after a certain number of step-over requests.
Steps:

Open provided Node.js project folder.
Set breakpoint in app.js at line 13. var msg = "hello world";
Start debugging
Step-over or press F10 about 40 times.
Node.js stops responding after reaching line 114 of timers.js
"Error: Node.js did not respond to request 'continue' in a reasonable amount of time"

Expected:
Node.js continues to debug
Files:
311ExpressApp.zip

@vsccarl you are stepping into node's shutdown code by doing the 40 steps. The last step will not return so VS Code is running into a timeout. This is expected.
Node-inspector will not return either but they are not even showing the timeout message.


chore(deps): update peter-evans/create-pull-request action to v5

This PR contains the following updates:

Package
Type
Update
Change

peter-evans/create-pull-request
action
major
v4.2.4 -> v5.0.0

Release Notes

peter-evans/create-pull-request
v5.0.0: Create Pull Request v5.0.0
Compare Source
Behaviour changes

The action will no longer leave the local repository checked out on the pull request branch. Instead, it will leave the repository checked out on the branch or commit that it was when the action started.
When using add-paths, uncommitted changes will no longer be destroyed. They will be stashed and restored at the end of the action run.

What's new

Adds input body-path, the path to a file containing the pull request body.
At the end of the action run the local repository is now checked out on the branch or commit that it was when the action started.
Any uncommitted tracked or untracked changes are now stashed and restored at the end of the action run. Currently, this can only occur when using the add-paths input, which allows for changes to not be committed. Previously, any uncommitted changes would be destroyed.
The proxy implementation has been revised but is not expected to have any change in behaviour. It continues to support the standard environment variables http_proxy, https_proxy and no_proxy.
Now sets the git safe.directory configuration for the local repository path. The configuration is removed when the action completes. Fixes issue https://github.com/peter-evans/create-pull-request/issues/1170.
Now determines the git directory path using the git rev-parse --git-dir command. This allows users with custom repository configurations to use the action.
Improved handling of the team-reviewers input and associated errors.

News
:trophy:  create-pull-request won an award for "awesome action" at the Open Source Awards at GitHub Universe. Thank you for your support and for making create-pull-request one of the top used actions. Please give it a :star:, or even buy me a coffee.
What's Changed

v5 by @peter-evans in https://github.com/peter-evans/create-pull-request/pull/1792
15 dependency updates by @dependabot

Full Changelog: https://github.com/peter-evans/create-pull-request/compare/v4.2.4...v5.0.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

lgtm


Snapshots after clean install on Big Sur not working

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I tried to do screenshots for an app update I did. After 2 days of trying searching issues and stack overflow I decided to do a clean install of Big Sur to see if my system had some issues. But after the clean install, the same errors are there.
I created a fresh project and followed the instructions from fastlane init.
With fastlane screenshots I get
[12:10:59]: Permission denied @ dir_s_mkdir - /Users/danielzielinski/Development/SnapshoptTest/fastlane/screenshots
[12:10:59]: Permission denied @ rb_sysopen - ./fastlane/README.md
[12:10:59]: Couldn't save fastlane documentation at path '/Users/danielzielinski/Development/SnapshoptTest/fastlane/README.md', make sure you have write access to the containing directory.
[12:10:59]: Permission denied @ rb_sysopen - ./fastlane/report.xml
[12:10:59]: Couldn't save report.xml at path '/Users/danielzielinski/Development/SnapshoptTest/fastlane/report.xml', make sure you have write access to the containing directory.

If I go for sudo fastlane screenshots I get these error:
File /Users/danielzielinski/Library/Developer/CoreSimulator/Devices/0D98AC03-4467-4E77-ADFA-765BE4D42D45/device.plist not readable!
I tried to reset my simulators (with sudo and without) and get the same errors.
What am I doing wrong?
Complete output when running fastlane, including the stack trace and command used
[12:11:53]: fastlane detected a Gemfile in the current directory
[12:11:53]: However, it seems like you didn't use bundle exec
[12:11:53]: To launch fastlane faster, please use
[12:11:53]:
[12:11:53]: $ bundle exec fastlane screenshots
[12:11:53]:
[12:11:53]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[12:11:54]: ------------------------------
[12:11:54]: --- Step: default_platform ---
[12:11:54]: ------------------------------
[12:11:54]: Driving the lane 'ios screenshots' 🚀
[12:11:55]: ---------------------------------
[12:11:55]: --- Step: capture_screenshots ---
[12:11:55]: ---------------------------------
[12:11:55]: Successfully loaded '/Users/danielzielinski/Development/SnapshoptTest/fastlane/Snapfile' 📄
[12:11:55]: No values defined in './fastlane/Snapfile'
[12:11:55]: Resolving Swift Package Manager dependencies...
[12:11:55]: $ xcodebuild -resolvePackageDependencies -scheme SnapshoptTest_newScheme -project ./SnapshoptTest.xcodeproj
[12:11:56]: ▸ Command line invocation:
[12:11:56]: ▸     /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -resolvePackageDependencies -scheme SnapshoptTest_newScheme -project ./SnapshoptTest.xcodeproj
[12:11:56]: ▸ resolved source packages:
[12:11:56]: $ xcodebuild -showBuildSettings -scheme SnapshoptTest_newScheme -project ./SnapshoptTest.xcodeproj
+----------------------------+---------------------------------------------------+
|                          Summary for snapshot 2.171.0                          |
+----------------------------+---------------------------------------------------+
| scheme                     | SnapshoptTest_newScheme                           |
| project                    | ./SnapshoptTest.xcodeproj                         |
| devices                    | ["iPhone 8", "iPhone 8 Plus", "iPhone 11",        |
|                            | "iPhone 11 Pro", "iPhone 11 Pro Max", "iPhone 12  |
|                            | mini", "iPhone 12", "iPhone 12 Pro", "iPhone 12   |
|                            | Pro Max", "iPod touch (7th generation)", "iPad    |
|                            | Pro (9.7-inch)", "iPad Pro (11-inch) (2nd         |
|                            | generation)", "iPad Pro (12.9-inch) (4th          |
|                            | generation)", "iPad (8th generation)"]            |
| output_directory           | /Users/danielzielinski/Development/SnapshoptTest  |
|                            | /fastlane/screenshots                             |
| languages                  | ["en-US"]                                         |
| launch_arguments           | [""]                                              |
| output_simulator_logs      | false                                             |
| skip_open_summary          | false                                             |
| skip_helper_version_check  | false                                             |
| clear_previous_screenshots | false                                             |
| reinstall_app              | false                                             |
| erase_simulator            | false                                             |
| headless                   | true                                              |
| override_status_bar        | false                                             |
| localize_simulator         | false                                             |
| app_identifier             | com.danielZet.SnapshoptTest                       |
| buildlog_path              | ~/Library/Logs/snapshot                           |
| clean                      | false                                             |
| number_of_retries          | 1                                                 |
| stop_after_first_error     | false                                             |
| result_bundle              | false                                             |
| concurrent_simulators      | true                                              |
| disable_slide_to_type      | false                                             |
| xcode_path                 | /Applications/Xcode.app                           |
+----------------------------+---------------------------------------------------+
[12:11:58]: Building and running project - this might take some time...
[12:12:01]: Patching simulators '/Users/danielzielinski/Library/Preferences/com.apple.iphonesimulator.plist' to scale to 100%
+------------------+-----------------+
|            Lane Context            |
+------------------+-----------------+
| DEFAULT_PLATFORM | ios             |
| PLATFORM_NAME    | ios             |
| LANE_NAME        | ios screenshots |
+------------------+-----------------+
[12:12:02]: File /Users/danielzielinski/Library/Developer/CoreSimulator/Devices/0D98AC03-4467-4E77-ADFA-765BE4D42D45/device.plist not readable!
+------+---------------------+-------------+
|             fastlane summary             |
+------+---------------------+-------------+
| Step | Action              | Time (in s) |
+------+---------------------+-------------+
| 1    | default_platform    | 0           |
| 💥   | capture_screenshots | 6           |
+------+---------------------+-------------+
[12:12:02]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
Found no similar issues. To create a new issue, please visit:
https://github.com/fastlane/fastlane/issues/new
Run fastlane env to append the fastlane environment to your issue
Traceback (most recent call last):
47: from /usr/local/bin/fastlane:23:in <main>' 	46: from /usr/local/bin/fastlane:23:in load'
45: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/bin/fastlane:23:in <top (required)>' 	44: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in take_off'
43: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/commands_generator.rb:41:in start' 	42: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/commands_generator.rb:352:in run'
41: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	40: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
39: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	38: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
37: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	36: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/commands_generator.rb:108:in block (2 levels) in run'
35: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/command_line_handler.rb:36:in handle' 	34: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/lane_manager.rb:47:in cruise_lane'
33: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:45:in execute' 	32: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:45:in chdir'
31: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:49:in block in execute' 	30: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/lane.rb:33:in call'
29: from Fastfile:21:in block (2 levels) in parsing_binding' 	28: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/fast_file.rb:159:in method_missing'
27: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:157:in trigger_action_by_name' 	26: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:229:in execute_action'
25: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:229:in chdir' 	24: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:255:in block in execute_action'
23: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in execute_action' 	22: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/runner.rb:263:in block (2 levels) in execute_action'
21: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/fastlane/lib/fastlane/actions/capture_ios_screenshots.rb:14:in run' 	20: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/runner.rb:45:in work'
19: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in take_screenshots_simultaneously' 	18: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:45:in each'
17: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in block in take_screenshots_simultaneously' 	16: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in each_with_index'
15: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:46:in each' 	14: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:69:in block (2 levels) in take_screenshots_simultaneously'
13: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:69:in each' 	12: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:70:in block (3 levels) in take_screenshots_simultaneously'
11: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/simulator_launchers/simulator_launcher.rb:85:in launch_simultaneously' 	10: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/test_command_generator.rb:15:in generate'
9: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/test_command_generator.rb:42:in destination' 	 8: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/test_command_generator.rb:67:in verify_devices_share_os'
7: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/test_command_generator.rb:99:in get_device_type_with_simctl' 	 6: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/test_command_generator.rb:99:in map'
5: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.171.0/snapshot/lib/snapshot/test_command_generator.rb:102:in block in get_device_type_with_simctl' 	 4: from /Library/Ruby/Gems/2.6.0/gems/simctl-1.6.8/lib/simctl/device.rb:51:in devicetype'
3: from /Library/Ruby/Gems/2.6.0/gems/simctl-1.6.8/lib/simctl/device.rb:265:in plist' 	 2: from /Library/Ruby/Gems/2.6.0/gems/simctl-1.6.8/lib/simctl/device.rb:265:in new'
1: from /Library/Ruby/Gems/2.6.0/gems/CFPropertyList-3.0.3/lib/cfpropertylist/rbCFPropertyList.rb:238:in initialize' /Library/Ruby/Gems/2.6.0/gems/CFPropertyList-3.0.3/lib/cfpropertylist/rbCFPropertyList.rb:333:in load': [!] File /Users/danielzielinski/Library/Developer/CoreSimulator/Devices/0D98AC03-4467-4E77-ADFA-765BE4D42D45/device.plist not readable! (IOError)
Environment
🚫 fastlane environment 🚫
Stack

Key
Value

OS
11.1

Ruby
2.6.3

Bundler?
false

Git
git version 2.24.3 (Apple Git-128)

Installation Source
/usr/local/bin/fastlane

Host
macOS 11.1 (20C69)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib

OpenSSL Version
LibreSSL 2.8.3

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

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

Xcode Version
12.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# This file contains the fastlane.tools configuration
# You can find the documentation at https://docs.fastlane.tools
#
# For a list of all available actions, check out
#
#     https://docs.fastlane.tools/actions
#
# For a list of all available plugins, check out
#
#     https://docs.fastlane.tools/plugins/available-plugins
#

# Uncomment the line if you want fastlane to automatically update itself
# update_fastlane

default_platform(:ios)

platform :ios do
  desc "Generate new localized screenshots"
  lane :screenshots do
    capture_screenshots(scheme: "SnapshoptTest_newScheme")
  end
end

`./fastlane/Appfile`
app_identifier("com.danielZet.SnapshoptTest") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.171.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

slack-notifier
2.3.2

atomos
0.1.3

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.19.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.6

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.4

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.78.1

faraday-net_http
1.0.0

ruby2_keywords
0.0.2

faraday
1.3.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.1

gh_inspector
1.1.3

mini_magick
4.11.0

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
1.17.2

naturally
2.2.0

simctl
1.6.8

jwt
2.2.2

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.0

memoist
0.16.2

os
1.1.1

googleauth
0.14.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

digest-crc
0.6.3

google-cloud-storage
1.29.2

emoji_regex
3.2.1

jmespath
1.4.0

aws-partitions
1.414.0

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-sdk-core
3.110.0

aws-sdk-kms
1.40.0

aws-sdk-s3
1.87.0

CFPropertyList
3.0.3

json
2.5.1

rake
13.0.3

forwardable
1.2.0

logger
1.3.0

date
2.0.0

stringio
0.0.2

zlib
1.0.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

strscan
1.0.0

fileutils
1.1.0

etc
1.0.1

io-console
0.4.7

libxml-ruby
3.1.0

rexml
3.1.9

psych
3.1.0

mutex_m
0.1.0

generated on: 2021-01-06

Not sure if this will help you, but maybe this PR solves your issue? https://github.com/fastlane/fastlane/pull/17912

Not sure if this will help you, but maybe this PR solves your issue? https://github.com/fastlane/fastlane/pull/17912


Statistics -> Workability

Following error when I try to use the workability functions with hs and tp parameters

I can't seem to be able to reproduce your error, would be possible to get a sample of your data?

I have corrected a massive bug in it, let me know if that changes anything


Document general attribute normalization conventions

In #17, we limit HTTP methods to a configurable list of known methods.

Unknown values are recorded as _OTHER (TBD, underscore and uppercase imply a magic string)
original value is preserved (on spans, potentially logs) under {attribute_name}_original attribute.

We should document the generalized approach so we can reuse it in similar cases - specific semantic conventions or via general advice API applied by users on arbitrary attributes (see https://github.com/open-telemetry/opentelemetry-specification/issues/3545).

Note that _original may be more rare than the opposite ("_normalized"?). E.g. if, after stabilization of a convention or simply to limit disruption, we decide that an attribute should be normalized, we might want to keep the existing attribute unchanged but add a new one with the normalized form. Potential example might be HTTP:

method: Original value proposed to be  http.method_original (suffix _original), normalized value in http.method (#17)
status code: Original value in http.status_code, normalized value proposed to be http.status_code_class (suffix _class) https://github.com/open-telemetry/opentelemetry-specification/issues/2947

I believe having the unsuffixed attribute name contain sometimes the original, sometimes a normalized value is a slight inconsistency that has to be accepted, given that we will want to continously evolve our semantic conventions without breaking changes.
In conclusion, if we can, it may make sense to come up with a default suffix/prefix convention both for original and normalized values, and a recommendation whether normalized or raw should be in the plain attribute name by default if there are no clear reasons to prefer a certain way.

@Oberon00 I agree adding _normalized would be better, but I could not find a generic approach for this case that does not involve duplication.
Assuming we discovered http.request.method cardinality problem after stability and tried to solve it with _normalized:

we'd either duplicate all valid http.request.method in http.request.method_normalized
or had to drop valid data from http.request.method, reserving it for 'bad' data on traces

The cons are outlined in #34.

In the case of http.method, there were good arguments, and it's pre-stabilization. Had we gone ahead with stabilization (as we will) before discovering the issue / want for a normalized variant, it would have been different.
For example, the mentioned open-telemetry/opentelemetry-specification#2947. Duplication is an argument for favoring _original ("_raw"?) by default, but for breaking change vs. value duplication, we will probably arrive at a different decision.
So I am just personally sure that we will end up with both the "unsuffixed name is normalized" and "unsuffixed name is original" cases.

@Oberon00 I see your point. Perhaps we can keep this issue open for the time being and if we see other cases where this approach helps, we can generalize it.
Or we'll understand where it doesn't help (e.g. above "only set *_normalized if different from the unsuffixed attribute" would be the best when the attribute is not used on metrics)


Reader does not work with numpy 1.22.x

When try use this plugin with te newest numpy version (1.22.1) it fail to load file with error:
~/.pyenv/versions/3.8.3/envs/partseg3.8/lib/python3.8/site-packages/napari_molecule_reader/bonds.py in guess_bonds(atoms, fudge)
     52     # same model
     53     model = atoms['model'].to_numpy()
---> 54     same_model = np.equal.reduce(model[pairs], axis=1)
     55
     56     # alternate loc indicator

TypeError: No loop matching the specified signature and casting was found for ufunc equal

Tested on stable and repository version. Downgrade to 1.21.5 solve this problem.

I'm confused about this... The previous calls of np.equal.reduce are passing?
Also, I cannot reproduce with my files. What PDB are you using? Is there something odd with model info?

files from pdb database for example: 3mht. I will try to provide more detailed information after 2PM. I have a seminar now.

My bad, I had messed up a bit my environment; I can reproduce with other files as well!

This sounds like a bug in numpy honestly. This works on 1.21.5:
In [13]: np.equal.reduce([0, 1])
Out[13]: False

In [14]: np.equal.reduce([0, 0])
Out[14]: True

But fails on 1.22. It seems that np.equal.reduce now only works with object dtype. That can't be right, right?

But fails on 1.22. It seems that np.equal.reduce now only works with object dtype. That can't be right, right?

it works also with a boolean numpy array. Maybe it is a bug in NumPy, but I do not find a proper issue so I'm not sure.
There are two options. Try to work around this or mark this extension as incompatible with this version of NumPy.

I filed a bug, let's see what they say. numpy/numpy#20929

Turns out I was just using reduce wrong, and this numpy update made it clear. Fixed in v0.1.2, just published!


Add License

This is a nice project.
But a LICENSE file is missing, helping people to reuse it while following your own choices.

I have avoided that because there are many choices and I don't want to
spend the time
researching it.  Can you recommend a site that gives a good overview of
open source
licenses?  licenses-for-dummies.com?
Bill Dudley
On Sat, Jan 30, 2021 at 9:26 AM Guilhem Bonnefille<EMAIL_ADDRESS>wrote:

This is a nice project.
But a LICENSE file is missing, helping people to reuse it while following
your own choices.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wfdudley/T-watch-2020/issues/29, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI4VYU7K4IYXHSNKKFSA7MDS4QJK3ANCNFSM4W2LKTUA
.

I have avoided that because there are many choices and I don't want to
spend the time
researching it.  Can you recommend a site that gives a good overview of
open source
licenses?  licenses-for-dummies.com?
Bill Dudley
On Sat, Jan 30, 2021 at 9:26 AM Guilhem Bonnefille<EMAIL_ADDRESS>wrote:

This is a nice project.
But a LICENSE file is missing, helping people to reuse it while following
your own choices.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wfdudley/T-watch-2020/issues/29, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI4VYU7K4IYXHSNKKFSA7MDS4QJK3ANCNFSM4W2LKTUA
.

GitHub has that covered.
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository

GitHub has that covered.
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository

Thanks all.  I've chosen BSD 3-Clause.

Thanks all.  I've chosen BSD 3-Clause.

I discovered a site like your hypothetical licences-for-dummies: https://choosealicense.com/
This is one of major problem with open-source: too many choices. ;-)

I discovered a site like your hypothetical licences-for-dummies: https://choosealicense.com/
This is one of major problem with open-source: too many choices. ;-)


NER HTML Tagging gives wrong offsets

Describe the bug
Markup json from NER HTML looks like this:
"start": "/div[1]/p[10]/text()[3]",
"end": "/div[1]/p[10]/text()[3]",
"startOffset": 2,
"endOffset": 16,
"text": "",
"htmllabels": [
  "Judge"
...

From Andrey comment in Slack:

XPath describing start & end nodes of range in document. text()[2] means second text node in the given region. Like for
Hi user</>!!!
 xpath /p[1]/text()[2] would point to text node “!!!”
Now LS use current document state to calculate this nodes even including already labeled regions (as they alter html). So to reproduce this on your side you should apply all the previous results to display current one.

Does this means HTML markup from LS become useless if the user labels entities in not top-to-bottom order? In this case offset will be counted from previous entity, but we don’t know has this entity already been marked or not when  current entity was labeled.
Given the fact, that we can’t guarantee top-to-bottom markup order, this raises questions if could use html ner markup at all.
For now, we don't know workaround for this issue. Any help would be appreciated.
To Reproduce

Tag any document with NER HTML Tagging
Export json markup
Can't use markup, because of wrong entities positions - offsets counted from previous html tag, including highlight tags, which where there in the moment of markuping.

Expected behavior
Exported markup should contain entities position in original html, without highlights.
Environment (please complete the following information):

OS: any
Label Studio Version 1.0.1

Fixed in release https://github.com/heartexlabs/label-studio/releases/tag/v1.1.1


Add App-Web-Protocol

allows links to start and pass info to BLREdit for example blredit://connect-server/

added with commit 7a4ee9a5a0ec3bf70acbc52018d55e8ca5812e32
tries to install the App-Web-Protocol on start once (needs admin privileges) might ask again if you have moved BLREdit on next start. if no admin privileges were give it wont ask again and doesn't install protocol which will limit some features can be reenabled in the settings tab.


Nice Job, Keep Going.

非常棒得仓库，我希望可以参与贡献，你可以将你的计划写到 issues 上。
You can post your plan or sub job into issues LIST, I would like to do some commit for you job.

多谢鼓励


Create school1190.txt

@school1190 Thank you for your request. I am sorry for a delay with processing it. Could you please give us a reference on a page where we can see that the school students are given the emails in the domain school1190.ru? The domain itself is registered on request from a private person, thus we can not check whether the school students actually use it or not.

@school1190 I am sorry but this PR remains unanswered for a while, and we still can not check whether suggested domain is related to the school. Please reopen the request when you have the proof ready. Thank you for your understanding.


Updating Secrets, Service Principals, And Service Connections For Spring Grove Forced Rotation Work

Updating Secrets, Service Principals, And Service Connections For Spring Grove Forced Rotation Work

Release Note Category

[ ] Feature changes/additions
[x] Bug fixes
[x] Internal Infrastructure Improvements

Release Note Description

Link to AzDo task 5918:
https://dev.azure.com/dnceng/internal/_workitems/edit/5918


All checkbboxes being ticked on refresh, after a checkbox was ticked

I checked one of the boxes, and after refreshing, both the check boxes were ticked.

@sikehish fix the issue

I have solved the issue. Please assign it to me under hactoberfest.

I dont think Ill be able to work on it. You can assign it to someone else


[Experiment] Use csharp7 for lazy async machines

Should remove all async state machines for small responses
(Not a serious PR)

Bugged or the sugar isn't completely free of calories
Before
            Method |        Mean |    StdErr |     StdDev |     Median |           RPS | Allocated |
------------------ |------------ |---------- |----------- |----------- |-------------- |---------- |
             Write |  47.3972 ns | 0.1090 ns |  0.5968 ns | 47.4356 ns | 21,098,313.62 |       0 B |
      WriteChunked |  47.3382 ns | 0.1162 ns |  0.6363 ns | 47.3111 ns | 21,124,581.73 |       0 B |
        WriteAsync | 101.9409 ns | 1.9842 ns | 10.8679 ns | 95.0187 ns |  9,809,606.49 |     120 B |
 WriteAsyncChunked |  99.9338 ns | 1.4143 ns |  7.7463 ns | 94.8550 ns | 10,006,621.79 |     120 B |
        ProduceEnd |  57.8761 ns | 0.0607 ns |  0.3324 ns | 57.8971 ns | 17,278,293.05 |     112 B |
 ProduceEndChunked |  58.0621 ns | 0.0792 ns |  0.4338 ns | 57.9917 ns | 17,222,924.58 |     112 B |

After
                   Method |        Mean |    StdDev |           RPS | Allocated |
------------------------- |------------ |---------- |-------------- |---------- |
                    Write |  44.3896 ns | 0.4219 ns | 22,527,793.72 |       0 B |
             WriteChunked |  44.1504 ns | 0.5307 ns | 22,649,836.78 |       0 B |
               WriteAsync |  90.0595 ns | 0.7259 ns | 11,103,774.20 |      64 B |
        WriteAsyncChunked |  89.9717 ns | 0.6115 ns | 11,114,610.36 |      64 B |
        WriteAsyncAwaited | 225.7577 ns | 2.3000 ns |  4,429,527.90 |      64 B |
 WriteAsyncAwaitedChunked | 226.9394 ns | 3.7294 ns |  4,406,462.89 |      64 B |
               ProduceEnd |  47.4791 ns | 0.3348 ns | 21,061,895.70 |      64 B |
        ProduceEndChunked |  47.4680 ns | 0.3727 ns | 21,066,809.34 |      64 B |

Found out the issue https://github.com/dotnet/roslyn/issues/18946

Found out the issue https://github.com/dotnet/roslyn/issues/18946 need to pass by param else they allocate


pod install fails with "None of your spec sources contain a spec satisfying the dependency: FirebaseUI (~> 1.0)."

Objective C or Swift: Swift
iOS version: 10
CocoaPods Version: 1.0.1

Step 3: Describe the problem:
I try to install with pods as referenced on README.md but get an error.
Steps to reproduce:

Add pod 'FirebaseUI', '~> 1.0'       # Pull in all Firebase UI features to my Podfile
Run pod install

Observed Results:
[!] Unable to satisfy the following requirements:

- `FirebaseUI (~> 1.0)` required by `Podfile`

None of your spec sources contain a spec satisfying the dependency: `FirebaseUI (~> 1.0)`.

You have either:
 * out-of-date source repos which you can update with `pod repo update`.
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by default.

Expected Results:
The steps in the README.md to work

Apparently I needed to run pod repo update. Might be worth mentioning that on the README.md

That's part of standard CocoaPods usage, which is why it's not included in the readme. It applies globally to any pod for which you don't have the spec.


Provide Scripts for Downloading Internal and External Data

Description
Provide scripts for users so that they can download internal and external data more easily. The files for these processes should live in scripts/ and pipeline/sources.
Internal

[ ] YUAG (Yale University Art Gallery)
[ ] YCBA (Yale Center for British Art)
[ ] YPM (Yale Peabody Museum)
[ ] ILS (YUL & BRBL)
[ ] IPCH (LML)
[ ] PMC (Paul Mellon Centre)

External

[x] VIAF
[x] DNB (German National Library)
[ ] Getty Vocabularies
[ ] Geonames
[ ] FAST
[ ] Wikidata
[ ] Wikimedia
[ ] LC (NAF & SH)
[ ] ORCID
[ ] ROR
[ ] WOF
[ ] SNAC
[ ] GBIF
[ ] Homosaurus
[ ] Nomisma
[ ] BNE
[ ] BNF
[ ] Japan

I have modified how these scripts return data so that they return json dumps. Since we want to call them separately via bash scripts, this seemed like the easiest solution.


"Page crashed!" errors even with --disable-dev-shm-usage flag

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.2.0
Platform / OS version: Docker container based on debian:jessie-slim, using Google App Engine Flexible
URLs (if applicable):
Node.js version: 8

What steps will reproduce the problem?

Converting large web pages to PDF
We've added the --disable-dev-shm-usage flag when launching (as suggested in https://github.com/GoogleChrome/puppeteer/issues/1321 and elsewhere), but this doesn't appear to have made any impact.
We've also tried adding VOLUME /dev/shm to the Dockerfile which again had no impact.

We've only experienced this issue in the last few days, so wonder if there has been a regression in Puppeteer or Chrome.
What is the expected result?
Pages not crashing.
What happens instead?
Page crashed! errors

We've now done an identical release to one in May that never had this issue, and the new release is seeing the Page crashed! bug.
This suggests something has changed in the last few weeks in one of our dependencies.
Here's our Dockerfile for reference:
FROM node:8-slim

RUN apt-get update && apt-get install -yq libgconf-2-4

RUN apt-get update && apt-get install -y wget --no-install-recommends \
  && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
  && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
  && apt-get update \
  && apt-get install -y google-chrome-unstable \
  --no-install-recommends \
  && apt-get install -y build-essential \
  && rm -rf /var/lib/apt/lists/* \
  && apt-get purge --auto-remove -y curl \
  && rm -rf /src/*.deb

ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 /usr/local/bin/dumb-init
RUN chmod +x /usr/local/bin/dumb-init

COPY package.json /var/www/package.json
COPY . /var/www/app/

# Install node packages
RUN npm install pm2 -g \
  && cd /var/www \
  && npm install --unsafe-perm \
  # building grpc from source - https://github.com/grpc/grpc/issues/8941
  # We use version 1.10.1 as this is the version required by gcloud and 1.11.2 introduced a bug when building from source
  && npm rebuild<EMAIL_ADDRESS>--build-from-source

# Add non-privileged user to run puppeteer (pptruser)
RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
  && mkdir -p /var/www/node_modules \
  && mkdir -p /home/pptruser/Downloads \
  && chown -R pptruser:pptruser /home/pptruser \
  && chown -R pptruser:pptruser /var/www \
  && chown -R pptruser:pptruser /var/www/node_modules

# Run user as non privileged.
USER pptruser

# Default to port 80 for node, and 5858 or 9229 for debug
ARG PORT=3004
ENV PORT $PORT
EXPOSE $PORT 5858 9229

WORKDIR /var/www/app
ENTRYPOINT ["dumb-init", "--"]
CMD ["pm2-dev", "pm2.json"]

Continuing to review!

Updating the Dockerfile and executablePath to use google-chrome-stable solved the issue for us.
# Based on Dockerfile provided by puppeteer team at:
# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
FROM node:8-slim

# See https://crbug.com/795759
RUN apt-get update && apt-get install -yq libgconf-2-4

# Moved to stable version of Google Chrome after the unstable version started
# leading to 'Page crashed!' errors.
# Used the version suggested at https://github.com/alpeware/chrome-headless-stable/blob/master/Dockerfile
ENV CHROME_VERSION=67.0.3396.87

RUN apt-get update && apt-get install -y wget --no-install-recommends \
  && wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
  && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
  && apt-get update \
  && apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst ttf-freefont \
  && apt-get install -y google-chrome-stable=${CHROME_VERSION}-1 --no-install-recommends \
  && apt-get install -y build-essential \
  && rm /etc/apt/sources.list.d/google-chrome.list \
  && rm -rf /var/lib/apt/lists/* \
  && apt-get purge --auto-remove -y curl \
  && rm -rf /src/*.deb

ADD https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 /usr/local/bin/dumb-init
RUN chmod +x /usr/local/bin/dumb-init

COPY package.json /var/www/package.json
COPY . /var/www/app/

# Install node packages
RUN npm install pm2 -g \
  && cd /var/www \
  && npm install --unsafe-perm \
  # building grpc from source - https://github.com/grpc/grpc/issues/8941
  # We use version 1.10.1 as this is the version required by gcloud and 1.11.2 introduced a bug when building from source
  && npm rebuild<EMAIL_ADDRESS>--build-from-source

# Add non-privileged user to run puppeteer (pptruser)
RUN groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
  && mkdir -p /var/www/node_modules \
  && mkdir -p /home/pptruser/Downloads \
  && chown -R pptruser:pptruser /home/pptruser \
  && chown -R pptruser:pptruser /var/www \
  && chown -R pptruser:pptruser /var/www/node_modules

# Run user as non privileged.
USER pptruser

# Default to port 80 for node, and 5858 or 9229 for debug
ARG PORT=3004
ENV PORT $PORT
EXPOSE $PORT 5858 9229

WORKDIR /var/www/app
ENTRYPOINT ["dumb-init", "--"]
CMD ["pm2-dev", "pm2.json"]

Still happening to me in version 72. I have already resized my /dev/shm to 2Gi and tried --disable-dev-shm as suggested.
`
FROM python:3.6-alpine3.9
RUN sh -c 'apk add --update curl gcc g++ gcc python3-dev musl-dev postgresql-dev g++ freetype-dev jpeg-dev zlib-dev jpeg-dev &&
rm -rf /var/cache/apk/*'
RUN apk update
RUN apk add chromium chromium-chromedriver
COPY requirements.txt /home/requirements.txt
RUN pip3 install --requirement /home/requirements.txt
COPY . /home/
WORKDIR /home/
USER root
EXPOSE 8080
CMD ["gunicorn", "-c", "ginit.py", "processei.wsgi"]`


Params template syntax error

Seems like some constants were changed in 3525b4eb28e012c28633d992cf5c4bae8c8f5cda and the copy-paste template hasn't been adjusted yet.

https://github.com/pokrakam/abapDevSysInit/blob/655d4139c0499764968ec41c624661a1227f6f82/src/zdevsysinit.prog.abap#L2143-L2156
https://github.com/pokrakam/abapDevSysInit/blob/655d4139c0499764968ec41c624661a1227f6f82/zdevsysinit_params.sample.abap#L33-L34

Ah yes I went stricter on clean code and missed the example. Thanks for pointing out, fixed.


boot/boot_serial: allow nonaligned last chunk

The last data packet might be non aligned to multiple of
the flash write-block-size. This cause that the image upload
mcumgr command mighty fail if the device flash driver doesn't
support one-byte write-block-size.
This patch complements the last write operation to aligned chunk
so it meet the requirements.
Signed-off-by: Andrzej Puzdrowski<EMAIL_ADDRESS>

cc @hakonfam @de-nordic


H🌍

I don’t know how I should implement this language because it cannot print “Hello World”. Should I do “Hello, World!”? https://esolangs.org/wiki/H🌍

Yes


Provide a npm library for the SVG icons

Describe the bug
Hi, first of all, thank you very much for your icon set, we are really impressed by it in my company.
We were wondering if there were any plans to release an npm library containing only the SVGs.
We saw this folder for the icon font: https://github.com/phosphor-icons/phosphor-icons/tree/master/assets but it does not get exported by NPM.
I am happy to provide any help required.
Best regards

Hey @pierrebaronqumu! We don't have any plans to provide an asset-only package, and they aren't included in our libraries for size concerns. Do you have a specific use-case in mind? Not sure how it would fit in the npm ecosystem to just use it for file storage.
As always, the latest assets can be downloaded at https://phosphoricons.com/assets/phosphor-icons.zip.

We need to use the svgs and not the React/Vue/icon font projects as we have to deal with multiple frameworks in our apps. We could use the icon font but we had issues with those in the past and we prefer working directly with svgs.
We currently download the zip file as you mentioned but this does not come with any versioning system. Having an npm library would provide versioning which would make it easier for us to update the icons.
From what I have seen so far, other libraries like Bootstrap icons, Feather icons, ... provide the SVG files.

Hey @pierrebaronqumu, we now have the @phosphor-icons/core package that exposes catalog information and raw SVG assets. I should caution that it's quite new and known bugs exist with SVG module resolution before Vite 4.1.0, but is tested and working with both Webpack and Vite 4.1.x.

Awesome! Great work! This will be extremely helpful, thank you very much!


ModifiedBetaGeoFitter doens't converge

Hello,
I tried to fit a ModifiedBetaGeo model on some data generated by the model itself.
It doesn't give good results. I tried to modify the initial parameters but it basically never works.
It seems to have problems in fitting a and b parameters. They are always next to zero.
Here is the code to reproduce the issue:
import lifetimes.generate_data as gen
from lifetimes import estimation
from lifetimes.models import extract_frequencies
T = 40
r = 0.24
alpha = 4.41
a = 0.8
b = 2.43
data = gen.modified_beta_geometric_nbd_model(T, r, alpha, a, b, size=1000)
fitter = estimation.ModifiedBetaGeoFitter()
fitter.fit(data['frequency'],data['recency'],data['T'])
print "Library Fit"
print fitter.params_

Hi Marco,
I wasn't able to reproduce your findings. I ran a modified script to generate/fit a bunch of times:
import matplotlib.pylab as plt
import pandas as pd

import lifetimes.generate_data as gen
from lifetimes import estimation

T = 40
r = 0.24
alpha = 4.41
a = 0.8
b = 2.43

fitter = estimation.ModifiedBetaGeoFitter()

params = []
for _ in range(500):
    data = gen.modified_beta_geometric_nbd_model(T, r, alpha, a, b, size=1000)
    fitter.fit(data['frequency'],data['recency'],data['T'])

    params.append(fitter._unload_params('r','alpha','a','b'))

df = pd.DataFrame(params, columns=['r','alpha','a','b'])

fig, axes = plt.subplots(nrows=2, ncols=2)
df.hist('r', bins=100, range=(0,1), ax=axes[0,0])
df.hist('alpha', bins=100, range=(2,7), ax=axes[0,1])
df.hist('a', bins=100, range=(0.2,4), ax=axes[1,0])
df.hist('b', bins=100, range=(0,10), ax=axes[1,1])

which produced the following distributions:

I should note that I've clipped some outliers where sometimes the fitting failed and produced a and b params in the 10^6 range, but that happened something like 2 times in 500 trials.
I'm not sure why you're seeing so many fitted parameters close to zero...

Great script @rhydomako. I tried this too on my system (using <IP_ADDRESS>). Output below:

I also get sometimes wild values for (a,b) (not shown here), but by adding a small penalizer_coef=0.01, the results are more sensible (below)

The max value of a in this simulation was 34.50


Tag 0.48.0 does not contain the code from commit 0.48.0

So for some reason the 0.48.0 tag does not contain all the changes in the version 0.48.0 commit... :confused:
I guess something got lost there.

Yeah, I will have to fix that immediately. Thanks for reporting.

I didn't know that git does not change the tag pointer when I amend a commit.

Thanks for the swift response! :smile:


Add max width option for containers

Should have an option for a max-width on containers.

Added to release/2.0


Expose ConnectionPolicyChain on  ConnectionHandler

I'd like to push a few policies in there myself to handle ServerTooBusyException, from my transport, but the field is not exposed.

I'll mock something up. Working on the async-issue right now. In the meanwhile, here's how I've hacked it (and it's async, also, so that ties into GH-82) right now.


External Script doesnt add a button in the ribbon

Search existing issues

[X] I have searched the issue tracker and confirmed that I was unable to find existing issues for the problem I am experiencing.

The problem
When uploading an external script, it doesnt create a button in the ribbon, even if i restart autocad. In the revit version it does, so other people can reuse my scripts just by click in it.
Release version
1.1.3
Operating system
Windows 11
Steps to reproduce the behavior

Go to Python Shell Menu.
Click in configures CPS.
In External Scripts Add a .py script.
Give a Name and Ok.
It does nothing.

Log files
No response
Screenshots
No response
Additional context
No response

Hi @asessLuis . At the moment, I don't have any plan to implement that feature, I wish I have anough time to help but will consider when I have free time.

Hi Chuong, thanks for your response and all the effort, apreciate it! Understood and understandable!


[BUG]: The account which is hosting this domain has been temporarily disabled

Description of the bug
A friend reported that https://baroloteam.online/ displays the following error message:

Steps To Reproduce

Go to https://baroloteam.online/
Read the error message displayed on the Description of this bug

Additional Information
No response

This is a known bug and is blocked by resolution of #1
For the time being please refer to the B-AROL-O Team profile on GitHub:
https://baroloteam.online/


fix: kubernetes playbook request namespace access

resolves: https://github.com/flanksource/mission-control-registry/issues/151

@moshloop Do you think we could add a category for parameters as well? So there's a visual grouping for parameters for

the repo
rolebinding stuff

@moshloop https://github.com/flanksource/aws-sandbox/pull/241


Bind modules that depends on each other [question]

I do not want to spam but it seems on SO there are barely any questions regarding toothpick so I hope to get some feedback if I cross post my qestion here:
I created the following test project on github where I tried to make a smallest possible use case for my understanding issue.
There you will find the ApplicationModule where I try to inject everything I need in my "root" module. As you can see there, I have twice scope.installModules(module) because my PlainPojo depends on the Application instance. If I do not do the first installModule call, I have no application instance in the scope. I could, as mentioned in the comment, pass the application instance as a parameter but I thought that I can remove them when I use DI?
The second class that causes troubles is the SimpleTest class. If I do not call the inject() method in the constructor, the PlainPojo member will not be injected. I also tried to use a third time the installModules() in the ApplicationModule after binding the PlainPojo but that does not help.
Am I so wrong to assume that an @Inject on a member is enough to automatically inject it when it is available in the scope and that the order of binding is enough to make previous bindings available without installing in between (like done in ApplicationModule)?
If I can provide anything more to make my issue(s) understandable please leave a comment.
Thanks in advance!
Source (and if you want to get some reputation on SO)
https://stackoverflow.com/questions/48298189/toothpick-bind-modules-that-depends-on-each-other

I have also asked a toothpick-related question on StackOverflow and it still doesn't have an answer or comment, more than a week has passed.
Decided to ping you guys here, maybe someone will have time to check it out and give me some advice.
Here's the question:
https://stackoverflow.com/q/49412905/258848


[Test] removing paragraph break

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Show nothing on RN 0.47.1

Version
Which versions are you using:

react-native-swiper v1.5.8
react-native v0.47.1

Expected behaviour
Actual behaviour
It show when I render swiper as an item of FlatList.
But when I render it along, show nothing.
Steps to reproduce
For non-obvious bugs, please fork this component, modify Example project to reproduce your issue and include link here.
1.
2.
3.

I just upgraded from 1.5.4 to 1.5.8 and had the same problem. No pages rendered. I solved this by adding the containerStyle prop to the Swiper and setting it to the following style:
swiperWrapper: {
flex: 1,
height: '100%',
width: '100%',
alignSelf: 'stretch',
backgroundColor: '#fff',
}

@DigohD  Thanks. I'm using react-native-snap-carousel now. It has flatlist version.

With the last version, it should be working. Can you try again @DigohD or @ittianyu ?

Tried on 1.5.9, with and without @DigohD suggestion as new prop to my Swiper:
containerStyle={{
  flex: 1,
  height: '100%',
  width: '100%',
  alignSelf: 'stretch',
  backgroundColor: '#fff',
}}

Still, the Swiper component doesn't show in my app, with a black bar that was below the Swiper now at the top. As I wrote in https://github.com/leecade/react-native-swiper/issues/494

@fungilation Can you fork the project and reproduce your bug in one of the examples?
I do not succeed to reproduce it on my own...

Thanks. Works on 1.5.9.
I hope you guys can add a version based on FlatList.

You can work on it if you want to @ittianyu ;)
Or at least, create a new issue.
I closed this one.


Dark Mode

Hi there, i want to add dark mode in the website as an gssoc'22 participant.

You can start working on it @Priyanshi136

Hey can I work on it?


Fail the build if we have type errors (and fix/ignore remaining errors)

What does this change?

This rounds off the work I was doing a few years ago to migrate the project to Typescript
At the time, I got the build to a point where there were about 50+ unresolved type errors, meaning that we had to enable  ignoreBuildErrors in Next to complete our migration from CRA
This PR ignores / refactors code where necessary in order to get our Typescript build passing, with the aim to give us a foundation to improve our types further over time

resolves https://github.com/public-convenience-ltd/toiletmap/issues/1366

Thanks for all the detailed comments @mxdvl — I'm going to merge this as-is and open follow-up PRs over time to continue to improve types in the project. I think just having our build step fail on type errors now will be super valuable and something we've not turned on since we started the migration from js->ts back in '21-'22


Fix memory leak in OSSL_CMP_CTX

The ctx->propq is strduped, so it must be freed too.

This pull request is ready to merge

CI failure not relevant.  I'm merging this now

Merged
32075a17249636b3e2986a0ac422b1803663ccaa Fix memory leak in OSSL_CMP_CTX


pull request for e2e test at 12/28/2016 20:45:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Anyway error message is rather confusing... Please investigate.

When I try to run tsc.go, I get this error:
charset: cannot open "charsets.json": open /usr/local/lib/go-charset/datafiles/charsets.json: no such file or directory

I'm sure you have long since moved on, but I finally identified and fixed the cgo issue. Closing this.


Configuration using .obsidian or JSON file

Hello team!
I am a huge nix user and manage my environments there. One thing that would be super neat is if this obsidian plugin could support reading the configuration details for the interpreter paths for languages from a json file. I dug around a little bit and haven't developed an extension for obsidian yet, but was wondering if this was something the maintainers would be open to discuss. More than happy to contribute this once I get a better understanding on extension development, but unsure if this is possible just yet :)

Oops, posted this in the wrong repo - just realized. Sorry, closing!


Wayland support

There are a few specifics to do with wayland design that sets this implementation apart from others such as x11

A wayland window must be created by the client and have focus before setting or getting the clipboard contents
Wayland events must be continuously dispatched for the clipboard to work. smithay-clipboard's new_threaded() method takes care of this using a thread that continuously dispatches those events
You need to specify the name of the seat you want to use to access the clipboard from (each seat has a different clipboard). By default I've set it to seat0 as multiple seats are an exotic thing in the wayland ecosystem however it can be changed with the set_seat() function.
A wayland display must be passed to the creation of the clipboard and that must be the same display what the window is using

I've left the default ClipboardContext set to X11ClipboardContext on linux and I think that allowing the user to directly use WaylandClipboardContext at their discretion to fit their needs would be a good enough API.
I've also added a wayland example to test out the implementation.

I think this implementation is a bit troublesome since it does not use the ClipboardProvider trait, so that would make it pretty difficult for the consumers to abstract over different platforms.
I've got an alternative implementation here:
https://github.com/chrisduerr/rust-clipboard


[FEATURE] Support for SearxngSearch Tool in Flowise

Describe the feature you'd like
I would like to kindly request the addition of support for the SearxngSearch tool in Flowise, similar to the support provided in Langchain.js. The SearxngSearch tool is highly beneficial for performing meta search engine queries using the SearxNG API. This functionality is particularly useful for retrieving information on current events and providing comprehensive search results.
Additional context
Langchain.js currently supports the SearxngSearch tool, enabling users to perform internet-connected agent and chain searches that yield a wide range of search results. By incorporating this feature into Flowise, users would gain access to enhanced search capabilities, thereby improving the overall utility and effectiveness of the platform. This addition would be greatly appreciated by the user community and would align Flowise with the advanced features available in Langchain.js.

@HenryHengZJ This would be very useful now that we are entering the era of Agent as a Service (AAAS) here on Flowise, powered by our LangGraph friends.
BTW, thank you for taking the time to implement Exa Search. Another great addition.

closing as https://github.com/FlowiseAI/Flowise/pull/2599 merged!


Rename image path(s) into zarr_url(s)

Requires:

https://github.com/fractal-analytics-platform/fractal-server/pull/1349.

Known affected places:

https://github.com/fractal-analytics-platform/fractal-web/issues/429
the images backend API and fractal-web page display

Done in #434


web crawler: various fixes

Description
Fixes various small issues with web crawler:

add them to plans
do not add them to Dust by default
also remove the choice for folders in the creation flow (can still be messed with when managing @dust)

Risk
N/A
Deploy Plan

deploy front

cc @lasryaric

PMRW


ls is not consistent when directory has more than 1000 files

I know S3's ls max page size is 1000, but I would expect goofys to get around this by iterating over all pages, 1000 at a time, until it fetches all.   I saw another issue that said seemed to have fixed this after v 0.20, however I just tried the latest version and 0.23 and the results are still inconsistent.
If I repeatedly do ls | wc -l in a directory that I know has more than 1000, it repeatedly says 1000.  However, seemingly random, at some point the command returns the correct count.
Is this a bug?

can you post --debug_s3 and --debug_fuse logs? Do you have an example bucket where this happens?


Cleanup and fix for #15

Some cleanups to make the library more resilient and bring it closer to implementing the specification.
Fixes #15
Thanks for the nice library @h2non!

Souns promising. Will review in detail soon.

Thanks for merging!

semver.c v1.0.0 is out!
Thank you for the contributions.


Dynamic enum constant added

Hi @vladimir-shcherbakov, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (vlashch). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

Can one of the admins verify this patch?

@azuresdkci add to whitelist


Can I convert to JPG and save to filesystem in Node?

It's not really clear how to use the document returned from the pdf function call.  It's not mentioned what type of image is created either.

I agree to see simple example without jest-image-snapshot.
For example
for await (const page of await pdf("example.pdf")) {
    // what to do with `page`?
}


Use context for runtime, and allow to control timeout for script running?

You can already achieve this with the current API, but it requires an additional goroutine to transmit cancellation of ctx to the interpreter, something like this:
{
	ctx, cancel := context.WithCancel(ctx)
	defer cancel()
	go func() {
		<-ctx.Done()
		thread.Cancel("context cancelled")
	}()
	... evaluate starlark in 'thread' ...
}

Perhaps there's a function we could add to the API to make this simpler, or an executable example of it in action.
If you pass the context in the thread using Thread.SetLocal, then long-running built-in functions can retrieve it and honor cancellation too; see https://github.com/google/starlark-go/issues/252#issuecomment-553930328.
See also:

https://github.com/google/starlark-go/pull/298
https://github.com/google/starlark-go/issues/252
https://github.com/google/starlark-go/issues/160


Drop simulator

deleted the other branch on accident, this new branch should be the final branch with the proper commits (sorry, new to github)

You should be able to remove the lib/ directory now that you're loading deps via gradle


Update on cases

Hi
Not trying to sound impatient but we're a little bit worried that some of our cases, which have been marked as Ships in Future Release, have slipped through the cracks.
They are only minor changes and they were changed to Ships in Future back in April.  I've just checked the latest release and the changes are not in there.  We've had other modifications done both before and after these which have turned up in the recent releases and just wanted to double-check that they haven't been missed.
Cases are:
https://github.com/microsoft/ALAppExtensions/issues/5854
https://github.com/microsoft/ALAppExtensions/issues/6457
https://github.com/microsoft/ALAppExtensions/issues/6764
Thanks in advance

Hi @CnCollins .
As you see some event were not implemented in 16 version. Unfortunately we cannot downgrade events based on github request, only for the latest prod version witch will be 17. So if you really need these changes in 16.x version please reach out product support to log a hotfix request for downgrading events in required version. Or just wait for the latest version.
Can we close current issue?

Hi @RomanZanizdra
I'm not sure what you mean about downgrading events?  We know you are normally pretty fast at turning requests around so wanted to make sure that these haven't been missed.
Please go ahead and close the case.  It looks like they are in the latest insider 17.
Thanks
Chris

Hi @CnCollins . I meant that we implement events for the latest prod version and now it will be 17.x and if you for some reasons need event to be implemented in 16.x version for example then it can be done via support and hotfix.
That's great that you fine with latest 17. Thank you for collaboration, I'll close the issue.


Upgrade Python SDK v12.40

==Version 12.40.0 (v12.40.0)(October 16, 2024)

Change: [cnpAPI v12.40] In authorization,sale and captureGivenAuth request new elements added-> 'typeOfDigitalCurrency' and 'conversionAffiliateId'.
Change: [cnpAPI v12.40] In existing simple type transactionAmountType range added between minInclusive value -999999999999  and maxInclusive value<PHONE_NUMBER>99
Change: [cnpAPI v12.40] In existing type authenticationProtocolVersionType new values '3','4','5','6','7','8' and '9' are added

==Version 12.39.0 (October 16, 2024)

Change: [cnpAPI v12.39] In 'subMerchantCredit' 'payFacCredit','reserveCredit', 'payoutOrgCreditRequest' base changed from 'transactionTypeWithReportGroup' to 'transactionTypeWithReportGroupAndRtp'.
Change: [cnpAPI v12.39] To support new changed extension base for above txns ,New Complextype 'transactionTypeWithReportGroupAndRtp' added.
Change: [cnpAPI v12.39] New element 'fundingTransactionReferenceNumber' in authorization and sale response.

==Version 12.38.0 (October 16, 2024)

Change: [cnpAPI v12.38] In existing Enum 'ActionTypeEnum' new value 'FIVD' added
Change: [cnpAPI v12.38] In existing complex element 'baseRequest' two more choices are added 'encryptionKeyRequest' and 'encryptedPayload'
Change: [cnpAPI v12.38] In existing complex element 'cnpOnlineResponse' one more choice is added 'encryptionKeyResponse'
Change: [cnpAPI v12.38] New element 'encryptionKeyRequest' is added of type 'encryptionKeyRequestEnum'
Change: [cnpAPI v12.38] To support 'encryptionKeyRequest' new Enum 'encryptionKeyRequestEnum' added with values 'CURRENT' and 'PREVIOUS'
Change: [cnpAPI v12.38] New complex element 'encryptionKeyResponse' is added with simple elements ->'encryptionKeySequence' of type 'encryptionKeySequenceType' and 'encryptionKey' of type 'encryptionKeyType'
Change: [cnpAPI v12.38] To support 'encryptionKeySequence' new simple type 'encryptionKeySequenceType' added with total Digits 19
Change: [cnpAPI v12.38] To support 'encryptionKey' new simple type 'encryptionKeyType' of type string with maxLength 15000
Change: [cnpAPI v12.38] New complex element 'encryptedPayload' is added with simple elements ->'encryptionKeySequence' of type 'encryptionKeySequenceType' and 'payload' of type 'payloadType'
Change: [cnpAPI v12.38] To support 'payload' new simple type 'payloadType' of type string with maxLength 15000
Change: [cnpAPI v12.38] In capture Request new complex element 'partialCapture' is added with elements-> 'partialCaptureSequenceNumber' of type 'integer' and 'partialCaptureTotalCount' of type 'partialCaptureCount'

Changes look OK, merging PR!


showAxis={false} - line chart disapears with axis.

const charData = [ [1, 50000], [2, 75000], [3, 170000], [4, 100000], [5, 125000], [6, 99000], [7, 131111], [8, 50000], [9, 75000], [10, 170000], [11, 110000], [12, 125000] ];

This is my chart I am using, and showAxis property not only remove axis, but line chart itself.

showAxis={false}
type={'bar"}
also breaks, nothing shows

Fixed by https://github.com/tomauty/react-native-chart/commit/8f3198e10b99e9b80bf1d5d4a1b48c64235624da
Release incoming


FIX: Update handling of missing text/plain case

[TBA]

The library can't take the decision to set a Text value where there is none. It could be helpful to know that the text part wasn't present for instance.
The html2text here should be done down the code, in the application using Mailparse instead.
But one thing could be interesting, is to return a "text": None if that's not the case already. I'll check that.


Necessary adjustments to automatically apply suggestions.

I will squash this once everything settles down but I think everything is nearly ready to merge.
When you get the chance could you please review the changes and suggest any improvements you would like to see.
There was one part where I couldn't properly specify the refactoring. The unification algorithm does some rearranging in the middle to match f . g $ x as f (g x) but in doing this, it is possible to variables to unify with expressions which don't exist in the AST (namely g x). I tried a few things to solve this but couldn't get anything to stick so if you have any ideas about how to either move this rearrangement out of the unification step or another way to solve this problem it would be appreciated.
Apart from that, I thought that the integration was quite clean for the most part. There are some additional places where some locations needed to be threaded around properly but most refactorings were easily specifiable with only a few primitives. The application library is also only about 700 LOC.

Looking through, it certainly seems highly plausible. My thoughts:

Can you please merge in the head, since I broke the Travis tests (my fault) and that means the buildbot fails, now fixed in head.

I support GHC 7.4, which means you can't use MultiwayIf - should be pretty easy to get rid of it.

There's quite a lot of whitespace changes in there in a few files that would be otherwise unchanged - I've cherry picked them to make future reviewing easier.

Do the tests still pass? If so, it looks entirely plausible - although given the large amount of changes, I'll need to review the individual pieces more carefully.

You have added NamedFieldPuns in a bunch of places that also have RecordWildCards - that's redundant.

There are a few commented out fields:
+--    , ideaPreciseSpan :: SrcSpan -- ^ The source code that needs to be replaced
+--    , ideaSubst :: Maybe [(String, SrcSpan)] -- ^ The performed substitution
+--    , ideaTemplate :: Maybe String -- ^ The template used to generate the output

Are they coming back? Are they important?

SrcSpan seems quite memory high, I raised https://github.com/mpickering/refact/issues/1 to think about that (not a serious issue as far as HLint is concerned, but might be for other things).
Can you add at least one or two tests of the flag, so I don't immediately break it without looking :). It doesn't need to be comprehensive, just something that hits a few cases. After its merged we can work towards more test coverage, or refactoring to make the changes less separate and thus requiring less testing.

"I will squash this once everything settles down" - do you mean squash into a single patch? Please don't feel the need to do that on my account. Having a true and accurate account of what happened, what you were thinking, and how your thoughts changed, is valuable. I realise it makes bisecting slightly more fiddly, but for something as simple as HLint that's not such a big deal. I'd rather a true history than one that is pretty but fake.

That's fine by me if you're happy with my quite ropey commit messages. Bisecting will be very difficult because of how the refact library has been changed alongside it so I don't expect any  older commits to compile at all.
Yes, the tests still pass. Most of the failures I had to fix were from Hint.Match which I had to modify to retain positional information when doing the unification.
Please can you restart the travis build, the dependencies on refact were too tight which caused the older builds to fail.
I can get to adding some tests tomorrow. Thank you for you suggestion about the representation. I'm not very familiar with these kinds of optimisations, it seems like a good idea.

Ropey commit messages are fine. Travis restarts itself whenever you update master, it's going now.

Oh, i see what you meant about Travis - restarted now.

OK, I suggest we think about the representation for SrcSpan (you might decide to do nothing, but if it does change, easier now than later) and once that's figured out, I do a final review, and then we merge.

I made the changes you suggested. If you would like any more changes made then please say!

Are you happy to merge as is? If so, I'll go through in detail with a view to merging today or tomorrow.

I just found a bug which needs to be fixed. There is also probably some refactoring I forgot about which I will go over tonight.

OK, great, let me know when it's done.

The issue was https://github.com/haskell-suite/haskell-src-exts/pull/242 . Funnily enough this patch also breaks hlint as the template files have declarations such as:
error = ...
error "label" = ...

haskell-src-exts rightly complains that there is an arity mismatch.

I had a quick look over, there are two parts which I think could definitely be better but unsure what to do with them.

https://github.com/ndmitchell/hlint/pull/146/files#diff-171b235db8767216ad3a8774aa18b250R83
https://github.com/ndmitchell/hlint/pull/146/files#diff-1072dd84743480ad2cfef6318282c4e1R118

It seems like for the first one it might be better to add a new method to Brackets which returns the type of the expression.. but this kind of reflection is what is already going on more directly.
The second case is a major case of copy & paste, I needed the functionality of descendBracket but to apply the changes to the template rather than the actual expression it was checking bracketing for. I'm sure there's a way to merge the two.

Neither of those look fatal - I'd be happy to have them fixed up afterwards (or when someone is next refactoring the code anyway). Are you happy for me to merge as is? If so, I'll review and merge tonight.

Yes I think everything is good.

OK, all merged. What's the next steps? Docs to describe how to put these things together?

At the moment apply-refact provides an executable called refactor which calls hlint as a subprocess with the appropriate flags. Hopefully once 7.10.2 gets released this week you can have a play with it and see if you think I need to add anything else.


About light-weight human detector

Very interesting model!
Since this model takes croped human as input, may I ask if there is any realtime human detector recommend that is light-weight to work with this model together?
Thank you~

Hi, in practice you can use the 2D detection results of the model to obtain a bounding box for the next frame, so you only need to detect the body for the first frame to initialize everything. I guess a lot of repos can do this e.g. openpose.

Nice trick, got it, thank you! :P


Update components to be lightning linter compliant

We use the lightning linter from the salesforce cli as part of our CI. We are currently excluding the strike components from our lint task because they are not compliant. It would be great to update them to address the linter errors so that we don't have to exclude them and can properly lint any changes we make to them. I would be happy to open a PR to address this, just let me know.
I am going to be opening an additional enhancement request for some gulp tasks in this repo but I think that supporting lightning:lint as a gulp task would be a natural extension of this.

all components should be linter compliant come next release


Improve FS throttle

PS's FS(...).writeUpdate(...) has a throttle option.
This changes it so it's possible to call it with the throttle on sometimes and off sometimes, and "throttle off" will pre-empt "throttle on" calls.
I'm pullreqqing because this took me a lot of thinking so I could use a code review.

This pull request fixes 1 alert when merging 8c3e75706a0f6d9f9ffeb31f3224d526284aacc7 into 60075830b694679332a3a92ae3118ceabb001957 - view on LGTM.com
fixed alerts:

1 for Useless assignment to local variable

Comment posted by LGTM.com

I guess @HoeenCoder forgot to review.

Oh right sorry @Zarel i got busy with other things and never wrote it down

I just noticed that on my own PSChina server lastbattle.txt stopped getting updated (originally updated every 10s I suppose?), and I meet similar problems in this replay: https://replay.pokemonshowdown.com/smogtours-gen7ou-407307 where basically battleid rolled back and overwrite old battles with the same id. Tracked down a bit from room.js and found this is probably the only relevant changes for the past several months. Any idea? @Zarel

This is an issue we've observed on the main server too. I tried to look
into it but couldn't figure out where in the code the problem occurred. I
think Zarel going to look into it soon maybe he can spot it.

I'm working on this, yes.

This should be fixed as of my latest update (ca2935022cdbf9b9)


How can I to get custom settings?

I want to create sessions using a 'custom' settings as you gave in the examples. I also want to do this using multiple custom settings, but I have no idea where to find these values. Can you give an idea about how we can find/create these values?

hey, you can check this link. Lmk if this helps

I looked at what you said, but I couldn't understand its relevance to what I said (or i dont understand lol).

What I'm wondering is how do we get these values if we want to change the settings here? For example, how can I find a different value that works for the value 'ja3'?

Ah okey, I missunderstood you question. You can use sites likes this for example: link

Oh thanks! I think it will be best to use the settings I entered with the user agent I am using. btw if you have some spare time it might be good to write a readme where you explain what the parameters (eg: random_tls_extension_order) do

Yeah I might write a more detailed documentation in future! :)


Change daily builds to only build new versions by Semver instead of daily

My Environment
Our terraspace stacks only work with version 0.6.11 (as per:  #132 and #133 )
We were building docker images using the debian package but the daily builds have rotated this version out of the available packages in the apt repo.
Daily builds are a great idea, but pointless unless you have daily changes. Just rely on changes to the code to trigger a new package build.
Expected Behaviour
apt install terraspace=0.6.11-20210726100211

works.
Current Behavior
Version doesn't exist anymore

Still preferred option so that individual versions can be utilised, however closing since we can work with 0.6.13-20210901100222, it just generates ~2000 lines of error messages in the logs due to #132 .


out of memory

Hi,
I want to test on the example cases, so I just run python example/voc/train_fcn8s.py -g 1 on a DGX station, with Tesla V100 16GB memory. After loading the model, it immediately reports out of memory in the first forward pass. Has anyone encountered this situation?
environment:
Pytorch: v0.4.1
CUDA: 9.0
cuDNN: 7.1.4
Kaicheng

Probably, it's the problem of pytorch you use.
Have you tested with a simpler training code? Like train_mnist.py?

Probably, it's the problem of pytorch you use.
Have you tested with a simpler training code? Like train_mnist.py?

I have the same problem with k40 11G memory, and I find the bath_size=1 in train_fcn8s.py. Why the code need so much memory? I had run others segementation code in VOC 2012, and do not find the same problem. What shold I do to run this code?  I'm sure that my pytorch(stable 0.4.1 cuda80) works well.

Hmm, I tested this on Titan X, Titan X Pascal, and GTX 1080Ti, which have 12 or 11 G memories..

@wkentaro Have you ever tried it with Pytorch 0.4.1 the latest version? I am also using Titan X but get the message "CUDA error: out of the memory" whenever I run the code "python train_fcn32s.py -g 0". I already checked the mnist example which is working properly with gpu.

Maybe no. I haven't tested on the newer PyTorch.

@wkentaro Have you ever tried it with Pytorch 0.4.1 the latest version? I am also using Titan X but get the message "CUDA error: out of the memory" whenever I run the code "python train_fcn32s.py -g 0". I already checked the mnist example which is working properly with gpu.

Have you solved the problem？ I also  have the same problem

@gyheart This code was worked at Pytorch 0.3 version. Thanks!

@gyheart This code was worked at Pytorch 0.3 version. Thanks!

Is the version 0.3.1？Thanks！


health-check should use git repo name as ingress or route name

Using branch dev health check is using the image url to get the app name instead of using new approach of git repo name
In health check we use tools-image and basename can't be use the same way
INGRESS_NAME=$(basename -s .git `git config --get remote.origin.url` | tr '[:upper:]' '[:lower:]' | sed 's/_/-/g')

xist or is empty"}
[health : health-check] BusyBox v1.30.1 (2019-06-12 17:51:55 UTC) multi-call binary.
[health : health-check]
[health : health-check] Usage: basename FILE [SUFFIX]
[health : health-check]
[health : health-check] Strip directory path and .SUFFIX from FILE
[health : health-check] error: arguments in resource/name form must have a single resource and name
[health : health-check] error: arguments in resource/name form must have a single resource and name

invalid, there is already a check to fall back to route


Fix a couple minor bugs in the example

This is actually quite funny, not sure how I made that mistake. Nice catch.

Yeah, I noticed the incorrect compare several months ago but I was just browsing online at the time and I thought, "There's no way he made that mistake, I must be missing something".
Now I actually went to use it in something and it turned out I wasn't crazy.
I am curious why you don't make the the compare function a member for rb and avl?  It's going to be the same function for the life of the tree and is just extra typing every time you call those functions.  8 bytes of extra space in the tree is pretty insignificant.

Faster comparisons really. If it were a member of the tree structure; that requires a dereference of the tree to load the pointer from the tree structure and then a dereference of the function pointer to place the call. The tree structure is mostly cold, it's only ever touched when reading from the root and when passing the aux stuff into the comparison where you sort of only pay for the aux cost if you use it.

Fair enough.  That occurred to me but I think it's a worthwhile trade off for me and compare is only used in insert and search which access the tree immediately to get the root so the tree would be hot at that point and as you said it has to access the tree for aux anyway as it is now.
The only other thing I was going to change for what I'm using it for is having the insert functions return a node* or NULL so you know if it already existed or not.  Having to call search first duplicates work.
I'm looking to replace this mess at work with your avl and and my CVector.  It's amazing how many ad-hoc manual vectors they had floating around that codebase.  I'm still finding/replacing them 6 months later.  It's an absolutely horrible codebase and as soon as I wrap up the last few reasonable things and publish an official release I'm gone and it'll go back to decaying unmaintained bit rot.  It's beyond saving.
So thank you for helping me clean up the code just a little bit more with your excellent, small, sane, and readable library.

Looked at your CVector project. Another one of those vector implementations that I feel do it wrong. There is a much better way to do vectors in C that is type-safe while still allowing indexing of elements using the [] operator. I almost feel like writing a little library to showcase it so people would stop making these huge vector libraries in C

That's what the templates are for.  While I don't think it's a big deal to use the void_vector for a one off occasionally, for anything that I use a lot or really care about speed I'd use a template, either generate it offline with the script or use the new macros.
I'm sure there are better C vector libraries out there but personally every one I've seen I consider worse than mine and fundamentally similar (except arguably less type safe and more annoying since they're constantly casting a void* instead of just using byte* for their generic vector)

And anything is better than Darray in davinci where it only stores void*'s.

Oh 2 things I forgot or should add/clarify.
I have seen Sean Barrett's stretchy buffer concept which is different than all the other vector libraries I've seen and probably more what you're thinking of based on what you said.  I can appreciate it's simplicity but as he says it's an extremely leaky abstraction and compiler aliasing optimizations breaks it iirc and his last commit removes claims of C++ support probably for similar reasons.  I prefer the concrete nature of an actual struct/function style like mine which is more obvious and safer from a portability standpoint.
And in replacing Darray I would be using a template to generate a cvector_voidptr or something where voidptr is just a struct that wraps a void*.
Sorry to clutter up your inbox

Did it because why not
https://github.com/graphitemaster/cvec
I prefer doing vectors in C like this

Interesting.  It is similar to stretchy_buffer as I expected though slightly more hybrid with an actual struct.  I have to go right now but I'll definitely look at it in more detail later.
Though I think the points in my previous post still apply to yours (ie harder to make arbitrary modifications, special cases etc.), it's definitely more of a middle ground and I'd rather work with yours than stb's.


The stack trace is not collected correctly when capturing a message or event

Environment
How do you use Sentry?
Sentry SaaS (sentry.io)
Which version of the SDK?
0.15.1
How did you install the package? (Git-URL, Assetstore)
Git
Which version of Unreal?
5.3.2
Is this happening in Unreal (editor) or on a player like Android, iOS, Windows?
Linux, Pixel streaming
Steps to Reproduce
Capture a message
SentrySubsystem->CaptureMessage(Message, ESentryLevel::Error);
or an event
USentryEvent* Event = NewObject<USentryEvent>();
Event->SetMessage(Message);
Event->SetLevel(ESentryLevel::Error);

Expected Result
Get the stack trace up to the Captured Message/Event
Actual Result
Always the same stack trace ended with crashpad::Settings::InitializeSettings
Any logs or screenshots

@etelyatn Is this issue specific to the Linux pixel streaming configuration or do you observe similar behavior with other platforms/targets as well?

@etelyatn Is this issue specific to the Linux pixel streaming configuration or do you observe similar behavior with other platforms/targets as well?

Maybe, this only applies to Linux systems; I don’t have the opportunity to check on others

As @tustanivsky said, I think we should figure out if this is isolated to Linux, Pixel streaming or happening on other platforms as well to properly prioritize this.


Please add a basic Quick start guide for installing tool and creating first project

What is the best way to get started using dotnet saturn
Please provide some basic quick start documentation in the Readme or a link to wiki, blog post or similar.
[I] ⋊> ~/r/f/SAFE-projects dotnet saturn
No executable found matching command "dotnet-saturn"

What do I need to do in order to have the saturn CLI available on my Mac OSX?
Note: I've been looking at the SAFE stack documentation site, but still not clear. Cheers.
Is it a dotnet CLI tool I assume? If so, how do I extend the core set of tools with saturn?
Ah, I think this is it: how-to-start please add link to this resource :)
[I] ⋊> dotnet new -i Saturn.Template                                                       16:41:11
  Restoring packages for /Users/kristianmandrup/.templateengine/dotnetcli/v2.2.103/scratch/restore.csproj...
  Installing Saturn.Template 0.7.0.
[I] ⋊>  mkdir SaturnSample
[I] ⋊>  cd SaturnSample
[I] ⋊>  dotnet new saturn -lang F#
The template "Saturn v0.7.0" was created successfully.

Also please add a note, that for fish shell (or other non-bash shells), one needs to run build via:
$ bash build.sh

I have an existing project created with the SAFE project template, but the Saturn CLI is missing. How can I add it to this existing project?

I was able to add it manually using packet.
Top level/solution level paket.dependencies
framework: auto-detect

source https://api.nuget.org/v3/index.json

clitool dotnet-saturn

Your Saturn project-level paket.refences
dotnet-saturn

Run paket install on the top level/solution level.
Then go to your Saturn project and run:
dotnet saturn

The command should be recognized.
I hope this helps.

Great! Thanks! I will try to make a PR with this guide included in the top level Readme

does the tool work also in an empty directory project? seems not to, probably i got it wrong


use Popover from buildo-react-components

if it supports every datepicker feature (closeOnClickOutside, showOnInputClick, stateless)

mmm actually, do we really need this? right now rc-datepicker works fine and its custom implementation of floating is definitely lighter then whole Popover component (as it's custom and less powerful)


object as std::string for to_string-able usertypes

Hi.
I have some classes that use the automagic to_string construction. Everything works perfectly on the Lua side but when I want to have the same behaviour on the C++ side in a generic version via sol::object the obj.as<std::string>() outputs nothing, here's a small example:
#include "sol.hpp"
#include <iostream>

class Alma {
public:
};

std::ostream& operator<<( std::ostream& os, const Alma& thing ) {
	std::string res = "Alma";
	os << res;
	return os;
}

void CPrint( sol::object obj ) {
	std::cout << obj.as<std::string>();
}

int main() {
	sol::state L;
	L.open_libraries( sol::lib::base );

	L.new_usertype<Alma>( "Alma" );
	L["CPrint"] = CPrint;

	L.script( R"(
		local a = Alma:new()
		print(a)	-- prints "Alma"
		CPrint(a)	-- prints nothing
	)" );

	std::cin.get();
	return 0;
}

So my question is: is it possible to access the conversions via the object itself in some manner, or I'll have to convert the sol::object into the class?

You need to do lua["to_string"](the_object);. There is magic that to_string does in the Lua standard library to the conversions. Calling as for a sol::object does not do that magic: it does a strict conversion, subject to a few caveats listed in the documentation:
https://sol2.readthedocs.io/en/latest/safety.html
Search for SOL_STRINGS_ARE_NUMBERS.