/bounty should trigger an entry to a google doc

To keep things simple, before we have bounty-dispenser, we need a way to log all the bounties somewhere so we can track them effectively
@devsargam do u think this is easy to do?

The ckoudflare fn can also post it on discord/tweet out at https://twitter.com/Techalerts101

The ckoudflare fn can also post it on discord/tweet out at https://twitter.com/Techalerts101

can other people try to build this as well or it is assigned to sargam only?

@hkirat yep very easy doable 100%

@piyushhsainii do u want to do it?
@devsargam can u guide them?

feel free to divide

yeah can guide ofc

@hkirat can u assign @piyushhsainii. I'll help if needed

@piyushhsainii do u want to do it? @devsargam can u guide them?

Happy to contribute

@hkirat @devsargam  one question , i need to create a section in daily code where you can log the bounty details that will trigger the google doc ,right?

Need to do some research here. I am guessing the core bot at https://github.com/code100x/github-sol-auto-dispenser is needed.
But I think should be a generic one to be used in cms, daily and chess too.

@piyushhsainii sir I want to work on this enhancement sir can you give me a chance to work on it if not no problem sir you carry on.

Hey @Ameerjafar. @piyushhsainii has already started the work can u work on something else for now?

ok  @devsargam sir

@hkirat the automation-bot functionality is done, just need to add google doc now, sir can i use google sheet API for that? or strictly cloudfare is required?

any API is fine
We need this asap can u PR whatever u have right now @piyushhsainii ?

please acitvely open draft PRs so we can partially review it

Hey @hkirat should this be a part of daily code or a standalone project?

Probably standalone yeah

https://github.com/code100x/bounty-hook

Can u create a repo sth like bounty-tracker with just a readme @hkirat

Probably standalone yeah

The Automation-Bot setup is done

Automatic Discord Log is also setup

Should i PR this for now?

Can't this be integrated with the bounty-dispenser only?
I was thinking of working on this, where the owner has the track of all the bounties on his dashboard in the bounty-dispenser.
@devsargam @hkirat @piyushhsainii

Yeah bounty dispenser is better but this should work as an intermediate solution as a lot of bounties are being dispatched right now hard to keep up

we will need some sort of manual intervention in bounty bot.
Its a lil unsafe having a private key on an aws server

Also can get tricky in taxes if we do it via sol

@devsargam https://github.com/code100x/bounty-hook

Can't we do this on Zapier? Or is it expensive?

No, github webhook hitting a hono app deployed on cloudflare fn should do it

@hkirat 'can you give me few hours, actually i forgot to push the code , bot setup and discord logging functionality is done, i am in college right now, have exam today, Sorry for the inconvenience. i'll raise PR around 2pm if thats manageable

@piyushhsainii still working on this?

This is done

please close the issue then


rotated by +90° or -90° on the X axis

Exporting .blend file from #373 (by @swift502)
Seems to be correctly oriented on https://sandbox.babylonjs.com/
but badly on https://gltf-viewer.donmccurdy.com/
@donmccurdy Do you know if this is a known issue
@swift502 Can you please confirm that this is OK in babylonjs ?

Yes it's fine in Babylon.
After inspecting the imported model, if I check the +Y up option in the export options, the scene gltf scene seems to be rotated on the X axis by -180° (PI/2).

Shouldn't it be 90 (PI/4)?
If I don't check the +Y up option, rotation is (0, 0, 0), which is probably correct right?

I made some progress.
First I tried rotating the character manually, but it would rotate back again with the start of a new animation.
Video
But then I fixed the issue by rotating my the root bone of my skeleton in edit mode, so that it's Y axis is pointing up.

So maybe Babylon ignores animation of the root bone? Or it's overriding the root bone rotation?

Taking the .glb file attached to the original comment in https://github.com/KhronosGroup/glTF-Blender-IO/issues/373, I see the same model orientation when playing the Idle animation in both viewers... the issue is very obvious in @swift502's video of course. How should I reproduce that?

@donmccurdy I can reproduce using the .blend file of #373, and exporting it

I can also reproduce using both 2.81 and 2.82 Alpha.

Filed as https://github.com/mrdoob/three.js/issues/18526.

@swift502 this isn't a real fix of course, but as pointed out in mrdoob/three.js#18526, the following modification in threejs does seem to fix the animations:
const root = model.getObjectByName('root');
root.rotation.set(0,0,0);

We've confirmed this is a bug in three.js (link above). I'll close this issue out.

Will be fixed in upcoming threejs release r114, by https://github.com/mrdoob/three.js/pull/18543.


De-Duplication based on 2 or more properties

Is it possible to filter duplicates based on 2 properties instead of just 1 or the whole payload.
For example I have a agent where the payload maybe same except for changes in the date and/or url. But the title and author is the same. So if Author and Title match it is a duplicate.

Yes it works thanks


Storybook resolution

We can require the src rather than lib in storybook so that watch isn’t needed

https://t.co/ye0KsYQpx8

https://github.com/webpack/webpack/issues/7058


kubevirt.io demos indicate to use old version v0.8.0

The demos currently indicate to use version v0.8.0.  Currrent is v0.95.0 with v0.10.0 in development.
Please update the demo pages to reflect current versions.

Refer to https://github.com/kubevirt/kubevirt.github.io/issues/160


[#624] Videos are not playing, because they are served from HTTP, Mad…

…e changes in watch.html.haml file to serve videos over HTTPS.

I'm having the same issue, videos do not play on Chrome unless loading from HTTP is allowed.


buster armhf, arm64, i386 builds failing for the past 5 days

Hi there,
Since the new images were pushed 5 days ago, our builds that use this as a base have started falling over with:
E: Sub-process /usr/sbin/dpkg-preconfigure --apt || true returned an error code (100)
E: Failure running script /usr/sbin/dpkg-preconfigure --apt || true

A failed build for reference: https://github.com/pi-hole/docker-pi-hole/runs/3187894833
I've also tried switching our build config to use the non slim images, but still nothing.
Were there any special changes that happened that would cause this?

Interestingly, if I revert to an earlier commit, in which a call to which exists before the call to apt install ... we get the following error:

missing which? or sh, even?

The more I play with it, the more I think it's probably something we're doing wrong on our end.... Though it was working before :)

