Run Script Path Issue

Hi,
The run script generated when we do "ionic platform add ios" has the path to Crashlytics framework as
plugins/com.sarriaroman.fabric/lib/ios/Crashlytics.framework but in fact the path getting generated is
plugins/com.sarriaroman.fabric/Crashlytics.framework.
This is causing failures in CI tools.
am I doing something wrong here?
Thanks,
Dinesh

Can you provide steps to reproduce?

I have these steps in my script (I am using circle ci) and I ran same steps locally.
dependencies:
  pre:
    - brew uninstall xctool && brew install --HEAD xctool
    - brew install node
    - npm install
    - npm install -g ionic
    - npm install -g cordova
    - npm install -g gulp
    - gulp
    - ionic hooks add
    - cordova plugin add cordova-fabric-plugin --variable FABRIC_API_KEY=$MY_KEY --variable FABRIC_API_SECRET=$MY_SECRET
    - ionic platform rm ios
    - ionic platform add ios

and this results in this run script

Where as in the file system I see this

you can notice that lib/ios folders are not there

If that Finder screenshot is of platforms/ios/your-app/Plugins, then it looks correct. The script itself is referencing files outside of the XCode project. The path ../../plugins/com.sarriaroman.fabric/lib/ios/Crashlytics.framework/run is pointing two directories up from the XCode project root. So this is <cordova-root>/plugins which does contain the lib/ios/ path.
You can verify this by changing the path in the build script to something invalid and XCode build will fail.
What error message are you receiving?

Hi @Justin-Credible. I found the root cause now. Thanks for the explanation.
I was running this command in the root folder instead of ios folder.
xctool CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= -sdk iphoneos9.2 -project ./platforms/ios/MyProject.xcodeproj -scheme "MyProject" clean build
Since I was in the root the shell script was looking outside of the root folder and not finding the plugin.


Remove all stress tests related to uploadFromUrl APIs

Description

Removing tests that test for uploadFromUrl APIs, as these tests do not necessarily test the resilience of the SDK.
Increasing duration of large file size tests

/check-enforcer override


Amazon s3a returns 400 Bad Request with Spark and Zepplin

If you'd like to anyway use the region that supports Signature V4 in spark you can pass flag -Dcom.amazonaws.services.s3.enableV4 to the driver options and executor options on runtime. For example:
spark-submit --conf spark.driver.extraJavaOptions='-Dcom.amazonaws.services.s3.enableV4' \
    --conf spark.executor.extraJavaOptions='-Dcom.amazonaws.services.s3.enableV4' \
    ... (other spark options)

With this settings Spark is able to write to Frankfurt (and other V4-only regions) even with not-so-fresh AWS sdk version (com.amazonaws:aws-java-sdk:1.7.4 in my case)

For Spark:
set these two properties in spark-defaults.conf
spark.driver.extraJavaOptions    -Dcom.amazonaws.services.s3.enableV4
spark.executor.extraJavaOptions  -Dcom.amazonaws.services.s3.enableV4

**For Zeppelin: **
set the environment variable in Zeppelin container:
SPARK_SUBMIT_OPTIONS: "--conf spark.driver.extraJavaOptions=-Dcom.amazonaws.services.s3.enableV4 --conf spark.executor.extraJavaOptions=-Dcom.amazonaws.services.s3.enableV4"

This was a great help; thanks for sharing. I was banging my head on this; for me it worked in all US regions except Ohio (us-east-2).
To get things working, I ended up combining your advise & this post: https://stackoverflow.com/a/57381459/2872820
Core changes were just in Zeppelin's spark interpreter settings:

spark.driver.extraJavaOptions    -Dcom.amazonaws.services.s3.enableV4
spark.executor.extraJavaOptions  -Dcom.amazonaws.services.s3.enableV4
spark.hadoop.fs.s3a.endpoint s3.us-east-2.amazonaws.com


Looking forward to pingora ssl supporting more functions.

Expected results

Expect ssl_ciphers、ssl_protocols、alpn flags to different domain config.
Expect OCSP feature.
Expect SSL Session Cache and Session Ticket feature.

Noted.


Unable to launch a Grid Engine cluster using a custom AMI with pcluster-2.5.0

Environment:

AWS ParallelCluster / CfnCluster version [e.g. aws-parallelcluster-2.4.1] 2.5.0
OS: [e.g. alinux] Amazon Linux 2
Scheduler: [e.g. SGE] SGE
Master instance type: [e.g. m5.xlarge] r5.large
Compute instance type: [e.g. c5.8xlarge] r5.large

Bug description and how to reproduce:
I am unable to build clusters on Amazon Linux 2 using ParallelCluster-2.5.0 when using a custom AMI.
CloudFormation returns:
The following resource(s) failed to create: [MasterServerWaitCondition, ComputeFleet].

Here is the output from /var/log/cfn-init.log:
    +# Notify compute is ready
    +instance_id_url="http://<IP_ADDRESS>/latest/meta-data/instance-id"
    +instance_id=$(curl --retry 3 --retry-delay 0 --silent --fail ${instance_id_
url})
    +instance_type_url="http://<IP_ADDRESS>/latest/meta-data/instance-type"
    +instance_type=$(curl --retry 3 --retry-delay 0 --silent --fail ${instance_t
ype_url})
    +local_hostname_url="http://<IP_ADDRESS>/latest/meta-data/local-hostname"
    +local_hostname=$(curl --retry 3 --retry-delay 0 --silent --fail ${local_hos
tname_url})
    +/root/.pyenv/versions/3.6.9/envs/cookbook_virtualenv/bin/aws --region ${cfn
_region} sqs send-message --queue-url ${cfn_sqs_queue} --message-body '{"Type" :
 "Notification", "Message" : "{\"StatusCode\":\"Complete\",\"Description\":\"Suc
cesfully launched '${instance_id}'\",\"Event\":\"parallelcluster:COMPUTE_READY\"
,\"EC2InstanceId\":\"'${instance_id}'\",\"Slots\":\"'${cfn_instance_slots}'\",\"
LocalHostname\":\"'${local_hostname}'\",\"EC2InstanceType\":\"'${instance_type}'
\"}"}'
    - change mode from '' to '0755'
    - change owner from '' to 'root'
    - change group from '' to 'root'
[2019-12-09T18:58:52+00:00] WARN: Skipping final node save because override_runl
ist was given
[2019-12-09T18:58:52+00:00] WARN: Skipping final node save because override_runl
ist was given

Running handlers:
Running handlers complete
Chef Client finished, 7/8 resources updated in 20 seconds

2019-12-09 18:58:52,842 [DEBUG] No services specified
2019-12-09 18:58:52,843 [INFO] Running config shellRunPreInstall
2019-12-09 18:58:52,844 [DEBUG] No packages specified
2019-12-09 18:58:52,844 [DEBUG] No groups specified
2019-12-09 18:58:52,844 [DEBUG] No users specified
2019-12-09 18:58:52,844 [DEBUG] No sources specified
2019-12-09 18:58:52,844 [DEBUG] No files specified
2019-12-09 18:58:52,844 [DEBUG] Running command runpreinstall
2019-12-09 18:58:52,844 [DEBUG] No test for command runpreinstall
2019-12-09 18:58:52,855 [ERROR] Command runpreinstall (/opt/parallelcluster/scri
pts/fetch_and_run -preinstall) failed
2019-12-09 18:58:52,855 [DEBUG] Command runpreinstall output: /opt/parallelclust
er/scripts/fetch_and_run: line 19: /root/.pyenv/versions/3.6.9/envs/cookbook_vir
tualenv/bin/aws: No such file or directory
parallelcluster: fetch_and_run - Failed to run boot_as_master preinstall

2019-12-09 18:58:52,855 [ERROR] Error encountered during build of shellRunPreIns
tall: Command runpreinstall failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/construction.py", line 542
, in run_config
    CloudFormationCarpenter(config, self._auth_config).build(worklog)
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/construction.py", line 260
, in build
    changes['commands'] = CommandTool().apply(self._config.commands)
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/command_tool.py", line 117
, in apply
    raise ToolError(u"Command %s failed" % name)
ToolError: Command runpreinstall failed
2019-12-09 18:58:52,883 [ERROR] -----------------------BUILD FAILED!------------
------------
2019-12-09 18:58:52,883 [ERROR] Unhandled exception during build: Command runpre
install failed
Traceback (most recent call last):
  File "/opt/aws/bin/cfn-init", line 171, in <module>
    worklog.build(metadata, configSets)
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/construction.py", line 129
, in build
    Contractor(metadata).build(configSets, self)
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/construction.py", line 530
, in build
    self.run_config(config, worklog)
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/construction.py", line 542
, in run_config
    CloudFormationCarpenter(config, self._auth_config).build(worklog)
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/construction.py", line 260
, in build
    changes['commands'] = CommandTool().apply(self._config.commands)
  File "/usr/lib/python2.7/site-packages/cfnbootstrap/command_tool.py", line 117
, in apply
    raise ToolError(u"Command %s failed" % name)
ToolError: Command runpreinstall failed
2019-12-09 18:58:53,082 [DEBUG] CloudFormation client initialized with endpoint
https://cloudformation.us-east-1.amazonaws.com
2019-12-09 18:58:53,082 [DEBUG] Signaling resource MasterServerWaitCondition in
stack parallelcluster-marabro1-eve with unique ID i-01249c727125fed2e and status
 FAILURE

**Additional context:**
Any other context about the problem. E.g.:
 - configuration file without any credentials or personal data.
 - pre/post-install scripts, if any
 - screenshots, if useful
 - if the cluster fails creation, please re-execute `create` action using `--norollback` option and attach `/var/log/cfn-init.log`, `/var/log/cloud-init.log` and `/var/log/cloud-init-output.log` files from the Master node
 - if a compute node was terminated due to failure, there will be a directory `/home/logs/compute`. Attach one of the `instance-id.tar.gz` from that directory
 - if you encounter scaling problems please attach `/var/log/nodewatcher` from the Compute node and `/var/log/jobwatcher` and `/var/log/sqswatcher` from the Master node

