Error Message

Radinsky - thanks for putting together this plugin. I'm trying to install it for the first time on Raspberry Pi V3 (Jessie) and I'm getting an Error message. Any idea what that is?
`pi@raspberrypi:~ $ sudo apt-get install python-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libc-ares2 libv8-3.14.5
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libpython-dev libpython2.7-dev python2.7-dev
The following NEW packages will be installed:
libpython-dev libpython2.7-dev python-dev python2.7-dev
0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded.
Need to get 18.2 MB of archives.
After this operation, 25.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython2.7-dev armhf 2.7.9-2+deb8u1 [17.9 MB]
Get:2 http://mirrordirector.raspbian.org/raspbian/ jessie/main python-dev armhf 2.7.9-1 [1,188 B]
Get:3 http://mirrordirector.raspbian.org/raspbian/ jessie/main libpython-dev armhf 2.7.9-1 [19.6 kB]
Get:4 http://mirrordirector.raspbian.org/raspbian/ jessie/main python2.7-dev armhf 2.7.9-2+deb8u1 [287 kB]
Fetched 18.2 MB in 25s (718 kB/s)
Selecting previously unselected package libpython2.7-dev:armhf.
(Reading database ... 117302 files and directories currently installed.)
Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
Unpacking libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
Selecting previously unselected package libpython-dev:armhf.
Preparing to unpack .../libpython-dev_2.7.9-1_armhf.deb ...
Unpacking libpython-dev:armhf (2.7.9-1) ...
Selecting previously unselected package python2.7-dev.
Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u1_armhf.deb ...
Unpacking python2.7-dev (2.7.9-2+deb8u1) ...
Selecting previously unselected package python-dev.
Preparing to unpack .../python-dev_2.7.9-1_armhf.deb ...
Unpacking python-dev (2.7.9-1) ...
Processing triggers for man-db (<IP_ADDRESS>-5) ...
Setting up libpython2.7-dev:armhf (2.7.9-2+deb8u1) ...
Setting up libpython-dev:armhf (2.7.9-1) ...
Setting up python2.7-dev (2.7.9-2+deb8u1) ...
Setting up python-dev (2.7.9-1) ...
pi@raspberrypi:~ $ cd /tmp/
pi@raspberrypi:/tmp $ git clone https://github.com/mjg59/python-broadlink
Cloning into 'python-broadlink'...
remote: Counting objects: 142, done.
remote: Total 142 (delta 0), reused 0 (delta 0), pack-reused 142
Receiving objects: 100% (142/142), 27.87 KiB | 0 bytes/s, done.
Resolving deltas: 100% (62/62), done.
Checking connectivity... done.
pi@raspberrypi:/tmp $ cd python-broadlink
pi@raspberrypi:/tmp/python-broadlink $ sudo python setup.py install
running install
running bdist_egg
running egg_info
creating broadlink.egg-info
writing requirements to broadlink.egg-info/requires.txt
writing broadlink.egg-info/PKG-INFO
writing top-level names to broadlink.egg-info/top_level.txt
writing dependency_links to broadlink.egg-info/dependency_links.txt
writing manifest file 'broadlink.egg-info/SOURCES.txt'
reading manifest file 'broadlink.egg-info/SOURCES.txt'
writing manifest file 'broadlink.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-armv7l/egg
running install_lib
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/broadlink
copying broadlink/init.py -> build/lib.linux-armv7l-2.7/broadlink
creating build/bdist.linux-armv7l
creating build/bdist.linux-armv7l/egg
creating build/bdist.linux-armv7l/egg/broadlink
copying build/lib.linux-armv7l-2.7/broadlink/init.py -> build/bdist.linux-armv7l/egg/broadlink
byte-compiling build/bdist.linux-armv7l/egg/broadlink/init.py to init.pyc
creating build/bdist.linux-armv7l/egg/EGG-INFO
copying broadlink.egg-info/PKG-INFO -> build/bdist.linux-armv7l/egg/EGG-INFO
copying broadlink.egg-info/SOURCES.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying broadlink.egg-info/dependency_links.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying broadlink.egg-info/not-zip-safe -> build/bdist.linux-armv7l/egg/EGG-INFO
copying broadlink.egg-info/requires.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
copying broadlink.egg-info/top_level.txt -> build/bdist.linux-armv7l/egg/EGG-INFO
creating dist
creating 'dist/broadlink-0.3-py2.7.egg' and adding 'build/bdist.linux-armv7l/egg' to it
removing 'build/bdist.linux-armv7l/egg' (and everything under it)
Processing broadlink-0.3-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/broadlink-0.3-py2.7.egg
Extracting broadlink-0.3-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding broadlink 0.3 to easy-install.pth file
Installed /usr/local/lib/python2.7/dist-packages/broadlink-0.3-py2.7.egg
Processing dependencies for broadlink==0.3
Searching for pycrypto==2.6.1
Reading https://pypi.python.org/simple/pycrypto/
Best match: pycrypto 2.6.1
Downloading https://pypi.python.org/packages/60/db/645aa9af249f059cc3a368b118de33889219e0362141e75d4eaf6f80f163/pycrypto-2.6.1.tar.gz#md5=55a61a054aa66812daf5161a0d5d7eda
Processing pycrypto-2.6.1.tar.gz
Writing /tmp/easy_install-2Mrn07/pycrypto-2.6.1/setup.cfg
Running pycrypto-2.6.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-2Mrn07/pycrypto-2.6.1/egg-dist-tmp-V1nvyE
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
zip_safe flag not set; analyzing archive contents...
Adding pycrypto 2.6.1 to easy-install.pth file
Installed /usr/local/lib/python2.7/dist-packages/pycrypto-2.6.1-py2.7-linux-armv7l.egg
Finished processing dependencies for broadlink==0.3
pi@raspberrypi:/tmp/python-broadlink $ cd /home/pi
pi@raspberrypi:~ $ git clone https://github.com/NightRang3r/broadlink-http-rest
Cloning into 'broadlink-http-rest'...
remote: Counting objects: 56, done.
remote: Total 56 (delta 0), reused 0 (delta 0), pack-reused 56
Unpacking objects: 100% (56/56), done.
Checking connectivity... done.
pi@raspberrypi:~ $ sudo pip install netaddr
Downloading/unpacking netaddr
Downloading netaddr-0.7.19-py2.py3-none-any.whl (1.6MB): 1.6MB downloaded
Installing collected packages: netaddr
Successfully installed netaddr
Cleaning up...
pi@raspberrypi:~ $ sudo pip install configparser
Downloading/unpacking configparser
Downloading configparser-3.5.0.tar.gz
Running setup.py (path:/tmp/pip-build-Az4Tuw/configparser/setup.py) egg_info for package configparser
Installing collected packages: configparser
Running setup.py install for configparser
Skipping installation of /usr/local/lib/python2.7/dist-packages/backports/__init__.py (namespace package)
Installing /usr/local/lib/python2.7/dist-packages/configparser-3.5.0-nspkg.pth

Successfully installed configparser
Cleaning up...
pi@raspberrypi:~ $ nano broadlink-http-rest.service
pi@raspberrypi:~ $ sudo mv broadlink-http-rest.service /etc/systemd/system
pi@raspberrypi:~ $ sudo systemctl daemon-reload
pi@raspberrypi:~ $ sudo systemctl enable broadlink-http-rest.service
Created symlink from /etc/systemd/system/multi-user.target.wants/broadlink-http-rest.service to /etc/systemd/system/broadlink-http-rest.service.
pi@raspberrypi:~ $ sudo systemctl start broadlink-http-rest.service
pi@raspberrypi:~ $ sudo systemctl status broadlink-http-rest.service
● broadlink-http-rest.service - broadlink-http-rest
Loaded: loaded (/etc/systemd/system/broadlink-http-rest.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-04-05 11:20:21 UTC; 4s ago
Process: 2946 ExecStart=/usr/bin/python /home/pi/broadlink-http-rest/server.py (code=exited, status=1/FAILURE)
Main PID: 2946 (code=exited, status=1/FAILURE)
Apr 05 11:20:21 raspberrypi python[2946]: self.server_bind()
Apr 05 11:20:21 raspberrypi python[2946]: File "/usr/lib/python2.7/BaseHTTPS...d
Apr 05 11:20:21 raspberrypi python[2946]: SocketServer.TCPServer.server_bind...)
Apr 05 11:20:21 raspberrypi python[2946]: File "/usr/lib/python2.7/SocketSer...d
Apr 05 11:20:21 raspberrypi python[2946]: self.socket.bind(self.server_address)
Apr 05 11:20:21 raspberrypi python[2946]: File "/usr/lib/python2.7/socket.py...h
Apr 05 11:20:21 raspberrypi python[2946]: return getattr(self._sock,name)(*args)
Apr 05 11:20:21 raspberrypi python[2946]: socket.error: [Errno 98] Address a...e
Apr 05 11:20:21 raspberrypi systemd[1]: broadlink-http-rest.service: main pr...E
Apr 05 11:20:21 raspberrypi systemd[1]: Unit broadlink-http-rest.service ent....
Hint: Some lines were ellipsized, use -l to show in full.
pi@raspberrypi:~ $ `

I can't see the error, you posted cropped log..

Successfully installed configparser
Cleaning up...
pi@raspberrypi:~ $ nano broadlink-http-rest.service
pi@raspberrypi:~ $ sudo mv broadlink-http-rest.service /etc/systemd/system
pi@raspberrypi:~ $ sudo systemctl daemon-reload
pi@raspberrypi:~ $ sudo systemctl enable broadlink-http-rest.service
Created symlink from /etc/systemd/system/multi-user.target.wants/broadlink-http-rest.service to /etc/systemd/system/broadlink-http-rest.service.
pi@raspberrypi:~ $ sudo systemctl start broadlink-http-rest.service
pi@raspberrypi:~ $ sudo systemctl status broadlink-http-rest.service
● broadlink-http-rest.service - broadlink-http-rest
Loaded: loaded (/etc/systemd/system/broadlink-http-rest.service; enabled)
Active: failed (Result: exit-code) since Wed 2017-04-05 11:20:21 UTC; 4s ago
Process: 2946 ExecStart=/usr/bin/python /home/pi/broadlink-http-rest/server.py (code=exited, status=1/FAILURE)
Main PID: 2946 (code=exited, status=1/FAILURE)
Apr 05 11:20:21 raspberrypi python[2946]: self.server_bind()
Apr 05 11:20:21 raspberrypi python[2946]: File "/usr/lib/python2.7/BaseHTTPS...d
Apr 05 11:20:21 raspberrypi python[2946]: SocketServer.TCPServer.server_bind...)
Apr 05 11:20:21 raspberrypi python[2946]: File "/usr/lib/python2.7/SocketSer...d
Apr 05 11:20:21 raspberrypi python[2946]: self.socket.bind(self.server_address)
Apr 05 11:20:21 raspberrypi python[2946]: File "/usr/lib/python2.7/socket.py...h
Apr 05 11:20:21 raspberrypi python[2946]: return getattr(self._sock,name)(*args)
Apr 05 11:20:21 raspberrypi python[2946]: socket.error: [Errno 98] Address a...e
Apr 05 11:20:21 raspberrypi systemd[1]: broadlink-http-rest.service: main pr...E
Apr 05 11:20:21 raspberrypi systemd[1]: Unit broadlink-http-rest.service ent....
Hint: Some lines were ellipsized, use -l to show in full.
pi@raspberrypi:~ $