Narrowed it down to an issue with apt being caused by installing S6 Overlay. Which we've always had as part of our build/install script, and it worked before the latest [arch]-buster-slim images.  For what it's worth, the stretch images are fine... I've not yet tried bullseye Steps to reproduce here:
Adam@Adam-PC:/# docker run -it --rm multiarch/debian-debootstrap:i386-buster-slim
root@ff71d32bab48:/# S6_VERSION=v<IP_ADDRESS>
root@ff71d32bab48:/# S6_ARCH=x86
root@ff71d32bab48:/# S6OVERLAY_RELEASE="https://github.com/just-containers/s6-overlay/releases/download/${S6_VERSION}/s6-overlay-${S6_ARCH}.tar.gz"
root@ff71d32bab48:/# apt update
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org buster/updates/main i386 Packages [371 kB]
Get:5 http://deb.debian.org/debian buster/main i386 Packages [10.7 MB]
Get:6 http://deb.debian.org/debian buster-updates/main i386 Packages [17.1 kB]
Fetched 11.3 MB in 1s (12.1 MB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@ff71d32bab48:/# apt install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  ca-certificates krb5-locales libcurl4 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
  libldap-2.4-2 libldap-common libnghttp2-14 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db libssh2-1
  libssl1.1 openssl
Suggested packages:
  krb5-doc krb5-user libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap
  libsasl2-modules-otp libsasl2-modules-sql
The following NEW packages will be installed:
Setting up libsasl2-2:i386 (2.1.27+dfsg-1+deb10u1) ...
Setting up libssh2-1:i386 (1.8.0-2.1) ...
Setting up libkrb5-3:i386 (1.17-3+deb10u2) ...
Setting up openssl (1.1.1d-0+deb10u6) ...
Setting up libldap-2.4-2:i386 (2.4.47+dfsg-3+deb10u6) ...
Setting up ca-certificates (20200601~deb10u2) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/i386-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
Updating certificates in /etc/ssl/certs...
137 added, 0 removed; done.
Setting up libgssapi-krb5-2:i386 (1.17-3+deb10u2) ...
Setting up libcurl4:i386 (7.64.0-4+deb10u2) ...
Setting up curl (7.64.0-4+deb10u2) ...
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for ca-certificates (20200601~deb10u2) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root@ff71d32bab48:/# curl -L -s $S6OVERLAY_RELEASE | tar xvzf - -C /

After running the above, note that apt is no longer happy:
root@ff71d32bab48:/# apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Hit:2 http://deb.debian.org/debian buster-updates InRelease
Hit:3 http://security.debian.org buster/updates InRelease
Err:1 http://deb.debian.org/debian buster InRelease
  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease
Err:2 http://deb.debian.org/debian buster-updates InRelease
  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease
Err:3 http://security.debian.org buster/updates InRelease
  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/security.debian.org_dists_buster_updates_InRelease
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian buster InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian buster-updates InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org buster/updates InRelease: Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/security.debian.org_dists_buster_updates_InRelease
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/deb.debian.org_debian_dists_buster_InRelease
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/deb.debian.org_debian_dists_buster-updates_InRelease
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease  Couldn't execute /usr/bin/apt-key to check /var/lib/apt/lists/security.debian.org_dists_buster_updates_InRelease
W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code

@lafin , I've managed to spend some time on this and have fixed it (for us at least) by changing the runs-on in the github actions to ubuntu-18.04 and using the bionic universe - which is what you were using on Travis.
Not sure if you want to make that change here or not, so we'll just keep our own fork for now.
Cheers


knife upload not respecting cookbook chefignore file

Ohai!
It seems in recent version of chef that knife (and berks) no longer respect the chefignore file in a cookbook directory when uploading cookbooks to a chef server.
I use chef-guard to enforce a cookbook upload contains the same content as it's supermarket artifact when freezing.  It does this by fetching the artifact from the supermarket and compare what is uploaded by knife to the artifact for differences.
When trying to freeze with recent chef versions I now receive errors:
$ knife cookbook upload certificate_services --freeze
Uploading certificate_services [0.1.0]
ERROR: Precondition Failed
Response:
=== Cookbook Compare errors found ===
Your upload contains more files than the source cookbook:
 - Gemfile
 - LICENSE
 - chefignore
 - tags

Source: https://supermarket.chef.io/api/v1/cookbooks/certificate_services/versions/0.1.0/download
=====================================

$ rm Gemfile LICENSE chefignore tags
$ knife cookbook upload certificate_services --freeze
Uploading certificate_services [0.1.0]
ERROR: Precondition Failed
Response:
=== Cookbook Compare errors found ===
Your upload contains more files than the source cookbook:
 - .gitignore
 - .kitchen.yml
 - .rspec
 - Berksfile

Source: https://supermarket.chef.io/api/v1/cookbooks/certificate_services/versions/0.1.0/download
=====================================

$ rm .gitignore .kitchen.yml .rspec Berksfile
$ knife cookbook upload certificate_services --freeze
Uploading certificate_services [0.1.0]
ERROR: Precondition Failed
Response:
=== Cookbook Compare errors found ===
Your upload contains more files than the source cookbook:
 - Berksfile.lock

Source: https://supermarket.chef.io/api/v1/cookbooks/certificate_services/versions/0.1.0/download
=====================================

$ rm Berksfile.lock
$ knife cookbook upload certificate_services --freeze
Uploading certificate_services [0.1.0]
Uploaded 1 cookbook.

All mentioned files are matched in my chefignore which leads me to believe something has changed in the cookbook upload process.

Could you please let me know the Chef version you are using? I tried on the latest version of Chef and it's working fine for me. Also please provide me knife configrations and chefignore file content.
Output:
Knife cookbook upload:
ABC@PUN-DSK-105:~/Chef/Employee/chef-repo$ knife cookbook upload certificate_services --freeze
Uploading certificate_services [0.1.0]
Uploaded 1 cookbook.

Chef -v
Chef Development Kit Version: 3.7.23
chef-client version: 14.10.9
berks version: 7.0.7
kitchen version: 1.24.0
inspec version: 3.4.1

Hi,
As requested:
Chef Development Kit Version: 3.6.57
chef-client version: 14.8.12
delivery version: master (5fb4908da53579c9dcf4894d4acf94d2d9ee6475)
berks version: 7.0.7
kitchen version: 1.24.0
inspec version: 3.2.6

Interestingly when I download the artifact from the supermarket and from the Chef server they both look the same, neither contains the files that are mentioned above so not sure why Chef-Guard is complaining that knife is uploading more files when comparing to the supermarket artifact.
I was under the assumption that chefignore was being ignored when the upload was happening using knife, but maybe all files are uploaded the chef server disregards what's in the chefignore?
I'll do some more tests and get back to you - thanks for the response!

Hi I tried working on chef 3.6.57 and it works fine for me here too.

I don't think you will see anything if you dont have chef-guard installed on your chef server.
http://xanzy.io/projects/chef-guard/introduction/overview.html

Hi @vijaymmali1990,
I've been digging into this a bit more and noticed there is a regression.
Testing with the latest release of the HAProxy cookbook:
$ knife cookbook upload haproxy --freeze -VVV >! /tmp/haproxy_upload.txt
Uploading haproxy        [6.4.0]
ERROR: Precondition Failed
Response:
=== Cookbook Compare errors found ===
Your upload contains more files than the source cookbook:
 - .envrc
 - .mdlrc
 - .yamllint
 - CODE_OF_CONDUCT.md
 - Dangerfile
 - LICENSE
 - chefignore

Source: https://supermarket.chef.io/api/v1/cookbooks/haproxy/versions/6.4.0/download
=====================================

The chefignore file is indeed being ignored, thus knife tries to upload more files than are in the supermarket which triggers the above.
$ grep chefignore /tmp/haproxy_upload.txt
TRACE: No chefignore file found at /Users/shoekstra/chefignore no files will be ignored
TRACE: No chefignore file found at /Users/shoekstra/cookbooks/cookbooks/chefignore no files will be ignored

The two locations checked should actually be /Users/shoekstra/cookbooks/haproxy/chefignore and /Users/shoekstra/cookbooks/chefignore
Thanks,
Stephen

@shoekstra @Plork
Hitting the same issue.  We have a mono-repo.
We have two cookbook folders
com == community cookbooks
ours == ours or our wrapper cookbooks
IE
/path/to/repo/com/nginx
/path/to/repo/ours/wrapper_nginx

-VVV output has like
TRACE: No chefignore file found at /path/to/repo/com/path/to/repo/ours/chefignore

So it never traverses into each cookbook folder.

Tested with 14.8.12, 14.11.21 and latest 14.12.9

Hey @knightorc,
Just tested with 15.0.300 and issue still exists.  I have a case open with Chef support about this so hope to get it sorted soonest 👍

Fixed in #8925


SingleEventRun requires path for injection

SingleEventRun requires path for injection, which is not necessary.

Do you mean the instantiation of path here in the run is not necessary? https://github.com/kazewong/jim/blob/94c34db26783f4b8d3e032ba75e2ed9fea9b578f/src/jimgw/single_event/runManager.py#L68

For injection, the path is not used anywhere I think.

Solved with #103.


Installation error

Hi,
I am trying to install the FedTree and I face following error after running make - j:
[ 99%] Linking CXX shared library ../../lib/libft_grpc_proto.so
[ 99%] Built target ft_grpc_proto
[ 99%] Linking CXX shared library ../../lib/libFedTree.so
/usr/bin/ld: /usr/local/lib/libntl.a(ZZ.o): relocation R_X86_64_TPOFF32 against _ZN3NTLL8iodigitsE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libntl.a(fileio.o): relocation R_X86_64_TPOFF32 against _ZZN3NTL8UniqueIDB5cxx11EvE37_ntl_hidden_variable_tls_local_ptr_ID' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libntl.a(lip.o): relocation R_X86_64_TPOFF32 against _ZZ10_ntl_gswapPP17_ntl_gbigint_bodyS1_E36_ntl_hidden_variable_tls_local_ptr_t' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libntl.a(tools.o): relocation R_X86_64_TPOFF32 against symbol _ZN3NTL16ErrorMsgCallbackE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: /usr/local/lib/libntl.a(thread.o): relocation R_X86_64_TPOFF32 against _ZZN3NTL15CurrentThreadIDB5cxx11EvE37_ntl_hidden_variable_tls_local_ptr_ID' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /usr/local/lib/libntl.a(BasicThreadPool.o): relocation R_X86_64_TPOFF32 against _ZZN3NTLL49_ntl_hidden_function_tls_access_NTLThreadPool_stgEvE52_ntl_hidden_variable_tls_local_ptr_NTLThreadPool_stg' can not be used when making a shared object; recompile with -fPIC
collect2: error: ld returned 1 exit status
make[2]: *** [src/FedTree/CMakeFiles/FedTree.dir/build.make:510: lib/libFedTree.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:5489: src/FedTree/CMakeFiles/FedTree.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
I will appreciate it if you could help me to solve the problem

Hi @mahmoudsajjadi ,
Did you set SHARED=on when installing ntl? See below for an example.
wget https://libntl.org/ntl-11.4.4.tar.gz
tar -xvf ntl-11.4.4.tar.gz
cd ntl-11.4.4/src
./configure SHARED=on
make
make check
sudo make install

Hi @QinbinLi ,
Thank you and that works.
Another question is that is python version only works with `GLIBC_2.32'? since I saw the following error after trying to run python examples.
Traceback (most recent call last):
File "/c/python/fedtree-2/FedTree/python/examples/regressor_example.py", line 1, in
from fedtree import FLRegressor
File "/c/python/fedtree-2/FedTree/python/examples/fedtree.py", line 36, in
fedtree = CDLL(lib_path)
File "/home/mahmoud/anaconda3/lib/python3.9/ctypes/init.py", line 382, in init
self._handle = _dlopen(self._name, mode)
OSError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /c/python/fedtree-2/FedTree/python/examples/../../build/lib/libFedTree.so)

Hi @QinbinLi
Firstly I installed FedTree on Ubuntu 20.04.3 LTS (ldd (Ubuntu GLIBC 2.31-0ubuntu9.9) 2.31) based on the tutorial. After complete installation, then when I am trying to install it on Python 3.9.7 it shows the following error:
#Traceback (most recent call last):
File "", line 1, in
File "/home/mahmoud/anaconda3/lib/python3.9/site-packages/fedtree-1.0.4-py3.9.egg/fedtree/init.py", line 2, in
from .fedtree import *
File "/home/mahmoud/anaconda3/lib/python3.9/site-packages/fedtree-1.0.4-py3.9.egg/fedtree/fedtree.py", line 43, in
fedtree = CDLL(lib_path)
File "/home/mahmoud/anaconda3/lib/python3.9/ctypes/init.py", line 382, in init
self._handle = _dlopen(self._name, mode)
OSError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /mnt/c/python/fedtree-2/FedTree/build/lib/libFedTree.so)
On the other hand, I tried to install FedTree on Ubuntu 22.04, I got the following error after cmake command in the installation:
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
Complie without CUDA
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5") found components: CXX
-- Populating grpc
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mahmoud/python/fedtree-2/FedTree/build/_deps/grpc-subbuild
[ 11%] Performing update step for 'grpc-populate'
[ 22%] No patch step for 'grpc-populate'
[ 33%] No configure step for 'grpc-populate'
[ 44%] No build step for 'grpc-populate'
[ 55%] No install step for 'grpc-populate'
[ 66%] No test step for 'grpc-populate'
[ 77%] Completed 'grpc-populate'
[100%] Built target grpc-populate
-- <IP_ADDRESS>
CMake Deprecation Warning at build/_deps/grpc-src/third_party/zlib/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument  value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GMPXX_LIB
linked by target "FedTree_DIST" in directory /home/mahmoud/python/fedtree-2/FedTree/src/FedTree
linked by target "FedTree" in directory /home/mahmoud/python/fedtree-2/FedTree/src/FedTree
-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.


feat(auth): Add authentication module (replit.auth)

Why
I saw that there was a Node.js module for this, and a template on Replit for it, but yet no proper module for it.
What changed

Added the authentication module, can be used with either:

from replit.auth import getUserInfo

# I understand this might not be the best way but it works
from replit import getUserInfo

Updated the pyproject version
Slightly updated the .gitignore file to ignore Replit-specific config files, such as .replit and replit.nix

Test plan
I did test this in a different Repl, which may be a bit annoying to test with - I can setup a test file if needed however.
Rollout

[X] This is fully backward and forward compatible

Will do - the code formatting is because my Replit settings are for 2 spaces instead of 4 (which this repo uses)

Interesting, will update
Ditto
REPLIT_HEADERS is a constant, yes.
Smart.
I do understand that's shorter, I just feel like that's easier to read
Again, smart. I normally code in JS so I do [y, z].includes(x) but that works

@DaInfLoop thank you for this. Would you mind adding a test for this as well?

Will do later on, currently not anywhere near my PC

thanks for improving the code, but black is the "uncompromising" code formatter used in this repo and not yapf. Unintended behaviour you would've spotted if formatting using black: __all__ has to be set to Sequence[str], so line 7 should be:
__all__ = ("getUserInfo",)

It is the commas that define a tuple, not the brackets. Brackets are just used to delimit the tuple where needed (e.g., within a function call) / to make the code more readable. Also, this might be intended but the attributes will never be set to None because all auth headers are always present but are just set to "" when unspecified

and of course i had to see this after i added the tests 🙄

@airportyh added tests 👍

@airportyh added tests 👍

It's failing in CI for some reason. I may be able to take a look this week.

I ran the tests are get:
$ poetry run coverage run -m unittest
Warning: error initializing database. Replit DB is not configured.
EEFE
======================================================================
ERROR: tests.test_database (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_database
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/toby/replit/replit-py/tests/test_database.py", line 7, in <module>
    from replit.database import AsyncDatabase, Database
  File "/home/toby/replit/replit-py/src/replit/__init__.py", line 15, in <module>
    from .auth import getUserInfo
ImportError: cannot import name 'getUserInfo' from 'replit.auth' (/home/toby/replit/replit-py/src/replit/auth/__init__.py)

======================================================================
ERROR: tests.test_identity (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.test_identity
Traceback (most recent call last):
  File "/usr/lib/python3.10/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.10/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/home/toby/replit/replit-py/tests/test_identity.py", line 8, in <module>
    import replit.identity
  File "/home/toby/replit/replit-py/src/replit/__init__.py", line 15, in <module>
    from .auth import getUserInfo
ImportError: cannot import name 'getUserInfo' from 'replit.auth' (/home/toby/replit/replit-py/src/replit/auth/__init__.py)

======================================================================
ERROR: test_check_user_data (tests.test_replauth.TestAuth)
Test to see if the user data is correct.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/toby/replit/replit-py/tests/test_replauth.py", line 49, in test_check_user_data
    self.assertDictEqual(user.__dict__, {
AttributeError: 'NoneType' object has no attribute '__dict__'

======================================================================
FAIL: test_check_proper_auth (tests.test_replauth.TestAuth)
Test get_user_info.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/toby/replit/replit-py/tests/test_replauth.py", line 40, in test_check_proper_auth
    self.assertIsInstance(authed, User)
AssertionError: None is not an instance of <class 'replit.auth.User'>

----------------------------------------------------------------------
Ran 4 tests in 0.001s

Some of them are probably trivial errors, like matching the spelling of getUserInfo and get_user_info.

Ah I see. Sorry for the last response aswell, haven't checked GH in a while. Will fix.

I am going to close this due to inactivity.


Fixes #448

Added skip options to some profiles as they are available on v12 and up. Some profiles have added properties in v12, those needed to be changes so the tested properties are available on both versions.
This needs to go in before my other PR #441

I think we should add version support ASAP, then test appropriately.

Reassigning to @zancas. You may need to assist @wojtek0806 in getting the branches straight since development changed.


Implemented MoeFutureTask for convinience

Typically, when you want to create a timed-task and cancel it, you had to physically find the task, a scheduler that has been used, and invoke either unregister(MoeTask task) or remove(Predicate<MoeTask> check) from MoeScheduler.java. While this is a perfectly valid way to cancel the task, it is often tedious and prone to errors, particularly when you are using multiple schedulers. To combat this, I have created a new interface MoeFutureTask that inherits from MoeTask that allows for timed-tasks to be cancelled by simply invoking cancel() method. This way, one do not need to search for scheduler that has been registered on. Additionally, invoking registerDelayed method from MoeScheduler.java now returns MoeFutureTask that can be used to be stored as a variable and cancelled whenever desired.
Example usage:
Before
var task = new MoeDelayedTask((delta) -> doSomething(), 10000);
scheduler.register(task);
//After some time....
scheduler.unregister(task);

After
var task = scheduler.registerDelayed((delta) -> doSomething(), 10000);
//After some time...
task.cancel() //Returns true if successful

If the task needs to be cancelled, would a void cancel() { this.done = true; } not suffice? All tasks marked with a done modifier are automatically removed in the basic scheduler implementation(see here).
If you don't want the task to MoeTask::update you would have to then check inside if this.done was set.
I hesitate on accepting this pull because this would require MoeScheduler::remove to not use a concurrency lock. While I don't use locks for this project(or in the example implementation) there have been use cases in my personal projects.
Let me know if the provided solution would help.

Yeah, I guess your void cancel() { this.done = true; } solution will do pretty much the same task that I was looking for with only exception of missing a return on whether the task was really removed or not. But reading through the solution again, now I agree with you that missing a return statement is definitely not worth as much as not having a concurrency lock, so I think that your approach is a good compromise :)


whl and deb links

Most of the specific versions of the .whl and .deb files mentioned in the dot files and readme respectively don't seem to be on the websites mentioned in the readme.
So I'm just going to use the ones from pytorch.org, developer.download.nvidia.com and pythonhosted.org. Some versions I couldn't find at all, so am trying the closest ones available on pypi.org.

That appeared to install, and seems to be running. (But now there's a problem loading localhost so I can't check if it actually trains, but bored of it so give up.)

(english is not my first language)
I can found .tensorflow, .torch, .torchvision,
But not xformers, and i need it (only 8G vRAM)
about only listen localhost,u can easy use "socat" to other <IP_ADDRESS> ports
nomal use is change the .py or change running parameters

In the end I used this version and tried to package xformers by myself and failed

https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/linux/xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl

In the libs file, use xxxxx8_8.5.3-1+cuda11.8

use "docker-compose --profile kohya up --build" to build the container

Build it's OK，Follow-up will check how to run

Hi!
@kenneth104 @usernameisntemail, you can indeed install the nearest versions available: the xformer specially make reference to the git hash for the bravest who wants to build it by themselves.
You need to run the command with the docker compose --profile kohya up --build which specify the profile.
The command is in the homepage of the project!

For those who can not access once launched, please use http://<IP_ADDRESS>:7680 (as in the project homepage).
DO NOT use http://localhost:7680 as this is NOT equivalent to <IP_ADDRESS> inside docker therefor it won't work.

about only listen localhost,u can easy use "socat" to other <IP_ADDRESS> ports nomal use is change the .py or change running parameters

I may try on a different IP4. I'm using wsl2, which isn't very good at localhost judgiing by people's comments.

For those who can not access once launched, please use http://<IP_ADDRESS>:7680 (as in the project homepage). DO NOT use http://localhost:7680 as this is NOT equivalent to <IP_ADDRESS> inside docker therefor it won't work.

With mine (docker on ubuntu on wsl on windows10 )  <IP_ADDRESS> gives a connection refused error and localhost gives a not found error.
I can ping and wget the web interface index html from another shell inside wsl, probably I could install a browser to the wsl ubuntu instance (haven't tried).
Can't get to localhost from windows host's browser. Maybe a wsl2 / windows problem but learning how to troubleshoot that sounds boring, so probably try to do it a different way.

@martinobettucci
I'm use "docker compose --profile kohya up --build",But the problem still persists
check the "docker-compose.yml" and the has been built image "kohya-docker-kohya"
It's loss some command  or file is stored in the wrong location when building?
Thank you very much for your project
[+] Building 3.4s (26/26) FINISHED
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 32B                                                                                0.0s
=> resolve image config for docker.io/docker/dockerfile:1                                                                                2.5s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:39b85bbfa7536a5feceb7372a0817649ecb2724562a38360f4d6a7782a409b14                   0.0s
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 32B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> [internal] load metadata for docker.io/nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04                                                            0.8s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 862B                                                                                0.0s
=> [ 1/17] FROM docker.io/nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04@sha256:eb5b849e629ecdcc924d0e0eb2405377792d7ca24d3bd627cc5792e763bff977    0.0s
=> CACHED [ 2/17] RUN <<EOF (# apt for general container dependencies...)                                                                        0.0s
=> CACHED [ 3/17] RUN <<EOF (# python...)                                                                                0.0s
=> CACHED [ 4/17] COPY ./data/libs/.deb /docker/                                                                                0.0s
=> CACHED [ 5/17] RUN <<EOF (# cuda...)                                                                                0.0s
=> CACHED [ 6/17] WORKDIR /koyah_ss                                                                                0.0s
=> CACHED [ 7/17] RUN <<EOF (git clone https://github.com/P2Enjoy/kohya_ss.git /koyah_ss...)                                                     0.0s
=> CACHED [ 8/17] COPY ./data/.whl /docker/                                                                                0.0s
=> CACHED [ 9/17] COPY ./scripts/install-container-dep.sh ./data/*-requirements.txt /docker/                                                     0.0s
=> CACHED [10/17] RUN <<EOF (# tensorflow, torch, torchvision, torchaudio...)                                                                    0.0s
=> CACHED [11/17] RUN <<EOF (# xformers...)                                                                                0.0s
=> CACHED [12/17] RUN <<EOF (# deepspeed...)                                                                                0.0s
=> CACHED [13/17] RUN <<EOF (# Build requirements...)                                                                                0.0s
=> CACHED [14/17] RUN <<EOF (# jax/tpu...)                                                                                0.0s
=> CACHED [15/17] RUN <<EOF (# fix LDCONFIG...)                                                                                0.0s
=> CACHED [16/17] COPY ./scripts /docker/                                                                                0.0s
=> CACHED [17/17] RUN <<EOF (chmod +x /docker/{run,mount,debug}.sh...)                                                                           0.0s
=> exporting to image                                                                                0.0s
=> => exporting layers                                                                                0.0s
=> => writing image sha256:e890ace1af0e4010e9f158051b5ab0204e8789172b73631e96aab20b3137fe67                                                      0.0s
=> => naming to docker.io/library/kohya-docker-kohya                                                                                0.0s
[+] Running 0/0
⠋ Container kohya-docker-kohya-1  Creating                                                                                0.0s
Error response from daemon: No command specified

Surprise, when I rebuilt today, the new docker image was automatically used and it worked successfully
When building, you need to manually pull the base docker image
(docker pull nvidia/cuda:11.6.2-cudnn8-devel-ubuntu20.04)
(it's time-sensitive)
Build it's OK，Follow-up will check how to run

find some possible bugs in Dockerfile,still doesn't work
"COPY ./scripts/ /docker/" > "COPY ./scripts/*.sh /docker/"
"EXPOSE 7860" > "EXPOSE 7680"

Hello @kenneth104,
thank you for your feedback!

For those who can not access once launched, please use http://<IP_ADDRESS>:7680 (as in the project homepage). DO NOT use http://localhost:7680 as this is NOT equivalent to <IP_ADDRESS> inside docker therefor it won't work.

With mine (docker on ubuntu on wsl on windows10 ) <IP_ADDRESS> gives a connection refused error and localhost gives a not found error.
I can ping and wget the web interface index html from another shell inside wsl, probably I could install a browser to the wsl ubuntu instance (haven't tried).
Can't get to localhost from windows host's browser. Maybe a wsl2 / windows problem but learning how to troubleshoot that sounds boring, so probably try to do it a different way.

I'm sorry but we don't have Windows at all nor we plan to have any; this repository if for pure linux only: I'm sorry to disappoint you :-(

For windows users: https://github.com/serpotapov/Kohya_ss-GUI-LoRA-Portable


Revert back to original smon + blacken and logging

Fixes https://github.com/con/duct/issues/144
Some chatgpt powered refactoring early on erroneously altered and broke the gpu-checking code.

@yarikoptic separated the error handling like we discussed, feel free to re-review.


Bidirectional File.byLine range

bearophile_hugs reported this on 2014-10-25T16:28:03Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=13657
CC List

bugzilla (@WalterBright)

Description
Currently this works as expected with dmd 2.067alpha:

void main() {
    import std.stdio: writeln, File, stdin;
    import std.range: retro;
    import std.array: array;
    "test.d".File.byLine.array.retro.writeln;
}

But this:

void main() {
    import std.stdio: writeln, File, stdin;
    import std.range: retro;
    "test.d".File.byLine.retro.writeln;
}

test.d(4,25): Error: template std.range.retro cannot deduce function from argument types !()(ByLine!(char, char)), candidates are:
...\dmd2\src\phobos\std\range.d(1966,6):        std.range.retro(Range)(Range r) if (isBidirectionalRange!(Unqual!Range))

Perhaps File.byLine and File.byLineCopy can support reverse iteration of the lines of a file.

bugzilla (@WalterBright) commented on 2020-01-03T13:47:05Z
Just a note: byLine.array is not supposed to work anyway. See issue 6495.

But the main idea, namely to make byLine and byLineCopy bidirectional ranges, is still valid.


Document WalletManagement in xaml

closed with attached merge
7-document-walletmanagement-in-xaml
KryptomineCH/Chia-Client-API


fix(signer): fix signer in WarpContracts - update tests

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Multiple textured layers

This enables maps to have more than 1 texture per layer

Textures are following its indexation as texture1, texture2 and so on, because the Metal renderer still has not support for texture arrays, and 4 textures limit is a good starting point.

Thanks, but with this patch, many tests rendering result incorrect

such as we can't see any trees:

My apologies, I have to review code again. Thanks!

My apologies, I have to review code again. Thanks!

@balancedwolf
Are you working on it?

@halx99
Maybe moving to discussion is better now?
Add to ideas?

@aismann Done!

@aismann Done!
@DelinWorks
Thats why I gave you this part ;)
Good work!


add catch-all redirect to root docs

Currently if you go to https://www.kubeflow.org/docs/test you get a 404 page.
We should add a catch-all redirect which targets: https://www.kubeflow.org/docs/

@RFMVasconcelos @shannonbradshaw do you want to pick this up?

/priority p1

@Arhell do you want to pick this up?
/priority p1

/assign

This has been fulfilled by https://github.com/kubeflow/website/pull/2861
/close


Adds timezone and duration support for Fugit:Nat

Many thanks!

@cristianbica Thanks again for your contribution.
Although, I somehow regret including the "duration" aspect of Fugit::Nat.
In the context of rufus-scheduler from where fugit comes, "every 5 minutes" is "programmed" as scheduler.every('5m') { do_something() } not as scheduler.cron('*/5 * * * *').
I am wondering if fugit Fugit::Nat.parse('every 5 minutes') shouldn't yield 300 (seconds) instead of a Fugit::Cron instance, unless explicitely forced into a cron, Fugit::Cron.parse('every 5 minutes') or Fugit::Nat.parse('every 5 minutes', cron: true) or Fugit.parse(('every 5 minutes', cron: true).
I'm thinking about wiring this "natural" parsing into rufus-scheduler 3.5.2, so for me complying with rufus-scheduler is important.
What is your context? Are you using fugit standalone? What are your needs?

I am also tempted to let Fugit::Nat returns an array of results instead of a single result.
Fugit::Nat.parse('every day at five thirty and six twenty')
  # ==> [ <Fugit::Cron "30 5 * * *">, <Fugit::Cron "20 6 * * *"> ]

Hey @jmettraux
I'm working at a simple gem I need to schedule recurring ActiveJobs. The idea of the gem is to be a wrapper for rufus and for each job I'd declare the recurrence and at runtime a separate rufus process needs to be run.
The recurrence declaration I want to support is:
class TestJob < ApplicationJob
  repeat "every 2 hours",
         "0 4 * * * America/New_York",
         "every Monday at 4 am on America/Los_Angeles"
end

I'm not too sure about the outcome of this PR. There's a subtle difference between every 5 minutes and */5 * * * * which is not straight forward to users. On the other hand Fugit::Nat.parse('every 5 minutes') yielding 300 it's not very "natural" too me because of the every word.
If it were up to me I wouldn't support multiple recurrences in the same call. This adds a level of complexity to the whole thing which could by easily be solved by users scheduling the same job twice.
I'm also a but worried about rufus knowing too much ( :) ). Given that you're extracting the recurrence logic into fugit then rufus shouldn't be aware of cron or natural syntax. Fugit should return a Fugit::Recurrence object which will handle the recurrence logic for rufus. Rufus should provide only a base public API .schedule(some_recurrence_string). All the other methods are just syntax sugar (.in("5 minutes") is actually schedule("in 5 minutes").  It will be challenging encapsulating the recurrence logic into Fugit::Recurrence but cron parsing and natural language parsing are a bit messy and should be contained.

Hello @cristianbica,

There's a subtle difference between every 5 minutes and */5 * * * * which is not straight forward to users.

Indeed.

If it were up to me I wouldn't support multiple recurrences in the same call. This adds a level of complexity to the whole thing which could by easily be solved by users scheduling the same job twice.

Very good point.

Fugit should return a Fugit::Recurrence object which will handle the recurrence logic for rufus.

That's a good idea. I'll think about it.
Thanks for explaining your context and the excellent pieces of advice. I have to spend some time pondering over them.
Kind regards.


Preserve the order and group options by section

Extracted from PR #1446
Screenshots: see this comment
Background:
Confirmation dialog and error notification need to display the list
of changed options. However a flat list is no longer suitable:

some options have the same translated name
option list has grown significantly
options are split into sub-screens (not all edited options are
visible to the user)

Changes:

display a list of changed sections
within each changed section display a list of changed options
preserve the same order of sections and options as in the UI

ci test

Shouldn't the consoles options be under a first line Console instead of double dot indent?

@isaranova  @sgratch

Shouldn't the consoles options be under a first line Console instead of double dot indent?

Yep. That was the original plan (as visible on original screenshots). This has been changed as a followup to @sgratch comments.
The idea was to provide some kind of header/title for the entire section. However this is not possible in the current design which is flat section-based layout.

Well, it does not look very consistent with the other indents that start with the tile title, but since it has been agreed on I guess it works as expected.
LGTM


Remove some unused/unnecessary code

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against 962db48218ff1eeddfb2344ec8a57158ca741a76


Support non-string labels

APM has support for that but in ECS, labels are mapped as keyword
@pgomulka would you need non-string MapMessage values for Elasticsearch?

there are some fields that are non string but I format them as  strings anyway so that is fine

@felixbarny I just checked and some fields are meant to be Arrays. At the moment these are strings, but the plan was to make them Arrays.
https://github.com/elastic/beats/pull/13179/files
Also I realised why MapMessage won't be feasible in my scenario. I still have to provide a message field which is not supported by MapMessage - unless done some tweaking.

I just checked and some fields are meant to be Arrays. At the moment these are strings, but the plan was to make them Arrays.
https://github.com/elastic/beats/pull/13179/files

I think we could make that work pretty easily as well and support things like new MapMessage(Map.of("foo", List.of("bar", "baz")))

Also I realised why MapMessage won't be feasible in my scenario. I still have to provide a message field which is not supported by MapMessage - unless done some tweaking.

Would it be an option to just use the message key in the map for that? For example, new MapMessage(Map.of("message", "hello world", "total_hits", 0))

I still maintain the previous text messages for plaintext logs. So with this example:
 indexLogger.warn( new IndexingSlowLogMessage(index, doc, tookInNanos, reformat, maxSourceCharsToLog));

This will create a JSON log line where a field message contains a string with index name
{
  "type": "index_search_slowlog",
  "timestamp": "2019-06-25T11:43:00,587-04:00",
  "level": "WARN",
  "component": "i.s.s.query",
  "cluster.name": "esprod",
  "node.name": "esprod0",
  "message": "[.monitoring-es-7-2019.06.25][0]",
  "took": "6.2ms",
  "took_millis": "6",
  "total_hits": "3 hits",
  "types": "",
  "stats": [],
  "search_type": "QUERY_THEN_FETCH",
  "total_shards": "1",
  "source": "{\"size\":10000,\"query\":{\"bool\":{\"filter\":[{\"term\":{\"type\":{\"value\":\"cluster_stats\",\"boost\":1.0}}},{\"range\":{\"timestamp\":{\"from\":null,\"to\":null,\"include_lower\":true,\"include_upper\":true,\"boost\":1.0}}}],\"adjust_pure_negative\":true,\"boost\":1.0}},\"sort\":[{\"timestamp\":{\"order\":\"desc\"}}],\"collapse\":{\"field\":\"cluster_uuid\"}}",
  "id": "",
  "cluster.uuid": "kZOAmikdTFKUOSxTGj59Bg",
  "node.id": "gfFy7VKWSXqOOOE1no4s0Q"
}

but if someone creates their own pattern layout, or uses old plain text pattern then it requires %m field. And to be backwards compatible it contains all these fields formatted in a structured log line.
[2018-06-29T10:06:14,933][INFO ][index.search.slowlog.query] [v_VJhjV] [metricbeat-6.3.0-2018.06.26][0] took[4.5ms], took_millis[4], total_hits[19435], types[], stats[group1,group2], search_type[QUERY_THEN_FETCH], total_shards[1], source[{"query":{"match_all":{"boost":1.0}}}],

It is worth testing if ECSLayout will support both thse log usages log.info(new MapMessage(...) and log.info("some message"). To make sure it won't duplicate the message field.

That works with this change: https://github.com/elastic/java-ecs-logging/pull/30
MapMessage supports rendering the message as JSON which EcsLayout is now delegating the rendering to. So you could either use MapMessage, which would render the plain text message slightly differently (key="value"). Or you could create your own class which implements MultiformatMessage(or betterMultiFormatStringBuilderFormattable) and which supports a JSON` and a plain-text format.

closed in #30


Release 3.3.9 requires project gradle update?

I see that the latest release (3.3.9) has updated its android gradle plugin dependency. It used to require plugin v2.2.0 (gradle 3), now it requires plugin v3.1.4 (gradle 4).
For me this is a breaking change, causing error:
A problem occurred evaluating project ':react-native-sqlite-storage'.
> Could not find method google() for arguments [] on repository container of type org.gradle.api.internal.artifacts.dsl.DefaultRepositoryHandler.

My question:
My project is using RN 0.56 which uses gradle 3, and<EMAIL_ADDRESS>works fine with it. RN 0.57 uses gradle 4. If people want to use<EMAIL_ADDRESS>do they have to upgrade their project to RN 0.57?
Very sorry if this is a question everybody knows the answer to. I'm still noobing around the RN world.

It is probably my error - I should have released this a major upgrade but I do not plan to support concurrent versions either way....

+1 Same issue


Use upstream golang/crypto functionality for ACME External Account Binding

[Update] I will split this PR into multiple ones to make it easier to code review.
See #3220  for full context.
Up till now we used a fork of golang/crypto with added support for ACME External Account Binding and fetching of ACME preferred certificate chains from @meyskens GitHub account.
This PR:

uses upstream golang/crypto functionality for ACME External Account Binding instead of our own
uses golang/crypto fork from cert-manager account instead of @meyskens  account

Notes:

I have forked the latest golang/crypto to cert-manager org and cherry-picked @meyskens commit that implements fetching of alternative certificate chains on top of that. We can use this fork till the same functionality gets implemented upstream

The difference between the upstream implementation of ACME EAB and our own that we have used up till now is that in upstream the MAC algorithm value is hardcoded to HS256. This means that the issuer.spec.acme.externalAccountBinding.keyAlgorithm that has been 'required' so far becomes useless. This PR makes the field optional and the validating webhook now returns a warning if it is set. It is now possible (we test for that) to 1) deploy with issuer.spec.acme.externalAccountBinding.keyAlgorithm  field set 2) deploy without the field 3) deploy with, then remove.