Here is the output from cloud-init-cmd.log:
2019-12-09 18:58:52,841 P17628 [INFO] 	    +/root/.pyenv/versions/3.6.9/envs/cookbook_virtualenv/bin/aws --region ${cfn_region} sqs send-message --queue-url ${cfn_sqs_queue} --message-body '{"Type" : "Notification", "Message" : "{\"StatusCode\":\"Complete\",\"Description\":\"Succesfully launched '${instance_id}'\",\"Event\":\"parallelcluster:COMPUTE_READY\",\"EC2InstanceId\":\"'${instance_id}'\",\"Slots\":\"'${cfn_instance_slots}'\",\"LocalHostname\":\"'${local_hostname}'\",\"EC2InstanceType\":\"'${instance_type}'\"}"}'
2019-12-09 18:58:52,841 P17628 [INFO] 	    - change mode from '' to '0755'
2019-12-09 18:58:52,841 P17628 [INFO] 	    - change owner from '' to 'root'
2019-12-09 18:58:52,841 P17628 [INFO] 	    - change group from '' to 'root'
2019-12-09 18:58:52,841 P17628 [INFO] 	[2019-12-09T18:58:52+00:00] WARN: Skipping final node save because override_runlist was given
2019-12-09 18:58:52,841 P17628 [INFO] 	[2019-12-09T18:58:52+00:00] WARN: Skipping final node save because override_runlist was given
2019-12-09 18:58:52,841 P17628 [INFO]
2019-12-09 18:58:52,841 P17628 [INFO] 	Running handlers:
2019-12-09 18:58:52,841 P17628 [INFO] 	Running handlers complete
2019-12-09 18:58:52,841 P17628 [INFO] 	Chef Client finished, 7/8 resources updated in 20 seconds
2019-12-09 18:58:52,841 P17628 [INFO] ------------------------------------------------------------
2019-12-09 18:58:52,841 P17628 [INFO] Completed successfully.
2019-12-09 18:58:52,843 P17628 [INFO] ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2019-12-09 18:58:52,843 P17628 [INFO] Config shellRunPreInstall
2019-12-09 18:58:52,844 P17628 [INFO] ============================================================
2019-12-09 18:58:52,844 P17628 [INFO] Command runpreinstall
2019-12-09 18:58:52,854 P17628 [INFO] -----------------------Command Output-----------------------
2019-12-09 18:58:52,854 P17628 [INFO] 	/opt/parallelcluster/scripts/fetch_and_run: line 19: /root/.pyenv/versions/3.6.9/envs/cookbook_virtualenv/bin/aws: No such file or directory
2019-12-09 18:58:52,854 P17628 [INFO] 	parallelcluster: fetch_and_run - Failed to run boot_as_master preinstall
2019-12-09 18:58:52,855 P17628 [INFO] ------------------------------------------------------------
2019-12-09 18:58:52,855 P17628 [ERROR] Exited with error code 1

It looks like there is a problem with the location where Chef expects to find the AWS CLI within the image.  I am using a version of Python that lives in a custom directory, so perhaps this is the issue?
Here is the output from cloud-init-output.log:
+ export HOME=
+ HOME=
+ mkdir /opt/parallelcluster
+ tee /opt/parallelcluster/.bootstrapped
+ echo aws-parallelcluster-2.5.0
aws-parallelcluster-2.5.0
+ '[' NONE '!=' NONE ']'
+ cd /tmp
+ cfn-init -s parallelcluster-marabro1-eve -v -c default -r MasterServerLaunchTemplate --region us-east-1
Error occurred during build: Command runpreinstall failed
+ error_exit 'Failed to run cfn-init. If --norollback was specified, check /var/log/cfn-init.log and /var/log/cloud-init-output.log.'
+ cfn-signal --exit-code=1 '--reason=Failed to run cfn-init. If --norollback was specified, check /var/log/cfn-init.log and /var/log/cloud-init-output.log.' --stack=parallelcluster-marabro1-eve --resource=MasterServerWaitCondition --region=us-east-1
+ exit 1
Dec 09 18:58:53 cloud-init[2703]: util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/part-002 [1]
/usr/bin/yum
which: no apt-get in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
Not apt system
Dec 09 18:58:53 cloud-init[2703]: cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
Dec 09 18:58:53 cloud-init[2703]: util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed
Cloud-init v. 18.5-2.amzn2 finished at Mon, 09 Dec 2019 18:58:53 +0000. Datasource DataSourceEc2.
Dec  9 18:58:49 ip-10-10-10-29 dbus[1979]: [system] Successfully activated servi
ce 'org.freedesktop.hostname1'
Dec  9 18:58:49 ip-10-10-10-29 systemd: Started Hostname Service.
Dec  9 18:58:52 ip-10-10-10-29 parallelcluster: fetch_and_run - Failed to run bo
ot_as_master preinstall
Dec  9 18:58:52 ip-10-10-10-29 cloud-init: Error occurred during build: Command
runpreinstall failed
Dec  9 18:58:52 ip-10-10-10-29 cloud-init: + error_exit 'Failed to run cfn-init.
 If --norollback was specified, check /var/log/cfn-init.log and /var/log/cloud-i
nit-output.log.'
Dec  9 18:58:52 ip-10-10-10-29 cloud-init: + cfn-signal --exit-code=1 '--reason=
Failed to run cfn-init.  Datasource DataSourceEc2.  Up 378.07 seconds
Dec  9 18:58:53 ip-10-10-10-29 systemd: cloud-final.service: main process exited
, code=exited, status=1/FAILURE
Dec  9 18:58:53 ip-10-10-10-29 systemd: Failed to start Execute cloud user/final
 scripts.
Dec  9 18:58:53 ip-10-10-10-29 systemd: Unit cloud-final.service entered failed
state.
Dec  9 18:58:53 ip-10-10-10-29 systemd: cloud-final.service failed.
Dec  9 18:58:53 ip-10-10-10-29 systemd: Reached target Cloud-init target.
Dec  9 18:58:53 ip-10-10-10-29 systemd: Startup finished in 2.242s (kernel) + 4.
462s (initrd) + 6min 11.410s (userspace) = 6min 18.115s.
Dec  9 18:58:53 ip-10-10-10-29 systemd: Starting Cloud-init target.
Dec  9 18:59:24 ip-10-10-10-29 amazon-ssm-agent: 2019-12-09 18:59:24 INFO Backin
g off health check to every 600 seconds for 1800 seconds.
Dec  9 18:59:24 ip-10-10-10-29 amazon-ssm-agent: 2019-12-09 18:59:24 ERROR Healt
h ping failed with error - AccessDeniedException: User: arn:aws:sts::83512719516
1:assumed-role/parallelcluster-marabro1-eve-RootRole-1C6YA39YPB9B0/i-01249c72712
5fed2e is not authorized to perform: ssm:UpdateInstanceInformation on resource:
arn:aws:ec2:us-east-1:835127195161:instance/i-01249c727125fed2e
Dec  9 18:59:24 ip-10-10-10-29 amazon-ssm-agent: status code: 400, request id: 7
2fa96a3-6549-4401-8937-2e5072909c83

Any guidance you can offer would be hugely appreciated.
Thanks!
Rodney

Amazon Linux 2 is still not supported by ParallelCluster.  I am closing this ticket and will revisit when the aforementioned support is available.


fixes #19 change to cursor:help

The cursor:helpe-resize; property doesn't exist, I changed to cursor: help;

___________

<3


hysteria: 2.2.4 -> 2.3.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/hysteria/versions.
meta.description for hysteria is: A feature-packed proxy & relay utility optimized for lossy, unstable connections
meta.homepage for hysteria is: https://github.com/apernet/hysteria
Updates performed

Golang update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.3.0 with grep in /nix/store/c0ynpgc9cni0qj5m964s2hbw5mdymbns-hysteria-2.3.0
found 2.3.0 in filename of file in /nix/store/c0ynpgc9cni0qj5m964s2hbw5mdymbns-hysteria-2.3.0

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
hysteria

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c0ynpgc9cni0qj5m964s2hbw5mdymbns-hysteria-2.3.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hysteria https://github.com/r-ryantm/nixpkgs/archive/a4b4306268e1b1c417bc7d87f46f11e5b5a57025.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/a4b4306268e1b1c417bc7d87f46f11e5b5a57025#hysteria

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c0ynpgc9cni0qj5m964s2hbw5mdymbns-hysteria-2.3.0
ls -la /nix/store/c0ynpgc9cni0qj5m964s2hbw5mdymbns-hysteria-2.3.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

hysteria

Maintainer pings
cc @oluceps for testing.

@NixOS/nixpkgs-merge-bot merge


Questions of several implementation details

Hello @ku2482
May I ask you several implementation details and why you made these decisions?

In this line, you compute signs by comparing sa_quantiles[I] with sa_quantiles[i-1](except the first one). Why don't you use values_1>0 as the signs?
In this line, you initialize the weights of the FractionProposalNetwork using Xavier initialize with gain=0.01. What makes you choose this initialization?

Hi @xlnwel
1
When F_Z^{-1}(w) is non-decreasing, the sign is +1 and gradients are the same as Proposition 1.
However, when F_Z^{-1}(w) is decreasing, the assumption of Proposition 1 doesn't hold anymore.
In this case, I correct the gradients setting the sign to -1.
2

The weights of the fraction proposal network are initialized so that initial probabilities are uniform as
in QR-DQN

It's hand-designed by me. The author mentioned above in the paper, so I made the weight smaller so that initial probabilities are closer to the uniform distribution.
Thanks :)

Hi @ku2482,
Thank you for your explanation and patience :-)
Perhaps because of my poor expression, it seems that you still have not got my idea- -. Yeah, your way definitely makes sense to say that if F_Z is non-decreasing(i.e., F_Z^{-1}(tau_{i+1}) - F_Z^{-1}(tau_i)), the sign is True. What I tried to express was that now that we computed value as sa_quantiles - sa_quantile_hats[:, :-1](i.e., F_Z^{-1}(tau_{i}) - F_Z^{-1}(\hat tau_{i-1})), why not directly use sa_quantiles > sa_quantile_hats[:, :-1](i.e., F_Z^{-1}(tau_{i}) > F_Z^{-1}(\hat tau_{i-1})) as the sign which seem more directly related to value?

Hi @ku2482,
Thank you for your explanation and patience :-)
Perhaps because of my poor expression, it seems that you still have not got my idea- -. Yeah, your way definitely makes sense to say that if F_Z is non-decreasing(i.e., F_Z^{-1}(tau_{i+1}) - F_Z^{-1}(tau_i)), the sign is True. What I tried to express was that now that we computed value as sa_quantiles - sa_quantile_hats[:, :-1](i.e., F_Z^{-1}(tau_{i}) - F_Z^{-1}(\hat tau_{i-1})), why not directly use sa_quantiles > sa_quantile_hats[:, :-1](i.e., F_Z^{-1}(tau_{i}) > F_Z^{-1}(\hat tau_{i-1})) as the sign which seem more directly related to value?

Hi @ku2482,
Thank you for your explanation and patience :-)
Perhaps because of my poor expression, it seems that you still have not got my idea- -. Yeah, your way definitely makes sense to say that if F_Z is non-decreasing(i.e., F_Z^{-1}(tau_{i+1}) - F_Z^{-1}(tau_i)), the sign is True. What I tried to express was that now that we computed value as sa_quantiles - sa_quantile_hats[:, :-1](i.e., F_Z^{-1}(tau_{i}) - F_Z^{-1}(\hat tau_{i-1})), why not directly use sa_quantiles > sa_quantile_hats[:, :-1](i.e., F_Z^{-1}(tau_{i}) > F_Z^{-1}(\hat tau_{i-1})) as the sign which seem more directly related to value?

Hi @xlnwel