Can you start inline without systemctl and to see if there's still errors?
If yes, please attach the log


Wipe or Layover?

Is there  a way to do an A/B with a wipe or overlay?

Hi, not yet but it's definitely on the list; there's already an issue for it here:
https://github.com/darbyjohnston/DJV/issues/24
Feel free to add any comments/ideas to that issue, I'll close this one since it's a duplicate.


[SMALLFIX] Increase block worker heartbeat timeout and exit on timeout

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15824/
Test PASSed.


Standardize the use of the source_env throughout all the workflow

All in the title.

Important to be set correctly at the r0_to_dl1 stage (lstchain/rta workflow ?).
Not declared at merge_ and dl1_to_dl2 stages.
Declared again in train_pipe

Will be solved with #17


Tests failing but passing

Hi!
I was looking into some odd behavior in Nushell's datetime parsing, specifically for "In" and "Ago" dates. Turns out the issue was originating here, in the library being used by Nushell.
There seems to be a problem with the test assertion, where negative values are interpreted as correct when they shouldn't be.
Running all the tests only shows the "A year ago" test failing. However, changing the assertion to
assert!((result - expected).abs() < Duration::milliseconds(10)); // notice the abs()

reveals that there are some other tests, rightfully, failing.
Is this a known issue?

Here's the full test run:
running 39 tests
test tests::fail_parse_20231131 ... ok
test tests::parse_10_hours_and_5_minutes_ago ... ok
test tests::parse_10_seconds_ago ... ok
test tests::parse_12_hours_ago_at_today ... FAILED
test tests::parse_12_hours_ago_at_0400 ... FAILED
test tests::parse_1520_friday ... ok
test tests::parse_1325_next_tuesday ... FAILED
test tests::parse_12_hours_ago_at_7_days_ago ... ok
test tests::parse_1_years_2_months_3_weeks_5_days_8_hours_17_minutes_and_45_seconds_ago ... FAILED
test tests::parse_1_year_1_month_1_week_1_day_1_hour_1_minute_and_1_second_ago ... FAILED
test tests::parse_20221107_132530 ... ok
test tests::parse_2_hours_32_minutes_and_7_seconds_ago ... ok
test tests::parse_7_days_ago_at_0400 ... ok
test tests::parse_a_day_ago ... ok
test tests::parse_a_minute_ago ... ok
test tests::parse_a_month_ago ... ok
test tests::parse_a_second_ago ... ok
test tests::parse_7_days_ago_at_7_days_ago ... ok
test tests::parse_a_week_ago ... ok
test tests::parse_a_year_ago ... FAILED
test tests::parse_an_hour_ago ... ok
test tests::parse_in_2_hours ... ok
test tests::parse_in_5_minutes_and_30_seconds ... ok
test tests::parse_last_friday_at_1945 ... ok
test tests::parse_last_week ... ok
test tests::parse_now ... ok
test tests::parse_overmorrow_1830 ... ok
test tests::parse_last_week_tuesday ... ok
test tests::parse_this_friday_1700 ... FAILED
test tests::parse_in_3_days ... ok
test tests::parse_overmorrow ... ok
test tests::parse_this_week ... ok
test tests::parse_this_week_monday ... ok
test tests::parse_next_week ... ok
test tests::parse_tomorrow_1830 ... ok
test tests::parse_today_1830 ... ok
test tests::parse_next_week_monday ... ok
test tests::parse_yesterday_1830 ... ok
test tests::parse_this_week_friday ... ok

failures:

---- tests::parse_12_hours_ago_at_today stdout ----
Result: 2009-12-31 12:00:00 -03:00
Expected: 2010-12-31 12:00:00 -03:00
Note: Maximum difference between these values allowed is 10ms.
thread 'tests::parse_12_hours_ago_at_today' panicked at src/lib.rs:511:5:
assertion failed: (result - expected).abs() < Duration::milliseconds(10)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- tests::parse_12_hours_ago_at_0400 stdout ----
Result: 2009-12-31 16:00:00 -03:00
Expected: 2010-12-31 16:00:00 -03:00
Note: Maximum difference between these values allowed is 10ms.
thread 'tests::parse_12_hours_ago_at_0400' panicked at src/lib.rs:511:5:
assertion failed: (result - expected).abs() < Duration::milliseconds(10)

---- tests::parse_1325_next_tuesday stdout ----
Result: 2010-01-05 13:25:00 -03:00
Expected: 2010-01-12 13:25:00 -03:00
Note: Maximum difference between these values allowed is 10ms.
thread 'tests::parse_1325_next_tuesday' panicked at src/lib.rs:511:5:
assertion failed: (result - expected).abs() < Duration::milliseconds(10)

---- tests::parse_1_years_2_months_3_weeks_5_days_8_hours_17_minutes_and_45_seconds_ago stdout ----
Result: 2008-10-07 15:42:15 -03:00
Expected: 2008-10-07 16:42:15 -03:00
Note: Maximum difference between these values allowed is 10ms.
thread 'tests::parse_1_years_2_months_3_weeks_5_days_8_hours_17_minutes_and_45_seconds_ago' panicked at src/lib.rs:511:5:
assertion failed: (result - expected).abs() < Duration::milliseconds(10)

---- tests::parse_1_year_1_month_1_week_1_day_1_hour_1_minute_and_1_second_ago stdout ----
Result: 2008-11-22 23:58:59 -02:00
Expected: 2008-11-23 22:58:59 -02:00
Note: Maximum difference between these values allowed is 10ms.
thread 'tests::parse_1_year_1_month_1_week_1_day_1_hour_1_minute_and_1_second_ago' panicked at src/lib.rs:511:5:
assertion failed: (result - expected).abs() < Duration::milliseconds(10)

---- tests::parse_a_year_ago stdout ----
Result: 2009-01-01 01:00:00 -02:00
Expected: 2009-01-01 00:00:00 -02:00
Note: Maximum difference between these values allowed is 10ms.
thread 'tests::parse_a_year_ago' panicked at src/lib.rs:511:5:
assertion failed: (result - expected).abs() < Duration::milliseconds(10)

---- tests::parse_this_friday_1700 stdout ----
Result: 2010-01-01 17:00:00 -03:00
Expected: 2010-01-08 17:00:00 -03:00
Note: Maximum difference between these values allowed is 10ms.
thread 'tests::parse_this_friday_1700' panicked at src/lib.rs:511:5:
assertion failed: (result - expected).abs() < Duration::milliseconds(10)

failures:
    tests::parse_12_hours_ago_at_0400
    tests::parse_12_hours_ago_at_today
    tests::parse_1325_next_tuesday
    tests::parse_1_year_1_month_1_week_1_day_1_hour_1_minute_and_1_second_ago
    tests::parse_1_years_2_months_3_weeks_5_days_8_hours_17_minutes_and_45_seconds_ago
    tests::parse_a_year_ago
    tests::parse_this_friday_1700

test result: FAILED. 32 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

I'm not much of Rust dev, but will try to look a bit into this.

Since #9 is merge, I am gonna close this.


Window resizing via viewports should be done in a platform agnostic way

Currently a workaround is implemented in the client side code that uses window resizing events to adjust the rendering area via glViewport().  This requires the client to include renderer specific files (GLFW/include/GLFW/glfw3.h) in the project.  This needs to be moved into the engine and abstracted with platform specific implementation for OpenGL.

This has been implemented in commit: 76b168bdf5ec0f0c5e2c0e0ccdeb193b4e757bb2


Added builder case for int8 tensors in the dialect

Adding a select case in the helper to pick up int8 tensors

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

Can one of the admins verify this patch?

@jenkins-droid test this please.


[Frontend][Pytorch] Handle case where output of model is python list

prim::ListConstruct converter can make a regular python list when the list is not dynamic:
https://github.com/apache/tvm/blob/main/python/tvm/relay/frontend/pytorch.py#L2436-L2439
If that python list happens to be the output of the whole model, an error would occur when the list is passed to _analysis.free_vars because it only accepts Expr. This PR puts the list in a tuple to solve that.

thanks @trevor-m @TusharKanekiDey


Check and improve what we have re viewport meta tag in Learning Area module

In a conversation with Chris yesterday, realised I hadn't really documented the viewport information as I'd been thinking about CSS. This probably should be covered in Learn.

Cheers Rachel. Back in the Opera days, Andreas wrote this: https://dev.opera.com/articles/an-introduction-to-meta-viewport-and-viewport/
A pretty good guide to all the options, which we could use material from if necessary.

Thanks @rachelandrew ! I've read over this, and I think this is all we really need. I've given it a copy edit, and added in a few more details, but I think this is good to go now.
Yes, Opera got round to supporting @viewport with the -o- prefix, but soon after that I think they jumped to Chromium.


[v2] Term is black & white if colors aren't configured

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

Issue
If colorsare not configured in config file or if a plugin partially replace them, no default color is applied.

This is fixed? @chabou

Not sure if someone already opened an issue for this, or if this is related to this one, but I don't wanna open a new issue about colors... Theme colors are kinda "white"...

yes fixed


Build improvements

This PR pull out some commits from https://github.com/lightninglabs/lightning-terminal/pull/848 that don't have any dependency on lnd v0.18.4 and can be merged immediately.
Didn't add release notes as the improvements are mostly build/development related and don't include any end user features.

@viktortigerstrom: review reminder


Always saves login users biography

Describe the bug
The biography returned is always that of the login user.
To Reproduce
Script that gives the wrong output:
from instascrape import *
SESSIONID = ' xxx '
headers = {"user-agent": "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Mobile Safari/537.36 Edg/87.0.664.57",
"cookie": f"sessionid={SESSIONID};"}
user = Profile("anna")
user.scrape(headers=headers)
print(user.username, " bio ", user.biography)
user = Profile("andreas")
user.scrape(headers=headers)
print(user.username, " bio ", user.biography)
output:
anna bio Login users text
andreas bio Login users text
Expected behavior
It should write out the bio of the individual users.
Desktop (please complete the following information):

OS: Centos 7
Latest Version of instascrape, 5th of feb

Thank you for a nice software.

I have similar issue but it only outputs the bio of the logged in user (myself).

I made this change manually in my repository and it works very well. Waiting for a merge of the PR.
@chris-greening


Errors Occurred While trying WorldDreamer

Missing file worlddreamer/tools/description.py, without which i can't generater the key ann_fille descriprion.pkl

in GET_STARTxxx.md

python tools/test.py resume_from_checkpoint=./dreamer_pretrained/SDv1.5_mv_single_ref_nus/weight_S200000

should be
python tools/test.py resume_from_checkpoint=./dreamer_pretrained/SDv1.5_mv_single_ref_nus/weight-S200000

incorrect key, do you mean cfg.dataset.data.val.nuscenes ?

Traceback (most recent call last):
  File "tools/test.py", line 69, in main
    pipe, val_dataloader, weight_dtype = prepare_all(cfg)
  File "./projects/dreamer/utils/test_utils.py", line 184, in prepare_all
    val_dataset = build_dataset(
  File "/media/baixin/Data/WorkSpace/MagicDrive-video/third_party/bevfusion/mmdet3d/datasets/builder.py", line 26, in build_dataset
    elif cfg["type"] == "ConcatDataset":
KeyError: 'type'

requirements.txt is fromated with conda style, so that I can't use:

pip install -r requirements.txt

Thank you for your attention to our work. We sincerely apologize for the bugs that occurred due to our oversight.

First Question: We have uploaded the relevant file to address your concerns.
Second Question: The file path has been corrected.
Third Question: As we plan to support the nuPlan dataset in the future, we have made modifications to the bevfusion in the third-party directory. Unfortunately, your original environment is not compatible with our code, so you will need to install the version of bevfusion that we provide. If you only want to use simulation, you can skip the Dataset Preparation section.
4 . Fourth Question: We have updated the requirements.txt with the correct dependencies.

If you have any further questions, please don't hesitate to reach out. We are happy to making progress together!😄😄

I'm going to close this issue, please do not hesitate to reopen it if any problem occurs.


fix hardCode

Hey, your env package is looking great. Maybe I should apply to all my CLI flags. BTW, I will keep my dbName with viper for now and start migrating to your env ASAP.
Could you help resolve the conflicts with #70
Thanks, happy Hacktoberfest :)


