grpcioo failing on TLS with ED25519 algorithm

What version of gRPC and what language are you using?
grpcio 1.32.0
What operating system (Linux, Windows,...) and version?
Mac OS Catalina, but also tested on Debian resulting in the same issue
What runtime / compiler are you using (e.g. python version or version of gcc)
grpcio 1.32.0
What did you do?
I wrote a simple server that should do a TLS handshake with ED25519 certificates. However, I get the following error:
E0923 15:24:55.786846000<PHONE_NUMBER>64736 ssl_transport_security.cc:1439] Handshake failed with fatal error SSL_ERROR_SSL: error:100000fd:SSL routines:OPENSSL_internal:NO_COMMON_SIGNATURE_ALGORITHMS.
When i try to explicitly set the GRPC_SSL_CIPHER_SUITES to TLS_CHACHA20_POLY1305_SHA256 i get
E0928 08:40:04.195376000<PHONE_NUMBER> ssl_transport_security.cc:811]     Invalid cipher list: TLS_CHACHA20_POLY1305_SHA256.
E0928 08:40:04.195416000<PHONE_NUMBER> ssl_security_connector.cc:263]     Handshaker factory creation failed with TSI_INVALID_ARGUMENT.
E0928 08:40:04.195437000<PHONE_NUMBER> server_secure_chttp2.cc:81]        {"created":"@1601275204.195428000","description":"Unable to create secure server with credentials of type Ssl","file":"src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc","file_line":63}

According to what i could find, it should be supported by default: https://github.com/grpc/grpc/blob/ff8ceb700e8a53ed4087edc006830da372b1199a/src/core/lib/security/security_connector/ssl_utils.cc#L69
When I chance the certificate algorithm to RSA, all works as expected
My server code:
def run_server(args):
    server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
    service_pb2_grpc.add_EchoServicer_to_server(Echo(), server)

    ca_cert = open(args.ca_cert, 'rb').read()
    dp_cert = open(args.dp_cert, 'rb').read()
    dp_key = open(args.dp_key, 'rb').read()

    credentials = grpc.ssl_server_credentials(
        [(dp_key, dp_cert), ],
        root_certificates=ca_cert,
        require_client_auth=True
    )

    server.add_secure_port('[::]:' + str(args.port), credentials)

    print('Starting server. Listening on port {}...'.format(args.port))
    server.start()

I have all my code, including scripts on creating the certificates etc packed in a tar to reproduce it. However I dont know how someone would like to receive it. So if you want it, let me know how I can send it to you.
What did you expect to see?
I would expect this to work with ED25519 just is it does with RSA
Anything else we should know about your project / environment?
I am using python 3.8.2. I also tried building my own grpcio from source, but that results in the same problem

Same problem here. Tried with both Ruby and Python bindings.  Connecting to that server with both Go and OpenSSL s_client works perfectly. Using the same client certificate with this repository however, causes the handshake to fail.
The server has the following log output when connecting to it from either the Python or Ruby client:
WARNING: 2020/09/29 14:50:22 [core] grpc: Server.Serve failed to complete security handshake from "[::1]:46378": tls: peer doesn't support any of the certificate's signature algorithms

Both clients have the same failure:
E0929 14:50:22.511022940  110942 ssl_transport_security.cc:1439] Handshake failed with fatal error SSL_ERROR_SSL: error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE.

@jiangtaoli2016 PTAL. Could this be an issue with BoringSSL?
@Sult Can you please try if the issue is reproducible with v1.31.x? In v1.32.0, we enabled ASM optimization for BoringSSL, which could be the culprit.

It is not clear if it is BoringSSL issue. I would be surprise if it is a BoringSSL issue.

Tried with package 1.31.0 from PyPI. That version doesn't even support TLSv1.3, apparently. Allowing TLSv1.2 on the server side results in the same error as above.
I have also built the latest master (b9fe77f2349e1a11835c411f578b37b425e5a544) without the asm optimization and made sure to update all the submodules. This version also results in the same handshake error.
This is strange, as BoringSSL implemented ed25519 before OpenSSL did, right?

Thanks for trying out previous version and compiling from HEAD.
@jiangtaoli2016 Can you take a look again? I found ed25519 implemented in BoringSSL, but seems not enabled for gRPC. Do you have more context?

From SSL transport security code, BoringSSL and OpenSSL have no difference.
If there is some feature that only enabled for OpenSSL but not BoringSSL in gRPC, @nicolasnoble may know, since Nicolas wrote the build system.

I have the same problem as above, when I try to connect to my Go grpc server, python gives me a
E1223 09:57:03.587405000<PHONE_NUMBER>70784 ssl_transport_security.cc:818] Invalid cipher list: TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256.
E1223 09:57:03.587562000<PHONE_NUMBER>70784 ssl_security_connector.cc:116] Handshaker factory creation failed with TSI_INVALID_ARGUMENT.
E1223 09:57:03.587568000<PHONE_NUMBER>70784 secure_channel_create.cc:107] Failed to create secure subchannel for secure name 'my-app.local.co:10181'
E1223 09:57:03.587574000<PHONE_NUMBER>70784 secure_channel_create.cc:49]  Failed to create channel args during subchannel creation.

code=StatusCode.UNAVAILABLE     details=Empty update

If everything is the same but I use python3.8 instead then it works fine

my error logs
server-side (GRPC_GO_LOG_VERBOSITY_LEVEL=99 GRPC_GO_LOG_SEVERITY_LEVEL=info):
tls: peer doesn't support any of the certificate's signature algorithms

client-side (GRPC_VERBOSITY=DEBUG GRPC_TRACE=all):
E0419 ssl_transport_security.cc:1237] Handshake failed with fatal error SSL_ERROR_SSL: error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE.
D0419 security_handshaker.cc:176] Security handshake failed: {"created":"@timestamp","description":"Handshake failed","file":"src/core/lib/security/transport/security_handshaker.cc","file_line":291,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"}
I0419 handshaker.cc:131]          handshake_manager 0x7fb3b000ced0: error={"created":"@timestamp","description":"Handshake failed","file":"src/core/lib/security/transport/security_handshaker.cc","file_line":291,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"} shutdown=0 index=2, args={endpoint=(nil), args=(nil) {size=0: (null)}, read_buffer=(nil) (length=0), exit_early=0}
I0419 handshaker.cc:164]          handshake_manager 0x7fb3b000ced0: handshaking complete -- scheduling on_handshake_done with error={"created":"@timestamp","description":"Handshake failed","file":"src/core/lib/security/transport/security_handshaker.cc","file_line":291,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"}
I0419 timer_generic.cc:467]       TIMER 0x7fb3b000cf88: CANCEL pending=true
I0419 resource_quota.cc:948]      RQ anonymous_pool_7fb3b000c860 ipv4:ip:port: free 8192; free_pool -> 8192
I0419 subchannel.cc:1034]         Connect failed: {"created":"@timestamp","description":"Handshake failed","file":"src/core/lib/security/transport/security_handshaker.cc","file_line":291,"tsi_code":10,"tsi_error":"TSI_PROTOCOL_FAILURE"}

my solution
Building grpcio from sources using system-wide openssl worked for me on debian 10 + python 3.7
apt install -qy build-essential libssl-dev
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=True
pip install -U grpcio==1.37 --force --no-binary=grpcio

PS I don't use pypy, but None/tmp compilation errors forced me to use last available grpcio version

@mumbleskates
I have asked about that behavior in boringssl project and received answer:
This is working as intended. Ed25519 isn't used in the Web PKI yet and not allowed by most root programs, so we don't enable it by default. While it is a nicer signature scheme than ECDSA, PKIs move slowly and we need to start thinking about post-quantum schemes at this point. Applications in other scenarios that do wish to support Ed25519 can use the existing APIs to configure allowed signature schemes.

So, the best choice, as for me, it's try to use open ssl library (as mentioned above) or change crypto algo of you proxy.

@zifter Thanks for following up. For anyone running into this problem, you can compile against your system openssl by setting GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true and building from source.


[sil-mem2reg] Add a simple scope data structure and use it to simplify some code.

We have for a long time talked about creating a scope like data structure for
use in the SILOptimizer. The discussion was whether or not to reuse the
infrastructure in SILGen that does this already. There were concerns about doing
so since the code in the SILOptimizer and SILGen can work differently.
With that in mind, I added a small AssertingScope class and built on top of that
a composition SIL level class called SILOptScope that one can use to add various
cleanups. One is able to both destructively pop at end of scope and pop along
early exits.
At an implementation level, I kept it simple and:

Represented a scope as a stack of Optional which are just a wrapper
around a std::function. The Optional is so that we can invalidate a cleanup.
Based all of these scopes around the idea that the user of the scope must
invalidate the scope by hand. If not, the scope object will assert at the end
of its RAII scope.
Rather than creating a whole class hierarchy, I just used std::function
closures to keep things simple.

@swift-ci test

Build failed
Swift Test OS X Platform
Git Sha - c0e31d8dfc818a3e8ecaf2b806f7d6175beab9fd

@swift-ci test macOS platform


az ad app permission list fails with 404 when permission list is not empty

Describe the bug
Command Name
az ad app permission list
Errors:
Operation failed with status: 'Not Found'. Details: 404 Client Error: Not Found for url: https://graph.windows.net/<myTenantId>/oauth2PermissionGrants?$filter=clientId%20eq%20%27<myAppId>%27&api-version=1.6

Items inside <> are redacted
To Reproduce:
Note that prior to adding a permission, az ad app permission list  --id <myAppId> correctly returns [].

Browse to App Registration on portal.azure.com for the given app
Click API Permissions
Add Permission > Microsoft Graph > Delegated permissions > Chat.Read
Execute az ad app permission list --id <myAppId>
404 Error above is displayed

Removing the permission (via portal) "fixes" the command and it correctly returns [] again.
Expected Behavior
Permission is displayed as result
Environment Summary
Linux-4.19.104-microsoft-standard-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB

azure-cli 2.8.0

Additional Context

add to S172

Same as https://github.com/Azure/azure-cli/issues/10563#issuecomment-663370704. Could you still reproduce it?

If you are able to reproduce again, please kindly reply here.


Attempt to force gzip on assets

We're getting inconsistent gzip encoding on our JS files, this attempts to force the header to always return gzip.
Also renamed runtimeManifest to runtime-manifest so that local devs with case insensitive file systems aren't confused.

👍 MOG


Detect presence of Skaffold configuration file(s) and ask to create Skaffold run configuration

If project is opened or new files appear, detect if Skaffold configuration YAML is present, and prompt a user to create Skaffold run configuration, using pop-up notification.

@ivanporty have you started on this one? I could start tackling it if not

I was thinking about getting it done soon, but not yet - please take it, that would be great!


pdf file size 10 times bigger in linux than mac

I am creating pdf from html using base64 fonts in html.
on mac 180kb, on linux 1,3mb.
is it a known issue?

I got the same issue, the size of the generated pdf is 100x bigger on linux than on windows:
in windows: 15mb, on linux 130kb.

