libuv timer list node not delete after  uv_timer_stop

Version: v1.x
Platform: ubuntu 20.02

code path:
uv_timer_init->uv__handle_init->QUEUE_INSERT_TAIL(&(loop_)->handle_queue, &(h)->handle_queue);
uv_timer_stop->(none any QUEUE_REMOVE) ?
thanks

The timer is not removed from loop->handle_queue until it's closed with uv_close().

ok，thanks，so uv_close is async for delete a timer ?

The timer is not removed from loop->handle_queue until it's closed with uv_close().

what if just QUEUE_REMOVE in uv_timer_stop?

Then you're using libuv in a way it's not supposed to be used. If it breaks, you get to keep both pieces.


Child Process issue

Hey,
Thanks for your work on this . I'm trying to use this sudo-promt to start a child process on a raspberry PI, tha needs sudo to execute.
I am trying this :
var sudo = require('sudo-prompt');
const execFile = require('child_process').execFile:
const child = sudo.execFile('/home/pi/Desktop/fm_transmitter/bin/Release/fm_transmitter' , ['high_dash.wav', '103.40'], (error,stdout, stderr) => {
  if (error) {
    throw error;
  }
  console.log(stdout);
});
}

But is returning TypeError: sudo.execFile is not a function
I'm also trying:
var sudo = require('sudo-prompt');
const child = sudo.exec('/home/pi/Desktop/fm_transmitter/bin/Release/fm_transmitter', ['high_dash.wav', '103.40'], (error,stdout, stderr) => {
  if (error) {
    throw error;
  }
  console.log(stdout);
});
}

But that is returning:
Usage: /home/pi/Desktop/fm_transmitter/bin/Release/fm_transmitter [FILE] [Frequency] which are the two arguments required. I'm trying to figure out where I should place these?
As you've probably noticed, I'm technically out of my debt here but any insights would be greatly appreciated!

@pabloneill  how did you solve it?


ACF Missiles completely unusable acf_rack error

When any ACF missile entity is spawned it spams the console with this error:
`[ERROR] addons/acf-missiles-master/lua/entities/acf_rack/shared.lua:20: attempt to call method 'GetNetworkedBeamString' (a nil value)

GetOverlayText - addons/acf-missiles-master/lua/entities/acf_rack/shared.lua:20
DoNormalDraw - addons/acf-missiles-master/lua/entities/acf_rack/cl_init.lua:42
3. unknown - addons/acf-missiles-master/lua/entities/acf_rack/cl_init.lua:12
`

in the console, the error is:
`[ERROR] addons/acf-missiles-master/lua/entities/acf_rack/shared.lua:20: attempt to call method 'GetNetworkedBeamString' (a nil value)

GetOverlayText - addons/acf-missiles-master/lua/entities/acf_rack/shared.lua:20
DoNormalDraw - addons/acf-missiles-master/lua/entities/acf_rack/cl_init.lua:42
3. unknown - addons/acf-missiles-master/lua/entities/acf_rack/cl_init.lua:12

L 01/05/2020 - 13:30:30: Lua Error:
[ERROR] addons/acf-missiles-master/lua/entities/acf_rack/init.lua:495: attempt to call method 'SetNetworkedBeamFloat' (a nil value)

UpdateRefillBonus - addons/acf-missiles-master/lua/entities/acf_rack/init.lua:495
unknown - addons/acf-missiles-master/lua/entities/acf_rack/init.lua:512`

I'm on the latest revision (409) and there are no other errors.
When looking at any of the ACF missile props it literally disappears and spams the console, but when looking away it stops and reappears. I'm thinking it's a ui menu when the reticle hovers the prop.

Please stop using capital letters in your file names. Linux is a case-sensitive OS and I've had to batch-rename all the files to lower. Some files did not rename properly and led to this issue.
ACF and ACF missiles are literally the only addons with capital file and folder names. Stop it.


mne.Report.parse_folder doesn't recognize '_meg.fif' files

Describe the bug
Report.parse_folder wouldn't recognize BIDS-format raw files (*meg.fif), altough the documentation example
Getting started with mne.Report suggests it should.
Steps to reproduce

Create the raw data object and save it with a filename ending with meg.fif
Use Report.parse_folder to create report for this file

from mne import create_info
from mne import Report
from mne.io import RawArray
import numpy as np

n_ch = 5
info = create_info(n_ch, sfreq=200)
data = np.random.randn(n_ch, 1000)
RawArray(data, info).save("test_meg.fif")

report = Report()
report.parse_folder('.', pattern='*meg.fif', render_bem=False)
report.save("report.html")

Expected results
This is how it looks if I save the raw object as 'test_raw.fif' instead of 'test_meg.fif'

Actual results
What I actually get is an empty report.

Here's the console output of the script above:
Creating RawArray with float64 data, n_channels=5, n_times=1000
    Range : 0 ... 999 =      0.000 ...     4.995 secs
Ready.
Writing /home/dmalt/Code/python/playground/parse_folder/test_meg.fif
Closing /home/dmalt/Code/python/playground/parse_folder/test_meg.fif [done]
Embedding : jquery.js
Embedding : jquery-ui.min.js
Embedding : bootstrap.min.js
Embedding : jquery-ui.min.css
Embedding : bootstrap.min.css
Iterating over 0 potential files (this may take some time)
Saving report to location /home/dmalt/Code/python/playground/parse_folder/report.html
Rendering : Table of Contents

Additional information
Platform:      Linux-5.3.0-42-generic-x86_64-with-glibc2.10
Python:        3.8.1 (default, Jan  8 2020, 22:29:32)  [GCC 7.3.0]
Executable:    /home/dmalt/.miniconda3/envs/mne_dev/bin/python
CPU:           x86_64: 8 cores
Memory:        Unavailable (requires "psutil" package)
mne:           0.20.dev0
numpy:         1.18.1 {blas=mkl_rt, lapack=mkl_rt}
scipy:         1.4.1
matplotlib:    3.1.3 {backend=Qt5Agg}

sklearn:       Not found
numba:         Not found
nibabel:       Not found
cupy:          Not found
pandas:        Not found
dipy:          Not found
mayavi:        Not found
pyvista:       Not found
vtk:           Not found

Looking at the source code at mne/report.py suggests it should be an easy fix. I can create a PR for this. I'm not sure though if this is just a documentation problem and you didn't intend to support the BIDS naming for raw files yet.

PR welcome


Move libspdm_reset_message_*() before libspdm_reset_context()

Fix: #467
The req_get_vesrion should free hash first when the m1m2 didn't equal 0.
Then req_get_vesrion reset context.
Signed-off-by: Wenxing Hou<EMAIL_ADDRESS>

looks good


Add(item) just copies first item in list

Maybe i am missing something here but when i try to add items to the list i only get copies of the first item in the list. My parameters seem to be ignored.

:+1:


Dockerfile

Pack the result into one Dockerfile

hi @Ksardas178  I will do that.

Hi @gayatrisingh31
It's all done already :)
Although I didn't manage to install it on any other PC except of mine, this educational task was accepted.


gpus: 0

[ ] set --gpus 0 for containers that do not run on GPUs
[ ] remove excess comment in client.py


Griddly natively supporting Entity Observers

Entity Observers can now be configured in YAML for Griddly environments in the same way other observers can.

Configure which variables/playerId/rotation info are exposed by which entities.
Partial observations around avatar entities. (entites and actions/masks are only reported for entities that are within the view range of the avatar)
Multi-agent entity observer support. (This is currently just the Griddly side, the rogue-net side will happen in a subsequent PR)

You could try out the new feature for making entities visible to the value function but not the policy: https://github.com/entity-neural-network/incubator/pull/204/files#diff-54e2aa3d4eef295a65069c1d65e16a52ab1779a205ca1a85c72b5dbc9412340dR165-R167

So these checks are "stuck" probably due to the issue that happened yesterday with github's APIs going down. not sure how to kick them to get them to start again.

So these checks are "stuck" probably due to the issue that happened yesterday with github's APIs going down. not sure how to kick them to get them to start again.

managed to get it running again by changing some whitespace in a random file :D


[Todoist] Open focused task command

Description
A shortcut command to open the current focused task.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Meeeeeeeh, I've got some errors not coming from my change:
❯ npm run build

> build
> ray build -e dist

info  -  generated extension's TypeScript definitions
info  -  entry points [src/home.tsx src/search.tsx src/create-task.tsx src/quick-add-task.tsx src/create-project.tsx src/menu-bar.tsx src/show-projects.tsx src/show-labels.tsx src/unfocus-current-task.tsx src/open-focused-task.tsx]
src/create-task.tsx:56:33 - error TS2339: Property 'isFullDay' does not exist on type 'ForwardRefExoticComponent<DatePickerProps & RefAttributes<FormItemRef>> & DatePickerMembers'.

56           date: Form.DatePicker.isFullDay(values.dueDate) ? getAPIDate(values.dueDate) : values.dueDate.toISOString(),
                                   ~~~~~~~~~

src/create-task.tsx:197:43 - error TS2339: Property 'isFullDay' does not exist on type 'ForwardRefExoticComponent<DatePickerProps & RefAttributes<FormItemRef>> & DatePickerMembers'.

197       {values.dueDate && !Form.DatePicker.isFullDay(values.dueDate) ? (
                                              ~~~~~~~~~

Found 2 errors in the same file, starting at: src/create-task.tsx:56

TypeScript check failed (exit status 2)

Hi @kud 👋
Do you mind adding a CHANGELOG entry? 🙂

Sure thing, will do. 😌

Fixed :)


Added code to parse when JSON response has a numeric value in it

It would be great to be able to support all of the RFC7159 document types
https://datatracker.ietf.org/doc/html/rfc7159#section-3

Values

A JSON value MUST be an object, array, number, or string, or one of
the following three literal names:
  false null true

The literal names MUST be lowercase.  No other literal names are
allowed.
  value = false / null / true / object / array / number / string

  false = %x66.61.6c.73.65   ; false

  null  = %x6e.75.6c.6c      ; null

  true  = %x<IP_ADDRESS>      ; true


Update url_shortner to index on endpoint as string

Fixes #3117

Thanks, but I don't understand how this fixes it. What error was being thrown? return_value already is a string so I don't see how another str() would help. But probably I miss something :-)

Travis didn't even run here, but its equivalent tasks passed. Merging.

Hi, do you know which release this'll be in? Thanks.

we release every month last tuesday.


Adding workday import example

This example demonstrates how to use Workday RaaS to export data from Workday and Airtable's REST API to import that data into Airtable using Airtable.js.
Alternatively, you can use Airtable Automations with Run a Script action which is detailed at the bottom of this README.


WOTLK: remaining time: not my OWN?

With my own buff "Horn des Winters" the condition works fine.
In a group with another DK that cast "Horn des Winters" the condition fails.
My idea is, that the check checks only OWN buffs correct.
"Stärke der Erde" is a similar Buff from shaman (Earth Totem)

The reason musst be another one. at the next run all was fine .... I have to investigate...


fix(button-toggle): add the setDisabledState from ControlValueAccessor