Fix: Resolve typo of Directory.Build.props file name in .Sln files (#3453)

closes #3453
fixes #3419

Ci fields, I'm working to pass it.

That's so weird! The CI passed without making any change!!!
What have just happened now? :thinking:

the issue is coming from some of our tests. don't worry about it.
re-running the CI will resolve it.


@ashfurrow => Move Auction details to allow infinte scrolling

This doesn't complete #973 - but it is a necessary step. However it provides a base so that I can work on the stickiness and @ashfurrow can work independently. Will comment inline.

  | 1 Error
------------- | ------------
    :no_entry_sign: | Developer Specific file shouldn't be changed

  Generated by :no_entry_sign: danger

That danger fail is fine, the way Danger handles diffs is different to github


Replace Camper Leaderboard project with functionally similar project based on forum

Describe your problem and - if possible - how to reproduce it
Camper leaderboard APIs are broken as provided below:
Add a Link to the page with the problem
https://fcctop100.herokuapp.com/api/fccusers/top/recent
https://fcctop100.herokuapp.com/api/fccusers/top/alltime
Tell us about your browser and operating system

Browser Name: Chrome
Browser Version: 67
Operating System:  Windows 7

If possible, add a screenshot here

@tchaffee @tbushman @Em-Ant can we check and have an alternative to this on Glitch?

@raisedadead I don't know who developed those APIs and if there is an alternative. Before my time. Maybe this is something you would want to host on FCC domains going forward so it is always available and not under the control of a third party? Let me know if there is anything else I can help with here.

Do we have the source code of that app? I remember that it works periodically scraping gitter, or the fcc profile pages. I don't know if it would be possibile on glitch. Why doesn't freecodecamp expose an api endpoint with the brownies ranking ?

Do we have the source code of that app?

https://github.com/roelver/fcctop100
If someone can get me an basic analysis, if the code is good enough and needs a little tinkering, I will get this into our org and we could put it up on Glitch?

Why doesn't freecodecamp expose an api endpoint with the brownies ranking ?

It will only stress the current 800+ concurrents that we get at peak times.
I would love to replace the challenge. @QuincyLarson do you have something in mind?

@raisedadead The leaderboard project is no longer a required project - we've moved it to the Interview Prep. Still, it would be nice if someone could figure out how to fix this. I don't think the strain from the leaderboard apps would be that great - we had thousands of these leaderboards in the past and they didn't seem to have too big of an impact.
We should wait until our new open API is live before attempting to fix this, though.

I had a look at the code and I know how it works. It used to scrape a gitter room to get the camper's usernames, and then it got the information about each camper accessing his/her freecodecamp profile page. At the moment it doesn't work because that gitter room closed, and the author's gitter api key (hardcoded in the source...) is expired/blocked.
If there was a way to periodically (once per day or week ?) access some information about the ranking directly from freecodecamp, it would be much easier to build a replacement for it in glitch.

Hi @QuincyLarson I think its still on the legacy cert list:

@raisedadead Good point - I forgot this was on that list. We definitely need to get this project working again.
@Em-Ant Thanks for describing the issue. Here's what I propose we do - we switch this project to focus instead on the forum.
Without an API key, one think people could do is show recently active threads using our forum's API:
https://forum.freecodecamp.org/latest.json
We would need to build an entirely new demo for this and come up with new user stories, but it would functionally be similar to the old leaderboard project.
Would anyone be interested in tackling this?

@QuincyLarson I have started working on a possible replacement demo that I could then write up some user stories off of, although it seems like the CORS header might not be enabled to be able to fetch that API feed?

@jgibson02 Have you made any progress on your possible replacement demo?
I'm still in favor of changing the subject of this project to something with an open API, like forum.freecodecamp.org. But if you've made progress on this I'd be interested in seeing it :)

I was having issues retrieving data from the https://forum.freecodecamp.org/latest.json API when making a request from CodePen. It seems like CORS would need to enabled on that API for campers to be able to use it there. For now I'll continue working on a demo by downloading a copy of the JSON.

@Bouncey @raisedadead what would be the security considerations for enabling CORS on our forum's API?
It looks like this is a relatively simple fix on Discourse if we decide we want to go forward with it: https://meta.discourse.org/t/correct-cors-enabling-steps/55697

Here's a demo that I made up using an offline downloaded copy of the JSON. Do you think that fits the bill as far as what you'd like to see for an overall user story?
If so, I can begin writing up some broken down user stories and instructions.

Here are some possible instructions and user stories:
Take Home Projects - Build a FreeCodeCamp Forum Homepage

Objective: Build a CodePen.io app that is functionally similar to this: https://codepen.io/jgibson02/full/BVvbRX/.
Fulfill the below user stories. Use whichever libraries or APIs you need. Give it your own personal style.
User Story: I can see a list of the most recent posts on the freeCodeCamp forums.
User Story: For each topic, I can see the title and a list of links to users who have recently posted in it.
User Story: I can see the number of replies and views that each topic has had, and a timestamp of when the topic was last active.
Hint: To get the 30 most recent forum posts: https://forum.freecodecamp.org/latest.json.
Remember to use Read-Search-Ask if you get stuck.
When you are finished, click the "I've completed this challenge" button and include a link to your CodePen.
You can get feedback on your project by sharing it with your friends on Facebook.

@jgibson02 Awesome! Thanks for helping create these excellent user stories. I will work with @Bouncey on the CORS issue.

@QuincyLarson has there been any development on the CORS issue?

Hi,
I have already created a LeaderBoard which is now broken due to the api issue.
I liked the original User Stories:
User Story: I can see a table of the freeCodeCamp campers who've earned the most brownie points in the past 30 days.
User Story: I can see how many brownie points they've earned in the past 30 days, and how many they've earned total.
User Story: I can toggle between sorting the list by how many brownie points they've earned in the past 30 days and by how many brownie points they've earned total.
There are no longer brownie points, but there are likes. And it isn't really broken down into monthly anymore. It looks like the most days are 288.
Instead of linking to the latest post, can we stay focused on the name of the Camper, and how many Likes that person received (instead of brownie points) over a 30-day period and all-time?
https://www.freecodecamp.org/forum/directory_items.json?period=all&order=likes_received.json

Is anyone working on fixing this api for the Camper Leaderboard?

If there is no better solution we can bypass the cors issue building a proxy on glitch (I am quite expert on this...) I can scope the request to only allowed me and methods and enpoints if necessary. It should be quite easy to build. Let me know if you want me to do it.

@Em-Ant Yes - that sounds like a nice work-around.
Please keep us posted and let us know if we can do anything to help.

api endpoint: https://buttercup-island.glitch.me/latest
test project (forked from @jgibson02 ): https://codepen.io/Em-Ant/pen/modqWP
If you want we can expose it on a custom domain that you own (e.g. a freecodecamp subdomain).
Let me know if it is ok, and if you need anything else. If that's a good solution I'll give edit permission to camperbot, to transfer ownership to freecodecamp.

Since @Em-Ant have made this new api for the forum data, I guess it's time to change the user stories as suggested here by @jgibson02 ?

There is an error on the test project at line 67: Uncaught ReferenceError: styled is not defined
at /Em-Ant/pen/pen.js:67
I do agree with @nuhman about using the suggested user stories.

Fixed the ReferenceError, although what do you think we should change in the user stories?

Hi, thank you.
It looks like we are not sorting, it comes up by most recent topic....
It works very well for the Forum Page.
I just worked so hard on the Leader Board and it's a shame not to be able to show it off. Even without the Brownies, I would love to see who posted most recently - and who has posted the most times - with links to those posts - and perhaps the user profile..
I like seeing how many times the topic was viewed.

I have an error with Cross-Origin Read Blocking (CORB) when try to fetch a data also when use https://www.freecodecamp.org/forum/latest.json link. {mode: 'no-cors'} doesn't effectivly.
Does it exist any alternative solution to fetch the data for Leaderboard (not to hardcode it)?

I didn't have a problem with it. Which browser are you using?

I didn't have a problem with it. Which browser are you using?

Google Chrome
Version 73.0.3683.86 (Official Build) (64-bit)

This is new to me. But I did find this suggestion as a possible fix...
https://stackoverflow.com/questions/54701399/how-to-fix-cross-origin-read-blocking-corb-blocked-cross-origin-response-with

Thank you. But if I just disable security policy in my browser, it doesn't solved the problem for others browsers/users. I saw the solutions with seting up headers, but I don't able to implement it at Codepen (where is my Leaderboard), because there is the client-side only.

I'm sorry. I haven't seen it enough to understand it. I understood CodePen solved possible CORS issues, but CORB is new to me.
Are you able to go to the actual API end-point at all? Or is it only coming from the LeaderBoard?

By direct link I see the json-data. The trouble rises when I try to fetch json from freecodecamp.org at codepen.
I checked my others pens at codepen, which fetch the data from others sites (there are rawgit.com, glitch.com, wikipedia.org, ipinfo.io and github.com), and they works correctly. So, the problem is exactly with freecodecamp-json. It possibly depends from codepen settings, but I don't find the common ground with their support yet.

Ouch. @jgibson02 Have you seen this happen before?
If so, do know the work-around?

@ColorizeMySky Have you tried the end point from @Em-Ant earlier?
https://buttercup-island.glitch.me/latest
Maybe this will work?

@ColorizeMySky Have you tried the end point from @Em-Ant earlier?
https://buttercup-island.glitch.me/latest
Maybe this will work?

Yes, thanks a lot. It fetches the json with forum-data from glitch.

I have updated my CodePen to use the @Em-Ant's API at https://buttercup-island.glitch.me/latest to avoid the CORS issue.
@QuincyLarson are you ok with using glitch.me as a way of redirecting to freecodecamp's domain? If so, perhaps this would be ready to be reintegrated to the curriculum.

Hey @scissorsneedfoodtoo can you take this up? All we need is to create a glitch project like the one above mentioned as a workaround and update the challenge seed to use it in instructions?

@raisedadead, sure, I'll get right on it

You.don't need to make another glitch project if you don't want to. That
one has already shared ownership between me and camperbot, so you can edit
it.
Il gio 4 apr 2019, 12:13 Kristofer Koishigawa<EMAIL_ADDRESS>ha
scritto:

@raisedadead https://github.com/raisedadead, sure, I'll get right on it
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freeCodeCamp/freeCodeCamp/issues/17450#issuecomment-479836966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMWwVve4x2DPL4_ApR55oakeZHbBGlGGks5vddAxgaJpZM4UbaVj
.

@Em-Ant, thanks for the quick response! Your Glitch API endpoint is working perfectly, so I'll just update the project's description with the user stories above and your links.

@Em-Ant , at your glitch API a don't see how to get the link to the appropriate topic. Is it possible?

@ColorizeMySky my glitch api proxies the request to https://www.freecodecamp.org/forum/latest.json so you'll get the exact same response. It only adds the necessary CORS headers to the original response.
I had a quick look at the response structure and I see 2 sections: one is "users", the other is "topics". You can get the url of the post adding the base url of the forum, and the property "slug" of a topic entry.

Thanks everyone for help. I've managed to finish this project with new API, and new API is nice for replace the old task. I can fetch. sort, add additional info and images, link etc. https://codepen.io/Colorize_my_sky/full/aMxRRq

Congratulations @ColorizeMySky ! This looks great and is very responsive.


Atoms locks CPU when started from command line.

~Update I think this is the same problem as https://github.com/atom/atom/issues/13192. I didn't initially see it, but using different keywords to search showed it.~
Prerequisites

[x] Can you reproduce the problem in safe mode?
[x] Are you running the latest version of Atom?
[x] Did you check the debugging guide?
[x] Did you check the FAQs on Discuss?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

Description
Since yesterday, whenever I start Atom using my atom command, it locks the CPU and doesn't start.
When toping, I can see a process zsh -ilc command env running 100% CPU.

It is worth noting that atom --version or other command line flags that wouldn't start Atom's UI don't show that issue.
It might also be worth mentioning: if atom is already running, running atom somefile works, and it opens the file in the running instance.
When an instance is already running, running atom somedirectory opens a new atom window without problem as well.

I tried deleting the whole ~/.atom folder. The problem persists. Tried disabling packages, same thing.
Versions
I'm on Xubuntu 16.10. I remember some updates to my system yesterday... Might be related?
Atom    : 1.12.1
Electron: 1.3.6
Chrome  : 52.0.2743.82
Node    : 6.3.0

#> lsb_release --release --codename --version
No LSB modules are available.
Release:	16.10
Codename:	yakkety

#> cat /etc/issue
Ubuntu 16.10 \n \l

Same issue for me.
Description
If i start Atom from my terminal, it pick 100% of my CPU and Atom did not starts:

If i kill this bash process, Atom starts...
Additional note: if i start Atom from my Gnome menu, no issue...
Version
I'm on Ubuntu 16.04.
Atom: 1.12.1

Nervermind: corrected by updating to 1.12.2

This looks like a duplicate of https://github.com/atom/atom/issues/13084 which has been fixed in Atom 1.12.2.

@Ben3eeE I'm sorry, but this is still happening in 1.12.3, with a slight twist: instead of not letting Atom start, that same pesky CPU locking routine is still running but in the background, so it was unnoticed.
This please reopen this issue.

@hickscorp If you are using the webud8 PPA please uninstall Atom and reinstall from https://atom.io. The webupd8 distribution is unofficial and is messing with Atom's launch scripts, which is why you're still seeing this.
See https://github.com/atom/design-decisions/blob/master/unofficial-atom-distributions.md for more information
If you are not, then please open a new issue.  Thanks!

Using @50Wliu suggestion, this fixed the problem for me under Mint 17.2 (thanks)
just noting:

Exiting atom doesn't kill the shells (one per physical core?) using 100% CPU. You must explicitly kill the shells by pid or exit the shell from which you originally started atom.
webupd8's atom package did not cleanly uninstall from the Software Manager GUI (hung at 99%) - it did uninstall with apt-get remove.


message id of different chats (Channel, private chats etc.) could be match?

I would like to know about the message id of chats. Could these message id of different chats (channel, private chat etc.) be ever matched, or are they unique in all chats? that means, chat A has the id -10000000045 and has the message id -430000000067, chat B has the id 100000048, could chat B have the same id number but with different content?
Because currently I hold these message id in a map, then if it the case that different chat could have same message id number with diffenrent content, then the map that I am using would be overwritten by the last message.

Message ID is unique only for the chat itself, not all chats. Means you can receive the same message ID but for different chat identifiers.
NOTE: Arithmetic operations must not be performed on message identifiers.


Update pipeline version to 6

Fixes #2262
Sister PR to https://github.com/elyra-ai/pipeline-editor/pull/172
Update the pipeline version and migration code to handle the changes
in Elyra 3.3
To Do:

[ ] Update tests

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

Leaving in draft until pipeline-editor is released and I update the version. I've updated it to point at the code sandbox for easier testing

Tested migration using pipelines from the examples repository:
Without example components installed:

[X] For pipelines containing custom components migration "fails" as expected -> might want to tweak title wording and use "aborted", if possible
[X] For pipelines containing only generic components migration succeeds (and yield the expected run results)

Without example components enabled:

[X] Migration "fails" as expected -> might want to tweak title wording and use "aborted", if possible

With example components installed:

[X] examples/pipelines/kubeflow_pipelines_component_examples (all pipelines)
[X] examples/pipelines/airflow_component_examples/bash_operator
[ ] examples/pipelines/airflow_component_examples/email_operator
[ ] examples/pipelines/airflow_component_examples/http_operator
[ ] examples/pipelines/airflow_component_examples/slack_api_post_operator
[ ] examples/pipelines/airflow_component_examples/spark_sql_operator
[ ] examples/pipelines/airflow_component_examples/spark_submit_operator
[ ] examples/pipelines/

Migrate and run https://github.com/CODAIT/flight-delay-notebooks

[ ] on KFP
[ ] on AA

Migrate and run https://github.com/CODAIT/covid-notebooks

[ ] on KFP
[ ] on AA

I just pushed an update to the code sandbox version with the latest fix from the pipeline editor PR. This includes bug fixes for all reported issues. I'll be working on addressing the tests next

examples/pipelines/airflow_component_examples/spark_sql_operator*
examples/pipelines/airflow_component_examples/spark_submit_operator*

I wouldnt be opposed to removing these two examples from the repo given the amount of setup these require.
Currently fixing the slack integration connection on the test cluster to test.
Successfully migrated my AA and kfp 3.1.x and 3.2.x pipelines with these latest changes


Support S3 logging acl, new redundancy options

The SDK for working with S3 logging appears to be missing support for some properties of the API. Specifically:

acl is not currently a supported value
redundancy is missing support for Infrequent Access and One Zone Infrequent Access

This looks like the main file that needs to be updated, but also I am not a Go developer. 😅

Hi @tpansino thank you for raising this issue.
API parity with our go-fastly client is something we're actively working on, and so we'll take this and figure out where it sits in the priority order. Unfortunately I can't give an ETA on this, but I'll provide feedback once we're ready to implement.

Hi @tpansino I've released 3.7.0 which has the missing ACL/Redundancy options added:
https://github.com/fastly/go-fastly/releases/tag/v3.7.0


feat:H1099-L1: Payment authorize and sync for Square

Type of Change

[ ] Bugfix
[x ] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates

Description
Payment authorize and sync for Square
Additional Changes

[ ] This PR modifies the database schema
[ ] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Checklist

[ ] I formatted the code cargo +nightly fmt --all
[ ] I addressed lints thrown by cargo clippy
[ ] I reviewed submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Thanks for the contribution @BhardwajShrey , We are merging the changes from different participant as it has more flows implemented. You can still continue your contributions on the open issues.


Kindly Contribute Outreach

[ ] Once approved by CP, ask Thom to send the contribute page to our school partners
[ ] Send to End Violence to reach out to their school partners
[ ] Consider outreach with newly arriving schools such as Khan School (TBD)

Amreen can move forward with this task Nov 10.

Random idea: Counter on the site on how much data we have - to consider this once we have sufficient data to begin with.

Will create a separate task this sprint for this:  Consider outreach with newly arriving schools such as Khan School (TBD)


Add Hindi Translation for main page

Translated few pages into Hindi.
Hope the format and spellings are correct.

Thanks!


Clarify the retention policies / give an example

I was struggling to tell the difference between the last two bullet points, they seem to be the same thing..as if you set the last option to 1 year, you are effectively preserving the data until then, could you add a bit more clarity please or example when you would use one over the other. Thanks
"Teams retention policies do support:
•Preservation: Keep Teams data for a specified duration and then do nothing
•Preservation and then delete: Keep Teams data for a specified duration and then delete
•Deletion: Delete Teams data after a specified duration"

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: fb40cf43-557e-d443-578b-49edca4a3179
Version Independent ID: f78c9566-767f-bfae-7ba0-4e81d313034e
Content: Retention policies in Microsoft Teams
Content Source: Teams/retention-policies.md
Service: msteams
GitHub Login: @LolaJacobsen
Microsoft Alias: lolaj

ok it actually clarifies this a bit better in the admin centre on the information hover overs.

@obhayes  Thank you for submitting this feedback.
From our understanding the issue has been resolved. If you feel it hasn't been resolved please re-open this issue.

@officedocsbot close


add context for Dockerfile

[Enter feedback here]
Hello, all !
This question is regarding 'az acr build' command - https://docs.microsoft.com/en-us/cli/azure/acr?view=azure-cli-latest#az-acr-build
It implies that Docker file and the source code have to be in the same context (local, git repository, remote tarball or repository of OCI artifact).
Consider the following case:

there's a git repository (ex. https://github.com/postgres/postgres)
there's no Dockerfile in this repository so far
there's no way to add Dockerfile to this repository so far

The questions is how to build an image for this case ?
One way of doing that could be adding a context for Dockerfile, like '--filecontext' parameter which describes a context for Dockerfile if it's not in the git repository.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c608162e-cf40-9d53-da4a-51f51a0311ea
Version Independent ID: eccbb543-be68-7de2-d41d-abee55c81452
Content: az acr
Content Source: latest/docs-ref-autogen/acr.yml
Service: container-registry
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

route to CXP team

@alexeyshishkin01 Thank you for reaching out, let me get back to you with an update.

@alexeyshishkin01 You can already achieve this with one of the following options
1. Setup Context Locally
This is straightforward where you get all the files you need locally first, and then call the command to queue the build which will upload the local context to ACR.
2. Pull External Sources in your Dockerfile
This is the better approach since you don't have to download/upload files. Instead your Dockerfile will have all required steps and would run completely in ACR.
You could either git clone the repository using a RUN command or even add the archive as mentioned in this comment.

ok, the following command does the job:
az acr build --image acr:{{.Run.ID}} --image acr:latest --registry $PGPROACR --file Dockerfile https://github.com/Azure/acr-cli.git

@alexeyshishkin01 Glad to hear that! Closing this issue.

@alexeyshishkin01 Yes. Ideally you would have to build the container for every update. Could you elaborate on your scenario?

my scenario is on very top of this chat, I'm duplicating it:
This question is regarding 'az acr build' command - https://docs.microsoft.com/en-us/cli/azure/acr?view=azure-cli-latest#az-acr-build
It implies that Docker file and the source code have to be in the same context (local, git repository, remote tarball or repository of OCI artifact).
Consider the following case:
there's a git repository (ex. https://github.com/postgres/postgres)
there's no Dockerfile in this repository so far
there's no way to add Dockerfile to this repository so far
The questions is how to build an image for this case ?
One way of doing that could be adding a context for Dockerfile, like '--filecontext' parameter which describes a context for Dockerfile if it's not in the git repository.

@alexeyshishkin01 If its just building a container, then either one of the options should work for. To keep up with the remote changes, you would just have to automate it to build whenever there are new changes in the repo.


Refactoring trumba out of uw-restclients

Coverage decreased (-1.7%) to 86.817% when pulling d4e60a48a17d170bc770ea07910eaf78eb263f20 on feature/refactor_trumba into 68ac7ebd5f22f52cb5765ed1c54c09676d59ec91 on develop.

Coverage decreased (-1.7%) to 86.817% when pulling d4e60a48a17d170bc770ea07910eaf78eb263f20 on feature/refactor_trumba into 68ac7ebd5f22f52cb5765ed1c54c09676d59ec91 on develop.


Add a Direction property to ParticlesMaterial

Adds a Direction property to ParticlesMaterial, which takes values from range 0 to 360. Works only for 2D particles, as I wasn't sure how to handle 3D (and in Godot 2.1 where this property existed, it was absent for 3D particles too).
Fixes #13492

this should be a unit vector, and there should be special editors to handle this case, so the intention is OK but the implementation is not

I could try to change it to unit vector (this would also solve 3D), but I don't really know how to make a proper editor for it.

I guess this needs a special editor done, I could work on it, I guess..

Does this change include related documentation updates (API, property, etc)?

It doesn't. But looks like it's not going to be merged anyways (or is it?).

How do you envision a unit vector property editor @reduz?
For 2D I guess it could be a circle with a slider that you can drag along the circle, updating the x and y fields of a Vector2 as you go (so you can also set x and y manually).
For 3D it sounds trickier to make something user friendly.

I guess you can add this as a unit vector for now and we can see how to make a custom property editor later on, this shouldn't block the feature.
It should be added to CPUParticles and CPUParticles2D too (and probably handled in the Particles[2D] -> CPUParticles[2D] conversion).

Uh, I changed the direction to vector, but I was totally defeated by maths ;_;
It works fine in 2D, but in 3D it's works only in cardinal directions. I guess I need to use proper vector components in the calculation of angle1_rad and angle2_rad:
float angle1_rad = atan(direction.x, direction.z) + rand_from_seed_m1_p1(alt_seed) * spread_rad;\n";
float angle2_rad = atan(direction.y, direction.x * direction.z) + rand_from_seed_m1_p1(alt_seed) * spread_rad * (1.0 - flatness);\n";
vec3 direction_xz = vec3(sin(angle1_rad), 0.0, cos(angle1_rad));\n";
vec3 direction_yz = vec3(0.0, sin(angle2_rad), cos(angle2_rad));\n";
direction_yz.z = direction_yz.z / max(0.0001,sqrt(abs(direction_yz.z))); // better uniform distribution\n";
vec3 vec_direction = vec3(direction_xz.x * direction_yz.z, direction_yz.y, direction_xz.z * direction_yz.z);\n";

But I can't figure what is the correct combination. I won't touch CPUParticles until I get this right :/

Ok, figured it out.
The property was also added to CPUParticles/2D and conversion is correct too.

Thanks a lot, I've been looking forward to this :D

The commented out section on Direction in https://raw.githubusercontent.com/godotengine/godot-docs/master/tutorials/2d/particle_systems_2d.rst can now be restored, though it should be adapted to the new system (Vector2 instead of angle).


minor clarifications

If you disagree on whether this is clearer, feel free to revert!

these look good to me, we can keep this branch open for additional corrections or additions

these look good to me, we can keep this branch open for additional corrections or additions

Just trying out the new file outputs and thought maybe it would be good to also include /anat/sub-{subject}_hemi-{LR}_space-cropT1w_desc-preproc_T2w.nii.gz, so its available as an underlay for corresponding segmentation images in /seg_T2w/ (eg. in ITK-SNAP where segmentation must have the same size as the underlay)

Just trying out the new file outputs and thought maybe it would be good to also include /anat/sub-{subject}_hemi-{LR}_space-cropT1w_desc-preproc_T2w.nii.gz, so its available as an underlay for corresponding segmentation images in /seg_T2w/ (eg. in ITK-SNAP where segmentation must have the same size as the underlay)

That image is actually already included but in the seg_T2w folder -- I
wanted to put it in anat folder, but right now the crop ref is based on the
segT2w.. we could move it to the anat folder but would need something else
in the filename, e.g. from-T2w, which is cumbersome..
On Fri., Jan. 29, 2021, 5:24 p.m. jordandekraker<EMAIL_ADDRESS>wrote:

Just trying out the new file outputs and thought maybe it would be good to
also include
/anat/sub-{subject}_hemi-{LR}_space-cropT1w_desc-preproc_T2w.nii.gz, so
its available as an underlay for corresponding segmentation images in
/seg_T2w/ (eg. in ITK-SNAP where segmentation must have the same size as
the underlay)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/khanlab/hippunfold/pull/29#issuecomment-770082762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXV2XPZVQYNQPTCWQ43YTDS4MYTNANCNFSM4WZI6HGA
.

That image is actually already included but in the seg_T2w folder -- I
wanted to put it in anat folder, but right now the crop ref is based on the
segT2w.. we could move it to the anat folder but would need something else
in the filename, e.g. from-T2w, which is cumbersome..
On Fri., Jan. 29, 2021, 5:24 p.m. jordandekraker<EMAIL_ADDRESS>wrote:

Just trying out the new file outputs and thought maybe it would be good to
also include
/anat/sub-{subject}_hemi-{LR}_space-cropT1w_desc-preproc_T2w.nii.gz, so
its available as an underlay for corresponding segmentation images in
/seg_T2w/ (eg. in ITK-SNAP where segmentation must have the same size as
the underlay)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/khanlab/hippunfold/pull/29#issuecomment-770082762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACXV2XPZVQYNQPTCWQ43YTDS4MYTNANCNFSM4WZI6HGA
.


Update bwc tests for 2.5.0

Description
Updates rolling bwc  to 2.5.0 and restart bwc to include 2.5.0.
Check List

[X] Commits are signed as per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #661 (6800461) into main (79ae6c2) will decrease coverage by 0.32%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #661      +/-   ##
============================================
- Coverage     84.80%   84.47%   -0.33%
+ Complexity     1055     1050       -5
============================================
  Files           149      149
  Lines          4291     4291
  Branches        379      379
============================================
- Hits           3639     3625      -14
- Misses          477      489      +12
- Partials        175      177       +2

Impacted Files
Coverage Δ

...va/org/opensearch/knn/index/KNNCircuitBreaker.java
60.00% <0.00%> (-20.00%)
:arrow_down:

...org/opensearch/knn/training/TrainingJobRunner.java
49.25% <0.00%> (-4.48%)
:arrow_down:

...ain/java/org/opensearch/knn/index/KNNSettings.java
80.88% <0.00%> (-2.21%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Blocked by https://github.com/opensearch-project/opensearch-build/pull/2984

@martin-gaievski @navneet1v Could I get a review? Whitesource check is failing for unrelated error to this PR. I believe issue is in nmslib with a feature we dont use. I will open up an issue to track that.


fix: string as id type

string as id type is reasonable.... I think.

@leo220yuyaodog  plz take a look.

@leo220yuyaodog plz take a look.

Thanks for your reminder，I have update the pr

https://github.com/casdoor/casdoor/commit/3d4ca1adb17ce1b7d799a2965e4f1ac99a3d994e


Lockfile 6.0

Fixes https://github.com/nix-community/pnpm2nix/issues/25
Update pnpm2nix to use lockfile 6.0 and pnpm 8. I've not really used this in any real world project but all the tests seem to pass.

Thank you for this PR! I found an issue with the dependency<EMAIL_ADDRESS>resulting in an error like
error:
       … while calling the 'derivationStrict' builtin

         at //builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'name-0.0.1'
         whose name attribute is located at /nix/store/i4ginw25yf2q0shnzvzjjwa58srbjhw7-source/pkgs/stdenv/generic/make-derivation.nix:300:7

       … while evaluating attribute 'buildInputs' of derivation 'name-0.0.1'

         at /nix/store/i4ginw25yf2q0shnzvzjjwa58srbjhw7-source/pkgs/stdenv/generic/make-derivation.nix:347:7:

          346|       depsHostHost                = lib.elemAt (lib.elemAt dependencies 1) 0;
          347|       buildInputs                 = lib.elemAt (lib.elemAt dependencies 1) 1;
             |       ^
          348|       depsTargetTarget            = lib.elemAt (lib.elemAt dependencies 2) 0;

       error: Constraint "^2.68.0||^3.0.0" could not be parsed

The mentioned constraint is in this block
  /@rollup/plugin-commonjs@25.0.4(rollup@3.28.1):
    resolution: {integrity: sha512-L92Vz9WUZXDnlQQl3EwbypJR4+DM2EbsO+/KOcEkP4Mc6Ct453EeDB2uH9lgRwj4w5yflgNpq9pHOiY8aoUXBQ==}
    engines: {node: '>=14.0.0'}
    peerDependencies:
      rollup: ^2.68.0||^3.0.0
    peerDependenciesMeta:
      rollup:
        optional: true
    dependencies:
      '@rollup/pluginutils': <EMAIL_ADDRESS>      commondir: 1.0.1
      estree-walker: 2.0.2
      glob: 8.1.0
      is-reference: 1.2.1
      magic-string: 0.27.0
      rollup: 3.28.1
    dev: false

@rollup/plugin-commonjs is a direct dependency of @sveltejs/adapter-node.
If you have any idea how to fix this, I would love to help :)

I pushed a change that might fix it, see if it works?

That fixed it, thank you :)