I have removed a bunch of legacy functions for issuer generation from test/e2e/util/util.go as it partially duplicated the functionality in test/test/unit/gen/issuer.go and added some more specific issuer generation functions to test/unit/gen/issuer.go.
Can we assume that no-one has been importing the legacy functions from test/e2e/util/util.go? I did not find external imports on pkg.go.dev

In order for the webhook to be able to return a warning I had to add it to the signature of most validating functions. I assume that this is a functionality that might potentially become useful? (i.e perhaps the warning about empty hostname for self-signed issuer that @SgtCoDFish worked on could have been implemented as a warning)

Would it make sense to eventually remove issuer.spec.acme.externalAccountBinding.keyAlgorithm? (In which case that should probabaly be added to the warning message).

This is what the warning looks like:

fixes #3822
Deprecate Issuer.spec.acme.externalAccountBinding.keyAlgorithm field. EAB MAC algorithm is now hardcoded to HS256.

/retest

/test  pull-cert-manager-e2e-v1-20

/test  pull-cert-manager-bazel

/test pull-cert-manager-bazel

Closing this as I am splitting it into 3 separate PRs.


Copy/paste error in README.md

From 0.6.25 to 0.6.31 the compilation.md link in README.md points to release-contents.md instead of compilation.md

Ping. It's still so, as of today.