yes. please migrate to puppeteer if possible

I found the issue. It's connected with this issue of phantomjs https://github.com/ariya/phantomjs/issues/13997, which this library uses under the hood.
The solution is to not use webfonts in your html. So please check if you have a webfont defined anywhere in a


Include  when using stdc++17

Signed-off-by: Yechiel Kalmenson<EMAIL_ADDRESS>Co-authored-by: Sunjay Bhatia<EMAIL_ADDRESS>Co-authored-by: William A Rowe Jr<EMAIL_ADDRESS>Description:
Correctly identify stdc++17 on windows to elect the use of <experimental/filesystem>
vs
Risk Level: low
Testing: local msvc on Windows, gcc on unix
Docs Changes: n/a
Release Notes: n/a

Revised the proposed code to drop MSVC and APPLE particulars, since they aren't needed.
See for example https://www.bfilipek.com/2019/07/hasinclude.html

/wait
Researching the long history of this logic.
Also the current iteration won't solve for Windows, because of their poor design choice to include an empty stub for  with a warning, along with <experimental/filesystem>, when compiling to stdc++14.


Show background pic

Fill the entire background with a themed pic. Will look better on landscape views

This is now an option to enable in settings. Greate for wide screen usage


Add support for different configs with push_to_hub

will solve  #5151
@lhoestq @albertvillanova @mariosasko
This is still a super draft so please ignore code issues but I want to discuss some conceptually important things.
I suggest a way to do .push_to_hub("repo_id", "config_name") with pushing parquet files to directories named as config_name (inside data/ dir as it is now), for example:
data
   |__config-v1
        train-00000-00002-...-.parquet
        train-00001-00002-...-.parquet
        ...
   |__config-v2
        ....

When loading a dataset, I parse these configs from repository data files (only for "data/{split}-[0-9][0-9][0-9][0-9][0-9]-of-[0-9][0-9][0-9][0-9][0-9]*.*" pattern that is used for parquet datasets pushed with .push_to_hub).
Therefore,

when user tries to load a dataset that has configs parsed from data files dir names without providing a config (like load_dataset("repo") instead of load_dataset("repo", "config-v1")) - raise error and asks for config - to be aligned with how it works in datasets with scripts.
for backward compatibility: if user tries to .push_to_hub(""repo", "config_name") to an existing parquet repo with no configurations (all parquet files are directly in data/ dir) - raise error. My initial idea was to raise a warning and move these files to another dir with name (config) like "default" or smth but in a PR and suggest user to merge it on the Hub. But there is no support for renaming (moving) files via HfApi yet so it would require deleting and pushing again if I understand it right.

This parsing approach can be extended to other Hub packaged modules, and to local packaged modules and other data files patterns
(except for cases when splits are in dir names KEYWORDS_IN_DIR_NAME_BASE_PATTERNS because we allow for arbitrary depth of directory hierarchy).
Do you think it's reasonable? Not sure how to provide flexibility (and backward compatibility) to not parsing configs and load all the data in a single config as it is now.
I also thought about getting information about configs from Readme.md dataset_info (example). But that way we
are dependent on if it exists. It is created automatically with .push_to_hub but what if it is
accidentally deleted or smth).
Also, what I don't like is that this parsing is a part of Module/DataFiles logic, not Builder's one, which is not aligned with datasets with custom scripts. But I don't know to implement the second approach in current library's logic.
What do you think about this all? Am I missing smth?
TODO:

[ ] save cache in the same dir for configs of the same datasets
[ ] fix verification errors
[ ] correctly update dataset_infos.json too
[ ] ...

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Nice thanks !
Would it be possible to have the new folders at the same level as "data" ? This way they're all separated
├─ config-v1/
│  ├── train-00000-00002-...-.parquet
│  └── train-00001-00002-...-.parquet
└ config-v2/
    ├── train-00000-00002-...-.parquet
    └── train-00001-00002-...-.parquet

and if you don't provide a config name, it goes in a folder named "default" instead, that would be loaded by default.
We could also write in the YAML something like
configs:
- name: config-v1
  data_dir: config-v1
- name: config-v2
  data_dir: config-v2

and loading config-v1 would be equivalent to run load_dataset(ds_name, "config-v1", data_dir="config-v1")
Do you think it would make sense ?
For backward compatibility we can just keep the "data/*" pattern. It's ok to expect users to have an updated version of datasets to be able to load datasets with configurations.

@lhoestq thank you for the feedback! i'll reflect on this on Moday, my mind just melted because of the fever.
@mariosasko  @albertvillanova what do you think?

Thanks for addressing this, @polinaeterna. It is good:

we support configs for datasets without scripts
we align the behavior to datasets with scripts as much as possible

Maybe adding some tests will help clarify what is the expected behavior...

After some discussion with @lhoestq we decided that it's better to rely on metadata file than on data files patterns.
So we decided to introduce a new field to yaml (like configs or smth like that) that would contain arbitrary configs kwargs to be passed to loader, including data_dir and data_files.
This is more aligned with datasets with custom scripts where we explicitly write all the supported configs and config parameters in the code and is extendable to all packaged modules.
This would solve https://github.com/huggingface/datasets/issues/5209
(@lhoestq was right 21 days ago, this is a more general solution idk why i ignored this...)

closed in favor of https://github.com/huggingface/datasets/pull/5331


Duplicate footers

There are multiple places in templates where the standard footer (About, Questions, etc.) is duplicated. They should be consolidated into a single place.

This is no longer true


Add school name column to orders view and export

Context
Rb users were contacting support asking about which orders were for which schools.
Changes proposed in this pull request
Add a school name column to the view and the export for orders.
Guidance to review
Check that the school name column is present.

 Add school name column to orders


Zap Desktop does not like LightningLabs' Loop

Description
Issue 1:
Installing Lightning Lab's Loop, and then with lnd already running in a terminal in the background, starting Zap yeilds a blank screen. I must execute lncli stop, open Zap Desktop, execute lnd in a terminal, and then unlock my wallet via Zap for it to work. This is without loop running. Also, any refreshing of wallet transaction history will cause Zap to post a blank screen and require a restart of lnd and Zap.
Issue 2:
Installed Lightning Lab's loop, upon restarting Zap-Desktop and refreshing channels, the names disappeared and I was left with letter/number ID's
LightningPowerUsers now shows --> 0331f80652
and Zap Technologies now shows --> 03634bda49

Expected Behavior
Screen should not go blank and should update appropriately (like the Zap Android App does)
Channels should retain their given names

Actual Behavior
Zap goes blank and requires a restart of lnd and Zap Desktop in a particular order to get it "working"
Channels do not retain their given names

Possible Fix

Steps to Reproduce

Update lnd in accordance with (IAW) https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md , but instead of executing make clean && make && make install, execute make clean && make && make install tags="signrpc walletrpc chainrpc invoicesrpc routerrpc" IAW https://github.com/lightninglabs/loop instructions and my issue ticket https://github.com/lightningnetwork/lnd/issues/3193

Proceed with the rest of lightning loop install IAW https://github.com/lightninglabs/loop

In terminal, start lnd

Start Zap-Desktop

Unlock Wallet and wait for Zap-Desktop to load (before starting lnd, you may have to start Zap-Desktop and delete your current wallet because Zap kept giving me a blank screen. Then start lnd and unlock wallet in terminal, then open and re-connect Zap)

In Zap, go to manage channels and click refresh

In Zap, refresh transaction history.

Try opening Zap with lnd already running in the background.

Context
I've gotta remember what channels are what now, instead of just seeing it and knowing

Your Environment
+lnd version 0.6.1-beta commit=v0.6.1-beta-256-g00a86696a8e737d2b3a621f72d2926c6b79cc4fe
+go1.12.3.linux-amd64.tar.gz was installed
+bitcoind v0.18.0 running on Samourai Dojo v1.0 Docker
+Running the machine VirtualBox 6.0.8

Zap version: Zap-linux-amd64-v0.4.1-beta.deb
Operating System and version: Linux ubuntu-desktop-vm 4.18.0-21-generic #22~18.04.1-Ubuntu SMP Thu May 16 15:07:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

@05nelsonm Zap 0.4.1 supports up to lnd 0.6.1-beta release.  If you want to run a later version of lnd (you are running a recent build from their master branch) then you should build your own pre-release version of Zap from our next branch.

Ah OK. I'll give it a go right now then.

[Desktop Entry]
Encoding=UTF-8
Type=Application
Version=1.0
Terminal=false
Exec=gnome-terminal --title="Zap Desktop" --geometry=80x25 --zoom=0.8 -- bash -c 'cd /home/$USER/zap-desktop; PATH="/home/$USER/.nvm/versions/node/v10.16.0/bin:$PATH"; npm run dev; $SHELL'
Name=Zap Desktop
Icon=/home/matthew/zap-desktop/resources/icon.png
Name[en_US]=Zap Desktop


Add ModelEvalResults.svelte

Is this still needed @mishig25?(I think it was for the course?)

We are no longer adding it for 3 reasons:

We have decided to use gradio iframes instead of InferenceWidgets. Therefore, besides ModelEvalResults.svelte, there is no other reason to add huggingface_hub submoodule to doc-builder.
Moving ModelEvalResults.svelte from moon-landing to huggignface_hub would be complicated because its type/interface depends on a lot of other types/interfaces that are not present in huggingface_hub.
It is only being used 3 times in the course

Therefore, I've just switched to using screenshots (a href img that take you to model card):

yes a screenshot is perfectly fine i think


Linked libraries are not suggested with require/import

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:32:36.023Z)
OS Version: Windows_NT x64 10.0.15063

Steps to Reproduce:

cd into library
run npm link
cd into the project that utilizes the library
run npm link my-library
open a js or ts file and do a require or import to get intellisense

Expected output:
Suggestions of the linked library should show up for autocompletion
Actual output:
Only non-linked libraries show up in the intellisense

Reproduces without extensions: Yes

Tracked upstream by https://github.com/Microsoft/TypeScript/issues/20401 . Can you please try following up on that issue. It was marked as a duplicate of https://github.com/Microsoft/TypeScript/issues/8760


feat(protocol-designer): add intercom messenger

DO NOT MERGE
PD team is not sure that we should add Intercom Messenger to PD, so this PR is frozen until it's been decided to close or merge this fella.
overview
Closes #1587
changelog

switch PD over to handlebars instead of raw html (following Run App conventions)
add intercom via OT_PD_INTERCOM_ID
add OT_PD_INTERCOM_ID as travis encrypted env var
make -C protocol-designer build is now renamed make -C protocol-designer dist to match Run App

review requests

Intercom messenger should work in the PD S3 link for this branch: https://s3-us-west-2.amazonaws.com/opentrons-protocol-designer/pd_add-intercom-messenger/index.html
should work locally with make dev OT_PD_INTERCOM_ID=slackIanForTheId -- without this env var it won't show up