Adds the setDisabledState method from the ControlValueAccessor interface, which allows the control to be disabled when it is used with the ReactiveFormsModule. Also adds a couple of unit tests for the other ControlValueAccessor methods.

LGTM


error: failed to compile routinator v0.9.0

Trying to compile routinator following:
https://github.com/racompton/routinator_centos7_install
Step 13:
cargo install routinator
System: CentOS Linux release 7.9.2009 (Core)
Following packages are installed:
sudo yum install -y vim wget curl net-tools lsof bash-completion yum-utils htop nginx httpd-tools tcpdump rust cargo rsync policycoreutils-python
[sudo] password for user:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile

base: mirror.vacares.com
extras: mirrors.greenmountainaccess.net
updates: mirror.vacares.com
Package 2:vim-enhanced-7.4.629-8.el7_9.x86_64 already installed and latest version
Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
Package curl-7.29.0-59.el7_9.1.x86_64 already installed and latest version
Package net-tools-2.0-0.25.20131004git.el7.x86_64 already installed and latest version
Package lsof-4.87-6.el7.x86_64 already installed and latest version
Package 1:bash-completion-2.1-8.el7.noarch already installed and latest version
Package yum-utils-1.1.31-54.el7_8.noarch already installed and latest version
Package htop-2.2.0-3.el7.x86_64 already installed and latest version
Package 1:nginx-1.20.1-2.el7.x86_64 already installed and latest version
Package httpd-tools-2.4.6-97.el7.centos.x86_64 already installed and latest version
Package 14:tcpdump-4.9.2-4.el7_7.1.x86_64 already installed and latest version
Package rust-1.53.0-1.el7.x86_64 already installed and latest version
Package cargo-1.53.0-1.el7.x86_64 already installed and latest version
Package rsync-3.1.2-10.el7.x86_64 already installed and latest version
Package policycoreutils-python-2.5-34.el7.x86_64 already installed and latest version
Nothing to do