Can you edit and open PR?
On Thu, Oct 10, 2019 at 8:18 PM Wrong-Code<EMAIL_ADDRESS>wrote:

Ping. It's still so, as of today.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ayufan-rock64/linux-build/issues/160?email_source=notifications&email_token=AASOSQIGZK34XPGLG3FRZ2LQN5WWZA5CNFSM4EZWPYC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5JDQI#issuecomment-540709313,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AASOSQPZZ5JUZIBOPQZVJW3QN5WWZANCNFSM4EZWPYCQ
.

Sure, done now!


Dynamically loading GeoJSON data

I am loading GEOJSON data from a server using a get request. It will currently load it for the whole globe, which is fine for smaller datasets but it crashes for larger datasets. Is it possible to load data for the tiles currently on screen only? So as the user moves the map around, more data for the layer is loaded dynamically?

Hello @Yakitrak,
As far as I know, GeoJSON does not have this capability.  If you have large datasets, I would recommend converting your data to 3D tiles: https://github.com/AnalyticalGraphicsInc/3d-tiles
3D tiles was specifically designed for dynamically loading data based on what is on screen.
In the future, please ask questions like this on the forum: https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for tracking bugs and planning new features.  Thanks!


Adapter truncates timestamp decimals

When sending timestamp values with decimals (fractions of a second), the JS part is truncating to seconds
We should support decimals in timestamps up to 6 decimal places