Thanks @mcous for setting up the pattern to follow. In PD it's a little simpler than Run App, there's no config to load so Redux isn't tied into this. (Though it doesn't look like Intercom is using the config anyway right now in Run App?)

@umbhau When you visit the link for the first time the intercom pop up spawns a message that blocks the 'save' button for a new form. Can we have it not do that?

Seems like we don't want Intercom Messenger in PD atm. I'm closing this for now but leaving the branch in case we change our minds


Disable autocorrect in server settings input fields

Disable autocorrect for all input fields in the incoming and outgoing server settings screens.

There is a flag for doing so but according to KeyboardOptions:autoCorrect it could be changed but might be ignored for KeyboardType.Text

Added pr https://github.com/thunderbird/thunderbird-android/pull/7372


add composer.lock & update travis config

as per zendframework/zendframework#7660
also entails these changes:

bump minimum php version to 5.6
add composer scripts entries
fix travis.yml env variables to not be affected by travis-ci/travis-ci#1444
remove obsolete phpunit bootstrap

superseded by #20 and #25


resolv.vim: Add IPv6 syntax highlighting for nameserver

as mentioned on the vim_use list, have you contacted the maintainer?

I have, just sent this PR as example.

Codecov Report

Merging #5360 into master will decrease coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5360      +/-   ##
==========================================
- Coverage   82.25%   82.23%   -0.02%
==========================================
  Files         134      134
  Lines      147601   147601
==========================================
- Hits       121408   121387      -21
- Misses      26193    26214      +21

Impacted Files
Coverage Δ

src/ui.c
71.2% <0%> (-1.2%)
:arrow_down:

src/if_xcmdsrv.c
85.99% <0%> (-0.18%)
:arrow_down:

src/os_unix.c
63.37% <0%> (-0.18%)
:arrow_down:

src/terminal.c
81.74% <0%> (-0.08%)
:arrow_down:

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 3b68123...a586106. Read the comment docs.

No update, and I haven't heard from this maintainer for a while, let me include this improvement.
If you like, could you volunteer to become the maintainer?

This was included some time ago


undefined method `original'

Ruby : 2.4.3
Vagrant : 2.0.2
Vagrant -r10k : 0.4.1
vagrant up
Called 'load_file' without the :safe option -- defaulting to safe mode.
You can avoid this warning in the future by setting the SafeYAML::OPTIONS[:default_mode] option (to :safe or :unsafe).
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Invalid syntax in Puppetfile at /home/paul/work/cosmos/vagrant/vagrant-mantis/Puppetfile
/home/paul/.vagrant.d/gems/2.4.3/gems/vagrant-r10k-0.4.1/lib/vagrant-r10k/action/validate.rb:37:in rescue in call': undefined method original' for #<NoMethodError: undefined method []' for nil:NilClass> (NoMethodError) 	from /home/paul/.vagrant.d/gems/2.4.3/gems/vagrant-r10k-0.4.1/lib/vagrant-r10k/action/validate.rb:33:in call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/config_validate.rb:25:in call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:95:in block in finalize_action'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/handle_box.rb:56:in call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:95:in block in finalize_action'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/builder.rb:116:in call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in block in run' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/util/busy.rb:19:in busy'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in run' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/builtin/call.rb:53:in call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/warden.rb:34:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/builder.rb:116:in call'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in block in run' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/util/busy.rb:19:in busy'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/action/runner.rb:66:in run' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:227:in action_raw'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:202:in block in action' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/environment.rb:592:in lock'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:188:in call' 	from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/machine.rb:188:in action'
from /opt/vagrant/embedded/gems/gems/vagrant-2.0.2/lib/vagrant/batch_action.rb:82:in `block (2 levels) in run'
I tried reinstalling Vagrant, and removing the .vagrant.d directory in my home and reinstalling the modules but nothing seems to help.

@ranzbak I'm sorry to tell you this, but this plugin is currently unsupported. I haven't used it in 3 years, and am actively looking for someone to take over maintenance.
I can say with quite a bit of certainty, though, that the problem is this plugin is probably no longer compatible with modern Vagrant; the last version that I know it was compatible with was Ruby 2.0.0 and Vagrant 1.7.0.
Sorry.


Suggestion: Zoom.js

Hello there,
I have been interested in Markdown presentation Frameworks, I am interested in Remark because I like the simplicity and I want to keep my text and assets separate from my presentation.
I have also looked at Reveal.js and I like some of their features, mostly the use of Zoom.js
It looks such a simple API, would it be possible for you to incorporate it in your own framework?
The other this I would say as an aside is that there doesn't seem to be a NPM package, I download this one which is something different with the same name.

Hi there, I am also missing this kind of feature. Have you found any solution?

Hi all,
this is a really wonderful project! Regarding the use of zoom.js, the following works seamless for me:
<script src="https://lab.hakim.se/zoom-js/js/zoom.js" type="text/javascript"></script>
<script type="text/javascript">
	var slideshow = remark.create();

	slideshow.on( "beforeHideSlide", function( slide ) {
		zoom.out();
	} );
	slideshow.on( "afterShowSlide", function( slide ) {
		document.querySelector( ".remark-visible" ).addEventListener( "click", function( event ) {
			event.preventDefault();
			zoom.out();
			zoom.to( {element: event.target} );
		} );
	} );
</script>

Hi,
I added the script above by @murtex, but I'm still having the same issue that pinch-to-zoom triggers a navigation event (also described in #635 and yihui/xaringan#226). Any insights would be appreciated. Thanks.


EF is_element_of() chokes on string data

Reported by Andrew Wittenberg on 3 Oct 2005 18:22 UTC
The external function ext_func/src/sort/is_element_of.F can't directly
handle string data:
    NOAA/PMEL TMAP
    FERRET v5.81
    Linux(g77) 2.4.18 - 07/14/05
     3-Oct-05 13:56

yes? let v = {"a","b","c"}
yes? list is_element_of("a",v)
**ERROR: invalid command: string/numeric data type mix-up: IS_ELEMENT_OF
Perhaps this could be fixed simply by testing whether the data is string,
before doing the comparison...  E.g. replace the line
IF (arg_1(i1,j1,k1,l1) .EQ. arg_2(i2,j2,k2,l2) ) THEN
with something like
IF (is_string(arg_1)) THEN
IF (strcmp(arg_1(i1,j1,k1,l1),arg_2(i2,j2,k2,l2) .EQ. 0) THEN
...
ELSE
IF (arg_1(i1,j1,k1,l1) .EQ. arg_2(i2,j2,k2,l2) ) THEN
...
ENDIF
Meanwhile, here's a pretty convenient workaround (hence the low priority
assigned to this request):
yes? list is_element_of(0,strcmp("a",v))
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1346

Comment by<EMAIL_ADDRESS>on 3 Oct 2005 19:38 UTC
All functions take just one data type for each argument. In fact, we have a
(new) separate function IS_ELEMENT_OF_STR which takes string arguments. This
will be part of the v5.90 release.


Bug: Viewing default schema then swagger schema results in error

Describe the bug
Viewing the standard /schema route and then viewing /schema/swagger results in an empty page. The console log on the swagger route mentions parsing invalid JSON (Trying to parse nothing - JSON.parse())
I believe the problem is the caching located here. It should be checking for self._dumped_modified_schema. Changing to this seems to fix it.
To Reproduce
Run the hello world example from the documentation:

from typing import Dict

from starlite import Starlite, get

@get("/")
def hello_world() -> Dict[str, str]:
    """Handler function that returns a greeting dictionary."""
    return {"hello": "world"}

app = Starlite(route_handlers=[hello_world])

Then visit /schema and the page should be fine. Then visit /schema/swagger and it should be an empty page.
Additional context
Add any other context about the problem here.

Made a PR if that is the fix 😄 . Test is a little awkward and might not be needed...


Add helper methods for callback functions

Would you be interested in having helper methods to set the callback functions which automatically create the function pointer with  @cfunction ? Since the signature is fixed by the library we can just assume that the user is passing a valid method.
Eg. we could define:
function mfb_set_keyboard_callback(window, keyboard::Function)
    keyboard_c = @cfunction(keyboard, Cvoid, (Ptr{Cvoid}, mfb_key, mfb_key_mod, Bool))
    mfb_set_keyboard_callback(window, keyboard_c)
end

Let me know if that would be good to have, and if the naming, or something else would need to be changed

Yeah, that might be a good idea!

Any input on the api? Should I just add methods to the various mfb_set_*_callback functions?

I had to add $ to the macro call since the function pointer must be created at runtime. I am not sure whether that's a drawback or not.


feat(app): create parameters ODD screen

closes AUTH-116
Overview
This PR creates the Parameters ODD screen and leaves the buttons to wire up later
Test Plan
Send a protocol to the ODD and click on the "start setup" button and you should see the parameters page. The buttons are not wired up yet. If you turn the feature flag off, you should see the setup as usual.
Changelog

create ProtocolSetupParameters and test
plug in the component to ProtocolSetup
create new hook useProtocolHasRunTimeParameters which just returns a boolean
create test fixture for run time parameters key
modify ProtocolSetupStep to include an optional description

Review requests
see test plan
Risk assessment
low

seems that the font size of value is a little bit smaller than design.
the design
font size: 28px
font height: 36px
Could you check that the font config aligns with the design.

seems that the font size of value is a little bit smaller than design.
the design font size: 28px font height: 36px
Could you check that the font config aligns with the design.

@koji the design comments make me think we might change the size of the font down to 22px, is it ok if i leave it as is for now? i think it makes sense to just merge this PR in (after i address your other comments) and come back later during DQA since the widths of the subtitles aren't finalized anyway.

seems that the font size of value is a little bit smaller than design.
the design font size: 28px font height: 36px
Could you check that the font config aligns with the design.

@koji the design comments make me think we might change the size of the font down to 22px, is it ok if i leave it as is for now? i think it makes sense to just merge this PR in (after i address your other comments) and come back later during DQA since the widths of the subtitles aren't finalized anyway.

@jerader yes. I think we just need a new ticket to track that.

@jerader yes. I think we just need a new ticket or use an existing ticket to track the issue.

@koji made a ticket: https://opentrons.atlassian.net/browse/AUTH-215


[M] Spike: Figure out Sites

This ticket is for the team to figure out/brainstorm how Sites will look for the data register. See note below from refinement for topics to be discussed as a group during a scheduled session.
Acceptance Criteria

meeting is scheduled for the team to discuss sites - what's needed and when we need it by
tickets are created which require action - i.e. data model changes, data flow diagram, user flow diagram, etc (tag with "Data Register - Sites" EPIC label)

Notes
Oct 31st Refinement comments: data flow diagram would be helpful; both data and user flows are needed; administrator on the front end who will be wardens of the data that will change; 2nd consumer will be API consumer/general public consumer receiving data directly from API; need flow charts for both of these.
Collaboration between the dev's and UX/SD will be needed on each flow chart.
Dev's need to also get comfortable with the business context around sites, association, etc;
Updates to mapped relationships around protected areas will also need to be looked at;