why not directly use sa_quantiles > sa_quantile_hats[:, :-1](i.e., F_Z^{-1}(tau_{i}) > F_Z^{-1}(\hat tau_{i-1})) as the sign

That's not what I want to calculate. It's not the same amount as what I've used.

Hi @ku2482
But it also attempts to make sure the non-decreasing condition on F_Z -- tau_{i} > \hat tau_{i-1} -> F_Z^{-1}() > F_Z^{-1}(\hat tau_{i-1}) -- am I right? Why do you think this is infeasible ?

Hi, please see the proof for Proposition 1 carefully.

Hi @ku2482.
Thank you. Are you interested in participating in the Procgen challenge organized by OpenAI? I'm currently in the 5th position of round 1. If you're interested and have time, maybe we can do this together.

Hi @xlnwel
Thank you for inviting :)
It would be great to work together, however, I've already joined the team to help my friend learn RL.
I hope we'll be able to work together next time.
Please feel free to contact me through LinkedIn.
Thanks.

Hi @ku2482
No problem. What's your position right now? Maybe we can share some thoughts after the challenge is completed.


Service Level Overview pages should not have parens in the filenames

It looks like the docs site doesn't support including those pages -- https://learn.microsoft.com/en-us/dotnet/api/overview/azure/data-lake-storage-(gen-1)?view=azure-dotnet

@danieljurek Yes, in !INCLUDE links you need to backslash-escape the close paren character, like \).

The content for service-level readmes appears to be generated here:
https://github.com/Azure/azure-sdk-tools/blob/7c98f1b4554f73a9e6b53dca7816fc76c80e17cc/eng/common/scripts/Helpers/Service-Level-Readme-Automation-Helpers.ps1#L14-L15
If $indexTableLink has a ) character in it, it breaks parsing of the !INCLUDE statement on the Docs platform side, and the statement itself ends up in the rendered content instead of the contents of the included file.
The fix is to replace ) with \).


No longer supports configuring an account per project via .git/config

This fork no longer supports configuring an account per project in the .git/config of the project like the original version by @ddollar did.
Any likelihood that if I worked on a pull-request to re-enable this behavior, it might get pulled in?
For example, if a project's .git/config contained the following, this plugin would automatically switch to the "myaccount" account.
[heroku]
  account = myaccount

Reference to original: https://github.com/ddollar/heroku-accounts/blob/master/lib/accounts/heroku/auth.rb#L19

this is no longer possible with http git but you're welcome to fork this plugin if you only use ssh git with heroku

@dickeyxxx It's true that I use ssh git everywhere, but sorry, I don’t understand how http vs ssh git is related to this feature request.
The config is only used to look up the account name to be used. What am I misunderstanding?

git push isn't going to work with http git and multiple accounts

also you should be aware that most of the code is moving to node plugins that won't support any of the monkey patching required to make this plugin function the way it was before

git push isn't going to work with http git and multiple accounts

Sorry, I'm feeling dumb right now, but what does git push have to do with using features in the heroku toolbelt?  I don't use the heroku toolbelt for any of my git pushes?  I do use the --remote option with an ssh git url, but that's unrelated to setting the current auth settings for a particular heroku account (that's managed by this plugin).
All I'm looking for is a way to effectively reconfigure my current heroku account using an account name on a per project basis.  The equivalent of this would be running heroku accounts:set myaccount when I chdir into a project directory.

also you should be aware that most of the code is moving to node plugins that won't support any of the monkey patching required to make this plugin function the way it was before

That's good to know.

If you use git push heroku master it won't necessarily be the same account that you have setup with heroku-accounts.
That's not the bigger issue though, the bigger issue is that this is a ruby plugin but all the commands are moving over to node code that doesn't allow for plugins to perform monkey patching. For example, this plugin wouldn't be able to work in that way for heroku run.

If you use git push heroku master it won't necessarily be the same account that you have setup with heroku-accounts.

I see. I guess because I only use ssh git, I didn't realize that this plugin would also manage git push against http git. I assumed it would only power the heroku-toolbelt features.

That's not the bigger issue though, the bigger issue is that this is a ruby plugin but all the commands are moving over to node code that doesn't allow for plugins to perform monkey patching. For example, this plugin wouldn't be able to work in that way for heroku run.

Point taken.


feat(task): init eslint-plugin-tree-shaking rule

#2662  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mysteryven and the rest of your teammates on  Graphite


Reattach previous listener while observer has unsubscribed

It would be helpful to restore the bindings rather than just tossing them out.

You can do this yourself by combining operators like .publish().autoConnect().
Doing something like this in the library is a heavy and extremely wasteful operation in the common case which is where you actually do not want this behavior. Besides, just recreating the listener isn't that expensive of an operation. There are no plans to do this which is documented in the README.

thanks for the tips! :+1:


[Question] When will the Golang 1.19 compatible version be released

Is there an existing issue for this?

[X] I have searched the existing issues

Question
As Title, When will the Golang 1.19 compatible version be released ?
Code of Conduct

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

@yc-go The latest version v1.0.9 support go1.19. It is just not add go1.19 CI script only.

@yc-go The latest version v1.0.9 support go1.19. It is just not add go1.19 CI script only.


Edge has a different store than Chrome, maybe publish there?

https://microsoftedge.microsoft.com/addons/
Ugh!

In review


Pre-commit luci mac tasks timed out due to limited mac bots in the try pool

On Jun 5th, there were tasks pending in pool luci.flutter.try for almost 3 hours, causing test failure. This happened mainly on bots with OS: Mac-10.14.6. This further caused Engine build failure.
Active tasks and max pending time for Jun. 5th.

Bots (Mac-10.14.6) status over that time period

We can see from above charts that Mac bots were fully occupied for most of time of the day, and caused task pending/scheduling timeout.
Extra bots seem to be needed.

We implemented several improvements:

Removed unnecessary builders.
Enabled caching for the two versions of xcode used by ios builds.
Prevented unnecessary retries caused by flakiness of three builders (try-1-3)
Added a retry for bot_update to checkout source code to prevent flakiness associated with source checkout.


Cannot edit Deity Items

Edits to the fields in custom Deity items aren't sticking: they don't update when you press Enter. Weapon items seem to be working fine. A few people have reproduced the error.
Version 12 build 330 of foundry, reproducible with no modules running.

Unable to reproduce. Would you mind providing some steps?

Thanks. I was able to reproduce it with a new deity item.


Selecting item on single click while first longClick fired

Hi Mike,
I'm using selecting items on long click option inside FastAdapter and everything works fine. I want to let user to select items on single click along with long click when selected items count is more than and equals to 1. I implemented that (selecting item at that position manually and immediately fire onLongClick (preLongClick) event and when reaching to that event, item still not selected. I invoke that event because I change the foreground as selected item.

@meNESS could you please be a bit more specific. the click listeners them self are called by the android system. I hook a ClickListener and LongClickListener on the itemView so those are called. the preClick or normal click events on FastAdapter side are then just before internal stuff is executed / or after.
So I can not really prevent the real onClick listeners from being called.
Perhaps you can show what's causing troubles for you

@mikepenz Here's my sample:
public class ChatMessagesFastAdapter<Item extends AbstractChatItem> extends FastItemAdapter<Item> implements FastAdapter.OnLongClickListener<Item> {
    private OnChatMessageSelectionChanged<Item> onChatMessageSelectionChanged;
    private OnMessageClick onMessageClick;
    private OnChatMessageRemove onChatMessageRemove;

    private OnLongClickListener longClickListener = new OnLongClickListener<Item>() {
        @Override
        public boolean onLongClick(View v, IAdapter<Item> adapter, Item item, int position) {
            if (onChatMessageSelectionChanged != null) {
                onChatMessageSelectionChanged.onChatMessageSelectionChanged(getSelectedItems().size(), getSelectedItems());
            }
            return true;
        }
    };

    public ChatMessagesFastAdapter(OnChatMessageSelectionChanged<Item> OnChatMessageSelectionChangedListener, final OnMessageClick onMessageClickListener, final OnChatMessageRemove chatMessageRemoveListener) {
        onChatMessageSelectionChanged = OnChatMessageSelectionChangedListener;
        onMessageClick = onMessageClickListener;
        onChatMessageRemove = chatMessageRemoveListener;

        // as we provide id's for the items we want the hasStableIds enabled to speed up things
        setHasStableIds(true);

        withSelectable(true);
        withMultiSelect(true);
        withSelectOnLongClick(true);
        withOnPreLongClickListener(this);
        withOnLongClickListener(longClickListener);
        withOnClickListener(new OnClickListener<Item>() {
            @Override
            public boolean onClick(View v, IAdapter<Item> adapter, Item item, int position) {
                if (getSelectedItems().size() == 0) {
                    if (onMessageClick != null) {
                        onMessageClick.onMessageClick(v, item.mMessage, position);
                    }
                } /*else {
                    select(position);
                    onLongClick(v, adapter, item, position);
                    longClickListener.onLongClick(v, adapter, item, position);
                }*/
                // TODO: 9/17/2016 [Alireza Eskandarpour Shoferi] implement
                return false;
            }
        });
    }

    @Override
    public void notifyAdapterItemRemoved(int position) {
        super.notifyAdapterItemRemoved(position);

        if (onChatMessageSelectionChanged != null) {
            onChatMessageSelectionChanged.onChatMessageSelectionChanged(getSelectedItems().size(), getSelectedItems());
        }
    }

    @Override
    public void deselect() {
        super.deselect();

        if (onChatMessageSelectionChanged != null) {
            onChatMessageSelectionChanged.onChatMessageSelectionChanged(getSelectedItems().size(), getSelectedItems());
        }
    }

    @Override
    public boolean onLongClick(View v, IAdapter<Item> adapter, Item item, int position) {
        if (!item.isSelected()) {
            ((FrameLayout) v).setForeground(new ColorDrawable(v.getResources().getColor(R.color.colorChatMessageSelectableItemBg)));
        } else {
            ((FrameLayout) v).setForeground(new ColorDrawable(Color.TRANSPARENT));
        }
        return false;
    }
}

I'm trying to implement selecting on single click if already items were selected by LongClick. In other words, default selecting item option is LongClick, but if items where selected already, single click also select items.

that's really easy to achieve. just turn the long click selection on / off depending on the count of selections:
mFastAdapter.withOnClickListener(new FastAdapter.OnClickListener<SimpleImageItem>() {
            @Override
            public boolean onClick(View v, IAdapter<SimpleImageItem> adapter, SimpleImageItem item, int position) {
                if(mFastAdapter.getSelections().size() > 0) {
                    mFastAdapter.withSelectOnLongClick(false);
                } else {
                    mFastAdapter.withSelectOnLongClick(true);
                }

                return false;
            }
        });

@mikepenz That's not really what I need. Using your code makes selecting onLongClick disable if already something has selected but I want both at same time but because I wrote changing foreground on the LongClick callback, invoke that from on single click.

both at the same time does not really make sense. But if this is also needed you could just have a longClick listener and call the select method