In fact this isn't actually an adapter issue - the adapter supports only numeric and character datatypes.  Dates / datetimes etc are sent as strings.
The problem is within Data Controller, the picture format for datetime columns just needs updating to include the milliseconds component.


Allow Objective-C classes extended in TypeScript to be declared with decorators

The current implementation uses the TS __extend function to locate the constructor function in the parent scope of the __extend call and replace it. This fails some tools (fondue) we try to use because they wrap the __extend call in another function.
The TS decorator can look similar to the android @JavaProxy: https://github.com/NativeScript/NativeScript/blob/master/ui/frame/frame.android.ts#L569
This will allow our classes such as:
https://github.com/NativeScript/NativeScript/blob/master/ui/gestures/gestures.ios.ts#L10
To be prefixed with @NSClass or something and avoid the replacement that happens in __extend.

This can be implemented in pure JS on top of the existing .extend JS functionality.

I didn't see this last year but definitely would have shared this with others to gather more interest. Really great idea here and I'd consider reopening and I would imagine interest would be much different at this time. I like @PeterStaev suggestion @ObjCProtocols, etc.


Serialization of 'WeakMap' is not allowed

Error on git hook using grumphp after update to 2.9.0.
Error message:
Serialization of 'WeakMap' is not allowed

PHP version: 8.1.9
Grumphp version: v1.5.1
I know that the information is not enough. Could you give me an explanation of what information should I post here?

I also created an issue on monolog, because I am not sure if it is an issue of monolog or grumphp.

Seems like related to the serialization of the log by the module grumphp https://github.com/phpro/grumphp/issues/1065

To run processes in parallel, we use amphp/parallel in combination with serializable-closure.
This serializable-closure is serializing the context of the closure, which might include the logger.
For example, the git_commit_message here will have a dependency to gitonomy, which is configured with a logger (monolog).
Therefore, the serializable-closure will try to serialize both gitonomy and monolog into it's context.
It's not like we are actively willing to serialize the logger in there, but it's part of the dependency tree.

Originally posted by @veewee in https://github.com/phpro/grumphp/issues/1065#issuecomment-1418882474


Screening integration

Extends the existing request context to allow better capture of

practitioner RA registration
HPI facility

Adds a new purpose of use type "SCREENING"
Note that this schema REDUCES the requirements for the base data but all v1 request-context properties supplied by existing clients remain compatible in the revised schema

phew that turned out to be a bigger job than expected 👍

Thanks for your comments Chris.
My responses:

I do not agree with the proposal to stick with the old generic secondaryIdentifier mechanism.  It may be flexible but is too nebulous for specific parameters the screening FHIR API (and no doubt other future FHIR APIs) need to collect for correct recording of usage (acceptance of special access terms in the case of screening API).  More generally, the schema is already the third place application developers need to look for guidance about how to use a FHIR API  (the IG and OAS being the other two), and surely it is the perfect place to define metadata format/structure and purpose.  If we were to utilise secondaryIdentifiers, further API-specific doc would be needed elsewhere for the supply of identifiers which are generic for and likely to be needed in all NZ health information API access.  JSON schema, linked from the OAS, is the perfect tool for defining data structure and purpose and I think HNZ should utilise it, rather than documenting generic identifier strings in my opinion would send a message to health application developers that this data is not very important.
Brevity of headers is a fair point: All the hpiXXX properties are optional and so do not load up headers except where used.  I don't think a few extra characters for "use" and "system" are significant but I'll leave it to @swithinfoote to argue this one as he was the proponent of the FHIR Reference style identifier props...
registrationAuthorityNumber - I think this is a valid standard concept which comes from the structure of the Health Act itself.  Again, I feel like putting it in as a secondaryIdentifier offers minor economy but would have the major downside of obscuring it - HNZ is counting on this value being accurately populated by PMS vendors so it can demonstrate that API access to cervical screening data is being done legally.