This could be a first example of adding a new property/object/item to register

@ashleydhillon to connect with Jane to figure out agenda for the session and then schedule.


bad file descriptor when rapidly appending and writeback_cache is enabled

What happened:
I ran R code which rapidly appended data to a .csv file, but I got errors about a bad file descriptor when I call for warnings:
> warnings()
Warning messages:
1: In close.connection(file) : Problem closing connection:  Bad file descriptor
2: In close.connection(file) : Problem closing connection:  Bad file descriptor
3: In close.connection(file) : Problem closing connection:  Bad file descriptor
4: In close.connection(file) : Problem closing connection:  Bad file descriptor
5: In close.connection(file) : Problem closing connection:  Bad file descriptor
6: In close.connection(file) : Problem closing connection:  Bad file descriptor
7: In close.connection(file) : Problem closing connection:  Bad file descriptor
8: In close.connection(file) : Problem closing connection:  Bad file descriptor
9: In close.connection(file) : Problem closing connection:  Bad file descriptor
10: In close.connection(file) : Problem closing connection:  Bad file descriptor
11: In close.connection(file) : Problem closing connection:  Bad file descriptor
12: In close.connection(file) : Problem closing connection:  Bad file descriptor

The file is not correctly written, it is missing substantial pieces that should be there. It seems random, like a race condition, how many pieces are missing.
What you expected to happen:
The data should be appended (even if it takes some time).
How to reproduce it (as minimally and precisely as possible):
This bash simulation worked to get the same (or very similar) behavior on our mount:
[root@hostname juicefs]# for i in $(seq 1 10); do echo $i >> afile; done
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor
-bash: echo: write error: Bad file descriptor

Anything else we need to know?
The issue consistently disappeared when we removed writeback_cache from the mount options. writeback still works.
Here is a sample .accesslog from when the bug with the R code was happening. Notice the bad file descriptor on read.

2024.11.21 12:26:57.506861 [uid:uid,gid:gid,pid:28644] read (57698439,4096,28672): (0) - bad file descriptor <0.000002>
2024.11.21 12:26:57.507507 [uid:uid,gid:gid,pid:28644] setattr (57698439[41684],0x460,[mtime=1732210017]): (57698439,[-rw-r--r--:0100644,1,uid,gid,1732209892,1732210017,1732210017,32225]) - OK <0.000609>
2024.11.21 12:26:57.507536 [uid:uid,gid:gid,pid:28644] flush (57698439,41684,83806B71FE2A25BE) - OK <0.000002>
2024.11.21 12:26:57.507566 [uid:0,gid:0,pid:0] release (57698439,41684) - OK <0.000006>
2024.11.21 12:26:57.511805 [uid:uid,gid:gid,pid:28644] getattr (57698438): (57698438,[-rwxr--r--:0100744,1,uid,gid,1732209874,1732209874,1732209874,4724]) - OK <0.000460>
2024.11.21 12:26:57.515278 [uid:uid,gid:gid,pid:28805] flush (57698438,39669,1D60D24A7855051D) - OK <0.000001>
2024.11.21 12:26:57.515346 [uid:uid,gid:gid,pid:28644] flush (57698438,39669,83806B71FE2A25BE) - OK <0.000001>
2024.11.21 12:26:57.515384 [uid:0,gid:0,pid:0] release (57698438,39669) - OK <0.000006>

Environment:

JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
juicefs version 1.2.1+2024-08-30.cd871d1
Cloud provider or hardware configuration running JuiceFS:
AWS EC2 instance.
OS (e.g cat /etc/os-release):

NAME="AlmaLinux"
VERSION="8.10 (Cerulean Leopard)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.10"
PLATFORM_ID="platform:el8"
PRETTY_NAME="AlmaLinux 8.10 (Cerulean Leopard)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8"
ALMALINUX_MANTISBT_PROJECT_VERSION="8.10"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.10"
SUPPORT_END=2029-06-01

Kernel (e.g. uname -a):

Linux hostname 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 x86_64 x86_64 GNU/Linu

Object storage (cloud provider and region, or self maintained):
Amazon S3.
Metadata engine info (version, cloud provider managed or self maintained):
Redis on Amazon EC2, self maintained. Version 6.2.7
Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
Amazon EC2 IP networking, and networking to Amazon S3.
Others:
Systemd mount options at the time of failure looked like this:

Options=_netdev,allow_other,writeback_cache,writeback,max-uploads=40,buffer-size=1024,backup-meta=0

Hi @aeblyve, for your use case, we recommend using only writeback.
writeback_cache is a mechanism of FUSE, while writeback is a mechanism of JuiceFS.
The simplified data flow is: userspace -> kernel -> FUSE (default: write-through) -> JuiceFS -> object storage.
So, under the default FUSE IO mode, i.e., write-through, append writes are converted into sequential IO requests to JuiceFS. JuiceFS then uses the writeback mechanism to first write to local disks and then asynchronously upload to object storage.
If you change the FUSE IO mode to writeback_cache, the kernel will first cache the requests in the page cache and then flush pages to the underlying layer at unpredictable intervals. The IO requests received by JuiceFS might become random writes, which is why this mode is not recommended.
Additionally, we will look into your issue to see if it can be reproduced and investigate the specific problem.

@jiefenghuang
Add another data point of such failure.  Simply enable writeback_cache and compile redis (eg I am compiling redis-7.4.1) it will encounter such error. I am using ceph rados 16.2.7 as backend storage and juicefs 1.2.1.
[root@node1 redis-7.4.1]# ps -ef|grep jfs
root     23264     1  0 09:52 ?        00:00:00 /sbin/mount.juicefs postgres://jfs_admin@xxxxx:5432/jfs /jfs -o rw,allow_other,writeback_cache,backup-meta=0,buffer-size=2000,cache-partial-only,_netdev
root     23273 23264 36 09:52 ?        00:00:32 /usr/local/bin/juicefs.ceph postgres://jfs_admin@xxxxx:5432/jfs /jfs -o rw,allow_other,writeback_cache,backup-meta=0,buffer-size=2000,cache-partial-only,_netdev