can this be merged?

@adisbladis friendly ping

I got error: Constraint ">=0.11 <=16" could not be parsed
❯ rg "<=16"
pnpm-lock.yaml
6770:      graphql: '>=0.11 <=16'
6779:      graphql: '>=0.11 <=16'

I don't particularly see any problems with this PR, but I also am not actively using pnpm anymore.
It would be best if someone who actually uses pnpm/pnpm2nix would take over maintenance.

@adisbladis Why aren't you using pnpm anymore if I may ask?

@adisbladis Why aren't you using pnpm anymore if I may ask?

I no longer work full time with JS/TS development and nodejs packaging needs are much simpler.

I've updated the readme to indicate that the project is unmaintained, and looking for a new maintainer.
I'm also open to someone taking over the name with a new project.
cc @nzbr


Errors when rebuilding the project

I am trying to rebuild react-web-animation to write a patch but I get errors when I run npm install:
ERROR in ./src/animation.js
Module not found: Error: Cannot resolve module 'immutable' in /home/laaglu/git/forked/react-web-animation/src
 @ ./src/animation.js 13:17-37

Indeed, the package.json declares 'immutable' as a peer dependency. Shouldn't 'immutable' be declared as a regular dependency as is it actually used by the code, notably in Animation.js ?
import { Map, is } from 'immutable';
I tried that and it seemed to fix the problem for me.