DG


dev: improve testing for block

The Starknet pallet function currently uses two functions store_block and get_block_context which are not unit tested. Add unit testing for these functions and organise these into a block related test file. You should also move to there any block related tests we have in the Starknet pallet (e.g. given_normal_conditions_when_current_block_then_returns_correct_block).

I can take this.

hey @chirag-bgh we try to keep one issue at the time :)

Assigned because chirag is blocked on other issues

Blocked by #329

Blocked by #329

Can you expand on why it's blocking this one ?

Blocked by #329

Can you expand on why it's blocking this one ?

Not the whole part but only for get_block_context(). In get_block_context() function we need it set the gas_price based on the L1 gas price.  This can be done after #611 is merged

Blocked by #329

Can you expand on why it's blocking this one ?

Not the whole part but only for get_block_context(). In get_block_context() function we need it set the gas_price based on the L1 gas price. This can be done after #611 is merged

Can you still move forward on what is not blocked ? And later we can do another issue for the remaining part

Sure ser!

If no one is working on this, I can take it

If no one is working on this, I can take it

please do, assigned to you


Need to fill "https://ballerina.io/open-source/" -> CONTRIBUTE CODE

"Contribution Guidelines" points to https://github.com/ballerina-platform/ballerina-lang/blob/master/CONTRIBUTING.md , which is empty. Need to fill this.

There is an open PR for this: https://github.com/ballerina-platform/ballerina-lang/pull/8306

Fixed with https://github.com/ballerina-platform/ballerina-lang/pull/8306


Fix Threadsafeness of Refcounting on Descriptor Pools and Sets

Describe the bug
The current design fails to account that a call to ~IGPUDescriptorSet or ~IDescriptorPool can come from any thread and we can't impose external synchronization constraints on them.
A similar issue may affect CommandBuffers and CommandPools.
We decided to not tackle that as part of #345
Steps to Reproduce
Just think about it.
Expected vs observed behavior
Destructors should be thread safe, and anything needed to ensure that should propagate to other functions.
However other methods of DescriptorPool and Set should retain their external synchronisation obligation.
Environment
Everywhere

The most important observation is that we can assume that when we hit ~IReferenceCounted the object is truly unreachable, ergo we don't concern ourselves with it running parallel to any other method of the object.


pillar:0.3.0

I am submitting

[x] an update for a package

This bumps the version of the dependency zero from 0.1.0 to 0.3.1.

Thank you!


Ensure Unleash toggles are based on user ID

Want to ensure Uleash feature toggles are enabled per account basis in the stage env.
For example, cost-demo, cost-cloud, etc. should be able to see in-progress features, but insights-qa should only see completed features. The insights-qa user should only test what users will see in prod.
https://issues.redhat.com/browse/COST-3079

Codecov Report

Merging #2520 (1bb4f14) into main (8b26921) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main    #2520    +/-   ##
========================================
  Coverage   71.74%   71.74%
========================================
  Files         427      427
  Lines        7885     7885
  Branches     1814     1680   -134
========================================
  Hits         5657     5657
  Misses       2225     2225
  Partials        3        3

Continue to review full report at Codecov.

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


cannot set a lightning pool account

I closed my previous account and now can't open a new one.
account status shows recovery failed.

how can I move past this?
Best Regards

Is this through Lightning Terminal on the web (terminal.lightning.engineering) or litd? It looks like it says you have an available balance. Can you take actions like submitting asks or bids and just not fund the account? Any more details would be helpful. Thanks!

thank you. I use litd out of an umbrel configuration. I can't access the ask or bid buttons. I received the funds on chain when I closed my account. so I should not see any more available balance. does this help?
Best

maybe uninstalling and reinstalling the app would reset?

Don't uninstall and reinstall just yet. That can cause a whole set of other issues. Let me dig into this a bit more and get back to you with a potential solution.

ok thank you. on european time so will be off for a couple hours. Best

I'm not sure how you initially got into this state. But, I think the best option now is to attempt an account recovery using this guide: https://docs.lightning.engineering/lightning-network-tools/pool/account_recovery

i don’t know either, but thank you for the doc i will follow the guide.

@xtophe632 where you able to resolve this problem?

yes thank you. honestly your doc didn’t fix the problem, and I finally uninstalled reinstalled and it worked like a charm. I now have closed the account, because i am a little bit disappointed by the lack of traction. but no more technical issues.

Thanks for the feedback.
By "lack of traction", you mean order book/batch activity?
Closing as initial issue is fixed.

yes exactly, difficult to understand if you really have demand/offer.


Make files executable by default

This pull request makes files meant to be executed (install_requirements *) executable by default. In addition, it sets the shebang for pluget.py to #!/usr/bin/env python to allow pluget.py to be executed directly, e.g. ./pluget.py.
Thanks for any suggestions.

Thanks @Neocky.
I changed the file permissions on both install_requirements_WINDOWS.bat and install_requirements_LINUX.sh from 644 to 755.
This means that the owner, the group, and everyone will be able to execute this file.
See https://chmod-calculator.com/


Duplicate fingerprint for multiple chrome browser

Hi,
I'am getting same fingerprint from multiple chrome browsers running on this Version 59.0.3071.115 (Official Build) (64-bit) on windows 10 OS. The machines are located on different locations. common fingerprint which is generated is<PHONE_NUMBER>, I'am using getCustomFingerprint() Method for generating fingerprint.
Please Advice.

You must be using parameters which are not client specific rather global like user-agent, os etc in order to generate the Custom Fingerprint. Please use parameters which could be unique or a combination of parameters that could be unique to users. Then there will be less collisions

Please try out the new release (https://github.com/jackspirou/clientjs/releases/tag/v0.2.0) and reopen this issue when you still have problems.


V3 wip

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2454 of 2488 (98.63%)  changed or added relevant lines in 60 files are covered.
4 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.009%) to 97.849%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pyccl/halos/concentration/concentration_base.py
42
43
97.67%

pyccl/halos/concentration/constant.py
18
19
94.74%

pyccl/halos/concentration/diemer15.py
42
43
97.67%

pyccl/halos/concentration/ishiyama21.py
131
132
99.24%

pyccl/halos/hbias/bhattacharya11.py
24
25
96.0%

pyccl/halos/hbias/sheth01.py
25
26
96.15%

pyccl/halos/hmfunc/angulo12.py
21
22
95.45%

pyccl/halos/hmfunc/jenkins01.py
20
21
95.24%

pyccl/halos/hmfunc/press74.py
20
21
95.24%

pyccl/halos/hmfunc/bocquet16.py
116
118
98.31%

Files with Coverage Reduction
New Missed Lines
%

pyccl/core.py
1
95.74%

pyccl/covariances.py
1
98.59%

pyccl/base.py
2
97.49%

Totals

Change from base Build<PHONE_NUMBER>:
-0.009%

Covered Lines:
5778

Relevant Lines:
5905

💛  - Coveralls


Profiles Support In v3.X

Are there plans to support Profiles in later releases of v3.x of AutoREST.PowerShell?

Close it since we will support profiles.


Bugfix missing replacement

Sorry, I missed one. So no socket could be created and all emails where identified as wrong. After this change all will become good.

thanks. And it is already updated at packagist as well 👍


Create Post “scascc”

Automatically generated by Netlify CMS

👷 Deploy Preview for gleeful-crisp-945073 processing.

Name
Link

🔨 Latest commit
a15f038a3d40935e7569b9cf7b5b0f1927a4d744

🔍 Latest deploy log
https://app.netlify.com/sites/gleeful-crisp-945073/deploys/63c245d89bb33d000959eb08


feat: add @stdlib/array/base/cunone-by package

Resolves #2325
Description

What is the purpose of this pull request?

This pull request:

This pull request adds the @stdlib/array/base/cunone-by package that cumulatively tests whether no array element in a provided array passes a test implemented by a predicate function

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #2325

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Hey @Planeshifter I have made the necessary changes. Is there anything else that I need to add


Improvements to build

removed redundant conditional, source: https://stackoverflow.com/questions/49917999/if-statements-made-redundant-by-else-statements
replaced if with if expression, https://www.guru99.com/if-loop-python-conditional-structures.html#:~:text=What is Python If Statement,code for the else condition.

@pokurt Thanks for your contribution!


scrollToRow, scrollToPosition on List not working with WindowScroller,

Asking a Question?
Please don't file GitHub issues to ask questions! Instead use:

Stack Overflow: http://stackoverflow.com/questions/tagged/react-virtualized

Do you want to request a feature or report a bug?
Requesting a feature?
Provide as much information as possible about your requested feature. Here are a few questions you may consider answering:

What's your use case? (Tell me about your application and what problem you're trying to solve.)
What interface do you have in mind? (What new properties or methods do you think might be helpful?)
Can you point to similar functionality with any existing libraries or components? (Working demos can be helpful.)

Reporting a Bug?
Please include either a failing unit test or a simple repro. You can start by forking this Code Sandbox: https://codesandbox.io/s/03qpzq1p9p?module=%2FExample.js
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React and react-virtualized. Paste the link to your Code Sandbox below:
What is the expected behavior?
Which versions of React and react-virtualized, and which browser / OS are affected by this issue? Did this work in previous versions of react-virtualized?

Browser

OS

React

React DOM

react-virtualized

Yeah, uhm... IDK, but I stumbled onto this as well.


Fix the example/ directory link

Good catch. I had tried to predict what the links would be, but got it wrong.
There are 4 other links at the bottom of the readme, can you update those too?


Move the uber mock dependency to the mock subpackage

Following the https://github.com/redis/rueidis/issues/447,
We should continue to reduce unnecessary dependencies for users.
The go.uber.org/mock is only used in the mock subpackage. It will be better to move the dependency to mock's go.mod.

This is also used in rueidishook package.

/assign


Bump version to Swift 5.1

Bump compiler version to 5.1

@swift-ci clean test

Build failed
Swift Test Linux Platform
Git Sha - 5c367cf974cbde5f0925879afa835b11f3212a10

Build failed
Swift Test OS X Platform
Git Sha - 5c367cf974cbde5f0925879afa835b11f3212a10

@swift-ci test

Build failed
Swift Test Linux Platform
Git Sha - 5c367cf974cbde5f0925879afa835b11f3212a10