[root@node1 redis]# ll
total 3489
-rw-r--r--. 1 yliu users 3567859 Oct  2 22:31 7.4.1.tar.gz
drwxrwxr-x. 8 root root     4096 Oct  2 12:04 redis-7.4.1
[root@node1 redis]# cd redis-7.4.1/
[root@node1 redis-7.4.1]# make
cd src && make all
./mkreleasehdr.sh: line 12: echo: write error: Bad file descriptor
./mkreleasehdr.sh: line 13: echo: write error: Bad file descriptor
./mkreleasehdr.sh: line 14: echo: write error: Bad file descriptor
./mkreleasehdr.sh: line 15: echo: write error: Bad file descriptor
make[1]: Entering directory `/jfs/redis/redis-7.4.1/src'
    CC Makefile.dep

hi @frostwind, we fixed this issue in the main branch, but it wasn’t merged into the release branch earlier. It has been resolved in #5369.

@jiefenghuang To confirm, it is now possible to use writeback_cache without the bad file descriptor error?
I understand you don't recommend it either way for this use case, but we have other use cases that could benefit from this option.

v1.2.0-1.2.2 cannot use writeback_cache parameter. This bug fix will be released in v1.2.3. You can test it manually by building the main branch or the release-1.2 branch.


setup.py missing?

Hi
I clone the directory but cant find setup.py under root. I see setup.cfg though. How do I work with that? Is ReadMe updated?

just install it from pypi. I need to update the README.
pip install pyrh

though, if you're curious, it uses pyproject.toml, the latest PEP standard and poetry to build the project so you can still follow the instructions to pip install . as long as your pip version is greater than 19.1

I did successfully install pyrh (pip install pyrh) but when I run the
jupyter notebook, it says "module pyrh not found". I think I can probably
run using standard python
On Wed, Mar 18, 2020 at 9:34 PM Adithya Balaji<EMAIL_ADDRESS>wrote:

though, if you're curious, it uses pyproject.toml, the latest PEP standard
and poetry to build the project so you can still follow the instructions to
pip install . as long as your pip version is greater than 19.1
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/robinhood-unofficial/Robinhood/issues/213#issuecomment-600983580,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKNOCRBLMHHWXB6K6LUG2DRIGOE5ANCNFSM4LPAHIRQ
.

@jtngangani That's likely because you don't have the package installed in the "python environment" the jupyter notebook is using. Are you using conda or something to set up jupyter? In the notebook, type !pip freeze to check to see if the package is properly installed. If note go ahead and install it using !pip install pyrh

I did

sudo apt get install jupyter-notebook
jupyter-notebook &

and opened the example.py. I dont know what python environment its using.
On Wed, Mar 18, 2020 at 10:59 PM Adithya Balaji<EMAIL_ADDRESS>wrote:

@jtngangani https://github.com/jtngangani That's likely because you
don't have the package installed in the "python environment" the jupyter
notebook is using. Are you using conda or something to set up jupyter? In
the notebook, type !pip freeze to check to see if the package is properly
installed. If note go ahead and install it using !pip install pyrh
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robinhood-unofficial/Robinhood/issues/213#issuecomment-601003215,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKNOCXFAIF7YWFAHYAH5HTRIGYEVANCNFSM4LPAHIRQ
.

@jtngangani yep, and in a cell all you need to do is run the above !pip install pyrh. Let me know if that works. The preferred way to set up jupyter (afaik) is to install it locally using pip install jupyter in a virtualenv set up to manage notebooks. (or use conda)

Ok.

Created virtualenv.
pip install pyrh
pip install jupyter
jupyter notebook

Browsed to example.ipynb and ran it. Same error -
ModuleNotFoundError                       Traceback (most recent call last)
 in ()
----> 1 from pyrh import Robinhood
2 from pprint import pprint
ModuleNotFoundError: No module named 'pyrh'
On Wed, Mar 18, 2020 at 11:22 PM Adithya Balaji<EMAIL_ADDRESS>wrote:

@jtngangani https://github.com/jtngangani yep, and in a cell all you
need to do is run the above !pip install pyrh. Let me know if that works.
The preferred way to set up jupyter (afaik) is to install it locally using pip
install jupyter in a virtualenv set up to manage notebooks. (or use conda)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robinhood-unofficial/Robinhood/issues/213#issuecomment-601009365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKNOCXCRDNRFIW3BMJOD33RIG23DANCNFSM4LPAHIRQ
.

Did you remember to activate the virtualenv?
$ python --version # python 3.3+ for venv functionality
Python 3.7.6
$ python -m venv pyrh_env
$ source pyrh_env/bin/activate
(pyrh_env) $ pip install pyrh
(pyrh_env) $ pip install jupyter
(pyrh_env) $ jupyter notebook

Thanks Aditya. That worked. I was actually pip installing outside venv. :(
Qs:
1 - What is the GEV0 symbol that you have buy/sell test in your notebook?
2 - I wish to get my entire portfolio and transactions from robinhood.
where can I find the API information for that?
Jatin
On Thu, Mar 19, 2020 at 12:06 AM Adithya Balaji<EMAIL_ADDRESS>wrote:

Did you remember to activate the virtualenv?
$ python --version # python 3.3+ for venv functionality
Python 3.7.6
$ python -m venv pyrh_env
$ source pyrh_env/bin/activate
(pyrh_env) $ pip install pyrh
(pyrh_env) $ pip install jupyter
(pyrh_env) $ jupyter notebook
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robinhood-unofficial/Robinhood/issues/213#issuecomment-601021390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKNOCQNXIXKLYY24PXAUP3RIG76BANCNFSM4LPAHIRQ
.

Nvm. I am exploring the robinhood.py
On Fri, Mar 20, 2020 at 1:24 PM jatin gangani<EMAIL_ADDRESS>wrote:

Thanks Aditya. That worked. I was actually pip installing outside venv. :(
Qs:
1 - What is the GEV0 symbol that you have buy/sell test in your notebook?
2 - I wish to get my entire portfolio and transactions from robinhood.
where can I find the API information for that?
Jatin
On Thu, Mar 19, 2020 at 12:06 AM Adithya Balaji<EMAIL_ADDRESS>wrote:

Did you remember to activate the virtualenv?
$ python --version # python 3.3+ for venv functionality
Python 3.7.6
$ python -m venv pyrh_env
$ source pyrh_env/bin/activate
(pyrh_env) $ pip install pyrh
(pyrh_env) $ pip install jupyter
(pyrh_env) $ jupyter notebook
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/robinhood-unofficial/Robinhood/issues/213#issuecomment-601021390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKNOCQNXIXKLYY24PXAUP3RIG76BANCNFSM4LPAHIRQ
.

@jtngangani glad to hear it, marking this issue as closed for now.


Cursor Highlights being overriden by Lazyvim

Description
I'm using Cyberdream with LazyVim and Im trying to make the cursor change to match the colors of the current vim mode..
Ex.:
Normal is blue, Insert is green, Visual is purple.
But adding nCursor, iCursor and vCursor in the highlights doesnt change the cursor color, I even tried to use the override function to override the highlights but still it didnt work.
Neovim version?
NVIM v0.10.2 Build type: Release LuaJIT 2.1.1713484068
What should happen?
The cursor would have different colors depending on what mode vim is.
What happened instead?
The cursor is white and no matter what I do it doesnt change.
Your configuration
return {
  "scottmckendry/cyberdream.nvim",
  lazy = false,
  priority = 1000,
  config = function()
    require("cyberdream").setup({
      transparent = true,
      italic_comments = true,
      terminal_colors = true,
      hide_fillchars = true,
      borderless_telescope = false,

      theme = {
        variant = "default",
        colors = customColors,
        highlights = {
          nCursor = { bg = customColors.blue, fg = customColors.black },
          vCursor = { bg = customColors.purple, fg = customColors.black },
          iCursor = { bg = customColors.green, fg = customColors.black },
          CursorLineNr = { fg = customColors.navajo, bold = true },
          Special = { fg = customColors.blue },
          SpecialKey = { fg = customColors.blue },
          Number = { fg = customColors.orange },
          Constant = { fg = customColors.cyan },
          Boolean = { fg = customColors.navajo, bold = true },
        },
      },
    })
    vim.cmd("colorscheme cyberdream")
  end,
}

I'm not familiar with these highlight groups, is there some documentation you can point me to that explains some more about them?

It is mentioned in the options of the guicursor, gcr
https://neovim.io/doc/user/options.html
I was recently able to make it work by adding this to my options.lua
vim.opt.guicursor = {
"n:block-nCursor",
"i:ver25-iCursor",
"v:block-vCursor",
}

I've been able to get this partially working with cyberdream using the following config:
return {
    "scottmckendry/cyberdream.nvim",
    lazy = false,
    priority = 1000,
    config = function()
        require("cyberdream").setup({
            theme = {
                overrides = function(colors)
                    return {
                        nCursor = { bg = colors.blue },
                        vCursor = { bg = colors.green },
                        iCursor = { bg = colors.red },
                    }
                end,
            },
        })

        vim.cmd("colorscheme cyberdream")
    end,
}

I say partially because Normal and Visual modes change the colour, but Insert mode still looks the same.
Have you changed anything else since this was last working? Terminal, etc? Can you still replicate the issue with a different colorscheme like tokyonight?

Well, it works fine if I dont use Cyberdream alongside LazyVim.
When I use it with LazyVim, it only changes when I change the cursor options explicitly using vim.opt.guicursor...
I tried to use the overrides function as well and it doesnt work either.
I made some tests with tokyonight with this configuration:

It seems that he doesn’t create the highlight groups properly, because even though you can see that they exist and the colors match the configuration, the cursor remains white no matter what, even when I set vim.opt.guicursor to use these highlight groups


app-datepicker-dialog appears behind the backdrop when opened up

Description
The app-datepicker-dialog appears behind the backdrop.
Im running Polymer 2.0 with the latest datepicker version (2.10.1)
Expected outcome
app-datepicker-dialog comes up on top as in the demo
Actual outcome
app-datepicker-dialog appears behind the backdrop and when trying to click it, it just shuts down as if
I clicked outside of the app-datepicker-dialog
Live Demo
<link rel='import' href='../bower_components/app-datepicker/app-datepicker-dialog.html'>
<link rel="import" href="../bower_components/app-datepicker/animations/datepicker-slide-from-bottom-animation.html">
<link rel="import" href="../bower_components/app-datepicker/animations/datepicker-slide-from-top-animation.html">

<app-datepicker-dialog
        with-backdrop
        id="datepicker"
        theme="light-theme"
        first-day-of-week=1
        entry-animation="datepicker-slide-from-bottom-animation"
        exit-animation="datepicker-slide-from-top-animation"
        date="{{selectedDate}}">
</app-datepicker-dialog>

Steps to reproduce

Include these html imports

<link rel='import' href='../bower_components/app-datepicker/app-datepicker-dialog.html'>
<link rel="import" href="../bower_components/app-datepicker/animations/datepicker-slide-from-bottom-animation.html">
<link rel="import" href="../bower_components/app-datepicker/animations/datepicker-slide-from-top-animation.html">

Add the element

<app-datepicker-dialog
        with-backdrop
        id="datepicker"
        theme="light-theme"
        first-day-of-week=1
        entry-animation="datepicker-slide-from-bottom-animation"
        exit-animation="datepicker-slide-from-top-animation">
</app-datepicker-dialog>

Bind button to : this.$.datepicker.open();

Click button :D

Browsers Affected

[x] Chrome/ Opera
[ ] Firefox
[ ] Safari 10+
[ ] Safari 9
[ ] Safari 8
[ ] Safari 7
[x] Edge 12+
[ ] IE 11

I am having the same problem

@unionthugface @ralcar Any reduced test case for me to reproduce?
I think the culprit was the iron-overlay element which caused this kind of effect and the way to resolve this is to move any dialog element to the document body.
And this is what folks out there to solve that:
Suppose you have a `<button>` element deep inside your Polymer app.
...
<button on-click="lazyRenderDatepicker">Open datepicker</button>
...

/* lazyRenderDatepicker function in ES6 Class */
...
lazyRenderDatepicker() {
 /* If datepicker dialog element yet to be rendered, lazy render it on button click. */
 if (!this.datepickerDialog) {
  const dialog = document.createElement('app-datepicker-dialog');

  dialog.setAttribute('with-backdrop', '');
  dialog.setAttribute('id', 'datepicker');
  dialog.setAttribute('theme', 'light-theme');
  dialog.setAttribute('first-day-of-week', '1');
  dialog.setAttribute('entry-animation', 'datepicker-slide-from-bottom-animation');
  dialog.setAttribute('exit-animation', 'datepicker-slide-from-top-animation');

  /* Save a ref to the datepicker dialog within your Polymer App. */
  this.datepickerDialog = dialog;

  document.body.appendChild(dialog);
 }

 this.datepickerDialog.open();
}
...

Closing this issue.


feat: shortcut link imgs in md doc integration

implements first part of #117
Adds an additional tree sitter query to the markdown document integration to find images that are formatted like:
![[/path/to/image]]

@benlubas This looks great, thank you so much!


macOS: Can't quit by pressing Cmd-Q

On macOS any application can be terminated by pressing Cmd-Q. Not allowing this can be very confusing for newcomers. Plus it slows down restart time when you need to move your fingers to the trackpad / mouse.

In the meantime, exiting the shell process seems to be a good mouse-free alternative to Cmd-Q (e.g. exit in bash).

Or equivalently, Control-D (sends EOF)

this issue is the same as #119

Ah, sorry.. Missed issue #119.
The problem for me with EOF or Ctrl-D is that it doesn't work when the shell / process you run has hanged or you accidentially hit ~ again on your Swedish keyboard.

Just a small additional comment: it would also be nice if other "standard" Mac OS shortcuts worked as well like Cmd-W for close window (and hopefully Cmd-N to open one eventually too!).
I'm interested in trying to tackle a bug like this one which seems like it should be relatively tractable. Can anyone with decent knowledge of the project comment as to whether there are any pitfalls or other background here? Is the feature missing only because it hasn't been implemented yet? Thanks!

Is the feature missing only because it hasn't been implemented yet?

That is indeed the reason for most missing features at this point.
Cmd-W is essentially going to be equivalent to Cmd-Q at this point since each Alacritty is a process leader. Cmd-N I was planning to implement very generally -- just making it possible through config. One Action that we would like to have is the ability to exec another process. You can imagine then that CmdN would just exec another Alacritty.

Cmd-W is essentially going to be equivalent to Cmd-Q at this point since each Alacritty is a process leader.

I think that would be fine until there are actually windows to be closed individually.

Cmd-N I was planning to implement very generally -- just making it possible through config. One Action that we would like to have is the ability to exec another process. You can imagine then that CmdN would just exec another Alacritty.

Yep, that makes perfect sense. My bar is low, and I'd just like to (eventually) see it behave roughly like other common windowed applications on Mac OS like Finder, iTerm2, or Chrome.
I've taken a shot at a basic fix for this one in #393.


java.lang.NoSuchMethodError: com.wordnik.swagger.jaxrs.config.BeanConfig.setApiReader

I am migrating to v1.5.2 . Does BeanConfig no longer support setApiReader and setFilterClass ?

Yes, the are no longer needed.  Can you explain more what you're trying to do?

Actually, you're right.  The setFilterClass is indeed missing

This is my previous code for beanconfig:
beanConfig.setApiReader("com.wordnik.swagger.jersey.JerseyApiReader");
beanConfig.setFilterClass("swagerfilter");
I am getting a no such method error for these.

you can remove the setApiReader.  the setFilterClass will be pushed shortly.

If you update to 1.5.4-M1-SNAPSHOT from sonatype-snapshots you will see the setFilterClass on BeanConfig.


ID field stripped from payload

I ran into the following error:
 PHPUnit\Framework\Exception: Notice: Undefined index: planId in /data/web/magento2/vendor/reach-digital/magento2-subscription/src/Model/Domain.php:670.

This is the corresponding code:
namespace ReachDigital\Subscription\Model\ProductPlan {
    final class SubmitFormGlobalScope extends \Prooph\EventSourcing\AggregateChanged
    {
...
        public function planId(): PlanId
        {
            if (! isset($this->planId)) {
                $this->planId = PlanId::fromString($this->payload['planId']);
            }

            return $this->planId;
        }
...

This has to be because planId is stripped from the payload here:
namespace ReachDigital\Subscription\Model\ProductPlan {
    final class SubmitFormGlobalScope extends \Prooph\EventSourcing\AggregateChanged
    {
...
        public static function with(PlanId $planId, ProductId $productId, Enabled $enabled, EnabledOnFrontend $enabledOnFrontend, Title $title, Description $description, Schedule $schedule, Interval $interval, InitialPrice $initialPrice, InstallmentPrice $installmentPrice): SubmitFormGlobalScope
        {
            return new self($planId->toString(), [
                'productId' => $productId->toScalar(),
                'enabled' => $enabled->toScalar(),
                'enabledOnFrontend' => $enabledOnFrontend->toScalar(),
                'title' => $title->toString(),
                'description' => $description->toString(),
                'schedule' => $schedule->toArray(),
                'interval' => $interval->toArray(),
                'initialPrice' => $initialPrice->toScalar(),
                'installmentPrice' => $installmentPrice->toScalar(),
            ]);
        }
...

Any idea on how to solve this?

Yes. Sorry. You changed the class extends manually, correct?
I will fix this aggregate changed bug tomorrow. It's a bit more
complicated. The problem you described here is pretty simple to fix, but I
will do both together.
Thanks for reporting.
On Sat, Mar 10, 2018, 00:44 Maikel<EMAIL_ADDRESS>wrote:

I ran into the following error:
PHPUnit\Framework\Exception: Notice: Undefined index: planId in /data/web/magento2/vendor/reach-digital/magento2-subscription/src/Model/Domain.php:670.
This is the corresponding code:
namespace ReachDigital\Subscription\Model\ProductPlan {
final class SubmitFormGlobalScope extends \Prooph\EventSourcing\AggregateChanged
{
...
public function planId(): PlanId
{
if (! isset($this->planId)) {
$this->planId = PlanId::fromString($this->payload['planId']);
}
        return $this->planId;
    }

...
This has to be because planId is stripped from the payload here:
namespace ReachDigital\Subscription\Model\ProductPlan {
final class SubmitFormGlobalScope extends \Prooph\EventSourcing\AggregateChanged
{
...
public static function with(PlanId $planId, ProductId $productId, Enabled $enabled, EnabledOnFrontend $enabledOnFrontend, Title $title, Description $description, Schedule $schedule, Interval $interval, InitialPrice $initialPrice, InstallmentPrice $installmentPrice): SubmitFormGlobalScope
{
return new self($planId->toString(), [
'productId' => $productId->toScalar(),
'enabled' => $enabled->toScalar(),
'enabledOnFrontend' => $enabledOnFrontend->toScalar(),
'title' => $title->toString(),
'description' => $description->toString(),
'schedule' => $schedule->toArray(),
'interval' => $interval->toArray(),
'initialPrice' => $initialPrice->toScalar(),
'installmentPrice' => $installmentPrice->toScalar(),
]);
}
...
Any idea on how to solve this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prolic/fpp/issues/22, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYEvAqnLVRkGa1VwbJUe3YjwWP2cWvwks5tcrFWgaJpZM4SkipJ
.

@Maikel-Koek can you confirm it's working good now?


Custom snippets stop working in long sentences

VSCode Version:
Version: 1.27.2 (system setup)
Commit: f46c4c469d6e6d8c46f268d1553c5dc4b475840f
Date: 2018-09-12T16:17:45.060Z
Electron: 2.0.7
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

OS Version: Windows 10 1803 (OS Build 17134.285)

Steps to Reproduce:

Create some custom user snippets for HTML.
Open an HTML document, start typing some text.
After the first or second word try to insert your snippet by typing its prefix. It works.
Continue typing. After you have around 15-20 words in a paragraph, try inserting your snippet 2-3  times. It does not work.
For some strange reason, my snippets stop working randomly in the document. In some places, it is possible to insert a snippet, in others - snippet does not appear in the drop-down list.
I've tried reinstalling VS Code, disabled all extensions and reproduced this with code --disable-extensions. It is also present in the insider build.

Does this issue occur when all extensions are disabled?: Yes

/duplicate of #58807

Good news: This is fixed in VS Code Insiders.


Create ghostinnet.toml

https://github.com/gitn17/
https://twitter.com/gitn17
Discord: gitn#1206
Moniker: ghostinnet

element: @ghostinnet:matrix.org
Validate mainnet and testnets, 24/7 monitoring, security and high availability.
https://blue.kujira.app/stake/kujiravaloper1phekwx93vtlk8yjqvvnppzgkfd9tt7e8qxmy2l
https://nibiru.explorers.guru/validator/nibivaloper12575exrjrrmyyl44qevgne83fn2lgqdj4yh9zs
https://defund.explorers.guru/validator/defundvaloper163c25nnjmxdvhftrscrexk42vyxxukqqmt390e
+penumbra, gear, celestia, bundlr, and many more...


Use runtime arguments in Divan benchmarks

This greatly reduces compile times and is not limited to arrays/slices.

Great change, thanks!


Questions

Hi nice tool. Sure to steam changes I started to play Poe on Linux. Can you share or mod code to run on Linux?

Just use Wine ?

It's not so easy to run in wine but using Wine give me more windows on my Linux :D and no one wants that... native apps are more needed... POE works on Steam with new libs that give me a way to remove Wine from the system. but i will try. Please think if it's possible to integrate (only 3 default systems Ubuntu / Fedora / Arch then users will manage to build upon that

I have managed to pool it with PlayOnLinux

It works, it imports links from https://pastebin.com
just please tell me what with Updates?
When i;m running updates it stays on this:

Can You show me screenshots what to see if an update is started?
BTW i will remove it and made quick tutorial step by step how to run it on Linux with POL


Mekanism Charging pad won't recognize Ic2 jetpack with chestplate

Forge 2795
Ic2 Ex112
Mekanism 349
So basically mekanism will recognize and charge the electric jetpack from ic2 , but if i use the jetpack attachment plate from Ic2 and combine any chestplate then the charge pad won't recognize it as a chargeable item.

Though I'm not familiar with IC2, I would assume this is because the item itself does not implement IElectricItem, which the charge pad currently checks for.


License

Hi @myconcretelab
could you may be think about changing the license to MIT so others could improve this addon and resubmit it to the marketplace, we would really be thankful if you could do, so we would submit it again or free after an upgrade to the last version

this was taken care of


Changed incorrect link to staging app

SunbirdEd - Portal

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

The link to staging app in Readme was  https://staging.open-sunbird.org/ , which does  not work . Instead , updated the link to https://staging.sunbirded.org/ .
Fixes issue #8770
Please choose applicable option
Example

[] Applicable
[x] Not applicable

Type of change
Please choose appropriate options.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Enhancement (additive changes to improve performance)
[ ] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

@rajeevsathish Can you PS review?


fix: update download artifact version in deploy workflow

What does this PR do?:

Fixes deprecated actions/download-artifact version to use @v4 to fix CI/CD errors

:tada: This PR is included in version 9.61.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


uart_wait_tx_done exit with buffer not empty (IDFGH-3349)

Reopening https://github.com/espressif/esp-idf/issues/1002
Environment

Development Kit:      Custom board
Module or chip used:  ESP32-WROOM-32
IDF version (run git describe --tags to find it): v4.1-beta1-266-g56c1646e2
Build System:        idf.py
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2019r2) 8.2.0
Operating System:     Windows
(Windows only) environment type: ESP Command Prompt
Using an IDE?: No
Power Supply:         USB

Problem Description
We use chip with DE pin to control data transfer direction (receive or transmit).
Before send data DE pin set to transmit and after to receive mode.
uart_wait_tx_done() return immediately and data transfer not completed.
Expected Behavior
uart_wait_tx_done() return after all data send
Actual Behavior
uart_wait_tx_done() return immediately
Steps to reproduce

use uart_wait_tx_done() right after uart_write_bytes()

DE pin - red line
TX pin - yellow line

Code to reproduce this issue
Sample poject https://github.com/moggiozzi/esp_uart_test
    usartClientSetModeTx();//change DE pin
    uart_write_bytes(UART_NUM_1, (char *)pData, dataLength);
    uart_wait_tx_done(UART_NUM_1, MB_SERIAL_TX_TOUT_TICKS);
    usartClientSetModeRx();//change DE pin

Other
I think the problem is that the function checks the hardware module, but does not check the circular buffer (p_uart_obj[uart_num]->tx_ring_buf).

Hi, @moggiozzi
I think is that case, can you  refer to uart_echo_rs485 example ?

@moggiozzi Thanks for reporting, would you please help share if any updates for the issue? Thanks.

@moggiozzi Thanks for reporting, would you please help share if any updates for the issue? Thanks.

@moggiozzi Thanks for reporting, would you please help share if any updates for the issue? Thanks.

@moggiozzi Thanks for reporting, would you please help share if any updates for the issue? Thanks.

I will try it in rs485 mode and inform results.

In rs485 mode all works fine, but I had to patch SDK:
esp-idf\components\soc\include\hal\uart_hal.h
---#define uart_hal_set_rts(hal, active_level)  uart_ll_set_rts_active_level((hal)->dev, active_level)
+++#define uart_hal_set_rts(hal, active_level)  uart_ll_set_rts_active_level((hal)->dev, (active_level == 0))
because on my board RTS(DE pin) inversed.
Is it possible to configure RTS pin inversion in the uart driver?

Is it possible to configure RTS pin inversion in the uart driver?
Yes
GPIO.func_out_sel_cfg[DE_GPIO_NUM].inv_sel = 1;


[#87] Instrumenation is done via exec-maven-plugin now

Fix for #87

@rultor merge

@rultor merge

@skapral OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@skapral Done! FYI, the full log is here (took me 3min)


How to keep scroll position ?

Hello my friends
i created a project with collectionKit that it has multiple collection views in one view controller like App Store
when i scrolling collection views items and after that i scroll down main page , and scroll up main page all of my collection views scroll to the first item
how can i keep scroll position in collection views
could you help me

can any one help me ?

Can you post some code? @javaddeveloper


Can't capture vulkan on ubuntu machine

Description
I am trying to capture vulkan application on ubuntu but can't find way to capture it. I am running qrenderdoc and it loads the app correctly. but F12 or print doesn't work, and i don't see any menu button for capture.(actually the trigger after delay button is greyed out)
It also prompts vulkan layer is not registered, so i follow the option to register. but the next time i open renderdoc, it still mentions vulkan layer is not registered. I don't know if it relates to the problem.
thanks.

Repro steps
Launch renderdoc with vulkan app, press F12, or print screen, nothing happens.

Environment

RenderDoc build: v1.0 downloaded.
Operating System: Ubuntu Linux
API:  Vulkan

I think i figured out somehow. I had to manually run sudo ./qrenderdoc --install_vulkan_layer 1
(i don't even know what 1 means...)
it seems the script run by qrenderdoc interface to register vulkan layer was stuck for unknown reason.

If you're willing to help investigate this I'd like to know why the vulkan layer registration was failing. The 1 in this case is just a flag meaning it's a system-level install rather than user-level.
It sounds like you clicked yes to install at system level rather than user level. If you remove the layer registration again by hand, can you successfully install at user level that doesn't do a sudo ?
Then my guess is something went wrong trying to launch a graphical sudo. RenderDoc tries pkexec, kdesudo, gksudo, beesu in that order - do you have any of them installed? If not, then it tries to launch x-terminal-emulator, gnome-terminal, knosole (oops, I only just noticed this typo) and xterm in that order, to run sudo manually.
If you could tell me which of these you have available and which renderdoc tries to use, that would be helpful. Then maybe we can track down why it got stuck.

i have pkexec, gksudo.
i am not sure how to remove layer registration. but i happened to install it on another ubuntu machine and had some issue. running without sudo works as well:  ./qrenderdoc --install_vulkan_layer 1
hope it helps.

I can confirm everything @kenchen3000 said above. Also solved by this "system install command with 1"

Looking at this more closely, the parameter to --install_vulkan_layer should either be root or user indicating whether to install at system or user level. Where did you get the 1 parameter from?
In this case anything that doesn't match root will be treated as user, so the layer will have been registered in your home directory.
To investigate further:

Removing the layer registration will most likely just mean removing either $XDG_DATA_HOME/vulkan/implicit_layer.d/renderdoc_capture.json if $XDG_DATA_HOME is set, or else $HOME/.local/share/vulkan/implicit_layer.d/renderdoc_capture.json if not.
Now you should be back to the initial state. This time, instead of choosing to install the layer at system level with root privileges, select to install it as a user. This should work as it's equivalent to the manual command you ran. I just want to check that it does actually work through the normal workflow.
Remove the layer registration again, and this time try manually running the command to register as root: pkexec /path/to/bin/qrenderdoc --install_vulkan_layer root. See if you get an error message or something from this. If this succeeds you should end up with a /etc/vulkan/implicit_layer.d/renderdoc_capture.json file registered. If this doesn't work from the normal UI workflow something must be going wrong with pkexec.

Let me know what you find, hopefully there will be an obvious error when you run pkexec manually.

Without a repro case or someone who can help me debug this with more information, I can't investigate this further. If you run into this issue, please get in touch either by commenting here or opening a new issue.

I have the same issue, in that every time I open renderdoc, it asks to register the vulkan layer again. I asked it to do a system level install.
I then went to copy the layer to /etc, which made renderdoc complain (additionally) that there is another (conflicting) registration that should be removed.
Following this thread, I removed the copy I made and asked renderdoc to register the layer as a user. This made the warning go away.
If you are interested in debugging the issue with the graphical sudo command, I could help you with testing.

Hi there, thanks for leaving a comment. Yes please get in touch - can you email me at<EMAIL_ADDRESS>to help me with testing rather than spamming back and forth here with noise diagnosing the issue?


OCM-9159 | feat: upgrade ocm-sdk-go to 0.1.428

upgrade ocm-sdk-go to 0.1.428 which includes the changes for imdsv2 injection into awsnodepool
this is required for https://issues.redhat.com/browse/OCM-9159, other changes will be included in following PRs

/lgtm


How are the startCharacter and endCharacter properties on folding ranges defined?

We are currently in the process of implementing folding support for Xtext. (https://github.com/eclipse/xtext-core/pull/1672)
There has been some discussion regarding the use of the startCharacter and endCharacter properties of the FoldingRange. It's not quite clear how exactly these are defined. Especially since I couldn't find any reference implementation and vscode only uses line based folding, so I couldn't test it either.
Could someone please give some clarification on how these are defined? An actual example would be highly appreciated.

@aeschli can you please clarify. Thanks!

startLine/startCharacter - endLine/endCharacter define a Range. That's the range that is hidden when that folding range is collapsed.

@aeschli Right, I think my question wasn't clear enough: Are the startCharacter and endCharacter properties indices of the full document string or are they defined as the column of the startLine/endLine?

Yes, character is the offset in the line. In LSP all positions are line/character (like line/column except that columns typically start with 1, while characters start with 0)
In editors that only support folding full lines (such as VSCode), the line at startLine gets the folding marker, but when folded, is still fully visible.

You can say it folds after the last character of the first line. That's why the comment says: defaults to the length of the line

I see, thank you for your explanation. I will close this issue.


Can't override Python when used with withPackages or buildEnv

Describe the bug
I am overriding the CFLAGS of a Python interpreter.
{
  pkgs ?
    import (builtins.fetchTarball {
      name = "nixos-24.05";
      url = https://github.com/NixOS/nixpkgs/archive/24.05.tar.gz;
    }) {
      overlays = [
        (self: super: {
          pythonBindNow = super.python3.overrideAttrs (_: {
            # name = "python-now";
            NIX_CFLAGS_COMPILE = "-Wl,-z,now";
            doCheck = false;
          });
        })
      ];
    },
}:
pkgs.pythonBindNow

When I do this, there is correctly the BIND_NOW attribute.
nix-build python-bindnow-simple.nix
/nix/store/zzcxs2fpc19f5k36rvjp8j2xgkcqkld1-python3-3.11.9

readelf -a ./result/bin/python3 | grep BIND
 0x000000000000001e (FLAGS)              BIND_NOW

When I combine this with either withPackages or buildEnv it seems to be not be picking up the custom python
{
  pkgs ?
    import (builtins.fetchTarball {
      name = "nixos-24.05";
      url = https://github.com/NixOS/nixpkgs/archive/24.05.tar.gz;
    }) {
      overlays = [
        (self: super: {
          pythonBindNow = super.python3.overrideAttrs (_: {
            # name = "python-now";
            NIX_CFLAGS_COMPILE = "-Wl,-z,now";
            doCheck = false;
          });
        })
      ];
    },
}:
(pkgs.pythonBindNow.override {
  packageOverrides = python-self: python-super: {
    pyperformance = python-super.buildPythonPackage rec {
      pname = "pyperformance";
      version = "1.11.0";
      format = "pyproject";
      src = pkgs.fetchPypi {
        inherit pname version;
        sha256 = "sha256-AKT07QiCLhmTmupfM3WDrStPs8Kls/+ReuTf7RWkqYQ=";
      };
      nativeBuildInputs = [python-super.setuptools python-super.pyperf];
    };
  };
})
.withPackages (pp: with pp; [pp.pyperformance])

nix-build python-bindnow.nix
/nix/store/9v38hrdwcgn7gi6clwl8l18ssp28bib7-python3-3.11.9-env
readelf -a ./result/bin/python3 | grep BIND
# nothing!

Expected behavior
I expect the same python to carry through to the withPackages
Notify maintainers

@hexa
@natsukium

Add a :+1: reaction to issues you find important.

I think it has to do with these lines:
https://github.com/NixOS/nixpkgs/blob/da4d8527adf8a9924de870429300a48078b3b7ed/pkgs/development/interpreters/python/default.nix#L59
I had to overlay specifically python311 and not python3;
It seems these hardcode the self rather than passing the current self.

You can override self

@Artturin I tried:
          python311 = (super.python311.overrideAttrs (_: {
            # name = "python-now";
            NIX_CFLAGS_COMPILE = "-Wl,-z,now";
            doCheck = false;
          })).override { self = self.python311; };

That also fails. It's not clear what I need to override for self.

Here are some more overrides that fail:
((pkgs.python311.override { self = pkgs.python311; })
.withPackages (pp: with pp; [pkgs.pyperformance])).override { python = pkgs.python311;}


Log output to STDOUT, instead of STDERR

By default, Python logs the output to STDERR (https://docs.python.org/3/howto/logging.html#what-happens-if-no-configuration-is-provided) - this change makes the output from the hook go to STDOUT, as errors should probably be raised by Dehydrated itself rather than the hook.

Can you clarify why having the default lof output of STDERR is insufficient?

Of course. We use cronic (https://habilis.net/cronic/) so that we only receive notifications if the script fails, but currently cronic is reporting every run fails because the Cloudflare hook is outputting to STDERR. Also, STDERR is primarily meant to be used to collect error output (https://www.jstorimer.com/blogs/workingwithcode/7766119-when-to-use-stderr-instead-of-stdout), but normally logging output (e.g. the hooks being run) is being sent there, which isn't ideal

Thanks


NixCatsPath for non nix deployment

In the kickstart nvim template if you are not in nix it appears to error out as nixcatspath is nil and cannot be appended to. I worked around it by pulling the library into a an if statement around nixcats existing but maybe I'm missing something!

I made some edits to the template without building on a VM without nix a while back.
It looks like I forgot to check require('nixCatsUtils').isNixCats on this line
Not all values from the nixCats plugin are available when not on nix because there is no nix to create the plugin there.

the version I just committed should work, I dont see any other ones I forgot anywhere.
I havent fixed any similar issues in the example config yet if there are any.
Will be testing on a vm whenever the ubuntu vm finishes installing XD

Yup! That was it

Ok now to mess with the example config and make sure that one still works too I guess

I also cant guarantee mason will successfully download lsps when no nix is involved.
That is entirely dependent on whether you have the dependencies to run said lsp installed on your machine.

Basically, no, you didnt miss anything, I did.

Ill leave this open until I get around to fixing the downloading of lazydev when no nix was involved in the main example config.

Yeah it has an enable option you need ot use
And then you also have to pass it a list of names of which package outputs to build, which are the names from packageDefinitions
You have all the capabilities of using override on the config you import via the module options, but you can also just enable them and use the ones as you had them in the template as youre doing
You can also jsut add the packages from the flake directly to your packages list too

When I get around to it, I'm just gonna swap catPacker luaUtils file to use paq.nvim probably. pckr apparently does some shenanigans with the packpath that makes it a little more annoying.
I'm also planning on adding more lazy loading to the example config, unsure if I want to wait and do both at once, or just swap pckr for paq now and then do that later.

https://github.com/BirdeeHub/nixCats-nvim/commit/43c7fbb94e3fdbb6fecc090746e9455c1e05ec58
As of this commit, this is now resolved, at least until I forget something again in one of the example configs when I make the base example one do more lazy loading


Add /crawl cgi request feature to peer protocol (RIPD-729):

This adds support for a cgi /crawl request, issued over HTTPS to the configured peer protocol port. The response to the request is a JSON object containing the node public key, type, and IP address of each directly connected neighbor. The IP address is suppressed unless the neighbor has requested its address to be revealed by adding "Crawl: public" to its HTTP headers. This field is currently set by the peer_private option in the rippled.cfg file.

This looks great. I was able to get results from a local rippled:
https://<IP_ADDRESS>:51235/crawl
{"overlay":{"active":[{"public_key":"A4swIE1lcu3mr4EH9PEMyQ+5OplmV0OL3puWzp03Mhzi","type":"peer"},{"public_key":"AvBgiM++uBAfbTTWCy1uCcwBLfysUsUs0GviVRf30YUa","type":"peer"},{"public_key":"A9d0VnMDlg6iDPJRpYdIXBNOXN5E1nmZ2AExtIJLPJZU","type":"peer"},{"public_key":"AmMw6j1OIrS2B63vKENAoI0XhPz/mp3MvR7BtcFMVMio","type":"peer"},{"public_key":"A8fY0NYbO2astDjP7HuVL1k+hwLhESFEcb+zVg9C3d1a","type":"peer"},{"public_key":"AppnYDeIv9tgEYAiqS/3BXwL/vLJZ8V6nP/ByD5PC9ZO","type":"peer"},{"public_key":"Axd/rS5z/WipP2WQUsrKDzgdMyXAaXuRLFvJYGPTmasX","type":"peer"},{"public_key":"ApBMQW3Wicd9P2i6COLBviKZRvnpe7YpTUT13I2FD4Rb","type":"peer"},{"public_key":"Az9drYwPCEJzdoIlFBAXkbDGNzsFFAh8a6fJQ5lBGkd1","type":"peer"},{"public_key":"Ap0baFcIh6bhhVVjxr8Qa/8A2/4XZOjfL88sqel87+p0","type":"peer"}]}}

:+1:

:+1:
LGTM

Part of https://github.com/ripple/rippled/pull/852


KSP 1.7.22-1.0.8

For a Gradle dependency:

Update the dependency version in the root gradle.properties
Update the dependency locks

For Gradle plugins: ./gradlew dependencies --write-locks
For Gradle dependencies: ./gradlew resolveAll --write-locks

Verify no unexpected entries appear in the lockfiles. A supply chain attack could occur during this stage. The lockfile narrows the supply chain attack window to this very moment (as opposed to every time a build occurs)
Are there any new APIs or possible migrations for this dependency?

com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin [1.7.20-1.0.6 -> 1.7.22-1.0.8]
https://goo.gle/ksp
com.google.devtools.ksp:symbol-processing [1.7.20-1.0.6 -> 1.7.22-1.0.8]
https://goo.gle/ksp

We should probably just bump kotlin to 1.7.21 and not 22 since 22 isn't an official release.


Set auth header after token refresh

The auth header has not been updated after token refresh, so every retry failed with expired token error.

that should be merged @msalihkarakasli


Update apps.py

from django.utils.translation import ugettext_lazy as _ # This line deprecated and not compatible with django4 and python 3.10
I have proposed the current compatible import from the django documentation.
Closes # .
Changes proposed in this PR:

Tips for an ideal PR

You have read our Code of Conduct: https://github.com/pinax/.github/blob/master/CODE_OF_CONDUCT.md
You have read our Contributing info: https://github.com/pinax/.github/blob/master/CONTRIBUTING.md
The PR is atomic
Unit tests have been updated/added, if needed
App version number has been updated in setup.py (Pinax uses SemVer)
Change Log has been updated
You have added your name to the AUTHORS file

Could you guy with write access, merge my pull requests with this repository please ?
So that we can use it with any errors.
Thanks.


fix: proxy per page broke session fetching

One of the most annoying bugs I've dealt with.

Btw have we added the test that checks this somewhere else? I don't see it here.

Will add the test case myself, we can't postpone the realease so long. Please improve the comment when you have time.

good catch, how come the test is not here? :D

I was afraid of being late for uni so git push and run 🏃🏼♂

Please improve the comment when you have time.

:+1: Will do it now.


update VSIFilesystemHandler::Open signature of GDAL 3.3

Pull Request Test Coverage Report for Build 617381122

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

Totals

Change from base Build 613577396:
0.0%

Covered Lines:
2410

Relevant Lines:
2538

💛  - Coveralls

needed after OSGEO/gdal#3480 . @rouault is there a better (cleaner?) way for us to handle both 3.2 and 3.3 APIs ?

@rouault is there a better (cleaner?) way for us to handle both 3.2 and 3.3 APIs ?

The removal of the override keywork will make it harder to detect potential later breakages. I would suggest checking #if GDAL_VERSION_NUM >= GDAL_COMPUTE_VERSION(3,3,0) to determine if it is a 3-argument or 4-argument signature

thanks for the feedback @rouault


Melange getting started docs

We really need some simple docs that explain:

what exactly melange is
why it's needed
how it works
how to get started

Unblocked, I'll take a look when I can. This might be a good issue for anyone @ltagliaferri @erikaheidi, but it probably needs a first pass by someone familiar with the project (the only docs so far are the code).

I'd be happy to help with this one. Let me know if you'd prefer to give it the initial bootstrap.


Mgmt webapp: ng lint

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

Coverage increased (+0.02%) to 45.707% when pulling 022fd13662caf4a4e80ba2cf86c364ac0853110f on Unicon:mgmt-ng-lint into fd8df75d543d61e527d797e5dc8456fcbdfb41d9 on apereo:master.


Updating the extension without webpack base build system added packaging methods

Configure the basic packaging parameters for the extension.
Added a temporary icon for the extension until we get the proper one from Marketing.

Removed the webpack dependency-based build system.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.chanaka3d seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report
Patch coverage has no change and project coverage change: +22.46 :tada:

Comparison is base (d35c5e1) 32.14% compared to head (ebb1bbe) 54.61%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1267       +/-   ##
===========================================
+ Coverage   32.14%   54.61%   +22.46%
===========================================
  Files         298       15      -283
  Lines       35556     1399    -34157
  Branches     9458      809     -8649
===========================================
- Hits        11430      764    -10666
+ Misses      23870      635    -23235
+ Partials      256        0      -256

Flag
Coverage Δ

adapter
?

admin-domain-service
54.61% <ø> (ø)

backoffice-domain-service
?

devportal-domain-service
?

idp-domain-service
?

runtime-domain-service
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 283 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Enable PFIO server in applications use GEOS.x and MAPL3G Cap

The new MAPL3G version of History will still presumably for the time being the PFIO server as the vehicle to output data at the end of the day. The first step then is figuring where and how to enable the PFIO server in applications using our generic GEOS.x driver and the MAPL3G Cap.F90.

Yes - this is important, and nontrivial.  Hopefully we can find some intermediate process that lets you make progress in History without requiring the server just yet.

@tclune I think we will need this sooner rather than later, not like next week, but I think we want to be working on this actively.
Definitely intermediate stuff, but since the coupling layer is doing most of the work, once we have the fields, either from a single, non-vector field, or an expression involving non-vector fields there's not a whole lot to do before it's time to write other than decide when to write, or maybe evaluate an expression.
In other words I just don't see it as a long process to where we get the point where we say, there's nothing else to do with these fields the collection has, let's write something.

I understand.   If we can at least avoid the server issue initially it will help.
We need to review the design document (ppt) we have for I/O in general and start implementing enough of that to work.  Largely leveraging existing gridded_io and pfio, but I think we can get something even simpler (and definitely cleaner) than in MAPL2.


[Bug]: IconButtonGhost not displayed properly in a ConstraintLayout

🕵 Is there an existing issue for this?

[X] I have searched the existing issues

What version of spark are you using?
1.0.0
🐛 What happened?
I'm having a hard time using the IconButtonGhost component in a ConstraintLayout, it looks like the constraints are not applied properly to it.
I don't have any issue when using a Material3 component or the deprecated Spark IconButton.
This code gives the following result.
ConstraintLayout(modifier = Modifier.padding(16.dp)) {
    val (title, button, radioButtons) = createRefs()

    Text(
        text = stringResource(R.string.search_chip_listing_choose_view_label),
        style = SparkTheme.typography.headline2,
        modifier = Modifier.constrainAs(title) {
            centerVerticallyTo(button)
        }
    )

    IconButton(
        onClick = dismiss,
        modifier = Modifier.constrainAs(button) {}
    ) {
        Icon(
            sparkIcon = SparkIcons.Close,
            contentDescription = stringResource(id = R.string.searchtoppanel_close),
            size = IconSize.Medium,
        )
    }
    createHorizontalChain(title, button)
}

And here is the result I get:

When using it in a constraint layout, the button doesn't seem to respect the constraints. The code gives the following result.
ConstraintLayout(modifier = Modifier.padding(16.dp)) {
    val (title, button, radioButtons) = createRefs()

    Text(
        text = stringResource(R.string.search_chip_listing_choose_view_label),
        style = SparkTheme.typography.headline2,
        modifier = Modifier.constrainAs(title) {
            centerVerticallyTo(button)
        }
    )

    IconButtonGhost(
        icon = SparkIcons.Close,
        onClick = dismiss,
        intent = IconButtonIntent.Neutral,
        contentDescription = stringResource(id = R.string.searchtoppanel_close),
        modifier = Modifier.constrainAs(button) {}
    )

    createHorizontalChain(title, button)
}

Relevant logcat output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Okay I think I know why this can happen, when creating this component we pass the modifier to the Surface instead of the PlainTooltipBox that wraps it


support both buildkit + progrock journals

buildkit journals are useful for seeing the "raw" data coming from Buildkit to isolate variables during troubleshooting
progrock journals are useful for seeing the "cooked" data being sent to Cloud, which also includes our custom vertex logs/etc.

But part of that PR is that we now do the buildkit->progrock conversion server-side, so the client never even receives buildkit status objects anymore, is that going to wreak havoc here?

Ha, yep. Basically there'd be no way to do this anymore, unless we do some gymnastics on the server side - maybe storing the raw Buildkit event stream(s) somewhere local for analysis?
It might be easier to just stick with Progrock and get acclimated to the format / develop tools as needed. The Buildkit => Progrock conversion is pretty straightforward so I don't see it introducing too many variables during troubleshooting. In the original case (#5537) for example the root cause of the weird looking payloads was still Buildkit.

Ha, yep. Basically there'd be no way to do this anymore, unless we do some gymnastics on the server side - maybe storing the raw Buildkit event stream(s) somewhere local for analysis?

We could log them (probably at Trace level), so then they can show up in the local log stream and also streamed to cloud if the token is set on the server? I think that'd be fairly straightforward

Want to have this in v0.8.2 @vito? If it makes it in by tomorrow, it will go out with everything else.

@gerhard I'll just close this for now. If the Progrock format continues to be a confounding variable during troubleshooting beyond just getting used to the new format, we can reconsider, but it'll take more effort than this PR. In the long run it seems like we should focus on the Progrock format since the Buildkit format only covers a subset of data that Cloud receives.

OK!


next error page changes background

idk if anybody cares, but: https://papermc.io/dum

I guess we could also make a custom error page in this case

i can fix it!