Please i would like to know how can i implement click listener on button outside of my item adapter

use :
rippleViewRow.setOnLongClickListener(new View.OnLongClickListener() {
@Override
public boolean onLongClick(View v) {
return true;
}
});


tf: speed up telemetry tests

This cleans up the code a bit and drops tests times from ~28 min -> ~20 min.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

/test all

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test lint_istio

unit-tests_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test lint_istio

unit-tests_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test unit-tests_istio

integ-telemetry_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test integ-telemetry_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test lint_istio

unit-tests_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test unit-tests_istio

integ-telemetry_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test integ-telemetry_istio

integ-telemetry-istiodremote_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test integ-telemetry-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all

/test all

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test unit-tests_istio

integ-telemetry_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test integ-telemetry_istio

lint_istio
772edc922ac13f329b77b3dafa60c70b09c12307
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry_istio
b18b0dd558babef4eebb6325e9dedf0a07aff8f7
link
true
/test integ-telemetry_istio

lint_istio
772edc922ac13f329b77b3dafa60c70b09c12307
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
772edc922ac13f329b77b3dafa60c70b09c12307
link
true
/test lint_istio

integ-telemetry-istiodremote_istio
772edc922ac13f329b77b3dafa60c70b09c12307
link
true
/test integ-telemetry-istiodremote_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all

/test all

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-telemetry-istiodremote_istio
772edc922ac13f329b77b3dafa60c70b09c12307
link
true
/test integ-telemetry-istiodremote_istio

unit-tests_istio
e0c482b5bd918261fa9c0bdbe485c095bdc04bf2
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/test all - to check for flakes, there was no failures

/test all - to check for flakes, there was no failures

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless_istio
e0c482b5bd918261fa9c0bdbe485c095bdc04bf2
link
true
/test integ-distroless_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless_istio
e0c482b5bd918261fa9c0bdbe485c095bdc04bf2
link
true
/test integ-distroless_istio

integ-cni_istio
e0c482b5bd918261fa9c0bdbe485c095bdc04bf2
link
true
/test integ-cni_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Simulator with Windows 7

I can not for company reasons upgrade to Windows 10, we use Windows 7 Premium. The simulator runs fine, until I try to record, then when I select the folder nothing else occurs. The menu selection just stays highlighted and no recording gets done. Is it possible to run the simulator with Windows 7, or is there user error on my part?

No further comments on this one; closing as a stale issue.


Buy me a coffee webpage

Screencast from 04-07-23 09:37:48 PM IST.webm

@Shu12388y please specify issue no and there are folder present of music shop not the specified one in your pull request. Kindly check your files and do some necessary changes.


Ignore columns of type object

It would be helpful to ignore columns that are complex objects. Now the user gets a column that has the text [Object].

or output the stringified JSON, for that matter.


Custom server properties

Hello,
I would like to use the table with Laravel backend where perPage comes back but the table uses rowsPerPage and that breaks a lot even when I want to remap and use reactivity. Same goes for sorting but that can be somehow solved altho its not pretty. Any option to set custom ServerOptions?

What do you mean perPage ?
Could you please provide more details?

Well in Nuxt we can call the API to retrieve paginated data with reactive ServerOptions where we can use properties from there to query for the API. But Laravel has rowsPerPage and not perPage so I had to setup custom type to handle everything.

Sorry, the properties in serverOptions are fixed. I am not familiar with Laravel, but I guess you can
customize


No Alert Message Displayed When Removing Rejection Reason

Expected behavior
When users attempt to remove a rejection reason, the application should display a confirmation alert message to ensure that they intend to proceed with the deletion.
Steps to reproduce the issue
Log in to the application with valid credentials.
Navigate to the rejection reason management section.
Select a rejection reason that you want to remove from the system.
Attempt to delete the selected rejection reason.
Observe that no alert message is displayed to confirm the deletion.
Environment details
App version : v2.1.0
App testing environment : UAT
Additional information
https://jam.dev/c/27466f53-5d3d-4219-88a3-f21e6ac4f248

Issue verified and working fine in release v2.4.3. Hence, closing this ticket.


Expose 'ManageIQ' in the User-Agent for GCE

This results in a User-Agent similar to: "ManageIQ/0.0.0 fog".
Note that I'd like to add version in as well, but I couldn't find a constant containing this - possible improvement?
cc @blomquisg @agrare

Version can be retrieved from Vmdb::Appliance.VERSION and the build can be retrieved from Vmdb::Appliance.BUILD
For the product name, prefer I18n.t("product.name")

Updated to use Vmdb::Appliance.VERSION for version and I18n.t("product.name") for name


Don't reinstall npm in CI

Requirements for Adding, Changing, or Removing a Feature

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
The pull request must contribute a change that has been endorsed by the maintainer team. See details in the template below.
The pull request must update the test suite to exercise the updated functionality. For guidance, please see https://flight-manual.atom.io/hacking-atom/sections/writing-specs/.
After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/atom/.github/tree/master/CONTRIBUTING.md#pull-requests.

Description of the Change
Removes the Update npm CI build step.
This step was added to the Azure CI builds 2 years ago in #17803 to get the new --ci flag. There have been a couple of bumps over the years, and I believe it was introduced in 17ec08067bcc189c83ba1ab3f961abc2e8525c39 initially (it at least didn't exist in .travis.yml before then).
From what I can tell, this upgrading / setting of the npm version was done to take advantage of newer features or bug fixes. I do not think it should be necessary any more.
On Linux and macOS the step takes < 10 seconds to complete. On Windows it takes 30-60 seconds (4% of build time up to boostrap finish). This isn't a lot with respect to the other steps, but it happens before linting and is a cost that doesn't seem necessary. If it builds without setting it now, then we get the same effect from the stability of CI environments themselves. Issues would be isolated to upgrading the CI environment.
Regarding the use of npm, it should not affect anything to do with the built Atom. All Atom packages should be installed with apm install, which controls it's own npm version as well as several environment variables to ensure native packages build for the correct Electron version. If npm is being used for this purpose that would be a problem. So it should only be relevant to installing the dependencies in scripts (interestingly, npm is listed as a dependency in scripts/package.json. It should be possible to remove it from there too).
And finally, for some reason Linux already doesn't use the fixed npm version anyway. This can be seen in any of the Bootstrap job logs: e.g., https://github.visualstudio.com/Atom/_build/results?buildId=81413&view=logs&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=09bcc455-e770-5f06-0452-f817068d38b7
Node:	v12.16.3
Npm:	v6.14.8
Python:	v2.7.12

(expected is<EMAIL_ADDRESS>Alternate Designs
Leave as is. It's not a significant gain by itself. But it may be possible to find several more changes, and the cumulative effect could be significant.
Possible Drawbacks
Maybe no one thinks to check npm version if something breaks after it is updated in the CI environment? But then the Linux job would break anyway because it doesn't seem to use the installed npm.
Verification Process
CI passes
Release Notes
NA

The macOS 10.14 image image uses npm 3. This would be fixed by the macOS 10.15 image

@aminya I am not competing, I am (1) trying to minimise the time between submitting a PR and getting an indication of failure, and (2) trying to remove any unnecessary things.

This npm is used to bootstrap the Atom.

Except it is not, as I point out in the description. Linux already uses the built in npm for some reason, and upgrading the macOS image appears to make it do the same thing.
I am quite familiar with how apm works too. The npm in this PR is used to install script dependencies. After this, the npm installed as a dependency is used. This dependency npm is used to install apm, which in turn installs its own npm for installing packages. So we are installing npm three times here, when the CI image itself already has it installed. I can understand apm wanting to lock the version down, as it is used to build Atom, but the npm version in the CI and build scripts need not be so rigid; it is only used to install script dependencies.
As I outline in the description, the history of requiring specific npm versions appears to be to work around discovered bugs in npm / get new features earlier (specifically the --ci flag).

But this means we reduce the reliability of CI.

@DeeDeeG makes some great points here. But I don't consider installing npm separately three times a reasonable sacrifice for stability. And the failure mode would be that the initial script dependencies install fails, which should be quite obvious. Not to mention, there are many other dependencies we use without installing specific versions. E.g., the C/C++ compiler on macOS, the many Linux packages that are installed.
So in the end I disagree because we will always be using components we didn't explicitly version, and the role of this particular npm is very minor.
I do see the appeal in a fixed environment, though. But the decision to merge isn't mine. It would be ideal if we could configure it to install one or the other of a fixed image npm or the npm dependency. Having both is just redundant.

An exact version of npm is used both as a dependency and also in the CI.

Yes, I hope to remove that dependency as well. This might be more realistic too, as CI could still be using fixed npm version and local builds are already a free-for-all anyway (e.g., the Node 12.18+ issue with the cryptic build error).

We can easily bring the bootstrapping time to almost 0, if we always restore the cache and use npm install:

The bootstrap time on CI is already minimal; it is cached. But the npm reinstallation step runs regardless.

If you want to fix bootstrapping errors here, you should change this path to where the Microsoft agents store the npm.

I'm not sure what you are suggesting here. The point is to use the built in npm, the one invoked by the npm command, not try to manage our own version.

I'm not sure what you are suggesting here. The point is to use the built in npm, the one invoked by the npm command, not try to manage our own version.

I am showing you how to do what you want to do. Although I disagree with the approach. 😄
This line specifies where npm located:
https://github.com/atom/atom/blob/0628ba58039824165f9dc8df04cea4c6f3872746/script/vsts/platforms/templates/bootstrap.yml#L5
https://github.com/atom/atom/blob/0628ba58039824165f9dc8df04cea4c6f3872746/script/vsts/platforms/templates/bootstrap.yml#L9
https://github.com/atom/atom/blob/0628ba58039824165f9dc8df04cea4c6f3872746/script/vsts/platforms/templates/bootstrap.yml#L13
and here this environment variable is used:
https://github.com/atom/atom/blob/0628ba58039824165f9dc8df04cea4c6f3872746/script/config.js#L110
So this is npm is used to run all the operations done by npm.
Again, I am giving the solution to your goal, but I want to stress that I don't agree with it.

Yes, I would just be removing those lines. The point is not wanting to specify where npm is.

I am deliberately not commenting about the debate above, I have only skimmed reading it anyhow.
On another note: I want to point out that we install specific Node version in CI already. Node comes with a version of npm. We can use that copy of npm if we want it to stay pinned longer (its stability would match however frequently we change Node in CI). Some platforms are already doing that in our CI).

This didn't occur to me originally, but I'd also like to point out that the fixed npm version is installed via .... the image npm.
So even the current set up relies upon the image npm and has the same reliability concerns.

While I still think this change is reasonable, it's not worth justifying now that linting is a separate job, meaning time until bootstrapped is less/not important.


Bazel won't package jarjar in the future

intellij currently depends on jarjar from bazel, which is being removed.

Fixed by #2242.


Extra column in auto color/icon for actions