@laaglu generally I tried to stick the commonly used packages (react, react-dom and immutable) as peer dependencies. In that way, I don't force you to install two versions of immutable and you can bring your own when you use this library. It works in the same way the react peer dependency works. I think we can remove the dependency entirely, since it is barely used and replace it with a simple deep check by lodash or something similar.

Would you like me to prepare a pull request which would change Animation.js to remove the dependency on immutable ?

@laaglu for sure! If you want to tackle it, that would be awesome

This is rendered OBE by https://github.com/bringking/react-web-animation/pull/43. Closing


After declaring the winner, as a player in the game, I can know which is the “spy” song in the game and which is the normal song

Story
After declaring the winner, as a player in the game, I can know which is the “spy” song in the game and which is the normal song.


send_to_stroom.sh should display usage

Executing without args gives an error about missing args but no information about how to supply these.

./send_to_stroom.sh
This script will send log files in 'log-dir' to Stroom using the specified stroom-url. If matching log files have the extension .gz or .zip then the appropriate 'Compression:...' header will be set. Only one instance of send_to_stroom can run in a 'log-dir' at once.
Usage: ./send_to_stroom.sh [--headers <arg>] [-s|--(no-)secure] [-d|--(no-)delete-after-sending] [-p|--(no-)pretty] [-z|--(no-)compress] [-r|--file-regex <arg>] [-m|--max-sleep <arg>] [--key <arg>] [--key-type <arg>] [--cert <arg>] [--cert-type <arg>] [--cacert <arg>] [--(no-)debug] [-h|--help] [-v|--version] <log-dir> <feed> <system> <environment> <stroom-url>
        <log-dir>: Directory to look for log files
        <feed>:  Your feed name given to you
        <system>: Your system name, i.e. what your project/service or capability is known as
        <environment>: Your environment name. Usually SITE_DEPLOYMENT
        <stroom-url>: The URL you are sending data to (N.B. This should be the HTTPS URL)
        --headers: File containing additional HTTP headers. In the form 'HeaderName:header value' (no default)
        -s, --secure, --no-secure: Check for valid certificates if running over HTTPS (off by default)
        -d, --delete-after-sending, --no-delete-after-sending: Delete log files after sending them (off by default)
        -p, --pretty, --no-pretty: Use colours in the output, it is recomended to disable this when sending the results to a log file (on by default)
        -z, --compress, --no-compress: Compress the data sent to stroom using gzip compression. This will set the required 'Compression:GZIP' header. The source log file will not be changed. (off by default)
        -r, --file-regex: The regex pattern used to match files that will be sent. E.g. '.*/[a-z]+-[0-9]{4}-[0-9]{2}-[0-9]{2}T.*\.log'. Regex syntax is that used in bash. If not set, all files in the directory will be sent. (default: '.*/.*.log')
        -m, --max-sleep: Max time allowed to sleep (e.g. to avoid all cron's in the estate sending log files at the same time) (default: '0')
        --key: The client's private key file path. The private key should be in PEM format (no default)
        --key-type: The type of the client's private key (default: 'PEM')
        --cert: The client's certificate file path. The certificate should be in PEM format (no default)
        --cert-type: The type of the client's certificate (default: 'PEM')
        --cacert: The certificate authority's certificate file path. The certificate must be in PEM format (no default)
        --debug, --no-debug: Run with debug logging enabled (off by default)
        -h, --help: Prints help
        -v, --version: Prints version
FATAL ERROR: Not enough positional arguments - we require exactly 5 (namely: 'log-dir', 'feed', 'system', 'environment' and 'stroom-url'), but got only 0.

It seems pretty comprehensive


cmake configuration failed with OPENMP_BUILD=ON

Environment

Tesseract Version: 4.1.1
Platform: Linux acer 4.15.0-72-generic #81~16.04.1-Ubuntu SMP Tue Nov 26 16:34:21 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
CMake Version: 3.16.2

Current Behavior:
CMake Error at CMakeLists.txt:157 (add_library):
add_library cannot create imported target "OpenMP::OpenMP_CXX" because
another target with the same name already exists.
Expected Behavior:
CMake configuration successful
Suggested Fix:
According CMake documentation
FindOpenMP provides target OpenMP::OpenMP_<lang>
and no linking with OpenMP::OpenMP_CXX
must be
target_link_libraries(libtesseract PRIVATE ${LIB_Ws2_32} ${LIB_pthread} PUBLIC OpenMP::OpenMP_CXX)

patch.txt


Faster Whisper Alignment Stuck at 0% Progress Intermittingly

I'm encountering an intermittent issue with the stable_whisper.load_faster_whisper function where the alignment progress remains at 0% for an indefinite period. Occasionally, the progress will jump to a certain percentage but then gets stuck。
device = "cpu" model = stable_whisper.load_faster_whisper('base.en', device="cpu", compute_type="int8") result = model.align('temporary_file.mp3', text, language='en', original_split=True)

I'm encountering an intermittent issue with this code, and it happens quite frequently—about half the time in ten attempts. I'm not sure how to fix it. Any guidance would be appreciated. Thank you for your efforts and for sharing your knowledge!

Do you encounter this issue with only faster-whisper models? If there is bug with faster-whisper models due the recent changes, try presplit=False for align() to see if it prevents the issue.

@jianfch
Yes, I am using the faster-whisper models, and the issue occurs only when I use them. I tried adding presplit=False to the align() function as you suggested, but unfortunately, it did not resolve the

我尝试调试，发现代码挂在这一行：
encoder_output = model.encode(features[:, : model.feature_extractor.nb_max_frames])
位于alignment.py第 298 行。

I tried debugging, and I found that the code hangs at this line:
encoder_output = model.encode(features[:, : model.feature_extractor.nb_max_frames])
located in alignment.py, line 298.

That line runs faster-whisper's code, so this might an issue with faster-whisper. I could not replicate the issue on my end with same model and arguments. If this is an issue is caused by certain audio sources, share it if you can. You can also try to replicate the issue on Colab.

Thank you for your response. It might indeed be an issue with my device, so I am currently giving up on using the faster-whisper models. However, I've noticed that without using faster-whisper models, the alignment in Whisper is often inaccurate, which has been quite problematic for me. I've tried many solutions, but none have worked so far.
model = stable_whisper.load_model('tiny.en' ,device="cpu")
result = model.align('temporary_file.mp3', text,   language='en',  gap_padding=None, original_split=True, regroup=True, suppress_silence=True, suppress_word_ts=True, nonspeech_error=0.3,use_word_position=True, min_word_dur=0.18)

This is the align() result using faster-whisper models, which is very accurate. Unfortunately, it occasionally freezes on my device.

However, I've noticed that without using faster-whisper models, the alignment in Whisper is often inaccurate

Can you please. provide an audio clip with the arguments you used for both faster-whisper and whisper for replicating the issue?

https://1drv.ms/u/c/3fb4c1598fd43c6e/ESjyZTOXk35PiVgqEuztPOkBCvqPL7pftNqsD_uK2TK9AQ?e=x6pPya
align text
Frog Food
I like bugs on pancakes.
I like bugs on popcorn.
I like bugs on soup.
I like bugs on bread.
I like bugs on pizza.
I like bugs on salad.
I like bugs on cake.
I like bugs.

The difference between faster-whisper and whisper when using align() occurs due to slight differences the way the timestamps are computed and the resultant timestamps can become significantly different as a result of the fallback mechanism and post-processing the occurs on the timestamps.
You can try fast_mode=True. It will run it align() on a simpler algorithm so results should be more consistent.
Updating to e2f9458e540e1d82c7940532bae8813064af9f74 should also help if you don't find fast_mode=True useful.


Add a license

PINNacle is getting quite some attention from the community!
To allow contributions and clarify reusability, it would be highly beneficial to include a license. See here.

Thank you for your suggestion and we have licensed our code under MIT. Hope you enjoy it. 60fc2d977067ed563a5fdf1d04a1679eba0ac59c

Great news! Thanks for your effort


Set "-encoding UTF-8" for javac.

Pull Request Description
Marks java sources as UTF-8 encoded. Without this compilation on Windows might fail, as javac defaults to default codepage, like:
sbt:enso> compile
[info] Compiling 1 Scala source and 83 Java sources to C:\dev\enso\Interpreter\target\scala-2.12\classes ...
[error] C:\dev\enso\Interpreter\src\main\java\org\enso\interpreter\node\callable\dispatch\LoopingCallOptimiserNode.java:14:1: unmappable character for encoding MS932
[error] C:\dev\enso\Interpreter\src\main\java\org\enso\interpreter\node\controlflow\MatchNode.java:54:1: unmappable character for encoding MS932
[error] (interpreter / Compile / compileIncremental) javac returned non-zero exit code
[error] Total time: 2 s, completed 2019-11-04 13:18:04

Important Notes
Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the Scala, Java, Rust or Haskell style guides as appropriate.
[x] All code has been tested where possible.

Its the en dash used in comment. Rare occurrence of correct punctuation in the digital world.

Ah. That'll be mac keyboards and smart punctuation.


test-query-dates-as-strings fails

ok 15 test/integration/connection/test-query-empty.js
not ok 16 test/integration/connection/test-query-dates-as-strings.js
  /vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Parser.js:78
          throw err; // Rethrow non-MySQL errors
          ^

  Error: ER_TRUNCATED_WRONG_VALUE: Incorrect date value: '0000-00-00' for column 'dt' at row 1
      at Query.Sequence._packetToError (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/sequences/Sequence.js:51:14)
      at Query.ErrorPacket (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/sequences/Query.js:83:18)
      at Protocol._parsePacket (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Protocol.js:280:23)
      at Parser.write (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Parser.js:74:12)
      at Protocol.write (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Protocol.js:39:16)
      at Socket.<anonymous> (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/Connection.js:109:28)
      at emitOne (events.js:77:13)
      at Socket.emit (events.js:169:7)
      at readableAddChunk (_stream_readable.js:153:18)
      at Socket.Readable.push (_stream_readable.js:111:10)
      --------------------
      at Protocol._enqueue (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Protocol.js:141:48)
      at Connection.query (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/Connection.js:214:25)
      at /vagrant/git/github.ibm.com/cc109-sql/mysql/test/integration/connection/test-query-dates-as-strings.js:20:14
      at Handshake._callback (/vagrant/git/github.ibm.com/cc109-sql/mysql/test/common.js:117:5)
      at Handshake.Sequence.end (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/sequences/Sequence.js:85:24)
      at Handshake.Sequence.OkPacket (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/sequences/Sequence.js:94:8)
      at Protocol._parsePacket (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Protocol.js:280:23)
      at Parser.write (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Parser.js:74:12)
      at Protocol.write (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/protocol/Protocol.js:39:16)
      at Socket.<anonymous> (/vagrant/git/github.ibm.com/cc109-sql/mysql/lib/Connection.js:109:28)

ok 17 test/integration/connection/test-query-escaping.js

vagrant@ubuntu-14:/vagrant/git/github.ibm.com/cc109-sql/mysql$ npm version
{ mysql: '2.11.1',
  npm: '2.15.5',
  ares: '1.10.1-DEV',
  http_parser: '2.5.2',
  icu: '56.1',
  modules: '46',
  node: '4.4.6',
  openssl: '1.0.2h',
  uv: '1.8.0',
  v8: '<IP_ADDRESS>',
  zlib: '1.2.8' }

docker run -d -p 3306:3306 -d --name mysql -e MYSQL_ROOT_PASSWORD=rootpassword mysql

export MYSQL_HOST="localhost"
MYSQL_PORT=3306 MYSQL_DATABASE=node_mysql_test MYSQL_USER=root MYSQL_PASSWORD=rootpassword FILTER=integration npm test

Hi @powellquiring, it sounds like your server is set to a sql mode that does not allow zero dates. Can you post what your sql_mode is set to during the tests?

I'm having the same issue when I run the tests locally. My sql_mode is ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
The above set of modes seems to be the default for a fresh install of MySQL 5.7.13.
Any advice on the best way to fix this? I can just turn off NO_ZERO_IN_DATE obviously, but should there be a documentation update about that since it is a default? Or should the test turn that mode off? or should the test be rethought somehow?


Special Characters

It would be really great if there were menu options for typing in special characters like pi, sigma, etc. Actually the menu needs to be expanded a lot, would help the IntelliJ plugin compete with full LaTeX editors.

Another thing, trying to do that myself, I see that mobi.hsz.idea.latex.LatexInstructions has been referenced but the class does not exist, and IntelliJ give an error, actually several errors. Am I making a mistake, could you please tell me what is going on?

Whole process should be similar to https://github.com/hsz/idea-gitignore
You have to generate sources using BNF and JFlex rules.


fix-save-results

Fix for Inferno's 'save results' functionality
@oldmantaiter
@ncloudioj

@tspurway I assume this is non-backwards compatible with disco 0.4.x, it appears that in disco 0.5 it was added at the end of the pipeline as disco:results. The python library still has disco:job:results so a PR might be needed there as well to make it all compatible.

Good point @oldmantaiter, maybe I should fix it in Disco to be what it used to be?  Maybe Shayan @pooya has an opinion?


Get the file URL from the DONE callback?

I need to run a jQuery callback function that puts the uploaded file name and URL in a form textarea ( after upload).
Please advise how I can get the URL of an uploaded file in the context of the Done callback..
(One file per upload session)
Here is example code:  ( the file name part works well )
$('#fileupload').bind('fileuploaddone', function (e,data) {
    jQuery('textarea').val( "
" + data.files[0].name + "");

});

This should alert the first file url (based on the assumption that you're using the example package):
$('#fileupload').bind('fileuploaddone', function (e, data) {
    alert(data.result[0].url);
});

Note that browsers with support for multiple file selection but no XHR File upload (Opera, Firefox 3.6) might return multiple objects as part of the result array.

This works greats.. many thanks for your help and for a great piece of coding


repClonalFamily does not generate expected columns

Hello and thank you so much for Immunarch!
When I run repClonalFamily it fails to generate some expected columns (referring to this list https://immunarch.com/reference/repClonalFamily.html) . In particular, I miss the following ones:

V.germline.nt:
J.germline.nt
CDR3.germline.length
V.length
J.length

These columns cannot be generated even using your sample data from data(bcrdata). I have the same results with my own data.
Can you please help me with this?
Many thanks!
Michele

Hello, Michele!
The instruction on the site is not yet updated, I will put the new version there soon. BCR pipeline in the new version of Immunarch calculates everything from FR and CDR regions, to remove dependency from columns that are missing in some of the input formats. And in the new version, lengths of V, J and CDR3 in a germline and clonotypes from which it was built, are the same. So, you can reconstruct these columns if you need them. Here is an example:
First, prepare repClonalFamily results:
data(bcrdata)
clusters <- seqCluster(bcrdata$data, seqDist(bcrdata$data), .fixed_threshold = 3)
cf <- clusters[["full_clones"]] %>% repGermline() %>% repAlignLineage(.min_lineage_sequences = 2) %>% repClonalFamily()

Second, unnest the "Sequences" sub-tables, to make the dataframe 1 line per clonotype, rather than 1 line per cluster:
clonotypes_df <- cf %>% unnest("Sequences")

And then calculate the columns that you need:
clonotypes_df %<>% mutate(
    V.length = str_length(FR1.nt) + str_length(CDR1.nt) + str_length(FR2.nt) + str_length(CDR2.nt) + str_length(FR3.nt),
    J.length = str_length(FR4.nt),
    CDR3.germline.length = str_length(CDR3.nt),
    V.germline.nt = substr(Germline.Input, 1, V.length),
    J.germline.nt = substr(Germline.Input, V.length + CDR3.germline.length + 1, str_length(Germline.Input))
)

Best regards,
Aleksandr

Thank you Alexander, that's brilliant! Loving Immunarch, thanks for you work.
Michele


Database view relations and stream api

Stream Related
Stream - Update (for admin, did up to Service Class)
Stream - End Stream (to toggle live field)
Stream - Total number of viewers who viewed the stream
Fix time format to unix time
View Related
View - Create view
View - Get list of users who are viewing the stream

I've made a few comments on cosmetic issues. Should be good to merged after those are resolved.

Have refactored the issues. Going to merge in.


VirtualBox time not synchronizing

The time in VirtualBox for constantly drifts on OS X. Within minutes the time is wrong.
I tried running sudo VBoxService -f -vvv --enable-timesync --timesync-interval 1000 and this is what I get:
00:00:01.015271 timesync vgsvcTimeSyncWorker: Host:    2016-02-25T23:36:22.595000000Z    (MinAdjust: 100 ms)
00:00:01.016484 timesync vgsvcTimeSyncWorker: Guest: - 2016-02-25T23:29:17.996582000Z => 424 598 418 000 ns drift
00:00:01.017296 timesync vgsvcTimeSyncAdjust: adjtime by 424 598 418 000 ns

Note that the adjtime amount increases constantly. It is never actually brought back up to speed with the host system time.
If I manually run sudo ntpclient -s -h 0.boot2docker.pool.ntp.org it fixes the time momentarily but it drifts fairly quickly and VBoxService still shows the offset.
This is not the issue with the machine going to sleep. This happens on a fresh uninterrupted VM.
Update:
If I use the --timesync-set-threshold 1 it will set the time explicitly every time and that at least keeps the clock in sync but it is a terrible solution.

Workaround works


[BUG] No such file or directory

Bug Report
I am using Nixos. However, for the purpose of being able to build sovereign-sdk, and because this crate depends on rustup being present (nixos can install rust with nix-shell without rustup), i installed rustup and have a rusup installation of the rust toolchain.
Now, i have executed:
cargo binstall --force -y cargo-risczero && cargo risczero install

The latter step AFAIU would install a custom toolchain specifically for risc0. However, when trying to build the demo rollup in sovereign-sdk:
cargo build --bins
   Compiling sov-modules-api v0.3.0 (/home/rakan/Code/Rust/sovereign-sdk/module-system/sov-modules-api)
   Compiling risc0-circuit-recursion v0.19.1
   Compiling risc0 v0.3.0 (/home/rakan/Code/Rust/sovereign-sdk/examples/demo-rollup/provers/risc0)
error: failed to run custom build command for `risc0-circuit-recursion v0.19.1`

Caused by:
  process didn't exit successfully: `/home/rakan/Code/Rust/sovereign-sdk/target/debug/build/risc0-circuit-recursion-ed6dd89a50b932ab/build-script-build` (exit status: 101)
  --- stderr
  Downloading https://github.com/risc0/risc0/raw/505295b963c97db2afffe58f4b0cb4721e396b90/risc0/circuit/recursion/src/recursion_zkr.zip
  thread 'main' panicked at /home/rakan/.cargo/registry/src/index.crates.io-6f17d22bba15001f/risc0-circuit-recursion-0.19.1/build.rs:72:51:
  called `Result::unwrap()` on an `Err` value: Download(/home/rakan/Code/Rust/sovereign-sdk/target/debug/build/risc0-circuit-recursion-5e3c417694435cf2/out/recursion_zkr.zip: (verification: unverified):
  )
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
sov-demo-prover-guest-celestia: Starting build for riscv32im-risc0-zkvm-elfild)
sov-demo-prover-guest-celestia: error: could not execute process `/home/rakan/.rustup/toolchains/risc0/bin/rustc -vV` (never executed)
sov-demo-prover-guest-celestia:
sov-demo-prover-guest-celestia: Caused by:
sov-demo-prover-guest-celestia:   No such file or directory (os error 2)
error: failed to run custom build command for `risc0 v0.3.0 (/home/rakan/Code/Rust/sovereign-sdk/examples/demo-rollup/provers/risc0)`

Caused by:
  process didn't exit successfully: `/home/rakan/Code/Rust/sovereign-sdk/target/debug/build/risc0-a19e980724198905/build-script-build` (exit status: 101)
  --- stdout
  Building guest package risc0.sov-demo-prover-guest-celestia
  cargo:rerun-if-env-changed=RISC0_SKIP_BUILD
  Using rustc: /home/rakan/.rustup/toolchains/risc0/bin/rustc
  cargo:rerun-if-env-changed=RISC0_RUST_SRC
  Building guest package: cargo build --target riscv32im-risc0-zkvm-elf
  cargo:rerun-if-env-changed=RISC0_BUILD_DEBUG

Which means that i do have a rustc compiler downloaded with cargo riskzero install.
➜ rustup toolchain list
stable-x86_64-unknown-linux-gnu (override)
risc0 (default)

The rustc binary, however, does not seem to execute:
➜ ls -l /home/rakan/.rustup/toolchains/risc0/bin/rustc
.rwxr-xr-x 17k rakan  8 Feb 22:17 /home/rakan/.rustup/toolchains/risc0/bin/rustc

➜ /home/rakan/.rustup/toolchains/risc0/bin/rustc
zsh: no such file or directory: /home/rakan/.rustup/toolchains/risc0/bin/rustc

Steps to Reproduce

Using nixos, install rustup globally
git clone https://github.com/Sovereign-Labs/sovereign-sdk.git
cd examples/demo-rollup
cargo build --bins (as in the readme)

Expected behavior

The rustc binary downloaded should run as expected.
Your Environment

risc0-zkvm version:
Rust version:

➜ rustc --version
rustc 1.76.0 (07dca489a 2024-02-04)

Platform/OS:

Linux nixos 6.1.81 #1-NixOS SMP PREEMPT_DYNAMIC Wed Mar  6 14:45:20 UTC 2024 x86_64 GNU/Linux

Additional context

According to https://github.com/NixOS/nixpkgs/issues/107375#issuecomment-749580559,

This is because NixOS avoids global state and therefore doesn't install the binary interpreter ld-linux.so and generally libraries to the default locations as on other Linux distribution. This means that dynamically linked binaries built elsewhere won't run out of the box

Looking into https://github.com/risc0/risc0/tree/main/risc0/cargo-risczero, apparently i can use the cargo risczero build-toolchain to build the toolchain for my host which is what i am currently doing.
However, my question is why do need a specific toolchain that is downloaded from this repo and not downloadable from rustup in this case?

build-toolchain subcommand worked fine. Closing the issue.


23w18a stuff

Was working on this before liach opened theirs... whoops.

I recommend integrating your pr first; I can subsequently adjust.


DataSource don't work with Tuple and Nullable

Edit:
Problem is found. You can close the Issue.

Edit:
Problem is found. You can close the Issue.


optimize all cargo.toml

This PR removes unnecessary default-features = false and corrects the tokio features for all crates. The amount of deps remain the same.
Somewhat related to #213

We have default_features=false in case the default features change, so I think that should stay

It would be impossible to know what features are enabled by reading our own Cargo.toml files; you would have to look at crates.io or crates' source code to know what dependency features you've even got enabled. The motivation as mentioned in Discord seems to be because some crates sometimes break their APIs by making a feature optional. This doesn't hold up much water IMO. Our dependencies have broken their non-Cargo API more than they have their Cargo API, but I'm not about to go write an HTTP client or cryptography library. Thank you for the PR but I'm going to give it a close.


Make params on Visit and VisitOptions optional

On updating to the latest version I noticed a bunch of TS errors in my project due to the fact that I wasn't passing all the available visit options when I was submitting forms. I'm pretty sure all the keys are optional, so I have marked them as such in the types

I actually think this same issue is solved in a nicer way by this: https://github.com/inertiajs/inertia/pull/742/files


Enhanced command limit

Bug Report

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Related link
None
Steps to reproduce(Optional)
Reward on Issue.
Pick up on PR.
What is expected?
No reaction.
What is actually happening?
Bot commented.

/pick-up

In the probot version 9, the context.issue() return the number of issue or pull request.We can distinguish them by the pull_request attribute of the response.
Response of the issue obtained through context.github.issues.get() API:

Response of the pull request obtained through context.github.pulls.get() API:

But after the version 10.0.0-beta.9，Probot provide the context.issue() and the context.pullRequest() API to distinguish them.


Split Hex is applying to Major Hexes without taking the Major Split Hex feat

It looks like Split Hex is not checking if a Hex is Major, as it is applying to Ice Tomb as well as base-game Major Hexes such as Regenerative Sinew.

fixed


GUI.cpp does not store window config values, if file is not present

Workaround: create .grid_sim/Window.conf in your home folder with the following content:
        xPosition = 0
        yPosition = 0
        xSize = 800
        ySize = 600
        zoomFactor = 1.000000
        camOffsetX = 373.000000
        camOffsetY = 132.000000

Might be related to https://github.com/dasys-lab/essentials/issues/16


Print "higher_is_better" in results table

We should add a column to the printed results table, that displays an arrow pointing up if the metric's "higher_is_better" value is True, arrow pointing down otherwise.
Currently higher_is_better is not really used in the code.

This can be a part of #1158


Update the README.md GIF / docs to reflect the new design

As introduced in https://github.com/orchest/orchest/pull/170

Fixed in: https://github.com/orchest/orchest/commit/e6bead9fa7b78fd18ac23b51aca76e8ea438a20f


Fixing Macaron commit hash. Fixes #3690

This fixes #3690

+1 fixed the issue for me

is this really working?
After applying this I can successfully glide install, but now I cannot build:
$ go build
# github.com/gogits/gogs/models
models/access.go:84: cannot use x (type *xorm.Engine) as type Engine in argument to accessLevel:
	*xorm.Engine does not implement Engine (wrong type for Where method)
		have Where(string, ...interface {}) *xorm.Session
		want Where(interface {}, ...interface {}) *xorm.Session
models/access.go:94: cannot use x (type *xorm.Engine) as type Engine in argument to hasAccess:
	*xorm.Engine does not implement Engine (wrong type for Where method)
		have Where(string, ...interface {}) *xorm.Session
		want Where(interface {}, ...interface {}) *xorm.Session
models/access.go:245: cannot use x (type *xorm.Engine) as type Engine in argument to r.recalculateAccesses:
	*xorm.Engine does not implement Engine (wrong type for Where method)
		have Where(string, ...interface {}) *xorm.Session
		want Where(interface {}, ...interface {}) *xorm.Session
models/action.go:194: cannot use x (type *xorm.Engine) as type Engine in argument to newRepoAction:
...

@eljojo That's another issue, related to xorm.

+1

Xorm issue addressed at #3756

When will this fix be merged? I've been applying it manually every time I do a git clone of gogs on my test box, without it gogs won't build, so the current version is effectively broken.

Thanks! Closed by another commit.


Research performance improvements in N-way merging

Hi @jackwener,  currently @richox has two efforts trying to achieve this:
The first one intended to use peek_mut instead of pop in SortPreserveMerging for less comparison but seems suffering performance regression at the moment. https://github.com/apache/arrow-datafusion/pull/2134
The second attempt tries to use BTree instead of the current MinHeap and is still a work in progress. https://github.com/richox/arrow-datafusion/tree/sort_memory_2_peekmut_pop
Perhaps you guys could discuss this to see if it's possible to come up with a faster solution?

Yes, I will provide some more coherent thoughts later today
On Tue, Apr 5, 2022 at 9:54 AM Yijie Shen @.***> wrote:

I created this issue from an item @alamb https://github.com/alamb has
listed in the umbrella PR. Maybe @alamb https://github.com/alamb can
also share some insights here.
—
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow-datafusion/issues/2148#issuecomment-1088733245,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADXZMPFETOUOE7YTV26GMTVDRAZZANCNFSM5SOKD74A
.
You are receiving this because you were mentioned.Message ID:
@.***>

Thoughts on N-way merging:
We (Influxdb IOx in general and myself in particular) are very interested in this as well because the SortPreservingMerge is one of the key bottlenecks we see when sorting out data.
Here is what I was thinking about how to proceed:

Create a benchmark for merging (including multi-column keys and variable length (Utf8) keys)
Spike out some tests

Areas for investigation / things to spike out:

Use row-format sort key (similar to what @yjshen  has done in https://github.com/apache/arrow-datafusion/pull/2146) so that the comparisons are done by comparing [u8] rather than array access
Use "Cascade Merge" rather than N-Way merge, as hinted at in the DuckDB blog: https://duckdb.org/2021/08/27/external-sorting.html
Figure out how to parallelize both the merge (the DuckDB blog has some hints) as well as the creation of RecordBatches from the inputs. I have thought about this but need more time to think through how it would work.

cc @tustvold

One other thing to throw into the mix would be to optimise sorts of dictionary encoded columns. If the dictionary is sorted, the savings could be significant as you only need to compare the integer keys.
Even if the dictionary isn't sorted it might be faster to sort the dictionary first, and then sort the now sorted keys.
Just an idea as at least in the case of IOx, we will only been sorting on dictionary encoded string columns and not plain columns.

Use row-format sort key so that the comparisons are done by comparing [u8] rather than array access

I filed an issue for this https://github.com/apache/arrow-datafusion/issues/2150

During my school days, I tried to implement an external sorting algorithm using the loser tree, I don't know if this is a good idea because I didn't go to compare

Closing this ticket as I believe it is not tracking anything anymore, feel free to reopen if I am mistaken.
SortPreservingMerge is now implemented as an n-way tournament tree making use of an order-preserving row encoding for multi-column sorts, and specialized cursors for single column sorts. I'm not aware of any major low-hanging fruit to make it run faster


display output with unsigned longs

Changes formatting for assert-size-lte and assert-size-lte error messages. When working with file sizes over 2GB, you can no longer use a signed 32bit int for display as it will show incorrect values

Thank you!


Update to Hono 1.0.0

Type of change

Bugfix
Enhancement / new feature

Description
Update to Hono 1.0.0. Drop workaround for eclipse/hono#1471.
Checklist
Please go through this checklist and make sure all applicable tasks have been done

[ ] Update/write design documentation in ./documentation/design
[ ] Write tests and make sure they pass
[ ] Update documentation
[ ] Check RBAC rights for Kubernetes / OpenShift roles
[X] Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
[X] Reference relevant issue(s) and close them after merging
[ ] Update CHANGELOG.md

@enmasse-ci run tests profile=iot

:heavy_check_mark: Test Summary :heavy_check_mark:
TEST_PROFILE: iot
TEST_CASE:
TOTAL: 34
PASS: 30
FAIL: 0
SKIP: 4


TmPage "managed-body" refactor

The usage of a check on the slot property this.$slots['managed-body'] smells dirty. Is this really needed?
No proposal yet. Need to discuss. @sabau

Did a slight refactor in #2300


Upgrade fmt to 11

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
418

Relevant Lines:
421

💛  - Coveralls


Updates optimal-sizing pres

This pull request closes #56 by adding back up slides clarifying assumptions, and updating the conclusions.

If you think it's all good you can go ahead and merge it!


Abort trap: 6 when Archiving

Bug Report

While deserializing SIL vtable for 'UICircularProgressRing' in module 'UICircularProgressRing'
error: Abort trap: 6

Version
4.1.0
Overview of what you tried to do
When running on simulator it works ok but as soon as I choose to archive it throws abort trap: 6

I’m going to need more than this to be able to debug

After migrating project from 4.1 to 4.2 and setting Swift language version to 4.2 it is archiving ok.


Icon Request: Pushpin

I would love to see something like this in heroicons: 📌

YES WARD POLE I AGREE! 👍

INSERT ROCKET EMOJI AND LET'S GO TO ALPHA CENTAURI!!


Added Responsiveness

Fixed the responsiveness of about page.
fixes #325

Looks good

@all-contributors please add im-vedant for code


Trouble opening NETCDF dataset

Hello Thomas,
I am trying to open a netcdf dataset (Sentinel 5P).
gdalinfo NETCDF:"/home/thomascoquet/product.nc":/PRODUCT/methane_mixing_ratio_bias_corrected -> works perfectly.
Using godal:
func TestOpen(t *testing.T) {
	godal.RegisterRaster(godal.GTiff)
	ds, err := godal.Open("/home/thomascoquet/test.tif")
	assert.Nil(t, err)
	ds.Close()
}
// OK, not a problem of file access

func TestGeoloc(t *testing.T) {
	godal.RegisterRaster(
		//godal.DriverName("KEA"),
		//godal.DriverName("BAG"),
		//godal.DriverName("HDF5"),
		//godal.DriverName("HDF5Image"),
		//godal.DriverName("HDF4"),
		//godal.DriverName("HDF4Image"),
		godal.DriverName("GMT"),
		godal.DriverName("netCDF"),
	)
	ds, err := godal.Open(`NETCDF:"/home/thomascoquet/product.nc":/PRODUCT/methane_mixing_ratio_bias_corrected`)
	assert.Nil(t, err)
}

--- FAIL: TestGeoloc (0.00s)
    .../read_test.go:23:
        	Error Trace:	read_test.go:23
        	Error:      	Expected nil, but got: &errors.errorString{s:"NETCDF:\"/home/thomascoquet/product.nc\":/PRODUCT/methane_mixing_ratio_bias_corrected: No such file or directory"}
        	Test:       	TestGeoloc

What is the right syntax to open a subdataset? Reading the doc:

name may be a filename or any supported string supported by gdal (e.g. a /vsixxx path,
the xml string representing a vrt dataset, etc...)

I was expecting it to work.
An example file:
wget --content-disposition --continue --user=s5pguest --password=s5pguest "https://s5phub.copernicus.eu/dhus/odata/v1/Products('3fcea3d2-daab-4fa0-a09d-91b52f20ba10')/\$value" -O product.nc
Thanks!

What happens if you open:
ds, err := godal.Open(`NETCDF:/home/thomascoquet/product.nc:/PRODUCT/methane_mixing_ratio_bias_corrected`)

i.e. without the "

Ok, found the culprit. I had left in my code all the driver registrations for HDF4 and 5 (I commented it in the issue to make everything clearer).
It appears that I need to follow exactly the order of https://github.com/OSGeo/gdal/blob/master/gdal/frmts/gdalallregister.cpp
	godal.RegisterRaster(
		godal.DriverName("GMT"),
		godal.DriverName("netCDF"),
		godal.DriverName("HDF4"),
		godal.DriverName("HDF4Image"),
		godal.DriverName("KEA"),
		godal.DriverName("BAG"),
		godal.DriverName("HDF5"),
		godal.DriverName("HDF5Image"),
	)

In particular:
	godal.RegisterRaster(
		godal.DriverName("KEA"),
		godal.DriverName("GMT"),
		godal.DriverName("netCDF"),
	) // -> does not work
	godal.RegisterRaster(
		godal.DriverName("GMT"),
		godal.DriverName("netCDF"),
		godal.DriverName("KEA"),
	) // -> works


Note for required go version on readme

Hi.
I'm using your gofakeit in my cli open source, the flog
Today, I've tried the installing the flog in centos:latest docker, but go get failed with undefined: math.Round error message. Yes, the Round method is available since Go 1.10. I didn't know it.
So, I think it is good idea that notes the required Go version on README to let users know the required Go version to use gofakeit.
How about you?

Oh good catch! Ill probably see if i can work it back so lower versions can use it.

Ok i replaced math.Round with math.Floor just cause the package itself is good for the earliest version of go. So i updated it and added v1.0 to travis to test against. So we should be good. v3.11.5
Thanks
P.S. It looks like you use a good amount of gofakeit in your package it would be really nice if you could put in your readme your use of gofakeit so it can help get some more eyes on the package.