Build failed
Swift Test OS X Platform
Git Sha - 5c367cf974cbde5f0925879afa835b11f3212a10

@swift-ci clean test

Build failed
Swift Test OS X Platform
Git Sha - e8e21c986a343b24f2037cc12ff1133a1c1a47d0

Build failed
Swift Test Linux Platform
Git Sha - e8e21c986a343b24f2037cc12ff1133a1c1a47d0

@swift-ci please test

Note, the tgmath.swift obsolescences haven't made it onto 5.1 branch.


templates: Replace unnecessary {{#tr}} blocks with {{t}} helper

{{#tr}} supports HTML and allows translators to accidentally introduce HTML, so it’s safer to use the {{t}} helper unless HTML is needed.
(The {{t}} helper didn’t support context variables, but now it does.)

This is great. I assume you're doing some testing with manage.py makemessages --locale=en and diffing the output.
Most of it is just nicer, but one worry is the previously multi-line block strings -- does changing the line-wrapping end up forcing translators to re-translate them because of different whitespace?

Our extraction was already unwrapping them.
https://github.com/zulip/zulip/blob/d693b53aa61d4aa39beec2cc5609602ee5ee2fc8/zerver/management/commands/makemessages.py#L166-L170

translation.json diff:
@@ -700,8 +700,8 @@
   "Narrow to next unread topic": "Narrow to next unread topic",
   "Narrow to starred messages.": "Narrow to starred messages.",
   "Narrow to stream": "Narrow to stream",
-  "Narrow to stream "{display_recipient}"": "Narrow to stream "{display_recipient}"",
-  "Narrow to stream "{display_recipient}", topic "{topic}"": "Narrow to stream "{display_recipient}", topic "{topic}"",
+  "Narrow to stream \"{display_recipient}\"": "Narrow to stream \"{display_recipient}\"",
+  "Narrow to stream \"{display_recipient}\", topic \"{topic}\"": "Narrow to stream \"{display_recipient}\", topic \"{topic}\"",
   "Narrow to topic or DM conversation": "Narrow to topic or DM conversation",
   "Narrow to unread messages.": "Narrow to unread messages.",
   "Narrow to your direct messages with {display_reply_to}": "Narrow to your direct messages with {display_reply_to}",

Awesome, merged, thanks for doing this @andersk!


$readmem[hb] file inclusion is now relative to the Verilog file

Until now, the $readmem[hb] implementation looking for a memory content file in a relative path to the Yosys execution. Now, it is relative to the Verilog file, which in case of being in the path where Yosys is executed, it also works. I checked that at least ISE and Vivado works in this manner.
Here a test.tar.gz. Running yosys ram.ys without this change, give you:
hdl/ram.v:13: ERROR: Can not open file `data/memory.dat` for \$readmemb.
Let me know if you would like to have this test (and please, point me where to put).
This solution seems to me at least an improvement. I am not an experienced C++ developer, so suggestions for a better implementation are welcome.

I modified the code to be backward compatible:

Old behaviour: the memory content file is searched in a relative location according to the execution directory.
New behaviour: if the file is not founded in the first location, is searched relative to the Verilog file location.

@cliffordwolf I have doubts about how I used yosys_input_files.insert. Please, take a look.


Eslint stopped working for jsx files

Having same issue as this closed issue: https://github.com/Microsoft/vscode-eslint/issues/178
Ive tried all the things mentioned in this post.
Using latest VSCode and Eslint.
Eslint stopped working for a while then suddenly started working again. Now it's broken for JSX once again.

Closing.
All  *.jsx files were being classified as JSX instead of Javascript React,  due to another extension I had added.


channel downgrade not respected on yum-based systems

I tried downgrading to channel=v1.19 and ran into a problem that I believe is as a result of this line:
https://github.com/rancherfederal/rke2-ansible/blob/89be345df04ca8d614b0b4a7b9e44d8980d52372/roles/rke2_common/tasks/rpm_install.yml#L97
Because I had already run the play with channel=stable, the more recent .repo files already existed in /etc/yum.repos.d, so despite ansible reporting the major/minor versions specified to be installed, the latest was in-fact installed.
After manually removing the newer .repo files, the play deployed the correct version.

So to install a specific version listed on release channels, I had to:

ensure /etc/yum.repos.d/ did not have any rke2....repo files of versions I didn't want
add the desired version roles/rke2_common/vars/main.yml
add the desired version to roles/rke2_common/defaults/main.yml


Resource view dont show event

hello, i are using resource view type but this dont show the resource events... any can help me?

here u can see my event resource data

Have you looked into this example? https://qcalendar.netlify.app/developing/qcalendarresource/resource-slot-resource-intervals
Are you using the right slot?

Have you looked into this example? https://qcalendar.netlify.app/developing/qcalendarresource/resource-slot-resource-intervals
Are you using the right slot?

thanks for your answer. I had read the documentation but I didn't see anything about this slot. I'll try it to see if it works for me. happy afternoon and happy new year.

when i use slot the event don`t show in the correct interval... here my data return from api

I need to see some code to see what you are doing wrong.
You can fork this CodePen and update it with what you are doing: https://codepen.io/Hawkeye64/pen/ZEXomVG?editors=1010

Tnk for You answer bro, i can solve it setting up the setStyleFUnction and
now show all events very good
El mar., 4 de enero de 2022 11:03 a. m., Jeff Galbraith <
@.***> escribió:

I need to see some code to see what you are doing wrong.
You can fork this CodePen and update it with what you are doing:
https://codepen.io/Hawkeye64/pen/ZEXomVG?editors=1010
—
Reply to this email directly, view it on GitHub
https://github.com/quasarframework/quasar-ui-qcalendar/issues/359#issuecomment-1004885870,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVGGUIUHJUVIBTJQ4442ZKTUUMD3DANCNFSM5K6DKDJA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

I need to see some code to see what you are doing wrong. You can fork this CodePen and update it with what you are doing: https://codepen.io/Hawkeye64/pen/ZEXomVG?editors=1010

i solve it setting the style functions

i solve it setting the style functions

Nice!


how to install Gstreamer ?

i have been used the command  "sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools" to install.
But run GoogleTest,and result is  :
96% tests passed, 20 tests failed out of 478
Total Test time (real) =  36.39 sec
The following tests FAILED:
367 - MediaPlayerTest_test (Failed)
368 - MediaPlayerTest.testStartPlayWaitForEnd (Failed)
369 - MediaPlayerTest.testStartPlayForUrl (Failed)
371 - MediaPlayerTest.testConsecutiveSetSource (Failed)
372 - MediaPlayerTest.testStartPlayWaitForEndStartPlayAgain (Failed)
373 - MediaPlayerTest.testStopPlay (Failed)
374 - MediaPlayerTest.testStartPlayCallAfterStopPlay (Failed)
375 - MediaPlayerTest.testPauseDuringPlay (Failed)
376 - MediaPlayerTest.testPlayAfterPause (Failed)
377 - MediaPlayerTest.testStopAfterPause (Failed)
378 - MediaPlayerTest.testPauseAfterPause (Failed)
379 - MediaPlayerTest.testResumeAfterPause (Failed)
380 - MediaPlayerTest.testResumeAfterPlay (Failed)
381 - MediaPlayerTest.testGetOffsetInMilliseconds (Failed)
383 - MediaPlayerTest.testPlayingTwoAttachments (Failed)
384 - MediaPlayerTest.testUnsteadyReads (Failed)
387 - MediaPlayerTest.testSetOffsetSeekableSource (Failed)
388 - MediaPlayerTest.testSetOffsetUnseekable (Failed)
389 - MediaPlayerTest.testSetOffsetOutsideBounds (Failed)
390 - MediaPlayerTest.testSetSourceResetsOffset (Failed)
Errors while running CTest
make: *** [test] Error 8
how to install Gstreamer correctly?

Can you show me the cmake command you used to build this?

command:
cmake /home/username/NXP_test/mediaplayer/avs-device-sdk-master -DGSTREAMER_MEDIA_PLAYER=ON -DCMAKE_PREFIX_PATH=/home/username/NXP_test/gstreamer/1104/build

@captainpanther, I just checked the gstreamer version that is included with ubuntu and it is 1.8.  The SDK is currently only certified with 1.10.4 for Linux distros.
https://github.com/alexa/avs-device-sdk/wiki/Linux-Quick-Start-Guide#minimum-requirements-and-dependencies
I have typically downloaded the source for gstreamer and compiled myself.

install /usr/local and install in order for  Gstreamer


quicklogin feature when in DEBUG mode

Notice: will fix tests and CI check once i get my local test environment running with yii2-user.
Introduces a 'debug' module option. If set, a dropDown
with all users in the system is being displayed on the
login page. You can quickly login as every user without
a password.

YII_DEBUG and YII_ENV='dev' needs to be set in the application
index.php for this to work.
For security reasons you need to enable this feature explicitely:
 'modules' => [
        'user' => [
            'class' => 'dektrium\user\Module',
            'debug' => true,

Also, conflicts resolved by merging master into the branch.

Thank you!


C program calls LAPACK function

When calling the dgbtrs' function of LAPACK, there is a DGER function. How should the parameter 1 be passed? When I passed it, I tried many methods, saying that the parameter was illegal.
dger_(&lm,&(*NRHS),-ONE,AB_2[(kd+1)*j],1,B[j],&(*LDB),B[j+1],&(*LDB));
On entry to DGER parameter number  5 had an illegal value

Which function is your code calling, cger from BLAS or dgbtrs from LAPACK ? There are C bindings for both (CBLAS,LAPACKE).
Also, try putting your literal 1 into a variable for the dger call, and check that you are passing the other arguments correctly. See benchmark/ger.c in the OpenBLAS sources for an example (where the GER becomes dger_ when building the double precision version)

Hello, I called the DGER function in dgbtrs. I don't know why the parameter 1 is always displayed as an illegal value.

Hello, I called the DGER function in dgbtrs. I don't know why the parameter 1 is always displayed as an illegal value.

Again, what are you calling - are you calling DGBTRS and getting an "illegal value" error from the DGER call in there, or are you trying to call DGER directly from your code, with parameters like you saw them in the dgbtrs.f ?

I called the DGER function directly from the C code, showing that the parameter 1 is illegal.

Probably one of your other parameters is wrong and overwrites, can you try using https://github.com/xianyi/OpenBLAS/blob/develop/benchmark/ger.c as example ?

OK, I'll try to refer to it. Thank you very much.


Cannot join Live Share session (constantly loading)

Issue Type: Bug
The extension is constantly loading, but I never join the session. The join session invitation is also received (the invitation within VS Code that pops up a notification to 'Accept'), but I cannot ever join the session.
Extension version: 1.0.1847
VS Code version: Code - Insiders 1.44.0-insider (6cf3dd97465b2f4f666b66758991d720e003b0f4, 2020-03-27T06:00:06.803Z)
OS version: Windows_NT x64 10.0.19592

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3540M CPU @ 3.00GHz (4 x 2990)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.91GB (9.26GB free)

Process Argv
-n C:\Users\MavaddatJavid\AppData\Local\Temp\vsliveshare\tmp-DF206CDFD09294F9AD2D15D0C16095A87119\Visual Studio Live Share.code-workspace

Screen Reader
no

VM
0%

Hi thanks for reaching out. This is a recently discovered bug that repro on VS Code insiders. We are investigating the issue. Do you mind to try it with VS Code Stable? This should unblock you.

Hi,
I encountered this problem 3 days ago and still doesn't work.
The issue that I faced is about live-share extension. I researched it but couldn't find any issue like I was experiencing.
you can use the following information as a guide @setaskin;
Tried:

Signed out and sign in with github account (and tried share or join a collaboration link)
Signed out and sign in with microsoft account (and tried share or join a collaboration link)
Removing and re-installing live share extension
Uninstall VSCode and re-install VSCode Insider

Those things that I tried on Mac OS (Mojave 10.14.5) and Windows 10 Pro (VS Code Insider & VS Code) and couldn't achieve to join.

It works without any trouble on the online VSCode version with "Guest User".

on the Windows 10 PRO:
VS Code version: Code - Insiders 1.44.0-insider (6cf3dd97465b2f4f666b66758991d720e003b0f4, 2020-03-27T06:00:06.803Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (4 x 2712)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.96GB (10.89GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

remote-wsl
ms-
0.44.2

vsliveshare
ms-
1.0.1847

@setaskin  seems like anonymous join works, but there is a problem in joining after sign in.

@fubaduba nope, I have tested with with anonymous join, it still hangs. It only repro when the guest is VS Code Insiders. Probably bug is on VS Code Side.

Hi thanks for reaching out. This is a recently discovered bug that repro on VS Code insiders. We are investigating the issue. Do you mind to try it with VS Code Stable? This should unblock you. Please let us know how goes, feel free to comment if you have further questions
Thank you for the work-around suggestion; however, I would like to only have one install of VS Code on my system at the moment. I may try with a portable "install" of the stable branch and report back.
What is interesting is that if I disable certain extensions (the ones that aren't related to Python coding) and I completely uninstall the LiveShare extension pack, then I can get LiveShare to work in VS Code Insiders. It seems like there is an issue with the LiveShare audio extension specifically (because merely uninstalling that one can sometimes fix the problem), but I cannot pinpoint this.

My current extensions

Extension
Author (truncated)
Version

vscode-django
bat
0.20.0

npm-intellisense
chr
1.3.0

vscode-markdownlint
Dav
0.34.0

vscode-eslint
dba
2.1.1

githistory
don
0.6.3

python-extension-pack
don
1.6.0

prettier-vscode
esb
3.20.0

code-runner
for
0.9.17

beautify
Hoo
1.5.0

vscode-peacock
joh
3.6.0

chat
kar
0.33.0

vscode-codemetrics
kis
1.24.0

vscode-github
Kni
0.30.3

MagicPython
mag
1.1.0

vscode-azurefunctions
ms-
0.21.0

python
ms-
2020.3.69010

remote-wsl
ms-
0.44.2

azure-account
ms-
0.8.8

powershell-preview
ms-
2020.3.1

vsliveshare
ms-
1.0.1847

vsliveshare-audio
ms-
0.1.80

vsliveshare-pack
ms-
0.3.4

debugger-for-chrome
msj
4.12.6

vscode-for-node-js-development-pack
nod
2.0.1

java
red
0.58.0

vscode-xml
red
0.11.0

vscode-checkstyle
she
1.3.2

vscodeintellicode
Vis
1.2.6

vscode-java-debug
vsc
0.25.1

vscode-java-dependency
vsc
0.9.0

vscode-java-pack
vsc
0.8.1

vscode-java-test
vsc
0.22.2

vscode-maven
vsc
0.21.2

jinja
who
0.0.8

vscode-import-cost
wix
2.12.0

vscode-preview-server
yui
1.3.0

markdown-all-in-one
yzh
2.7.0

@mavaddat , thanks for the info, this is really helpful to investigate. I am not sure if the problem caused by Audio , because when I tested Live Share extension itself ( no audio) VS Code insiders still hangs. Still investigating the issue.  We will post here when the issue fixed.  Adding @jramsay as he might have comments about the audio extension.

@mavaddat, @setaskin; thanks for the info! I just tested the same scenario on VS Code Insiders and confirmed that the issue repros without the audio extension installed.

Issue appears to be resolved in the latest updates.

@pjninnim: thanks for confirming the fix! I'll resolve this issue.


Calls bugsnag_* methods on custom exceptions if available

Based on feedback in #422 and discussion with @kattrali, this PR makes it unnecessary for a custom exception to have included Bugsnag::MetaData by checking the functions exist individually.

Updated this with tests that verify the bugsnag_* methods are still checked on exceptions that don't mixin Bugsnag::MetaData.

Tests appear to be failing on this due to travis issues with Jruby.  It installs and runs through tests fine locally.

Closed in favor of #426


Highlight PHP Variable

Resolve #2778
Checklist

[ ] Tested.
[ ] Updated the changelog at CHANGES.md

You'll also need to update the tests in markup/php to match your grammar change.

Please finish checklist!  Looking good!

@taufik-nurrohman Thanks so much!


Use distroless base Docker image

Two changes to the Docker build process to improve build times and harden/optimize the resulting image:

Instead of running npm ci a second time inside the Docker container, include the node_modules from the original build step in the medplum-server.tar.gz artifact
Use Google's distroless base image to shrink the final image, reduce security surface area, and automatically use a nonroot user to run the service

Trying this on staging: https://github.com/medplum/medplum/actions/runs/11904586334

Staging deploy succeeded 🎉

Comparing staging action for distroless-image vs the previous run...
"Build Docker" step went from 2 min 15 sec to 3 min 44 sec, which makes sense, because of the 2 phase build, and downloading more base images.
Docker image size actually went up 136.5 MB to 142.9 MB.
https://hub.docker.com/repository/docker/medplum/medplum-server-staging/tags


it doesn't matter which Opp Stage I select it always creates/updates the Applicant Opportunity

my issues are coming from the Interaction object as that's where I'm entering the records. When we create a new record via the Interaction object. Based on the value selected in the field option "Opportunity stage". According to the video demo. If Inquiry is select then the Opportunity create/updated should be "Inquiry Opportunity" and if the value selected is Applied then it should create/update the Applicant Opportunity. My issue is that it doesn't matter which one I select it always creates/updates the Applicant Opportunity.

Resolved with admin configuration at both the page layout and profile by requester. Posted solution in PUB.


Rational.limitToInt doesn't terminate for 1 and -1

The following inputs lead to infinite recursion
Rational(-1).limitToInt

Rational(1).limitToInt

In case it's any help, after compiling with -g:notailcalls, this yields the following stack trace:
scala> Rational(-1).limitToInt
java.lang.StackOverflowError
  at spire.math.package$.gcd(package.scala:284)
  at spire.math.Rational$.build0$1(Rational.scala:240)
  at spire.math.Rational$.apply(Rational.scala:247)
  at spire.math.Rational$.apply(Rational.scala:264)
  at spire.math.Rational.closest$1(Rational.scala:164)
  at spire.math.Rational.closest$1(Rational.scala:173)
  at spire.math.Rational.closest$1(Rational.scala:173)
  at spire.math.Rational.closest$1(Rational.scala:173)
  ...

Thanks for reporting!

I've been investigating and this actually isn't infinite recursion, but rather just very slow convergence. I believe I've implemented a fix. Will make sure existing tests pass and exercise this stuff, but it should make convergence quite quick in all cases.


[BugFix] fix rowset leak when cumulative compaction single rowset (backport #19665)

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #19664
Problem Summary(Required) ：

Problem happen in this case:

There are rowset_1_<0,9> and rowset_2_<10,10> in one tablet, and rowset_2_<10,10> contains multi overlapping segments
Cumulative compaction can compact rowset_2_<10,10> to rowset_3_<10,10> that contains segments without overlapping.
After this, _stale_rs_version_map contains <10,10> -> rowset_2
Base compaction can compact rowset_1_<0,9> and rowset_3_<10,10> to rowset_4_<0,10>.
And rowset_2 will be replace by rowset_3 in _stale_rs_version_map, because they have same key <10,10>.
After this, _stale_rs_version_map contains <0,9>->rowset_1 & <10,10> -> rowset_3
A few minutes later, rowset_1 & rowset_3 in _stale_rs_version_map will be removed, and segment files can be release. But rowset_2 is leak.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

run all

https://github.com/Mergifyio rebase branch-2.5

@mergify rebase branch-2.5


Enhancement: Throw RoleNotFoundException if role was not found

This PR

[x] implements a RoleNotFoundException
[x] throws a RoleNotFoundException if a role was not found

@BackEndTea @chartjes @mdwheele
Quick heads up, as the plan is to merge the commands promoting users from and to admin and reviewer roles, and as the cases where the roles haven't been found are currently unhandled in these commands, I suggest handling these exceptions once the commands have been merged.

Thank you, @BackEndTea!


How to place an order in the order book

I hope I don't get totally wrong what this library aims for. I'm basically thinking it aims to be the go version of that web3 lib?
I was wondering how I would set orders? Is that implemented?

Sorry long delay, no it's not implemented, well more or less. This library could be used to craft the correct instructions and generate a transaction that could then be sent to the network for consumption. I think all the building blocks are in there now to do what you want, closing.
Feel free to re-open if you need further help.