From<EMAIL_ADDRESS>on February 25, 2013 14:30:32
If we had an extra column we could auto color the track, but also have an auto action, the first huge usage for this would be the ability to switch layouts, you could then auto switch fader color and so on.
Cheers
Original issue: http://code.google.com/p/sws-extension/issues/detail?id=555

Duplicate: #756


The "Reset" feature seems to be newly broken...

I haven’t noticed this before, but suddenly, the "Reset" button is no longer working for me. If I change settings, then hit "Reset," the extension is no longer resetting to the Recursive defaults. Here’s a quick video:
https://user-images.githubusercontent.com/45946693/122963038-ebfe7400-d353-11eb-8b97-fb41f63637c9.mp4

Confirmed, unfortunately!

My temporary workaround:
I go to chrome://extensions/ in the address bar, then hit the "reset" button on type-x.

Not desirable in the long run, but if others are currently using this (as I am), this might be helpful for now.


A _blank window always appear

Maybe duplicate but...
I am always getting this _blank window
Using Franz version: 5.0.0-beta.18
Release: 1.8.4 / linux / x64

this happens when opening a web link from within franz.

Also having this issue. Anytime I open a web link inside Google Chat

This happens for me on all links on <IP_ADDRESS>2, running OS X 10.14.6


MongoDB instrumentaton adapter

Convert Datadog instrumentation for MongoDB to OpenTelemetry.
See

Datadog porting guide
Semantic Conventions
Datadog implementation

PR WIP is here: https://github.com/open-telemetry/opentelemetry-ruby/pull/448


Read/Load more button.

Seen in a lot of PLPs -- a "load more" page that loads more items into the listing grid.   When clicked, focus should go to the first new element that appears above it so use can go through the new items without much effort.

Done by @travis-doughty


Appsflyer. The conversion data doesn't come to TWA.

I have created an app using Bubblewrap, with the enabled feature of Appsflyer – it's needed to receive the google play referrer information.
But I have kind of unexpected behaviour:
When I launch the app the following happens: on open the app opens a url with the appsflyer_id query parameter.
I.e. the following url is being opened: https://angus.surge.sh/?appsflyer_id=xxxxxxxx. However, it doesn't receive any cookies in response afterwards as expected according to Appsflyer documentation.
Screenshot №1 + source URL: https://support.appsflyer.com/hc/en-us/articles/360002330178-Using-AppsFlyer-with-TWA#append-appsflyer-id-and-customer-user-id-to-url:

Screenshot №2: expected cookies on the client side (the same source as Screenshot №1):

And this is my source code: https://github.com/LupusX5/twa-demo
Could you please help solve this issue?

Partly resolved: the issues with getting the converision data and sharing it with the server is fixed. However I'm still searching for better option to pass the conversion data to the url. Within a few days may come up with a solution and will share the code.

I guess the best place to document the AppsFlyer flow is in the AppsFlyer docs themselves. Nevertheless, any updates here?

I guess the best place to document the AppsFlyer flow is in the AppsFlyer docs themselves. Nevertheless, any updates here?

Programming language used in this comment: Kotlin.
Hello! Yep. I have managed to use it with Chrome Custom Tabs, but not still figured out how to do that with the TWA. The issue is that for Chrome Custom Tabs I see the way of using it, and in TWA there's one thing that doesn't let me to get normally the idea.
So this is the problematic place for me:
class LauncherActivity : LauncherActivity() {
    override fun getLaunchingUrl(): Uri {
        val uri = super.getLaunchingUrl()
        val appsFlyerId = AppsFlyerLib.getInstance().getAppsFlyerUID(this)
        uri
            .buildUpon()
            .appendQueryParameter("appsflyer_id", appsFlyerId)
            .build()
        return uri
    }
...
}

So what's the issue here. The issue is that I can't launch this code or any of its parts inside an AppsFlyer caller function.
Let me show you what I'm talking about with a working example. Here in this case I can do what I need, but I need it for TWA as well :) I guess many people would love to have it as it makes marketing more efficient.
package com.example.app
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import com.appsflyer.AppsFlyerConversionListener
import com.appsflyer.AppsFlyerLib
import androidx.browser.customtabs.CustomTabsClient
import androidx.browser.customtabs.CustomTabsIntent
import androidx.browser.customtabs.CustomTabsServiceConnection
import androidx.browser.customtabs.CustomTabsSession
import android.net.Uri
import com.example.app.R
import android.content.ComponentName
import android.graphics.Color

class MainActivity : AppCompatActivity() {

    val CUSTOM_TAB_PACKAGE_NAME = "com.android.chrome";

    lateinit var webView: WebView
    private val host = "https://example.com"
    private val baseUrl = "${host}/?"
    private val errorUrl = "${host}/?error=error-appsflyer-not-working"

    private var mCustomTabsServiceConnection: CustomTabsServiceConnection? = null
    private var mClient: CustomTabsClient? = null
    private var mCustomTabsSession: CustomTabsSession? = null

    override fun onCreate(savedInstanceState: Bundle?) {
        setTheme(R.style.AppTheme)
        super.onCreate(savedInstanceState)
        supportActionBar!!.hide()
        setContentView(R.layout.activity_main)

        // A container function inside of which the AppsFlyer Caller function is fired, which contains a nested Chrome Custom Tabs
       // function to ALWAYS get the data from appsflyer.
        stack()

        mCustomTabsServiceConnection = object : CustomTabsServiceConnection() {
            override fun onCustomTabsServiceConnected(componentName: ComponentName, customTabsClient: CustomTabsClient) {
                //Pre-warming
                mClient = customTabsClient
                mClient?.warmup(0L)
                mCustomTabsSession = mClient?.newSession(null)
            }

            override fun onServiceDisconnected(name: ComponentName) {
                mClient = null
            }
        }

        CustomTabsClient.bindCustomTabsService(this, CUSTOM_TAB_PACKAGE_NAME,
            mCustomTabsServiceConnection as CustomTabsServiceConnection
        );
    }

	// placing AppsFlyer Caller function to a separate function to launch some more useful functions
	// in future
    private fun stack()  {
        AFcaller()
    }

    // AppsFlyer Caller function
    private fun AFcaller() {
//        InstallReferrer.installerReferrer(applicationContext)
        val conversionListener: AppsFlyerConversionListener = object : AppsFlyerConversionListener {
            /* Returns the attribution data. Note - the same conversion data is returned every time per install */
            override fun onConversionDataSuccess(conversionData: Map<String, Any>) {
                // setting conversion data to the companion object
                setInstallData(conversionData)

                // getting conversion data from the companion object and adding it to the
                // base URL
                loadCustomTabForSite(baseUrl+InstallConversionData)
            }

            override fun onConversionDataFail(errorMessage: String) {
                loadCustomTabForSite(errorUrl)
            }

            /* Called only when a Deep Link is opened */
            override fun onAppOpenAttribution(conversionData: Map<String, String>) {
                for (attrName in conversionData.keys) {
                    loadCustomTabForSite(baseUrl+InstallConversionData)
                }

            }

            override fun onAttributionFailure(errorMessage: String) {
                loadCustomTabForSite(errorUrl)

            }
        }

        /* This API enables AppsFlyer to detect installations, sessions, and updates. */
        AppsFlyerLib.getInstance()
            .init(AF_DEV_KEY, conversionListener, applicationContext)
        AppsFlyerLib.getInstance().start(this)

        /* Set to true to see the debug logs. Comment out or set to false to stop the function */AppsFlyerLib.getInstance()
            .setDebugLog(true)
    }

   	// This function allows me to do what the in-built TWA function doesn't allow: use it in other
   	// functions and pass the needed url as a parameter. In case with TWA it would be the same url all the
   	// time, but what's really needed is to pass the parameters in a timely manner to the url, from where
   	// JavaScript on the webpage will read the conversion data and will display promotions to the users
   	// based on this data.
    fun loadCustomTabForSite(url: String) {
        val customTabsIntent = CustomTabsIntent.Builder(mCustomTabsSession)
            .setShowTitle(true)
            .build()

        customTabsIntent.launchUrl(this, Uri.parse(url))

    }

    companion object {
        private const val AF_DEV_KEY = "KEY"

        var InstallConversionData = ""
        var sessionCount = 0
        fun setInstallData(conversionData: Map<String, Any>) {
            if (sessionCount == 0) {
                val googlePlayInstallReferrer = """&googlePlayInstallReferrer=${conversionData["gp_referrer"]}""".trimIndent()
                val installCampaign = """&campaign=${conversionData["campaign"]}""".trimIndent()
                val adsetInfo = """&adset=${conversionData["adset"]}""".trimIndent()
                val adName = """&afadname=${conversionData["af_ad"]}""".trimIndent()
                val afAdset = """&afadset=${conversionData["af_adset"]}""".trimIndent()
                val installType = """install_type=${conversionData["af_status"]}""".trimIndent()
                val mediaSource = """&media_source=${conversionData["media_source"]}""".trimIndent()
                val installTime = """&install_time=${conversionData["install_time"]}""".trimIndent()
                val clickTime = """&click_time=${conversionData["click_time"]}""".trimIndent()
                val isFirstLaunch = """&is_first_launch=${conversionData["is_first_launch"]}""".trimIndent()
                val advertisingId = """&advertising_id=${conversionData["advertising_id"]}""".trimIndent()
                val timeStamp = """&timestamp=${conversionData["ts"]}""".trimIndent()

                InstallConversionData += installType +
                        googlePlayInstallReferrer +
                        installCampaign +
                        adsetInfo +
                        adName +
                        afAdset +
                        mediaSource +
                        installTime +
                        clickTime +
                        isFirstLaunch +
                        advertisingId +
                        timeStamp
                sessionCount++
            }
        }
    }

    override fun onBackPressed() {
        if (webView.canGoBack()) {
            webView.goBack()
        } else {
            super.onBackPressed()
        }
    }

}

Hello @LupusX5. Were you able to resolve this issue and get conversation data on the TWA?


jackett: 0.10.420 -> 0.10.434

Motivation for this change
Changelog from 0.10.420 :