[routinator@rpki-server-4 ~]$ cargo install routinator
Updating crates.io index
Downloaded routinator v0.9.0
Downloaded 1 crate (2.4 MB) in 0.46s
Installing routinator v0.9.0
Downloaded syslog v5.0.0
Downloaded want v0.3.0
Downloaded unicode-width v0.1.8
Downloaded uuid v0.8.2
Downloaded ucd-trie v0.1.3
Downloaded tracing-core v0.1.18
Downloaded webpki v0.21.4
Downloaded serde_json v1.0.64
Downloaded unicode-normalization v0.1.19
Downloaded quick-xml v0.22.0
Downloaded hyper v0.14.10
Downloaded h2 v0.3.3
Downloaded reqwest v0.11.4
Downloaded nix v0.20.0
Downloaded syn v1.0.73
Downloaded clap v2.33.3
Downloaded webpki-roots v0.21.1
Downloaded rustls v0.19.1
Downloaded idna v0.2.3
Downloaded chrono v0.4.19
Downloaded futures-util v0.3.15
Downloaded fern v0.6.0
Downloaded flate2 v1.0.20
Downloaded bcder v0.6.0
Downloaded url v2.2.2
Downloaded mio v0.7.13
Downloaded http v0.2.4
Downloaded arc-swap v1.3.0
Downloaded tracing v0.1.26
Downloaded tokio-util v0.6.7
Downloaded rand v0.8.4
Downloaded tokio v1.8.1
Downloaded libc v0.2.98
Downloaded sled v0.34.6
Downloaded hashbrown v0.11.2
Downloaded rpki v0.11.1
Downloaded futures-executor v0.3.15
Downloaded futures v0.3.15
Downloaded crc32fast v1.2.1
Downloaded cc v1.0.69
Downloaded base64 v0.13.0
Downloaded async-compression v0.3.8
Downloaded toml v0.5.8
Downloaded tokio-stream v0.1.7
Downloaded serde v1.0.126
Downloaded pest v2.1.3
Downloaded fs2 v0.4.3
Downloaded fnv v1.0.7
Downloaded error-chain v0.12.4
Downloaded crossbeam-utils v0.8.5
Downloaded crossbeam-epoch v0.9.5
Downloaded bytes v1.0.1
Downloaded untrusted v0.7.1
Downloaded unicode-xid v0.2.2
Downloaded unicode-bidi v0.3.5
Downloaded tokio-socks v0.5.1
Downloaded tinyvec v1.2.0
Downloaded socket2 v0.4.0
Downloaded serde_derive v1.0.126
Downloaded ryu v1.0.5
Downloaded miniz_oxide v0.4.4
Downloaded memchr v2.4.0
Downloaded indexmap v1.7.0
Downloaded futures-sink v0.3.15
Downloaded futures-io v0.3.15
Downloaded futures-channel v0.3.15
Downloaded dirs-sys v0.3.6
Downloaded dirs v3.0.2
Downloaded byteorder v1.4.3
Downloaded bitflags v1.2.1
Downloaded ansi_term v0.11.0
Downloaded tokio-rustls v0.22.0
Downloaded thiserror v1.0.26
Downloaded textwrap v0.11.0
Downloaded proc-macro2 v1.0.27
Downloaded parking_lot v0.11.1
Downloaded num-traits v0.2.14
Downloaded log v0.4.14
Downloaded futures-macro v0.3.15
Downloaded futures-core v0.3.15
Downloaded form_urlencoded v1.0.1
Downloaded either v1.6.1
Downloaded crossbeam-queue v0.3.2
Downloaded cfg-if v1.0.0
Downloaded autocfg v1.0.1
Downloaded adler v1.0.2
Downloaded encoding_rs v0.8.28
Downloaded version_check v0.9.3
Downloaded vec_map v0.8.2
Downloaded try-lock v0.2.3
Downloaded tower-service v0.3.1
Downloaded tokio-macros v1.3.0
Downloaded tinyvec_macros v0.1.0
Downloaded time v0.1.43
Downloaded thiserror-impl v1.0.26
Downloaded tempfile v3.2.0
Downloaded smallvec v1.6.1
Downloaded signal-hook-registry v1.4.0
Downloaded semver-parser v0.10.2
Downloaded semver v0.11.0
Downloaded sct v0.6.1
Downloaded rand_core v0.6.3
Downloaded quote v1.0.9
Downloaded ppv-lite86 v0.2.10
Downloaded pin-project-lite v0.2.7
Downloaded parking_lot_core v0.8.3
Downloaded once_cell v1.8.0
Downloaded num-integer v0.1.44
Downloaded lock_api v0.4.4
Downloaded ipnet v2.3.1
Downloaded hyper-rustls v0.22.1
Downloaded httparse v1.4.1
Downloaded getrandom v0.2.3
Downloaded atty v0.2.14
Downloaded strsim v0.8.0
Downloaded spin v0.5.2
Downloaded slab v0.4.3
Downloaded serde_urlencoded v0.7.0
Downloaded scopeguard v1.1.0
Downloaded rustc_version v0.3.3
Downloaded remove_dir_all v0.5.3
Downloaded rand_chacha v0.3.1
Downloaded proc-macro-nested v0.1.7
Downloaded proc-macro-hack v0.5.19
Downloaded pin-utils v0.1.0
Downloaded percent-encoding v2.1.0
Downloaded num_cpus v1.13.0
Downloaded mime v0.3.16
Downloaded memoffset v0.6.4
Downloaded matches v0.1.8
Downloaded log-reroute v0.1.7
Downloaded lazy_static v1.4.0
Downloaded itoa v0.4.7
Downloaded instant v0.1.10
Downloaded httpdate v1.0.1
Downloaded http-body v0.4.2
Downloaded fxhash v0.2.1
Downloaded futures-task v0.3.15
Downloaded ring v0.16.20
Downloaded 139 crates (14.5 MB) in 3.18s (largest was ring at 5.1 MB)
Compiling autocfg v1.0.1
Compiling libc v0.2.98
Compiling cfg-if v1.0.0
Compiling proc-macro2 v1.0.27
Compiling unicode-xid v0.2.2
Compiling syn v1.0.73
Compiling log v0.4.14
Compiling once_cell v1.8.0
Compiling memchr v2.4.0
Compiling pin-project-lite v0.2.7
Compiling futures-core v0.3.15
Compiling bytes v1.0.1
Compiling proc-macro-hack v0.5.19
Compiling cc v1.0.69
Compiling futures-task v0.3.15
Compiling futures-sink v0.3.15
Compiling futures-channel v0.3.15
Compiling proc-macro-nested v0.1.7
Compiling lazy_static v1.4.0
Compiling spin v0.5.2
Compiling serde_derive v1.0.126
Compiling futures-io v0.3.15
Compiling pin-utils v0.1.0
Compiling slab v0.4.3
Compiling untrusted v0.7.1
Compiling itoa v0.4.7
Compiling serde v1.0.126
Compiling crc32fast v1.2.1
Compiling matches v0.1.8
Compiling ucd-trie v0.1.3
Compiling fnv v1.0.7
Compiling ryu v1.0.5
Compiling hashbrown v0.11.2
Compiling base64 v0.13.0
Compiling tinyvec_macros v0.1.0
Compiling smallvec v1.6.1
Compiling httparse v1.4.1
Compiling crossbeam-utils v0.8.5
Compiling percent-encoding v2.1.0
Compiling scopeguard v1.1.0
Compiling try-lock v0.2.3
Compiling adler v1.0.2
Compiling bitflags v1.2.1
Compiling version_check v0.9.3
Compiling crossbeam-epoch v0.9.5
Compiling encoding_rs v0.8.28
Compiling httpdate v1.0.1
Compiling ppv-lite86 v0.2.10
Compiling tower-service v0.3.1
Compiling byteorder v1.4.3
Compiling unicode-width v0.1.8
Compiling crossbeam-queue v0.3.2
Compiling serde_json v1.0.64
Compiling either v1.6.1
Compiling remove_dir_all v0.5.3
Compiling arc-swap v1.3.0
Compiling ipnet v2.3.1
Compiling mime v0.3.16
Compiling uuid v0.8.2
Compiling strsim v0.8.0
Compiling vec_map v0.8.2
Compiling ansi_term v0.11.0
Compiling instant v0.1.10
Compiling tokio v1.8.1
Compiling futures-macro v0.3.15
Compiling futures-util v0.3.15
Compiling indexmap v1.7.0
Compiling num-traits v0.2.14
Compiling miniz_oxide v0.4.4
Compiling memoffset v0.6.4
Compiling num-integer v0.1.44
Compiling ring v0.16.20
Compiling tracing-core v0.1.18
Compiling unicode-bidi v0.3.5
Compiling http v0.2.4
Compiling pest v2.1.3
Compiling tinyvec v1.2.0
Compiling bcder v0.6.0
Compiling form_urlencoded v1.0.1
Compiling lock_api v0.4.4
Compiling error-chain v0.12.4
Compiling fxhash v0.2.1
Compiling textwrap v0.11.0
Compiling tracing v0.1.26
Compiling http-body v0.4.2
Compiling semver-parser v0.10.2
Compiling unicode-normalization v0.1.19
Compiling want v0.3.0
Compiling fern v0.6.0
Compiling log-reroute v0.1.7
Compiling mio v0.7.13
Compiling num_cpus v1.13.0
Compiling signal-hook-registry v1.4.0
Compiling getrandom v0.2.3
Compiling socket2 v0.4.0
Compiling time v0.1.43
Compiling parking_lot_core v0.8.3
Compiling dirs-sys v0.3.6
Compiling fs2 v0.4.3
Compiling atty v0.2.14
Compiling quote v1.0.9
Compiling quick-xml v0.22.0
Compiling semver v0.11.0
Compiling idna v0.2.3
Compiling nix v0.20.0
Compiling flate2 v1.0.20
Compiling rand_core v0.6.3
Compiling parking_lot v0.11.1
Compiling dirs v3.0.2
Compiling clap v2.33.3
Compiling rustc_version v0.3.3
Compiling url v2.2.2
Compiling webpki v0.21.4
Compiling sct v0.6.1
Compiling syslog v5.0.0
Compiling rand_chacha v0.3.1
Compiling sled v0.34.6
Compiling tokio-macros v1.3.0
Compiling thiserror-impl v1.0.26
Compiling routinator v0.9.0
Compiling webpki-roots v0.21.1
Compiling rustls v0.19.1
Compiling rand v0.8.4
Compiling thiserror v1.0.26
Compiling tempfile v3.2.0
Compiling tokio-util v0.6.7
Compiling tokio-rustls v0.22.0
Compiling async-compression v0.3.8
Compiling tokio-stream v0.1.7
Compiling futures-executor v0.3.15
Compiling chrono v0.4.19
Compiling serde_urlencoded v0.7.0
Compiling toml v0.5.8
Compiling tokio-socks v0.5.1
Compiling h2 v0.3.3
Compiling futures v0.3.15
Compiling rpki v0.11.1
Compiling hyper v0.14.10
Compiling hyper-rustls v0.22.1
Compiling reqwest v0.11.4
error[E0616]: field serial of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:711:51
|
711 |         self.metrics.serial = Some(notify.content.serial);
|                                                   ^^^^^^ private field
|
help: a method serial also exists, call it with parentheses
|
711 |         self.metrics.serial = Some(notify.content.serial());
|                                                         ^^
error[E0616]: field session_id of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:712:52
|
712 |         self.metrics.session = Some(notify.content.session_id);
|                                                    ^^^^^^^^^^ private field
|
help: a method session_id also exists, call it with parentheses
|
712 |         self.metrics.session = Some(notify.content.session_id());
|                                                              ^^
error[E0616]: field snapshot of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:755:54
|
755 |                     self.rpki_notify, notify.content.snapshot.uri(), err
|                                                      ^^^^^^^^ private field
|
help: a method snapshot also exists, call it with parentheses
|
755 |                     self.rpki_notify, notify.content.snapshot().uri(), err
|                                                              ^^
error[E0616]: field snapshot of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:773:28
|
773 |             notify.content.snapshot.uri(), false
|                            ^^^^^^^^ private field
|
help: a method snapshot also exists, call it with parentheses
|
773 |             notify.content.snapshot().uri(), false
|                                    ^^
error[E0616]: field snapshot of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:792:28
|
792 |             notify.content.snapshot.hash().as_ref()
|                            ^^^^^^^^ private field
|
help: a method snapshot also exists, call it with parentheses
|
792 |             notify.content.snapshot().hash().as_ref()
|                                    ^^
error[E0616]: field session_id of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:890:19
|
890 |         if notify.session_id != state.session {
|                   ^^^^^^^^^^ private field
|
help: a method session_id also exists, call it with parentheses
|
890 |         if notify.session_id() != state.session {
|                             ^^
error[E0616]: field serial of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:894:64
|
894 |         debug!("Serials: us {}, them {}", state.serial, notify.serial);
|                                                                ^^^^^^ private field
|
help: a method serial also exists, call it with parentheses
|
894 |         debug!("Serials: us {}, them {}", state.serial, notify.serial());
|                                                                      ^^
error[E0616]: field serial of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:895:19
|
895 |         if notify.serial == state.serial {
|                   ^^^^^^ private field
|
help: a method serial also exists, call it with parentheses
|
895 |         if notify.serial() == state.serial {
|                         ^^
error[E0616]: field deltas of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:903:19
|
903 |         if notify.deltas.last().map(|delta| delta.0) != Some(notify.serial) {
|                   ^^^^^^ private field
|
help: a method deltas also exists, call it with parentheses
|
903 |         if notify.deltas().last().map(|delta| delta.0) != Some(notify.serial) {
|                         ^^
error[E0609]: no field 0 on type &DeltaInfo
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:903:51
|
903 |         if notify.deltas.last().map(|delta| delta.0) != Some(notify.serial) {
|                                                   ^ unknown field
|
help: one of the expressions' fields has a field of the same name
|
903 |         if notify.deltas.last().map(|delta| delta.uri_and_hash.hash.0) != Some(notify.serial) {
|                                                   ^^^^^^^^^^^^^^^^^^
error[E0616]: field serial of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:903:69
|
903 |         if notify.deltas.last().map(|delta| delta.0) != Some(notify.serial) {
|                                                                     ^^^^^^ private field
|
help: a method serial also exists, call it with parentheses
|
903 |         if notify.deltas.last().map(|delta| delta.0) != Some(notify.serial()) {
|                                                                           ^^
error[E0616]: field deltas of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:908:33
|
908 |         let mut deltas = notify.deltas.as_slice();
|                                 ^^^^^^ private field
|
help: a method deltas also exists, call it with parentheses
|
908 |         let mut deltas = notify.deltas().as_slice();
|                                       ^^
error[E0609]: no field 0 on type &DeltaInfo
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:921:25
|
921 |             match first.0.cmp(&serial) {
|                         ^ unknown field
|
help: one of the expressions' fields has a field of the same name
|
921 |             match first.uri_and_hash.hash.0.cmp(&serial) {
|                         ^^^^^^^^^^^^^^^^^^
error[E0609]: no field 0 on type &DeltaInfo
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:923:65
|
923 |                     debug!("First delta is too new ({})", first.0);
|                                                                 ^ unknown field
|
help: one of the expressions' fields has a field of the same name
|
923 |                     debug!("First delta is too new ({})", first.uri_and_hash.hash.0);
|                                                                 ^^^^^^^^^^^^^^^^^^
error[E0308]: mismatched types
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:930:12
|
930 |         Ok(deltas)
|            ^^^^^^ expected tuple, found struct DeltaInfo
|
= note: expected reference &[(u64, UriAndHash)]
found reference &[DeltaInfo]
error[E0616]: field session_id of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:986:28
|
986 |             notify.content.session_id, serial, tree, self.max_object_size,
|                            ^^^^^^^^^^ private field
|
help: a method session_id also exists, call it with parentheses
|
986 |             notify.content.session_id(), serial, tree, self.max_object_size,
|                                      ^^
error[E0616]: field deltas of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1437:17
|
1437 |         content.deltas.sort_by_key(|delta| delta.0);
|                 ^^^^^^ private field
|
help: a method deltas also exists, call it with parentheses
|
1437 |         content.deltas().sort_by_key(|delta| delta.0);
|                       ^^
error[E0609]: no field 0 on type &DeltaInfo
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1437:50
|
1437 |         content.deltas.sort_by_key(|delta| delta.0);
|                                                  ^ unknown field
|
help: one of the expressions' fields has a field of the same name
|
1437 |         content.deltas.sort_by_key(|delta| delta.uri_and_hash.hash.0);
|                                                  ^^^^^^^^^^^^^^^^^^
error[E0616]: field session_id of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1479:38
|
1479 |         if session_id != self.notify.session_id {
|                                      ^^^^^^^^^^ private field
|
help: a method session_id also exists, call it with parentheses
|
1479 |         if session_id != self.notify.session_id() {
|                                                ^^
error[E0616]: field session_id of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1481:39
|
1481 |                 expected: self.notify.session_id,
|                                       ^^^^^^^^^^ private field
|
help: a method session_id also exists, call it with parentheses
|
1481 |                 expected: self.notify.session_id(),
|                                                 ^^
error[E0616]: field serial of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1485:34
|
1485 |         if serial != self.notify.serial {
|                                  ^^^^^^ private field
|
help: a method serial also exists, call it with parentheses
|
1485 |         if serial != self.notify.serial() {
|                                        ^^
error[E0616]: field serial of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1487:39
|
1487 |                 expected: self.notify.serial,
|                                       ^^^^^^ private field
|
help: a method serial also exists, call it with parentheses
|
1487 |                 expected: self.notify.serial(),
|                                             ^^
error[E0616]: field session_id of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1675:37
|
1675 |             session: notify.content.session_id,
|                                     ^^^^^^^^^^ private field
|
help: a method session_id also exists, call it with parentheses
|
1675 |             session: notify.content.session_id(),
|                                               ^^
error[E0616]: field serial of struct NotificationFile is private
--> /home/routinator/.cargo/registry/src/github.com-1ecc6299db9ec823/routinator-0.9.0/src/collector/rrdp.rs:1676:36
|
1676 |             serial: notify.content.serial,
|                                    ^^^^^^ private field
|
help: a method serial also exists, call it with parentheses
|
1676 |             serial: notify.content.serial(),
|                                          ^^
error: aborting due to 24 previous errors
Some errors have detailed explanations: E0308, E0609, E0616.
For more information about an error, try rustc --explain E0308.
error: could not compile routinator
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile routinator v0.9.0, intermediate artifacts can be found at /tmp/cargo-installdi3omQ
Caused by:
build failed

Looks like releasing rpki-rs 0.11.1 was a mistake and it should have been 0.12.0. I shall fix this today.
Meanwhile, you can make this work by using the --locked options when installing Routinator, i.e.:
cargo install --locked routinator

This will force cargo to use rpki-rs 0.11.0 and should work.

Thank you issue is resolved.


Add mutateImage: false policy option

Signed-off-by: Stuart Hayton<EMAIL_ADDRESS>resoves: https://github.com/IBM/portieris/issues/244

Will need test and doc work so this is a proposal at this point.


Custom Code before

For Feature Requests
Desired Feature:
I would love to have the option to put custom code right before  ... just like it is now with the custom header code.
Would that be possible ?

https://laravel.com/docs/5.5/blade#extending-a-layout
https://laravel.com/docs/5.5/blade#introduction

Currently, You could use JavaScript within the custom head content to dynamically insert content in the footer on run code once the page has loaded.
In the future this will be directly possible via Custom Views/Themes (#652). Technically already possible but undocumented (In progress still) and you'd need to override the whole base view. Infor in the issue link above but can provide more details if you want to explore this approach though it is unstable.


~/valheim-server/data/dl/server/ is a 2gb waste of space on a running server

Deleting the following folder while server is live saves 2gb of space and does not appear to break the game.
~/valheim-server/data/dl/server/
I'm assuming this is what downloads the data when server is started. If this folder could be deleted after the server starts (and I have a script to do this), it would save space, but it seems to redownload itself.
Could this be optimized? Optimizing this could save money for folks hosting on Amazon if you need less disk space.
Before clearing:
/dev/xvda1      10473452 8506112   1967340  82% /
After clearing:
/dev/xvda1      10473452 6206444   4267008  60% /

This is where the vanilla version of Valheim is stored. When you apply mods this folder gets merged with the mod into a new folder. This folder could be deleted at the expense of having to re-download it on every restart. In my case disk space is cheaper than traffic so I don't delete it, but you could use the POST_START_HOOK to automatically have it cleaned after startup.


<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>

...
SegmentAnythingUltra_V2
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
...
After installing this plugin, I tried multiple times but failed and was informed of the above error. can anyone tell me how to fix this error? Thank you so much !

hi guys , i have solved this problem , here's my solution:
If you are on Windows, you can try installing or updating certificates. You can install the certificate by running the following command (make sure you are using administrator privileges):
pip install --upgrade certifi
Then, run the following code to update your SSL certificate:
import ssl
ssl._create_default_https_context = ssl._create_unverified_context

hi guys , i have solved this problem , here's my solution:
If you are on Windows, you can try installing or updating certificates. You can install the certificate by running the following command (make sure you are using administrator privileges): pip install --upgrade certifi
Then, run the following code to update your SSL certificate: import ssl ssl._create_default_https_context = ssl._create_unverified_context

Hey Jason, I got the same issue as yours, but I couldn't fix it with your solution. Can you tell me exactly how did you excuted this code?
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
Did you just open python in terminal and run it? Or did you put them into the python script of the node? Thanks!

hi Tianci, You should update this certificate in the virtual environment of ComfyUI. here is my detailed operation: I opened the command prompt through CMD in the path ".\ComFyUI\ComfyUI-aki-v1.1\python" , then run "pip install --upgrade certifi", After completing the update, I successfully ran this node and did not encounter this error again. I hope this method can help you.  @Tianci278

Update SSL Certificate Error in comfyui
@JasonLee-no1 I have my pyhton installed in my c drive and comfyui in D drive where I have installed segmentanything ultra v2 for creating a mask, but whenever i ran it, I am getting this error <urlopen error [SSL : CERTIFICATE_VERIFY_FAILED]>
Found on web that, i need to pip install upragde certifi but where do i ran this?? Ran it in my segmentanything ultra v2's folder, but it says requirement already satisfied followed by the path of pyhton in my C drive.
Is comfyui not able to recognize the python from my C drive?? But if thats the case, why do the other nodes run perfectly?
Been stuck at this for last 3 days🙂 Any help/advice/sugeestions would be really helpful

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

哈喽，import ssl
ssl._create_default_https_context = ssl._create_unverified_context这个也要上是吗

import ssl
ssl._create_default_https_context = ssl._create_unverified_context

哈喽，import ssl ssl._create_default_https_context = ssl._create_unverified_context这个也要上是吗

你升级certifi完先试试，OK的话就不用。我升级完直接OK了，没有上这个

导入 ssl
ssl._create_default_https_context = ssl._create_unverified_context

哈喽，import ssl ssl._create_default_https_context = ssl._create_unverified_context 这个也上是吗

你升级certifi完先尝试一下，OK的话就不用了。我升级完直接OK了，没有上这个

这种情况就是ssl._create_default_https_context = ssl._create_unverified_context 这个也上是吗，前面import ssl用不用先写进去

No upgrading/installing anything with pip does not help.
Only way to fix - add "no ssl" in code itself (where requesting remote HF repo).
This way it will work on windows.


Support colors with init

What are you trying to achieve?
I need to call CodeceptJS from another tool, using colors during the init option. Something like:
codeceptjs init --colors

What do you get instead?
error: unknown option `--colors'

That's something which is not that hard to implement yourself.
If you need this feature, you are welcome to contribute )


Fix OC-RAC-iOS mismatched framework links

Overcoat-ReactiveCocoa-iOS is linking against PromiseKit (and PromiseKit dependencies) instead of the ReactiveCocoa framework (and it's dependencies)

Thanks 👍
Btw, I'm quite busy in these days, and also my full-time job doesn't uses the Overcoat now.
Would you want to join the Overcoat team and become one of the owners? This would be great for this package. (I would still help this project, but I don't have enough time to spend on this as before.)

Yes absolutely-- I'm happy to help!
Sent from my iPad

On Apr 13, 2016, at 8:57 PM, sodas<EMAIL_ADDRESS>wrote:
Thanks 👍
Btw, I'm quite busy in these days, and also my full-time job doesn't uses the Overcoat now.
Would you want to join the Overcoat team and become one of the owners? This would be great for this package. (I would still help this project, but I don't have enough time to spend on this as before.)
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Great, I've invited you into the Github team


Fix potential overflow issue in BestRouterComparator

Fixes #1227
This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
Install two sdl apps on the phone and make sure the router service is selected based on the compare function in BestRouterComparator
Summary
This PR fixes a potential overflow issue that could happen if the result of subtracting to long numbers is outside the boundaries of an int
CLA

[x] I have signed the CLA

Codecov Report

:exclamation: No coverage uploaded for pull request base (hotfix/4.10.1@e419e52). Click here to learn what that means.
The diff coverage is 50%.

@@               Coverage Diff                @@
##             hotfix/4.10.1    #1229   +/-   ##
================================================
  Coverage                 ?   47.01%
  Complexity               ?     4329
================================================
  Files                    ?      481
  Lines                    ?    23506
  Branches                 ?     2691
================================================
  Hits                     ?    11052
  Misses                   ?    11787
  Partials                 ?      667

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/smartdevicelink/util/SdlAppInfo.java
35.71% <50%> (ø)
4 <0> (?)

Continue to review full report at Codecov.

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


Add 3 fire button animations and make it a setting

Task/Issue URL: https://app.asana.com/0/488551667048375/1198977345184094/f
Tech Design URL:
CC:
Description:
This PR brings to users a way to customize their experience on the Fire button. We are including 3 different animations (fire by default) and 1 option to disable it (based on users' feedback).
What changes are included?

Add new 3 Fire button animations: Inferno, whirlpool, airstream
Add an option to disable the animation
Add a new option inside settings based on ✓ Design: Setting to select Fire button animation
Add pixels approved during kickoff:
Pixel which animation was used on each clear data
Pixel when the user accesses new option
Pixel when the user selects a new animation

Steps to test this PR:
Test1: Default animation

Fresh install
Clear data
Ensure Fire animation appears
Ensure pixel m_fd_a sent with params fa=fai

Test2: Disable fire animation

Go to settings
Click on Fire Button Animation
Ensure pixel m_fas_o sent
Select "None"
Ensure pixel m_fas_s sent with params fa=fann
Go back to the browser
Clear data
Ensure no Fire animation appeared
Ensure pixel m_fd_a sent with params fa=fann

Test3: Whirlpool and Airstream animation

Repeat Test 2 but choosing another animation
Ensure pixels are sent with expected params, same as in Test2 (whirlpool fa=fawp, airstream fa=faas)
Ensure expected animation executed when clearing data

Internal references:
Software Engineering Expectations
Technical Design Template

@marcosholgado I will introduce some small changes to this PR. I will ping you once is ready again.

hey @marcosholgado This is ready for review again. 💯

@marcosholgado I've updated the PR including translations. Could you take a quick look at the last 4 commits? Thanks


Have ItunesTransporter check command exit status when determining success

Addresses #4227

Have ItunesTransporter check command exit status when determining success

Xcode 6 does not contain the iTMSTransporter jar, so command execution would fail while producing no output at all.
Because we were not checking the exit status, no news was treated as good news 😓

Refactor error message presentation to be part of the TransporterExecutor

This allows the shell script strategy to warn about password problems while not suggesting that for the Java strategy which does not have this weakness
The Java strategy will now warn if it can't find the itmstransporter-launcher.jar and suggest setting the environment variable to fall back to the shell script executor.

This can happen for Xcode 6 users

With a missing itmstransporter-launcher.jar
Before:

After:

👍


[Event Request] Codeunit 1720 - Deferral Utilities - OnCalculateStraightlineOnBeforeInsertDeferralLine

Dear ALAppExtensions team,
Through this issue we would like to request event publisher OnCalculateStraightlineOnBeforeInsertDeferralLine to be added to Codeunit 1720 Deferral Utilities with the following signature:
    [IntegrationEvent(false, false)]
    local procedure OnCalculateStraightlineOnBeforeInsertDeferralLine(var DeferralLine: Record "Deferral Line"; DeferralHeader: Record "Deferral Header")
    begin
    end;

with VAR parameter DeferralLine.
which would be called as follows from CalculateStraightline:
            ...
            PerDiffSum := PerDiffSum + Round(AmountToDefer / DeferralHeader."No. of Periods", AmountRoundingPrecision);

            DeferralLine.Amount := AmountToDefer;

            OnCalculateStraightlineOnBeforeInsertDeferralLine(DeferralLine, DeferralHeader); // << CALL TO NEW EVENT
            DeferralLine.Insert();
        end;

Could you also add the same event for procedures CalculateEqualPerPeriod, CalculateDaysPerPeriod and CalculateUserDefined?

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[FancyZones] Only snap near top of the screen.

Title sort of says it all. I use/used windock and I was able to configure it to only snap when I was near the top of the monitor. This allowed me to drag windows around and have them not snap without having to hold shift. As an example I opened the calculator and tried to move it and it immediately filled out the entire zone it was in.
I would suggest being able to configure it, though for myself I only use the top.

There was already a similar issue, but I can't find it right now.

@enricogior I tried looking but couldn't find it either. I can close this one and comment on the other if it's found though! Thanks for responding.

@MathewBerg
can't find the similar issue, so let's keep this one open.

Tracked in https://github.com/microsoft/PowerToys/issues/6611

For reference: existing issue was #1594.  Tracked under #6611 now.


Escaping non-printables in grapheme clusters with String#inspect

This is a follow-up on #11406 which introduced escaping for all non-printable characters in String#inspect.
While that change is an improvement, it has a negative effect on grapheme clusters comprising non-printable characters.
Consider a string of code points U+1F468 (Man) U+200D (Zero Width Joiner (ZWJ)) U+1F469 (Woman). They form a grapheme cluster that renders two persons as a single grapheme: 👨👩 (for reference, without the ZWJ the two emojis render as separate graphemes: 👨👩).
String#inspect escapes all non-printable characters since #11452. Zero Width Joiner is a non-printable character, so it gets escaped. For the above string, it means the grapheme cluster gets broken. The zero width joiner no longer glues the surrounding characters together:
# Crystal master (since #11452)
"👨👩" # => "👨\u200D👩"
# Crystal 1.2.2
"👨👩" # => "👨👩"

Both formats are technically correct. They describe the same string - a literal character is equivalent to its escape sequence. They are just two different representations which also result in different rendering.
I believe the intuitive expectation is that grapheme clusters should not break apart. The reasoning for escaping non-printable characters is to avoid having them go unnoticed because they are not visible. That does not apply as part of a bigger grapheme cluster because they typically have a visible effect there. So we should only escape non-printable characters that stand alone.
That's assuming the employed text renderer supports the respective grapheme cluster, which is impossible to detect or infer. But it's probably okay to assume grapheme cluster support? 🤔
A problem with that is that some grapheme clusters don't actually have a visual representation. For example, two consecutive Zero Width Joiners are considered a grapheme cluster. Escaping that seems like a good idea:
# Crystal master (since #11452)
"" # => "\u200D\u200D"
# Crystal 1.2.2
"" # => ""

A grapheme cluster consisting of only non-printable code points would be relatively easy to detect. Zero Width Joiner also attaches to most other code points forming a grapheme cluster. Even if it has no meaning or effect. That as well should still be relatively easy to detect. But I'm realistically expecting other problematic combinations of code points. It's really a complex matter.
So I suppose we have the options to prefer either readability or sanity with regards to non-printable characters in grapheme clusters. We could also try to find a middle ground that draws a more precise line between the two. Not sure how far we can get with that.
String#dump is an alternative for escaping all non-ASCII characters if you need that.
We could consider adding a configuration option which determines the handling of grapheme clusters. But I'm in doubt if that would be much useful and would definitely defer that to a future enhancement discussion. We should find a good default behaviour first.
A similar challenge exists with formatting literals (#11478). A change to escape non-printable characters has been reverted for now because of lacking grapheme support (#11603).

The peers seem to be undecided.
Ruby
"👨👩".inspect # => "👨👩"
"".inspect    # => ""

Python
repr('👨👩') # => '👨\u200d👩'
repr('')    # => '\u200d\u200d'

Swift:
dump("👨👩") // => "👨👩"
dump("")    // => ""

(dump seems to escape onyl ASCII control characters, but I'm not very familiar with Swift. Any hints are appreciated)
Julia:
repr("👨👩") # =>"👨\u200d👩"
repr("")    # => "\u200d\u200d"

Let Elixir break the tie :-)

They form a grapheme cluster that renders two persons as a single grapheme

This is misleading. A grapheme cluster may or may not be represented by a single glyph, and the purpose of text segmentation is not to determine glyph boundaries. For emojis, whether a single glyph or multiple glyphs should be rendered is determined by the list of emoji ZWJ sequences, and since 1F468 200D 1F469 is not one of them, that string is expected to be displayed as two glyphs no matter the ZWJ is present or not. In contrast, 1F468 200D 1F469 200D 1F466 👨👩👦 should be rendered as one glyph.

@asterite Okay, here's Elixir:
inspect "👨👩" # => "👨👩"
inspect ""    # => ""

@HertzDevil Thanks for pointing that out. However, the definition of ZWJ sequences is independent of the grapheme cluster algorithm. And the form of visualization is ultimately driven by the text rendering engine. Most implementations I've seen show 1F468 200D 1F469 as a single glyph.


ValueError: 'modl/datasets/tests' is not a directory

Hi, I am trying to install modl and get the above error. I checked under modl/datasets and there is no directory called tests. Could you please help me get past this and install modl?
Thanks,
Swetha.

Hello,
I encountered the same error above. I work on Ubuntu 18.04, Anaconda 3.
Error is here (pip install .):

Processing /home/hao/Project/modl
ERROR: Complete output from command python setup.py egg_info:
ERROR: Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-bzysqwp5/setup.py", line 80, in
setup_package()
File "/tmp/pip-req-build-bzysqwp5/setup.py", line 74, in setup_package
'Programming Language :: Python :: 3.5'
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/core.py", line 137, in setup
config = configuration()
File "/tmp/pip-req-build-bzysqwp5/setup.py", line 34, in configuration
config.add_subpackage('modl')
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
caller_level = 2)
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
caller_level = caller_level + 1)
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "modl/setup.py", line 7, in configuration
config.add_subpackage('datasets')
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
caller_level = 2)
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 1005, in get_subpackage
caller_level = caller_level + 1)
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 942, in _get_configuration_from_setup_py
config = setup_module.configuration(*args)
File "modl/datasets/setup.py", line 6, in configuration
config.add_subpackage('tests')
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 1036, in add_subpackage
caller_level = 2)
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 998, in get_subpackage
caller_level = caller_level+1)
File "/home/hao/Software/Anaconda3/lib/python3.7/site-packages/numpy/distutils/misc_util.py", line 780, in init
raise ValueError("%r is not a directory" % (package_path,))
ValueError: 'modl/datasets/tests' is not a directory
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-bzysqwp5/

Could you please help us ?
Thanks in advance
Hao

Hi Hao,
I have a hack solution:
In modl/modl/datasets, edit setup.py to comment out line #6
config.add_subpackage('tests')
In ~/modl/modl/input_data/fmri/fixes.py:
Comment lines 19, 20 and 225
Comment class NibabelHasher starting on line 61
Comment function our_hash starting on line 88
Comment function our_get_argument_hash starting on line 106
These functions and classes don't seem to be referenced elsewhere.
Swetha.

@swaythe
It works! Thank you so much for your help!
Hao

I was able to run decompose_fmri after making the fixes above - not sure why you're getting that error. Did you check the path (modl/modl/utils/randomkit) to see if random_fast is present? I see a random_fast.pyx file in my folder.
Yeah, I don't think modl is actively maintained.

@swaythe
I do have that pyx file, but the script can not find that module path. Strangely, if I import that path independently in terminal, it can be found, which located in my Conda virtual environment... I don't know where the problem is, maybe I missed some steps for installation?

@anbai106
That's weird. Did you have the same conda environment active during both installation of modl and running the example script? I can't think of a better reason.

@swaythe
I reinstall everything with anaconda env, followed your instruction and install everything in that virtual env. The error came back.... I think I'm going to quit. It's a pity that this repo is not maintained by the authors...

@anbai106
Sorry to hear that! Let me know if something changes.


one configure file per competition/folder

Hello again, I guess there must be other users like me who participate at least one competition at a time, which makes me think of having one configure file per competition, and the easy way to implement it is to set the default configuration to ./.kaggle_cli.

We can implement a hierarchical config to support it, i.e., store user config at ~/.kaggle-cli, and store competition config at ./.kaggle-cli.

this sounds good!

@yitang
I've implemented such function in the latest version on PyPI. See the usage https://github.com/floydwch/kaggle-cli#config .
There is two versions of config: local and global.
The global config is stored at ~/.kaggle-cli/config and the local one is stored at ./.kaggle-cli/config or the current directory's ancestor which contains a .kaggle-cli directory. I.e. like .git's design. The local config overrides the global one.
However, I don't participate in recent kaggle competitions, could you have the chance to help testing it?

@floydwch
Of course. But I have a problem in upgrading kaggle-cli. It requires an upgrade in lxml package which I am unable to install on my current debian machine. I messed up the APT and it can't solve the package dependencies.
I will try on my Mac later.

relates to #10

I rewrote the problematic config, see https://github.com/floydwch/kaggle-cli/commit/ddc71bb7e28811a305758fe983a721341f29a4e0 .
And cleaning the issue list, if you still have the problem, please open a new issue.


Could you also provide the fine-tuned model?

Thanks for the work, could you also provide the fine-tuned model for VQA, GQA and NLVR2? That would be very helpful, thanks.

VQA: https://github.com/airsplay/lxmert/issues/7
GQA: https://github.com/airsplay/lxmert/issues/16
My disk got cleaned recently and thus do not have NLVR2 in hands...


Add CXKJ token

项目资料：
官方公告：待补充
团队背景：团队是一支充满激情的80、90后优秀团队，他们致力于手机应用、游戏等产品的开发，立志为广大用户提供最优秀和便捷的移动互联网软件产品和服务。
项目基本情况：致力于手机应用、游戏等产品的开发，立志为广大用户提供最优秀和便捷的移动互联网软件产品和服务
媒体报道：
收录的交易所：
转账所需 Gas Limit（对 ERC-20 项目方）：（默认为 60000）

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[x] logo dimensions: 120*120 px
[x] logo background: Transparent
[x] At least one transaction on the token contract
[x] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[x] Same document name for both .json and .png (Including capitalization)

Project background:
Official announcement:
Project team background:The team is a passionate excellent team of post-80s and post-90s. They are committed to the development of mobile applications, games and other products, and are determined to provide users with the best and convenient mobile Internet software products and services.
Project basic information:Committed to the development of mobile applications, games and other products, and determined to provide users with the best and convenient mobile Internet software products and services
Media publications:
Tradeable exchanges:
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)

请检查合约checksum格式，并发布官方公告

非常抱歉，由于该PR长时间未更新，我们先关闭这个PR
如果仍需提交，请参考教程重新提交：
https://github.com/consenlabs/token-profile#token-profile-guideline


[MapMarker] Return id and coordinates on marker press

According to the docs onPress should return coordinates of the maker, similiar to onSelect. This was working fine for Android but was missing from iOS.
/cc @jrichardlai

It worked without commenting out //RCT_EXPORT_VIEW_PROPERTY(identifier) ?

@christopherdro . I do not get this working. can you please thrown a Example

That's strange that it's not working for you guys. Will take a look in a bit.

Ok what I am noticing is that it only works with custom markers and not the default ios pin.

Thanks. With with custom markers  it Works.


Pam's dynamic trees change from type, back to a default tree.

Describe the bug
When growing pam's harvestcraft trees (dynamic compat installed) they change themselves during the growth stage, from the fruit tree you planted, back to a default tree, whether it be jungle or oak.
To Reproduce
Steps to reproduce the behavior:

plant a pams harvestcraft (dynamic tree) seed
wait for it to grow
observe as it changes from fruit to not fruit tree.

Screenshots
If applicable, add screenshots to help explain your problem.
Rendering Glitches
Are you using Optifine? = no
Additional context
if you bone-meal the trees from the seedling till full growth, the issue is not there, it is only during the natural growth of the tree that it transitions out of its fruit varient.
Crashes

Are you running the latest version of Dynamic Trees?(Currently 0.9.5) = YES
If you are using the DT Biome O' Plenty Add-on do you have the latest version?(Currently 1.4.1e) = YES
If you are using the DT Thaumcraft Add-on do you have the latest version?(Currently 1.4.1e)
If the above mods are current then please submit a full crash log.  The crash log normally contains the names of mods and their versions.  Don't be that guy who submitted a crash report without first checking that the versions are current.

Mods List
If your crash log does not contain a list of mods or you have no crash log then please provide a full list of the mods you are using complete with mod versions.
What version of Forge are you running?(e.g. 1.12.2-<IP_ADDRESS>68)

!
             Modlist
===================
Akashi Tome
AppleSkins
Applied Energistics 2
Baubles
Bibliocraft
Biomes O Plenty
Blood Magic
Botania
Chest Transporter
Chisel-MC
Cooking for Blockheads
Draconic Evolution
Dynamic Trees
Dynamic Trees - Biomes O' Plenty Compat
Dynamic Trees - Pams Harvestcraft Compat
Dynamic Trees - Thaumcraft Compat
Ender IO
Extra Utilities
Extreme Reactors
Farming for Blockheads
Iron Backpacks
Iron Chests
Journeymap
Just Enough Resources (JER)
Mekanism
Mekanism Generators
Mekanism Tools
Open Blocks
Pam's Get All the Seeds
Pam's HarvestCraft
Redstone Flux
RF Tools
RF power
Just Another Snad
Thaumcraft
Thaumatic Inventory Scanning
Thaumic Tinkerer
Thermal Cultivation
Thermal Dynamics
Thermal Expansion
Thermal Foundation
Thermal Innovation
Tinkers Construct
Tinkers' Tool Leveling
VeinMiner

!        Mod Dependencies
===================
AutoRegLib
BrandonCore
CoFHCore
CoFHWorld
CTM-MC
CodeChickenLib
Mantle
mcjtylib
OpenModsLib
EnderCore

!CLIENT-SIDE MODS
===================
Not Enough Items
Just Enough Items
HWYLA
Thaumic JEI
WAILA Harvestability

Sorry it took so long to get back to you.  I tried several attempts at reproducing this error.  In all tests I was able to produce a mature fruit bearing tree without the use of bonemeal(just time).  None of the trees lost their identity no matter what I tried.  If you are still experiencing the problem with the latest version of Dynamic Trees then please resubmit this issue after running your own tests that have suspect mods temporarily removed in case it's a mod interaction.  If you find a mod interaction issue then I'll likely be able to resolve it.


[Bug]: Fails to extract file from ti-module-system

What happened?
Using:
docker php:8.2-apache-bullseye
composer latest
On composer install :
 115/118 [===========================>]  97%    Failed to extract tastyigniter/ti-module-admin: (1) '/usr/bin/unzip' -qq '/var/www/html/vendor/composer/tmp-d2315424e326abb84daa66ecfbd824ad' -d '/var/www/html/vendor/composer/af60c8bb'

replace /var/www/html/vendor/composer/af60c8bb/tastyigniter-ti-module-admin-f04bed0/formwidgets/datepicker/assets/vendor/datepicker/locales/bootstrap-datepicker.en-au.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
(EOF or read error, treating as "[N]one" ...)

What did you expect to happen?
Clean, no error install.
Version
3.x
What browser are you seeing the problem on?
No response
Relevant log output
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 119 installs, 0 updates, 0 removals
  - Downloading composer/installers (dev-main 2a91702)
  - Downloading symfony/polyfill-php80 (v1.27.0)
  - Downloading symfony/polyfill-php73 (v1.27.0)
  - Downloading symfony/polyfill-ctype (v1.27.0)
  - Downloading symfony/polyfill-mbstring (v1.27.0)
  - Downloading symfony/deprecation-contracts (v2.5.2)
  - Downloading symfony/http-foundation (v5.4.23)
  - Downloading psr/event-dispatcher (1.0.0)
  - Downloading symfony/event-dispatcher-contracts (v2.5.2)
  - Downloading symfony/event-dispatcher (v5.4.22)
  - Downloading symfony/var-dumper (v5.4.23)
  - Downloading psr/log (1.1.4)
  - Downloading symfony/error-handler (v5.4.23)
  - Downloading symfony/http-kernel (v5.4.23)
  - Downloading asm89/stack-cors (v2.1.1)
  - Downloading doctrine/cache (2.2.0)
  - Downloading doctrine/deprecations (v1.0.0)
  - Downloading doctrine/event-manager (1.2.0)
  - Downloading doctrine/lexer (1.2.3)
  - Downloading symfony/polyfill-intl-normalizer (v1.27.0)
  - Downloading symfony/polyfill-intl-grapheme (v1.27.0)
  - Downloading symfony/string (v5.4.22)
  - Downloading psr/container (1.1.2)
  - Downloading symfony/service-contracts (v2.5.2)
  - Downloading symfony/console (v5.4.23)
  - Downloading monolog/monolog (2.9.1)
  - Downloading voku/portable-ascii (1.6.1)
  - Downloading phpoption/phpoption (1.9.1)
  - Downloading graham-campbell/result-type (v1.1.1)
  - Downloading vlucas/phpdotenv (v5.5.0)
  - Downloading symfony/css-selector (v5.4.21)
  - Downloading tijsverkoyen/css-to-inline-styles (2.2.6)
  - Downloading symfony/routing (v5.4.22)
  - Downloading symfony/process (v5.4.23)
  - Downloading symfony/polyfill-php72 (v1.27.0)
  - Downloading symfony/polyfill-intl-idn (v1.27.0)
  - Downloading symfony/mime (v5.4.23)
  - Downloading symfony/finder (v5.4.21)
  - Downloading symfony/polyfill-iconv (v1.27.0)
  - Downloading egulias/email-validator (2.1.25)
  - Downloading swiftmailer/swiftmailer (v6.3.0)
  - Downloading symfony/polyfill-php81 (v1.27.0)
  - Downloading ramsey/collection (1.3.0)
  - Downloading brick/math (0.9.3)
  - Downloading ramsey/uuid (4.2.3)
  - Downloading psr/simple-cache (1.0.1)
  - Downloading opis/closure (3.6.3)
  - Downloading symfony/translation-contracts (v2.5.2)
  - Downloading symfony/translation (v5.4.22)
  - Downloading nesbot/carbon (2.66.0)
  - Downloading league/mime-type-detection (1.11.0)
  - Downloading league/flysystem (1.1.10)
  - Downloading nette/utils (v3.2.9)
  - Downloading nette/schema (v1.2.3)
  - Downloading dflydev/dot-access-data (v3.0.2)
  - Downloading league/config (v1.2.0)
  - Downloading league/commonmark (2.4.0)
  - Downloading laravel/serializable-closure (v1.3.0)
  - Downloading webmozart/assert (1.11.0)
  - Downloading dragonmantank/cron-expression (v3.3.2)
  - Downloading doctrine/inflector (2.0.6)
  - Downloading laravel/framework (v8.83.27)
  - Downloading facade/ignition-contracts (1.0.2)
  - Downloading facade/flare-client-php (1.10.0)
  - Downloading facade/ignition (2.17.7)
  - Downloading fakerphp/faker (v1.21.0)
  - Downloading guzzlehttp/promises (1.5.2)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-message (1.1)
  - Downloading psr/http-factory (1.0.2)
  - Downloading guzzlehttp/psr7 (2.5.0)
  - Downloading intervention/image (2.7.2)
  - Downloading jakub-onderka/php-parallel-lint (v1.0.0)
  - Downloading sebastian/version (3.0.2)
  - Downloading sebastian/type (3.2.1)
  - Downloading sebastian/resource-operations (3.0.3)
  - Downloading sebastian/recursion-context (4.0.5)
  - Downloading sebastian/object-reflector (2.0.4)
  - Downloading sebastian/object-enumerator (4.0.4)
  - Downloading sebastian/global-state (5.0.5)
  - Downloading sebastian/exporter (4.0.5)
  - Downloading sebastian/environment (5.1.5)
  - Downloading sebastian/diff (4.0.5)
  - Downloading sebastian/comparator (4.0.8)
  - Downloading sebastian/code-unit (1.0.8)
  - Downloading sebastian/cli-parser (1.0.1)
  - Downloading phpunit/php-timer (5.0.3)
  - Downloading phpunit/php-text-template (2.0.4)
  - Downloading phpunit/php-invoker (3.1.1)
  - Downloading phpunit/php-file-iterator (3.0.6)
  - Downloading theseer/tokenizer (1.2.1)
  - Downloading nikic/php-parser (v4.15.4)
  - Downloading sebastian/lines-of-code (1.0.3)
  - Downloading sebastian/complexity (2.0.2)
  - Downloading sebastian/code-unit-reverse-lookup (2.0.3)
  - Downloading phpunit/php-code-coverage (9.2.26)
  - Downloading phar-io/version (3.2.1)
  - Downloading phar-io/manifest (2.0.3)
  - Downloading myclabs/deep-copy (1.11.1)
  - Downloading doctrine/instantiator (1.5.0)
  - Downloading phpunit/phpunit (9.6.7)
  - Downloading psr/http-client (1.0.2)
  - Downloading psy/psysh (v0.11.17)
  - Downloading squizlabs/php_codesniffer (3.7.2)
  - Downloading symfony/yaml (v5.4.23)
  - Downloading scssphp/scssphp (v1.11.0)
  - Downloading natxet/cssmin (v3.0.6)
  - Downloading linkorb/jsmin-php (1.0.0)
  - Downloading league/glide (1.7.2)
  - Downloading laravel/tinker (v2.8.1)
  - Downloading kalnoy/nestedset (v6.0.2)
  - Downloading guzzlehttp/guzzle (7.5.1)
  - Downloading fruitcake/laravel-cors (v2.2.0)
  - Downloading fideloper/proxy (4.4.2)
  - Downloading doctrine/dbal (2.13.9)
  - Downloading tastyigniter/flame (v1.2.27)
  - Downloading tastyigniter/ti-module-admin (v3.6.9)
  - Downloading tastyigniter/ti-module-main (v3.6.9)
  - Downloading tastyigniter/ti-module-system (v3.6.9)
  - Installing composer/installers (dev-main 2a91702): Extracting archive
  - Installing symfony/polyfill-php80 (v1.27.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.27.0): Extracting archive
  - Installing symfony/polyfill-ctype (v1.27.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.27.0): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.2): Extracting archive
  - Installing symfony/http-foundation (v5.4.23): Extracting archive
  - Installing psr/event-dispatcher (1.0.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v2.5.2): Extracting archive
  - Installing symfony/event-dispatcher (v5.4.22): Extracting archive
  - Installing symfony/var-dumper (v5.4.23): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing symfony/error-handler (v5.4.23): Extracting archive
  - Installing symfony/http-kernel (v5.4.23): Extracting archive
  - Installing asm89/stack-cors (v2.1.1): Extracting archive
  - Installing doctrine/cache (2.2.0): Extracting archive
  - Installing doctrine/deprecations (v1.0.0): Extracting archive
  - Installing doctrine/event-manager (1.2.0): Extracting archive
  - Installing doctrine/lexer (1.2.3): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-grapheme (v1.27.0): Extracting archive
  - Installing symfony/string (v5.4.22): Extracting archive
  - Installing psr/container (1.1.2): Extracting archive
  - Installing symfony/service-contracts (v2.5.2): Extracting archive
  - Installing symfony/console (v5.4.23): Extracting archive
  - Installing monolog/monolog (2.9.1): Extracting archive
  - Installing voku/portable-ascii (1.6.1): Extracting archive
  - Installing phpoption/phpoption (1.9.1): Extracting archive
  - Installing graham-campbell/result-type (v1.1.1): Extracting archive
  - Installing vlucas/phpdotenv (v5.5.0): Extracting archive
  - Installing symfony/css-selector (v5.4.21): Extracting archive
  - Installing tijsverkoyen/css-to-inline-styles (2.2.6): Extracting archive
  - Installing symfony/routing (v5.4.22): Extracting archive
  - Installing symfony/process (v5.4.23): Extracting archive
  - Installing symfony/polyfill-php72 (v1.27.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.27.0): Extracting archive
  - Installing symfony/mime (v5.4.23): Extracting archive
  - Installing symfony/finder (v5.4.21): Extracting archive
  - Installing symfony/polyfill-iconv (v1.27.0): Extracting archive
  - Installing egulias/email-validator (2.1.25): Extracting archive
  - Installing swiftmailer/swiftmailer (v6.3.0): Extracting archive
  - Installing symfony/polyfill-php81 (v1.27.0): Extracting archive
  - Installing ramsey/collection (1.3.0): Extracting archive
  - Installing brick/math (0.9.3): Extracting archive
  - Installing ramsey/uuid (4.2.3): Extracting archive
  - Installing psr/simple-cache (1.0.1): Extracting archive
  - Installing opis/closure (3.6.3): Extracting archive
  - Installing symfony/translation-contracts (v2.5.2): Extracting archive
  - Installing symfony/translation (v5.4.22): Extracting archive
  - Installing nesbot/carbon (2.66.0): Extracting archive
  - Installing league/mime-type-detection (1.11.0): Extracting archive
  - Installing league/flysystem (1.1.10): Extracting archive
  - Installing nette/utils (v3.2.9): Extracting archive
  - Installing nette/schema (v1.2.3): Extracting archive
  - Installing dflydev/dot-access-data (v3.0.2): Extracting archive
  - Installing league/config (v1.2.0): Extracting archive
  - Installing league/commonmark (2.4.0): Extracting archive
  - Installing laravel/serializable-closure (v1.3.0): Extracting archive
  - Installing webmozart/assert (1.11.0): Extracting archive
  - Installing dragonmantank/cron-expression (v3.3.2): Extracting archive
  - Installing doctrine/inflector (2.0.6): Extracting archive
  - Installing laravel/framework (v8.83.27): Extracting archive
  - Installing facade/ignition-contracts (1.0.2): Extracting archive
  - Installing facade/flare-client-php (1.10.0): Extracting archive
  - Installing facade/ignition (2.17.7): Extracting archive
  - Installing fakerphp/faker (v1.21.0): Extracting archive
  - Installing guzzlehttp/promises (1.5.2): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (1.1): Extracting archive
  - Installing psr/http-factory (1.0.2): Extracting archive
  - Installing guzzlehttp/psr7 (2.5.0): Extracting archive
  - Installing intervention/image (2.7.2): Extracting archive
  - Installing jakub-onderka/php-parallel-lint (v1.0.0): Extracting archive
  - Installing sebastian/version (3.0.2): Extracting archive
  - Installing sebastian/type (3.2.1): Extracting archive
  - Installing sebastian/resource-operations (3.0.3): Extracting archive
  - Installing sebastian/recursion-context (4.0.5): Extracting archive
  - Installing sebastian/object-reflector (2.0.4): Extracting archive
  - Installing sebastian/object-enumerator (4.0.4): Extracting archive
  - Installing sebastian/global-state (5.0.5): Extracting archive
  - Installing sebastian/exporter (4.0.5): Extracting archive
  - Installing sebastian/environment (5.1.5): Extracting archive
  - Installing sebastian/diff (4.0.5): Extracting archive
  - Installing sebastian/comparator (4.0.8): Extracting archive
  - Installing sebastian/code-unit (1.0.8): Extracting archive
  - Installing sebastian/cli-parser (1.0.1): Extracting archive
  - Installing phpunit/php-timer (5.0.3): Extracting archive
  - Installing phpunit/php-text-template (2.0.4): Extracting archive
  - Installing phpunit/php-invoker (3.1.1): Extracting archive
  - Installing phpunit/php-file-iterator (3.0.6): Extracting archive
  - Installing theseer/tokenizer (1.2.1): Extracting archive
  - Installing nikic/php-parser (v4.15.4): Extracting archive
  - Installing sebastian/lines-of-code (1.0.3): Extracting archive
  - Installing sebastian/complexity (2.0.2): Extracting archive
  - Installing sebastian/code-unit-reverse-lookup (2.0.3): Extracting archive
  - Installing phpunit/php-code-coverage (9.2.26): Extracting archive
  - Installing phar-io/version (3.2.1): Extracting archive
  - Installing phar-io/manifest (2.0.3): Extracting archive
  - Installing myclabs/deep-copy (1.11.1): Extracting archive
  - Installing doctrine/instantiator (1.5.0): Extracting archive
  - Installing phpunit/phpunit (9.6.7): Extracting archive
  - Installing psr/http-client (1.0.2): Extracting archive
  - Installing psy/psysh (v0.11.17): Extracting archive
  - Installing squizlabs/php_codesniffer (3.7.2): Extracting archive
  - Installing symfony/yaml (v5.4.23): Extracting archive
  - Installing scssphp/scssphp (v1.11.0): Extracting archive
  - Installing natxet/cssmin (v3.0.6): Extracting archive
  - Installing linkorb/jsmin-php (1.0.0): Extracting archive
  - Installing league/glide (1.7.2): Extracting archive
  - Installing laravel/tinker (v2.8.1): Extracting archive
  - Installing kalnoy/nestedset (v6.0.2): Extracting archive
  - Installing guzzlehttp/guzzle (7.5.1): Extracting archive
  - Installing fruitcake/laravel-cors (v2.2.0): Extracting archive
  - Installing fideloper/proxy (4.4.2): Extracting archive
  - Installing doctrine/dbal (2.13.9): Extracting archive
  - Installing tastyigniter/flame (v1.2.27): Extracting archive
  - Installing tastyigniter/ti-module-admin (v3.6.9): Extracting archive
  - Installing tastyigniter/ti-module-main (v3.6.9): Extracting archive
  - Installing tastyigniter/ti-module-system (v3.6.9): Extracting archive
 115/118 [===========================>]  97%    Failed to extract tastyigniter/ti-module-admin: (1) '/usr/bin/unzip' -qq '/var/www/html/vendor/composer/tmp-d2315424e326abb84daa66ecfbd824ad' -d '/var/www/html/vendor/composer/af60c8bb'

replace /var/www/html/vendor/composer/af60c8bb/tastyigniter-ti-module-admin-f04bed0/formwidgets/datepicker/assets/vendor/datepicker/locales/bootstrap-datepicker.en-au.min.js? [y]es, [n]o, [A]ll, [N]one, [r]ename:  NULL
(EOF or read error, treating as "[N]one" ...)

    The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
    Unzip with unzip command failed, falling back to ZipArchive class
Package fruitcake/laravel-cors is abandoned, you should avoid using it. No replacement was suggested.
Package swiftmailer/swiftmailer is abandoned, you should avoid using it. Use symfony/mailer instead.
Package jakub-onderka/php-parallel-lint is abandoned, you should avoid using it. Use php-parallel-lint/php-parallel-lint instead.
Generating autoload files
85 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue. If this issue is critical to your business, consider the Dedicated Support Service where a Service Level Agreement is offered.


Silence some compiler warnings

Most (all?) of these functions should probably return void but that would be
an ABI change. Returning 0 is the least intrusive fix.

Thanks, indeed this was "in the future", which became "never used". I should maybe change to void, in the meantime, I am good with your patch.


Update to EFCore 9

Description

Updates EFCore to version 9.

Related issues

None

Stack

main

#292 :point_left:

This will take some extra work to get updated due to a lot of breaking changes with the CosmosDB provider.
I can either take this opportunity to make the jump to Postgres like I've been planning for a while (Since I'm also planning on moving MuzakBot exclusively into my private server infrastructure) or just fix the breaking changes for now.

This will be deployed after the next major update to accommodate for the migration from CosmosDB to Postgres. Primarily due to the reliance on the EFCore 8 CosmosDB provider being needed to easily migrate the data over.

Just about everything is ready to go, except for Npgsql's EFCore 9 update. Once that's published, I can update the package reference in this branch and I should be able to merge this.


UICONSET-59 - add permission set CRUD feature

Purpose

UICONSET-59 - Consortia manager - Save/edit permissions set and assign users
Approach

add CRUD component

Video Source
TODOS and Open Questions

Learning

Pre-Merge Checklist
Before merging this PR, please go through the following list and take appropriate actions.

[x] I've added appropriate record to the CHANGELOG.md
Does this PR meet or exceed the expected quality standards?

[ ] Code coverage on new code is 80% or greater
[ ] Duplications on new code is 3% or less
[ ] There are no major code smells or security issues

Does this introduce breaking changes?

[ ] If any API-related changes - okapi interfaces and permissions are reviewed/changed correspondingly
[ ] There are no breaking changes in this PR.

If there are breaking changes, please STOP and consider the following:

What other modules will these changes impact?
Do JIRAs exist to update the impacted modules?

[ ] If not, please create them
[ ] Do they contain the appropriate level of detail?  Which endpoints/schemas changed, etc.
[ ] Do they have all they appropriate links to blocked/related issues?

Are the JIRAs under active development?

[ ] If not, contact the project's PO and make sure they're aware of the urgency.

Do PRs exist for these changes?

[ ] If so, have they been approved?

Ideally all of the PRs involved in breaking changes would be merged in the same day to avoid breaking the folio-testing environment.  Communication is paramount if that is to be achieved, especially as the number of intermodule and inter-team dependencies increase.
While it's helpful for reviewers to help identify potential problems, ensuring that it's safe to merge is ultimately the responsibility of the PR assignee.

I will add test coverages

@alisher-epam waiting for tests and few minor improvements

@NikitaSedyx @usavkov-epam Tests are passing and all the comments has been resolved.


TypeError: transport.request is not a function

Installed withnpm install dohjs.
  import { DohResolver } from 'dohjs';
  const resolver = new DohResolver('https://<IP_ADDRESS>/dns-query');
  resolver.query('example.com', 'A')

and I get the error:

I'm seeing the same thing when using a vue3 app that installs the packages with Vite.

What version of node/npm are you using? And can you provide any other details about your environment/how to reproduce?

It's likely because dohjs directly uses modules that are not on the browser. Try importing dohjs/dist/doh.min.js instead


Product Hunt Launch - February 10

The goal of this launch is to attract users and project contributors
⚫  = Ty
🟠  = Nick
🟣  = Sharan
Before Launch

[x] Schedule launch posts to: Twitter 🟣
[x]  Update website 🟣

Add analytics
add play icon to bottom of page
Make more SEO-friendly (add keywords, etc)
link to GitHub roadmap and the redesign project board
remove leadership positions part

[x]  Schedule launch date (Feb 10, 2022)
[x]  Draft email to community newsletter ⚫
[x]  setup new project board for public access
[x]  Update GitHub README.md
[x]  Update icons so it works on dark mode
[x]  Assemble assets
[x]  Update Play store listing
[x]  Create task board
[x]  Write Product Hunt description

During Launch

[ ]  Respond to comments on PH and Twitter 🟣  ⚫   🟠
[x] Add PH badge to website ⚫
[x]  Send email to FL subscribers ⚫

Can't schedule it to auto-send because we don't have the link to our PH until it launches

[ ]  Announce launch on these sites:

[x]  Hackers News ⚫
[ ]  Reddit 🟠
[ ] Indie Hackers 🟠
{ any other relevant site}

After Launch

[x] Post thank-you notes and summary of how it went [TBD]

Twitter
Reddit
Indie Hackers
CHT Forum

I've assigned myself, but I'm happy to get some help with those tasks or with responding to messages on/after launch day

@tyler-hitzeman I will be happy to help.

@sharansalian great! Which of those subtasks would you like to help with? And what time zone are you in? Any days in January of February that you definitely couldn't be available? (That'll help me know how to coordinate the launch day timing).

Happy New year! @tyler-hitzeman
I'm not sure why I never got a notification for the above mention & I took a look at this just now. I'm in IST timezone. I want to look into the marketing efforts, but take something minimal as a first task, maybe website or twitter related.

Happy New year! @tyler-hitzeman
I'm not sure why I never got a notification for the above mention & I took a look at this just now. I'm in IST timezone. I want to look into the marketing efforts, but take something minimal as a first task, maybe website or twitter related.

Anyone interested in joining the launch team? I've assigned myself, but I'm happy to get some help with those tasks or with responding to messages on/after launch day

Yeah. I'd love to help.

Great! I'll work on dividing the tasks and assembling info you guys will need (website, twitter logins, etc) during our next co-working session (see Discord) and follow-up afterwards. If you can make it to the co-working session, we can also coordinate those things in real-time.

Alright Ty
Thanks.
On Tue, Jan 4, 2022, 11:40 PM Ty Hitzeman @.***> wrote:

Great! I'll work on dividing the tasks and assembling info you guys will
need (website, twitter logins, etc) during our next co-working session (see
Discord) and follow-up afterwards. If you can make it to the co-working
session, we can also coordinate those things in real-time.
—
Reply to this email directly, view it on GitHub
https://github.com/focus-launcher/focus-launcher-android/issues/68#issuecomment-1005224337,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQLYHCTZ3BGFAHLXQASVQV3UUNZMNANCNFSM5KBRF4VQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were assigned.Message ID:
@.***>

The Launch didn't make as big of a splash compared to other products on that day, but we did get a few new users. Thanks for the help and shoutout, @NickIkenma


Read object through io::RandomAccessFile

Problem Summary(Required) ：

Read object through io::RandomAccessFile
What type of PR is this：

[ ] bug
[ ] feature
[ ] enhancement
[x] others

run starrocks_clang-format

@wyb @dirtysalt PTAL


Scan modbus addresses above 240

I ran across this post saying that it is possible for a device to be at an address above 240: https://diysolarforum.com/threads/off-grid-solar-battery-monitoring-and-control-freeware.6662/post-546909

Not sure if this was actually a problem that anyone came across. Closing this now. Someone reopen if they have a problem relating to this.


update my branch code from square

update my code from square,in order to learn 4.*  branch code

update code

pull and merge my OkHttpcode


Manual actions has AWS Internal userAgent field

If I create an EC2 Instance using web console I see userAgent: "AWS Internal" in cloudtrail events. As a result this is not parsed as user action in web console. Is this an expected behaviour?
ref: https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html
UserAgent part

This is a bit of a headache, AWS is starting to replace userAgent for console actions with AWS Internal. We will need to include it in our check for console actions, but this will result in a few false positives. This changed last year sometime (https://web.archive.org/web/20211006122310/https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-record-contents.html)
Thanks for raising this, we'll start looking into a solution.

Isn't sessionCredentialFromConsole variable says a request came from webconsole? In case of it is then everything becomes even easier.

thanks for that, I'm going to implement that.

This has been fixed in v1.3.0, thanks for the feedback!


PPP installed but drops connection after a disconnect and does not reconnect unless restarted

Hi there,
I am running an IOT device using this PI hat, https://sixfab.com/product/raspberry-pi-lte-m-nb-iot-egprs-cellular-hat/
I have installed and everything works fine, but a stage issue, whenever the connection drops (Due to bad network usually) It does not reconnect to my LTE network. A quick restart fixes the issue, but I want the device to be running a script with LTE always ON and if it loses connection should try to reconnect, but the interface just drops unless I restart the PI.
I used the following instructions to install :
https://sixfab.com/ppp-installer-for-sixfab-shield-hat/
Any idea why this could be happening?
https://community.sixfab.com/t/ppp-installed-but-drops-connection-after-a-disconnect-and-does-not-reconnect-unless-restarted/565

Opened this issue in the right repo https://github.com/sixfab/Sixfab_PPP_Installer/issues/21
feel free to close this


cross-env doesn't exist anymore? npm webpack scripts fail

I've had a problem for a while where npm run dev works on my local machine but in travis-ci it's blowing up. It did blow up on my machine in the past but I'd poked something and then it worked again. In the process of trying to figure out what was going on, I updated my local machine's version of laravel-mix and then it broke on this machine too.
I updated laravel-mix and nuked dependencies, the problem persisted.

Laravel Mix Version: 1.0.7, but running the command npm list --depth=0 returns more errors than fit in my entire terminal history. Here's a snippet:

npm ERR! extraneous: is-utf8 /vagrant/node_modules/is-utf8
npm ERR! error in /vagrant/node_modules/is-utf8: Invalid version: "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz"
npm ERR! extraneous: is-valid-glob /vagrant/node_modules/is-valid-glob
npm ERR! error in /vagrant/node_modules/is-valid-glob: Invalid version: "https://registry.npmjs.org/is-valid-glob/-/is-valid-glob-0.
3.0.tgz"
npm ERR! extraneous: is-zip /vagrant/node_modules/is-zip
npm ERR! error in /vagrant/node_modules/is-zip: Invalid version: "https://registry.npmjs.org/is-zip/-/is-zip-1.0.0.tgz"
npm ERR! extraneous: isarray /vagrant/node_modules/isarray
npm ERR! error in /vagrant/node_modules/isarray: Invalid version: "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz"
npm ERR! extraneous: isexe /vagrant/node_modules/isexe

Node Version (node -v): v7.5.0
NPM Version (npm -v): 5.0.4
OS: Vagrant (laravel/homestead (virtualbox, 2.1.0) guest on Windows 10 host. All commands executed in the vagrant box via ssh.

Description:
cross-env appears to not exist anymore once laravel-mix is updated, causing all npm scripts to fail.
vagrant@homestead:/vagrant$ npm run dev

> @ dev /vagrant
> node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --
config=node_modules/laravel-mix/setup/webpack.config.js

module.js:472
    throw err;
    ^

Error: Cannot find module '/vagrant/node_modules/cross-env/bin/cross-env.js'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:418:7)
    at startup (bootstrap_node.js:139:9)
    at bootstrap_node.js:533:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ dev: `node node_modules/cross-env/bin/cross-env.js NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --
hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/vagrant/.npm/_logs/2017-06-27T21_12_12_759Z-debug.log
vagrant@homestead:/vagrant$

Steps To Reproduce:
laravel new test
cd test
npm run dev

Please read #3 under "Breaking" at https://github.com/JeffreyWay/laravel-mix/releases/tag/v1.0.0

Okay, so cross-env isn't a mix dependency, but using laravel its supposed to have added it, but it doesn't? Is that therefore an issue I should be posting in laravel?
Or should I be removing cross-env from package.json?
Or manually adding the cross-env dependency?
Or some combination of those?

You have removed cross-env from your scripts but your scripts configuration is wrong.
"scripts": {
    "dev": "NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "watch": "NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
    "hot": "NODE_ENV=development node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot --config=node_modules/laravel-mix/setup/webpack.config.js",
    "production": "NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
  },

This should work for you. You got to remove the node and cross-env.

Okay, so that works...  In vagrant but not in windows, which I suppose is the entire purpose of cross-env...

Thanks @ruchern that worked! =)


[SuperEditor][SuperReader][SuperTextField] - Why do we invert trackpad drag gestures?

At some point we made the decision to multiply trackpad drag gestures by -1 for the purpose of scrolling in the opposite direction of the drag. Why did we do this? Was it specifically for Mac's inverted scrolling? At this moment we're applying it to all OS's, so if that's the reason, it needs to be revisited.

@matthew-carroll  Currently we have the following behavior in SuperEditor:

On Mac with 'natural scrolling' on: dragging with two fingers up  scrolls the content down (from the beginning of the document to the end).
On Mac with 'natural scrolling' off: dragging with two fingers up  scrolls the content up (from the end of the document to the beginning).
On Windows, with default settings: dragging with two fingers up  scrolls the content down (from the beginning of the document to the end).

This seems to be consistent with other apps.


[fix] Homepage charts and login on small screens #275

Fixes #275
Changes
Fix charts and login on small screens ( Samsung s8+, IPhone SE etc)
Screenshots
openwisp-utils

openwisp-monitoring

Checklist

[x] I have read the contributing guidelines.
[x] I have manually tested the proposed changes.
[ ] I have written new test cases to avoid regressions. (if necessary)
[ ] I have updated the documentation. (e.g. README.rst)
[ ] I have added [change!] to commit title to indicate a backward incompatible change. (if required)
[ ] I have checked the links added / modified in the documentation.

Coverage remained the same at 98.618% when pulling 71aff27acbfb13d201b832f043200d95ec37f15f on Aryamanz29:issue-275/homepage-chart-login into deb4af2e95530886f3bac721f3323f54017faf92 on openwisp:master.


Question about the regex if you're willing.

Hey!
I realize this repo is pretty old and basically complete at this point. I did have a question about the regex. I'm a student looking through your code pretty much for some regex practice/understanding. I had a question about the episode field in patterns:
('episode', '(ex(?:[^0-9]|$))'),
The first part is very straightforward, but I don't get the purpose of the non-capturing group. It seems to match any non digit character or the end of the line. What purpose does that serve? I've been wracking my brain for it. It seems like it must be there to exclude false positves on episode numbers but I'm failing at coming up with it.
Thank you for your time

It's to ensure that we only match episode numbers that are two digits long, so for example in this string:
Fear.The.Walking.Dead.S03E04.1080p.WEB-DL.6CH.x265.HEVC-PSA
if we don't have the non-capturing group, then we would also match the x26 codec information. The {} Quantifier only limits the number of digits to be matched but does not guarantee that there will not be more digits following.
You can play around with it here.


hashtagged photos doesn't show

this code doesn't work - check out your example 8 and 9
$('ul').spectragram('getRecentTagged',{
query: 'converse'
});
https://codepen.io/adrianengine/pen/zWVVqx/

Hello @illuzii,
After review this issue, I found out that Instagram has retired the endpoint.
Sorry for the trouble. I will update the library to reflect the change and remove the getRecentTagged method.
Regards,


Document Infrastructure as Code approach

We are currently refactoring the existing OpenTofu configuration to support multiple environments (e.g., staging and prod). We should properly document this approach on the README.md file, so that people interacting with the repo know how to:

Deploy the infrastructure from scratch
Update the infrastructure
Destroy the infrastructure

In progress