Ethor.net: make MULTI replacement configurable (Thank you @kaso17)
ImmortalSeed: fix skipped first release (Thank you @kaso17)
GFXPeers: add freeleech detection (Thank you @kaso17)
Nordicbits: category mapping and template 7 related fixes (Thank you @kaso17)
RARBG: default to all categories (Thank you @kaso17)
move from apollo to orpheus (#4149) (Thank you @sentriz)
Myanonamouse: use API (Thank you @kaso17)
MyAnonamouse: fix category handling (Thank you @kaso17)
SceneHD: add indexer (Thank you @kaso17)
Anthelion: renamed from TehConnection.me (Thank you @kaso17)

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build jackett

Success on x86_64-darwin (full log)
Attempted: jackett
Partial log (click to expand)
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/1iyxm4ml9hn6ly16hvr8v2wx4bgafpl1-jackett-0.10.434/bin
patching script interpreter paths in /nix/store/1iyxm4ml9hn6ly16hvr8v2wx4bgafpl1-jackett-0.10.434
/nix/store/1iyxm4ml9hn6ly16hvr8v2wx4bgafpl1-jackett-0.10.434/share/jackett-0.10.434/install_service_macos: interpreter directive changed from "/bin/bash" to "/nix/store/n9hba031gjky8hpjgx9fnlaxhidyzxbz-bash-4.4-p23/bin/bash"
/nix/store/1iyxm4ml9hn6ly16hvr8v2wx4bgafpl1-jackett-0.10.434

Success on x86_64-linux (full log)
Attempted: jackett
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/kz1mhipli4v3rcgi5gkd41a9skm6znpm-jackett-0.10.434
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/kz1mhipli4v3rcgi5gkd41a9skm6znpm-jackett-0.10.434/bin
patching script interpreter paths in /nix/store/kz1mhipli4v3rcgi5gkd41a9skm6znpm-jackett-0.10.434
/nix/store/kz1mhipli4v3rcgi5gkd41a9skm6znpm-jackett-0.10.434/share/jackett-0.10.434/install_service_macos: interpreter directive changed from "/bin/bash" to "/nix/store/r47p5pzx52m3n34vdgqpk5rvqgm0m24m-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/kz1mhipli4v3rcgi5gkd41a9skm6znpm-jackett-0.10.434...
/nix/store/kz1mhipli4v3rcgi5gkd41a9skm6znpm-jackett-0.10.434

Success on aarch64-linux (full log)
Attempted: jackett
Partial log (click to expand)
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2v96yxfgdqqxsm3pyavrmflq0jzp5hjd-jackett-0.10.434
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2v96yxfgdqqxsm3pyavrmflq0jzp5hjd-jackett-0.10.434/bin
patching script interpreter paths in /nix/store/2v96yxfgdqqxsm3pyavrmflq0jzp5hjd-jackett-0.10.434
/nix/store/2v96yxfgdqqxsm3pyavrmflq0jzp5hjd-jackett-0.10.434/share/jackett-0.10.434/install_service_macos: interpreter directive changed from "/bin/bash" to "/nix/store/dsyc1z7ck08ga7l0b1jcxx35wj69qcii-bash-4.4-p23/bin/bash"
checking for references to /build in /nix/store/2v96yxfgdqqxsm3pyavrmflq0jzp5hjd-jackett-0.10.434...
/nix/store/2v96yxfgdqqxsm3pyavrmflq0jzp5hjd-jackett-0.10.434


Use pipenv to build venvs

The idea here is that pipenv will provide venv building, and install
depenencies. The dependencies are also broken out into dev vs normal
dependencies so that the users won't need a lot of stuff installed
locally when using mendel.
Instead of a requirements.txt, two new files are introduced. The
Pipfile, contains all the dependencies that you care about. This does
not need to include transitives. In order to get repeate builds, the
Pipfile.lock is used. This is checked into the repo, and serves as the
SoT for the versions that are actually used. If you wan to upgrade a
dependency, run pipenv install. If you just want version bumps, run
pipenv update.
Mendel will now only (directly) depend on the following at runtime:

python-debian
requests
Fabric
PyYAML
chardet

If a user were to use Pipenv on their project, they would be able to run
pipenv run mendel and it would build the venv, if required and it
would then run mendel.
The other deps will only be installed for testing.
Testing Done
ran pipenv run pip wheel . then pipenv install <path to wheel> && pipenv run mendel and looked for the help message.

@ethankhall did you run tox in the root directory?

Based off of the previous release

A clean build on (on master) my machine fails. Is there a CI job that validates this to test against?

Yeah but only on merge. And this one essentially runs make test. Releasing this into pypi is gonna require the tests to pass. If they don't, we won't be able to publish this

OOOOOOOHHHHH @ethankhall add
<server>
      <id>docker_container</id>
      <username>admin</username>
      <password>admin123</password>
    </server>

to the ~/.m2/settings.xml on your laptop.

I added integration tests that make use of a nexus docker container to simulate remote jar deployments.

@Ibracadabra05  it looks like two mvn builds are failing.
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.640 s
[INFO] Finished at: 2018-09-18T15:47:00-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar (attach-javadocs) on project myservice-remote_jar: Execution attach-javadocs of goal org.apache.maven.plugins:maven-javadoc-plugin:3.0.0-M1:jar fail
ed.: NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

Artifact not found in nexus. Building locally...
[localhost] local: mvn clean -U package
Disconnecting from <IP_ADDRESS>:32784... done.

Fatal error: local() encountered an error (return code 1) while executing 'mvn clean -U package'```

@ethankhall The error snippet above isn't giving us the full story. Only the fact that there is a Null pointer exception being thrown somewhere. We should schedule some time to pair on this


Fixed Install Issues

Re-named prefix from vault to hashicorp-vault to fix inversion error
Added attributes to vault_config
Re-worked to_json method to place configs in appropriate sections
Fixed incorrect method call in vault_installation_binary provider
Added vault 0.5.1 checksums
Added 'server' arguement to service.command

Fully expecting the spec tests to fail at this point.


Add a guide for running react-server in production

This PR adds a basic guide for running react-server in production, multiple environments, and with a fronting HTTP server.  This is still a work in progress and I would love input from others who are running this in production (I am not yet--still getting prepared).  Hopefully this is a start.
Also, there's one minor fix to the logging documentation to add a link target.

Oh yeah!  @aickin @roblg @doug-wade Check this out!

This addresses #188.


doc: golang >= 1.23 is required

update the golang min requirement to the correct one.
$ make binary
go generate ./...
go: errors parsing go.mod:
/ctx/dcgm-exporter/go.mod:3: invalid go version '1.22.0': must match format 1.23
/ctx/dcgm-exporter/go.mod:5: unknown directive: toolchain

Once I installed v1.23 I was able to build it.
Thanks.

my bad, I was able to build with 1.22 as well. It's 1.21 that is insufficient.
thank you for correcting me, @nvvfedorov


Use an app component to update appdata

Purpose
We initially put appData straight into a Context, which allowed us to pass it through easily to any child that needed it.
However, it came from a static value in index and could not be modified. We need to put it in a component's state to be able to change it and have the changes be reflected in our renders.
Proposal
This is the role App fills.
If/when we need to support more changes than just updating the video, we'll have to consider bringing on a state management solution or building our own.
For now, we think it would add unnecessary complexity to a relatively simple app.

Rather than wait on this to happen and poll the server, we can optimistically update the state and leave it to the Dashboard to do some polling to keep it up to date later on.

It means that if the user stays on this view, the video state will never get updated and he'll need to refresh this page, right?

This is what would happen if we did not move on to the Dashboard immediately after. This update is the last thing that is done before we set the state to success which redirects to the Dashboard.


PR: Reader and Writer support

Hi,
Please consider to provide exported functions having Reader / Writer as argument instead of file names too (where possible). It would make the library more flexible by enabling streaming, buffering, in-memory use-cases. Thanks.

It would also potentially make testing easier too.

Thanks to @jservice-rvbd this was implemented in #43

See #99 for a revamp of this feature.


Improve Text Rendering Under Non-Integer Scaling

Text looks funny under 1.25x scaling.

I think that what's happening is that fontdue is already rounding the glyph positions. e.g. The documentation for GlyphPosition.x says that it's always a whole number. Then when you scale it up, the rounding error is multiplied.

502b67f946764a555325f4d61361ba84578fb38d was a minor improvement here based on your comment on #36.

cosmic text fixed this fully!


Move sleep logic for song_state to web app JS instead of having it in playerStatus.py

Completed with 5f1ab08edd48feb6da17926bd438f63f67f33f24


Travis is reporting the tests failing every time.

Looks like fake-s3 and dynamodb-local are not working

fixed


Suggestion: Anti Aim

or spin bot

unfortunately since the 1v1.LOL movement system was changed, rn antiaim (or spinbot) cannot be made


Raspberry Pi bug: PICKUP/DUMP trolley state

The PICKUP and DUMP trolley state seems to be arriving too late (right before the following state), therefore the led doesn't stay turned ON for long.
Example
Pickup action lasting 5 seconds. The Pickup state is the following:
State state_pickup {
	updateResource [# "transporttrolley(PICKUP)" #]

	println("[TransportTrolley] Picking up the load of $WasteType...")
	[# wasteservice.Utils.simulateAction(WasteLoad) #]
	println("[TransportTrolley] Pickup completed.")

	replyTo deposit with pickupcompleted: pickupcompleted(_) caller== wasteservice
}
Goto state_move_to_box

As we notice, the updateResource call is placed before the print, but at min 0:05 we can see that:
while on the Tranport Trolley (upper-left terminal) has already printed [TransportTrolley] Picking up the load of GLASS..., the Raspberry (lower-right terminal) doesn't receive the update until after the simulation of the action has terminated [# wasteservice.Utils.simulateAction(WasteLoad) #].
That shouldn't happen, since the interaction between the TransportTrolley and the TrolleyStateProvider is asynchronous and monodirectional, through COAP updates.
https://user-images.githubusercontent.com/56556806/232223634-12b5b129-b019-4365-a325-7d8bea137073.mp4
Consequence
As a consequence we never see the led being ON during pickups and dumps: those 2 actions appears to be lasting too little from the Raspberry perspective.

Problem
The problem was the implementation of the simulateAction() function, which was using Thread.sleep():
fun simulateAction(load: Double) {
    Thread.sleep(load.toLong() * 100)
}

Since the QAK implementation makes every actor of the same context run on the same thread, making the thread sleep was blocking also other actors from the context of the TransportTrolley. Therefore the TrolleyStateProvider actor was blocked too and couldn't process the coapUpdate.
Solution
Use the delay() function instead, and add the suspend keyword, to make it affect only the coroutine calling it:
suspend fun simulateAction(load: Double) {
    delay(load.toLong() * 100)
}


metrics (ticdc): fix error metrics expression

What problem does this PR solve?

Issue Number: close #9649
What is changed and how it works?
Check List
Tests

No code

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Fix wrong metrics calculation expression.

/retest

/retest

/retest


Picovoice Documentation Issue (/docs/quick-start/picovoice-raspberrypi/)

Hello,
What is the URL of the doc?
Picovoice Documentation Issue (/docs/quick-start/picovoice-raspberrypi/)
What's the nature of the issue? (e.g. steps do not work, typos/grammar/spelling, etc., out of date)
I have followed the steps on the documents and cannot seems o bring up the Board with this function.
It prompted the below below..

pi@raspberrypi:~ $ picovoice_demo_mic --keyword_path resources/porcupine/resources/keyword_files/rasberry-pi/porcupine_raspberry-pi.ppn --context_path resources/rhino/resources/contexts/raspberry-pi/smart_lighting_raspberry-pi.rbn
Traceback (most recent call last):
File "/usr/local/bin/picovoice_demo_mic", line 10, in
sys.exit(main())
File "/usr/local/lib/python3.7/dist-packages/picovoicedemo/picovoice_demo_mic.py", line 181, in main
output_path=os.path.expanduser(args.output_path) if args.output_path is not None else None).run()
File "/usr/local/lib/python3.7/dist-packages/picovoicedemo/picovoice_demo_mic.py", line 48, in init
rhino_sensitivity=rhino_sensitivity)
File "/usr/local/lib/python3.7/dist-packages/picovoice/picovoice.py", line 71, in init
raise ValueError("Couldn't find Porcupine's keyword file at '%s'." % keyword_path)
ValueError: Couldn't find Porcupine's keyword file at 'resources/porcupine/resources/keyword_files/rasberry-pi/porcupine_raspberry-pi.ppn'.

please help and appreciate for your time...

The error says that the file does not exist. I think you probably cloned the repo without submodules. Please see this: https://github.com/Picovoice/picovoice#demos
If the problem is resolved after please close this issue. Thanks

The error says that the file does not exist. I think you probably cloned the repo without submodules. Please see this: https://github.com/Picovoice/picovoice#demos
If the problem is resolved after please close this issue. Thanks

closing due to inactivity. Please reopen if the issue is not resolved

closing due to inactivity. Please reopen if the issue is not resolved


When expression router enabled, KIC fails to send configurations to Konnect

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When expression router is enabled, KIC will get such error when sending routes to Konnect:
ailed pushing configuration to Konnect {"error": "performing update for https://us.kic.api.konghq.tech/kic/api/control-planes/* failed: 1 errors occurred:\n\twhile processing event: {Update} route default.httpbin-ingress.httpbin-deployment..80 failed: HTTP status 400 (message: \"validation error\")\n"}

Expected Behavior
When expression router is enabled, KIC sends configuration to Konnect successfully.
Steps To Reproduce
1. Create a KIC Control Plane in Konnect
2. Replace `ingressController.image.tag` to `3.0` and add `router_flavor: "expressions"` to `gateway.envs`
3. install KIC following the provided script
4. KIC will not displayed as ready in Konnect UI

Kong Ingress Controller version
3.0.0

Kubernetes version
1.27.3

Anything else?
When debug logs enabled, the following output (from decK.generateDiffString) is found in logs:
updating route default.httpbin-ingress.httpbin-deployment..80  {
   "https_redirect_status_code": 426,
   "id": "5a28c3bd-2070-5432-94e7-6ee60a313940",
   "name": "default.httpbin-ingress.httpbin-deployment..80",
   "path_handling": "v0",
-  "paths": [
-    "/"
-  ],
   "preserve_host": true,
   "protocols": [
     "http",
     "https"
   ],
   "regex_priority": 0,
   "request_buffering": true,
   "response_buffering": true,
   "service": {
     "id": "41e0df75-8715-5017-b56b-431e70ccd2ff",
     "name": "default.httpbin-deployment.80"
   },
   "strip_path": true,
   "tags": [
     "k8s-name:httpbin-ingress",
     "k8s-namespace:default",
     "k8s-kind:Ingress",
     "k8s-uid:71143650-a69f-4d6b-9aa7-a01640065272",
     "k8s-group:networking.k8s.io",
     "k8s-version:v1"
   ]
+  "expression": "http.path ^= "/""
+  "priority": 5.4975581454337e+13
 }

Possible reasons:

Quotes " in expression is not correctly escaped
The priority field is encoded in scientific notation

Found that priority field in Konnect is string:
$ http https://us.api.konghq.tech/v2/runtime-groups/3cb315db-9761-4fe4-aed5-ce71b1ef614f/core-entities/routes name=mock expression='http.path == "/mock"' priority=9007199254740992 -A bearer -a $TOKEN_DEV
HTTP/1.1 201 Created

{
    "created_at":<PHONE_NUMBER>,
    "expression": "http.path == \"/mock\"",
    "https_redirect_status_code": 426,
    "id": "64d0f12a-3874-45ac-b76e-ed9c530fadf2",
    "name": "mock",
    "preserve_host": false,
    "priority": "9007199254740992",
    "protocols": [
        "http",
        "https"
    ],
    "request_buffering": true,
    "response_buffering": true,
    "strip_path": true,
    "updated_at":<PHONE_NUMBER>
}

While currently decK and go-kong defines priority as uint64, which is encoded to numbers in JSON. Although string format does not lose precision, it is not compatible with admin APIs.

Note for the future: it's possible to debug this issue by running TestTranslatorsGoldenTestsOutputs_Konnect - you only need a Konnect PAT from .tech environment and set TEST_KONG_KONNECT_ACCESS_TOKEN environment variable to it.


Native bar and simplebar show together on Chrome for Linux

HI Guys, I have this issue where both bars are together.
I have added to my CSS ```
.simplebar-scroll-content {
box-sizing: content-box !important;
}

but problem still persists... any hints?

Hi,
Unfortunately I can't test on Linux because it's not supported by Browserstack and I'm on mac.
Is it happening on http://grsmto.github.io/simplebar/ as well?

Nope. it is working fine there... strange... I will keep looking and update. must be something in my code.


ENH: Add CMake minimum required version.

Add a CMake minimum required version to allow building the module with
most recent CMake versions.
Set the minimum required version to the one currently recommended by ITK
master.

@richardbeare reviews are welcome.

Circle CI build fails because it cannot find ITK:
CMake Error at CMakeLists.txt:3 (itk_module_impl):
  Unknown CMake command "itk_module_impl".

#14 should fix this issue.

c14dab6 rebased on master.

Packaging errors reported by Circle and Travis related to wrapping errors related to #13. Will be addressed in another PR.
Merging.


Add Support for OpenTelemetry Semantic Conventions in OpenTelemetryTraceEventListener

Proposal:
Would the team be open to adding support for OpenTelemetry semantic conventions in OpenTelemetryTraceEventListener ? This could be implemented behind a feature flag, allowing users to toggle between the existing format and semantic conventions. I’d be happy to contribute this feature if there’s interest!
Note: long term we could even add an Oracle semantic conventions that folks can follow similar to what HBASE have done https://opentelemetry.io/docs/specs/semconv/database/hbase/
Context:
I’m currently using the OpenTelemetryTraceEventListener extension for Oracle JDBC and love the additional insights it provides for database calls, such as SQL ID and Connection ID. However, when using this listener alongside OpenTelemetry’s auto-instrumentation library (io.opentelemetry.jdbc), I noticed that both create spans for the same database operations, leading to duplicate spans.
Example:

Span created by io.opentelemetry.jdbc:

	{
  "traceId": "1cc26959cfeb014b6670637c641b1d3a",
  "parentId": "dceb8e41121dd4b8",
  "id": "70c2064652dea30b",
  "kind": "CLIENT",
  "name": "select orclcdb?oracle.jdbc.provider.traceeventlistener=open-telemetry-trace-event-listener-provider.dual",
  "tags": {
    "db.connection_string": "oracle:thin://oracle:1521",
    "db.name": "orclcdb",
    "db.system": "oracle",
    "db.statement": "SELECT SYSDATE FROM DUAL",
    "otel.library.name": "io.opentelemetry.jdbc"
  }
}

Span created by OpenTelemetryTraceEventListener:

{
  "traceId": "420731d9ca3ffc9c20fbbdd227518db5",
  "parentId": "5675099975433a9e",
  "id": "1997042cb902f569",
  "kind": "SERVER",
  "name": "execute query",
  "tags": {
    "Actual SQL Text": "SELECT SYSDATE FROM DUAL",
    "Connection ID": "X6DmEBCvQ06h3n0oq5U61g==",
    "Database Operation": "Execute query",
    "Database Tenant": "ORCLCDB",
    "Database User": "SYSTEM",
    "SQL ID": "c749bc43qqfz3",
    "otel.library.name": "oracle.jdbc.provider.opentelemetry.OpenTelemetryTraceEventListener"
  }
}

Ideally I would turn off the instrumentation from io.opentelemetry.jdbc but I would need spans from OpenTelemetryTraceEventListener to follow the OpenTelemetry semantic conventions for database spans so users don't lose compatibility with existing tools and dashboards that expect the semantic conventions.

Hi @agent-adam, the span created by the OpenTelemetryTraceEventListener should be a child span of the one created by the agent. This may be a bug. @fmeheust?

Hi @agent-adam, the span created by the OpenTelemetryTraceEventListener should be a child span of the one created by the agent. This may be a bug. @fmeheust?

Hi @jeandelavarene it looks like the two spans should have a parent/child relationship. This can be due to the fact that we are closing the scope in the BEFORE event, maybe we should keep the scope open for the duration of the span. I will look into it.


[Bug]: als.webcam panics on ThinkPad T14s AMD with integrated camera

Steps for reproducing the issue
I’m afraid that this will be some device-specific issue. I’ll test it with an external webcam later.
Capturing an image via ffmpeg works though.
What is the buggy behavior?
wluma crashes when als.webcam is enabled.
What is the expected behavior?
wluma shouldn’t crash
Logs
[2022-02-06T23:54:19Z DEBUG wluma] Using Config {
        als: Webcam {
            video: 0,
            thresholds: {
                60: "bright",
                45: "normal",
                75: "outdoors",
                15: "dark",
                30: "dim",
                0: "night",
            },
        },
        output: [
            Backlight(
                BacklightOutput {
                    name: "eDP-1",
                    path: "/sys/class/backlight/amdgpu_bl0",
                    capturer: None,
                    min_brightness: 1,
                },
            ),
            Backlight(
                BacklightOutput {
                    name: "keyboard-thinkpad",
                    path: "/sys/bus/platform/devices/thinkpad_acpi/leds/tpacpi::kbd_backlight",
                    capturer: None,
                    min_brightness: 0,
                },
            ),
        ],
    }
[2022-02-06T23:54:19Z INFO  wluma] Continue adjusting brightness and wluma will learn your preference over time.
thread 'als-webcam' panicked at 'called `Option::unwrap()` on a `None` value', src/frame/mod.rs:16:35
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Version
4.1.0
Environment

Alpine Linux v3.15
Linux 5.15.16-0-lts
Sway 1.6.1
wlroots 0.14.1
Vulkan 1.3.204
Rust 1.56.1
ThinkPad T14s AMD with integrated AMD graphic

$ v4l2-ctl --all
Driver Info:
	Driver name      : uvcvideo
	Card type        : Integrated Camera: Integrated C
	Bus info         : usb-0000:06:00.0-2
	Driver version   : 5.15.16
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Integrated Camera: Integrated C
	Serial           : 0000
	Bus info         : usb-0000:06:00.0-2
	Media version    : 5.15.16
	Hardware revision: 0x00006001 (24577)
	Driver version   : 5.15.16
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Integrated Camera: Integrated C
	Function         : V4L2 I/O
	Flags            : default
	Pad 0x01000007   : 0: Sink
	 Link 0x02000016: from remote pad 0x100000a of entity 'Microsoft Extended Controls Uni' (Video Pixel Formatter): Data, Enabled, Immutable
Priority: 2
Video input : 0 (Camera 1: ok)
Format Video Capture:
	Width/Height      : 320/180
	Pixel Format      : 'YUYV' (YUYV 4:2:2)
	Field             : None
	Bytes per Line    : 640
	Size Image        : 115200
	Colorspace        : sRGB
	Transfer Function : Rec. 709
	YCbCr/HSV Encoding: ITU-R 601
	Quantization      : Default (maps to Limited Range)
	Flags             :
Crop Capability Video Capture:
	Bounds      : Left 0, Top 0, Width 320, Height 180
	Default     : Left 0, Top 0, Width 320, Height 180
	Pixel Aspect: 1/1
Selection Video Capture: crop_default, Left 0, Top 0, Width 320, Height 180, Flags:
Selection Video Capture: crop_bounds, Left 0, Top 0, Width 320, Height 180, Flags:
Streaming Parameters Video Capture:
	Capabilities     : timeperframe
	Frames per second: 30.000 (30/1)
	Read buffers     : 0
                     brightness 0x00980900 (int)    : min=0 max=255 step=1 default=128 value=128
                       contrast 0x00980901 (int)    : min=0 max=100 step=1 default=32 value=32
                     saturation 0x00980902 (int)    : min=0 max=100 step=1 default=64 value=64
                            hue 0x00980903 (int)    : min=-180 max=180 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=90 max=150 step=1 default=120 value=120
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=2 (60 Hz)
				0: Disabled
				1: 50 Hz
				2: 60 Hz
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=10 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=0 max=7 step=1 default=3 value=3
         backlight_compensation 0x0098091c (int)    : min=0 max=2 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=3 (Aperture Priority Mode)
				1: Manual Mode
				3: Aperture Priority Mode
              exposure_absolute 0x009a0902 (int)    : min=2 max=1250 step=1 default=156 value=156 flags=inactive
         exposure_auto_priority 0x009a0903 (bool)   : default=0 value=0

$ v4l2-compliance
v4l2-compliance 1.22.1, 64 bits, 64-bit time_t

Compliance test for uvcvideo device /dev/video0:

Driver Info:
	Driver name      : uvcvideo
	Card type        : Integrated Camera: Integrated C
	Bus info         : usb-0000:06:00.0-2
	Driver version   : 5.15.16
	Capabilities     : 0x84a00001
		Video Capture
		Metadata Capture
		Streaming
		Extended Pix Format
		Device Capabilities
	Device Caps      : 0x04200001
		Video Capture
		Streaming
		Extended Pix Format
Media Driver Info:
	Driver name      : uvcvideo
	Model            : Integrated Camera: Integrated C
	Serial           : 0000
	Bus info         : usb-0000:06:00.0-2
	Media version    : 5.15.16
	Hardware revision: 0x00006001 (24577)
	Driver version   : 5.15.16
Interface Info:
	ID               : 0x03000002
	Type             : V4L Video
Entity Info:
	ID               : 0x00000001 (1)
	Name             : Integrated Camera: Integrated C
	Function         : V4L2 I/O
	Flags            : default
	Pad 0x01000007   : 0: Sink
	 Link 0x02000016: from remote pad 0x100000a of entity 'Microsoft Extended Controls Uni' (Video Pixel Formatter): Data, Enabled, Immutable

Required ioctls:
	test MC information (see 'Media Driver Info' above): OK
	test VIDIOC_QUERYCAP: OK
	test invalid ioctls: OK

Allow for multiple opens:
	test second /dev/video0 open: OK
	test VIDIOC_QUERYCAP: OK
	test VIDIOC_G/S_PRIORITY: OK
	test for unlimited opens: OK

Debug ioctls:
	test VIDIOC_DBG_G/S_REGISTER: OK (Not Supported)
	test VIDIOC_LOG_STATUS: OK (Not Supported)

Input ioctls:
	test VIDIOC_G/S_TUNER/ENUM_FREQ_BANDS: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_S_HW_FREQ_SEEK: OK (Not Supported)
	test VIDIOC_ENUMAUDIO: OK (Not Supported)
	test VIDIOC_G/S/ENUMINPUT: OK
	test VIDIOC_G/S_AUDIO: OK (Not Supported)
	Inputs: 1 Audio Inputs: 0 Tuners: 0

Output ioctls:
	test VIDIOC_G/S_MODULATOR: OK (Not Supported)
	test VIDIOC_G/S_FREQUENCY: OK (Not Supported)
	test VIDIOC_ENUMAUDOUT: OK (Not Supported)
	test VIDIOC_G/S/ENUMOUTPUT: OK (Not Supported)
	test VIDIOC_G/S_AUDOUT: OK (Not Supported)
	Outputs: 0 Audio Outputs: 0 Modulators: 0

Input/Output configuration ioctls:
	test VIDIOC_ENUM/G/S/QUERY_STD: OK (Not Supported)
	test VIDIOC_ENUM/G/S/QUERY_DV_TIMINGS: OK (Not Supported)
	test VIDIOC_DV_TIMINGS_CAP: OK (Not Supported)
	test VIDIOC_G/S_EDID: OK (Not Supported)

Control ioctls (Input 0):
		fail: v4l2-test-controls.cpp(209): missing control class for class 00980000
		fail: v4l2-test-controls.cpp(246): missing control class for class 009a0000
	test VIDIOC_QUERY_EXT_CTRL/QUERYMENU: FAIL
	test VIDIOC_QUERYCTRL: OK
		warn: v4l2-test-controls.cpp(486): s_ctrl returned EILSEQ
		warn: v4l2-test-controls.cpp(486): s_ctrl returned EILSEQ
	test VIDIOC_G/S_CTRL: OK
		warn: v4l2-test-controls.cpp(732): s_ext_ctrls returned EILSEQ
		warn: v4l2-test-controls.cpp(732): s_ext_ctrls returned EILSEQ
		warn: v4l2-test-controls.cpp(757): g_ext_ctrls(0) invalid error_idx 0
		warn: v4l2-test-controls.cpp(808): s_ext_ctrls returned EILSEQ
	test VIDIOC_G/S/TRY_EXT_CTRLS: OK
	test VIDIOC_(UN)SUBSCRIBE_EVENT/DQEVENT: OK
	test VIDIOC_G/S_JPEGCOMP: OK (Not Supported)
	Standard Controls: 13 Private Controls: 0

Format ioctls (Input 0):
	test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: OK
	test VIDIOC_G/S_PARM: OK
	test VIDIOC_G_FBUF: OK (Not Supported)
	test VIDIOC_G_FMT: OK
	test VIDIOC_TRY_FMT: OK
		warn: v4l2-test-formats.cpp(1036): Could not set fmt2
	test VIDIOC_S_FMT: OK
	test VIDIOC_G_SLICED_VBI_CAP: OK (Not Supported)
	test Cropping: OK (Not Supported)
	test Composing: OK (Not Supported)
	test Scaling: OK (Not Supported)

Codec ioctls (Input 0):
	test VIDIOC_(TRY_)ENCODER_CMD: OK (Not Supported)
	test VIDIOC_G_ENC_INDEX: OK (Not Supported)
	test VIDIOC_(TRY_)DECODER_CMD: OK (Not Supported)

Buffer ioctls (Input 0):
	test VIDIOC_REQBUFS/CREATE_BUFS/QUERYBUF: OK
	test VIDIOC_EXPBUF: OK
	test Requests: OK (Not Supported)

Total for uvcvideo device /dev/video0: 46, Succeeded: 45, Failed: 1, Warnings: 7

I just tested it with external USB webcam and it sorta works – doesn’t crash, responds to light, but a little weird. Does wluma take into account the exposure adjustment in the camera?

The crash was likely fixed by https://github.com/maximbaz/wluma/commit/e47933fa4193259f8d91c1ffdb8906fa9bd6bc25, I'll make a patch release today, hope that will fix it.

Does wluma take into account the exposure adjustment in the camera?

Not really, we couldn't find a way using v4l to disable auto-exposure or get any way into correcting for it - so just getting a raw image "as is" and processing it to detect how bright it is. As mentioned in https://github.com/maximbaz/wluma/pull/42#issuecomment-1030936528 please do share if you already have some suggestions what we can replace v4l crate with, but no worries in you don't know any, we'll have a look 😉

This notebook has even IR camera, I’m curious if it can be used as an ambient light sensor…

Oh that's a curious idea! Feel free to open a separate ticket and we can poke around together to see what can be done, happy to explain in more details what happens today with regular webcam, or why things are done the way they are.

v4l exposes this setting, so maybe it’s just not included in the rust bindings

Ok, good to know! FYI the plan is to try https://crates.io/crates/nokhwa, it seems interesting and maintained. Don't know yet how easy it is to compile with musl though.


Allow re-introduction of the tcp log timeout

This is a backstop in case #8762 proves problematic.  By adding
idle_timeout to the relevant logs clauses, we can re-instate the 60s
timeout (or whatever timeout is appropriate).  There are no known
circumstances where this would be necessary; this is just in case.
Motivation
Concerns that #8762 might introduce issues such as resource exhaustion in cases of badly-behaved TCP clients.
Describe how to test your changes

Set up a TCP log intake
Connect to it and leave the connection open for >60s (e.g., with nc)
Add idle_timeout: 1s to the log intake config
Connect to it and see the connection close after 1s
Make a bogus configuration of idle_timeout
See an error about "Error parsing log's idle_timeout" in the agent logs, but no failure.

Checklist

[x] A release note has been added or the changelog/no-changelog label has been applied.

no release notes here as this is an undocumented "just in case" config

[x] The need-change/operator and need-change/helm labels has been applied if applicable.
[x] The appropriate team/.. label has been applied, if known.
[x] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[x] The config template has been updated if applicable.

@truthbk I've flagged you for review too since we talked about this earlier today.

gitlab failures look unrelated.


GH Actions: report CS violations in the PR

GH Actions: report CS violations in the PR
The cs2pr tool will allow to display the results from an action run in checkstyle format in-line in the PR code view, which should improve usability of the workflow results.
Ref: https://github.com/staabm/annotate-pull-request-from-checkstyle
GH Actions: don't use cs2pr in quicktest
... as the quicktest workflow is run on push events, not on PRs, so displaying results in a PR is not relevant (and is done via the test workflow which is run on pull events anyhow).

I think this now needs rebasing to have the tests run with the PHP 8.1 fixes merged.

Well, these changes didn't affect the test runs on PHP 8.1, but even so, it will be nice to have the green checkmark, so rebased ;-)


Matlab - Exclude coder temporary folders

Reasons for making this change:
When using the matlab coder to generate C/C++/Mex files, matlab generate a lot of files that should not be committed, including documentation.
For the C sources codes, for me they should not be commited by defaut, as it depends on the architectures/toolbox versions...
Links to documentation supporting these rule changes:
https://www.mathworks.com/examples/matlab-coder/mw/coder_product-coderdemo_hello_world-hello-world

@14roiron thanks!