cost function to minimize the acceleration of torso while impact

I am new to crocoddyl. Is there a cost function to minimize the acceleration of torso while robot lands on the ground?
I checked the jumping example. It seems no soft landing after jumping.

Acceleration cannot be penalize, instead we could penalize velocities (or impact velocities).
During landing phases, we often use a impulse dynamics; however, it is also possible to use contact dynamics + high velocity penalization (soft-constraint). For reference about the impulse dynamics see Eq (7): https://cmastalli.github.io/publications/crocoddyl20unpub.pdf.
Contact dynamic + high velocity penalization
For the latter case, you could use a state cost with a weighted quadratic activation in which
your highly penalize the torso velocity (and the joint velocities).
Impulse dynamics
At the moment (devel branch), there is a cost function that penalizes the impact velocity at the CoM (not torso).
In future, I will incorporate the penalization of the whole-body impact velocity.

What's the API name that penalizes the impact velocity at the CoM?
BTW, can you recommend some references if I want to write explicit math representations for model and cost compiled in crocoddyl?

What's the API name that penalizes the impact velocity at the CoM in impulse dynamics?

crocoddyl::CostModelImpulseCoM

BTW, can you recommend some references if I want to write explicit math representations for model and cost compiled in crocoddyl?

You could derive action models (or differential action models) and costs using Python or c++.
For differential action model in Python code, you can find an example here: https://github.com/loco-3d/crocoddyl/blob/devel/examples/notebooks/cartpole_swing_up.ipynb.
For the cost models, you can follow similar approach but you need to inheritance from CostModelAbstract.

Acceleration cannot be penalize, instead we could penalize velocities (or impact velocities).

You can penalize the acceleration if you want. There is no limit of the formulation in its onw. Maybe of the current API only.

Thanks. I will look into that.
Another issue is about example quadrupedal_gaits.py in example folder.
After running example, this issue happens:
jack@ubuntu:~/repos/crocoddyl/examples$ python quadrupedal_gaits.py display
*** SOLVE walking ***
iter     cost         stop          grad          xreg        ureg       step    feas
   0  5.36828e+03  2.29649e+08  2.21345e+06  1.00000e-02  1.00000e-02   1.0000     1
   1  4.03176e+03  4.39596e+05  9.22409e+03  1.00000e-03  1.00000e-03   1.0000     1
   2  3.23235e+03  9.52037e+04  6.81639e+03  1.00000e-03  1.00000e-03   0.5000     1
   3  1.66525e+03  6.81262e+04  5.21547e+03  1.00000e-03  1.00000e-03   0.5000     1
Traceback (most recent call last):
  File "quadrupedal_gaits.py", line 126, in <module>
    ddp[i].solve(xs, us, 100, False, 0.1)
  File "/opt/openrobots/lib/python2.7/site-packages/crocoddyl/__init__.py", line 271, in __call__
    self.visualization.displayFromSolver(solver)
  File "/opt/openrobots/lib/python2.7/site-packages/crocoddyl/__init__.py", line 115, in displayFromSolver
    fs = self.getForceTrajectoryFromSolver(solver)
  File "/opt/openrobots/lib/python2.7/site-packages/crocoddyl/__init__.py", line 176, in getForceTrajectoryFromSolver
    if contact.joint == self.robot.model.frames[c.cost.frame].parent:

I has already fixed in the devel branch but for some reason we did not include it in the release.
You have two solutions:

Install Crocoddyl from source using the latest devel branch
Remplace the GepettoViewer class (as defined in https://github.com/loco-3d/crocoddyl/blob/devel/bindings/python/crocoddyl/init.py#L21) into your installed __init__ file.

I will close this thread since there are various topics here.
For trackability purpose (to other users and developers), I suggest you to open an issue regarding a single topic.


Roll Flutter Engine from 07cdaab7f531 to 9576d97c8db8 (2 revisions)

https://github.com/flutter/engine/compare/07cdaab7f531...9576d97c8db8
2024-02-06<EMAIL_ADDRESS>[Impeller] Fix pipeline attachment layout in CanRenderToTexture. (flutter/engine#50413)
2024-02-06<EMAIL_ADDRESS>Provide toStrings for Native objects (flutter/engine#50168)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Execute SQL The scope of in statement to report an error

Problem description:

execute the Group by statement to report an error：[DEBUG] 11:56:21.590 [ShardingSphere-Command-8] o.a.s.s.f.m.c.MySQLCommandExecutorFactory - Execute packet type: COM_QUERY, value: MySQLComQueryPacket(sql=select concept_name as conceptName,domain_id as domainId,vocabulary_id as vocabularyId,concept_synonym_name as conceptSynonymName from medical_dictionary where concept_id in (select mark_id from article_mark_relation where pmid = '26820994' group by mark_id)) [ERROR] 11:56:21.671 [ShardingSphere-Command-8] o.a.s.s.f.c.CommandExecutorTask - Exception occur:  java.lang.IllegalStateException: Must have sharding column with subquery.         at com.google.common.base.Preconditions.checkState(Preconditions.java:173)         at org.apache.shardingsphere.core.route.router.sharding.ShardingRouter.checkSubqueryShardingValues(ShardingRouter.java:143)         at org.apache.shardingsphere.core.route.router.sharding.ShardingRouter.route(ShardingRouter.java:103)         at org.apache.shardingsphere.core.route.StatementRoutingEngine.route(StatementRoutingEngine.java:54)         at org.apache.shardingsphere.core.SimpleQueryShardingEngine.route(SimpleQueryShardingEngine.java:58)         at org.apache.shardingsphere.core.BaseShardingEngine.executeRoute(BaseShardingEngine.java:91)         at org.apache.shardingsphere.core.BaseShardingEngine.shard(BaseShardingEngine.java:74)         at org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.wrapper.StatementExecutorWrapper.doShardingRoute(StatementExecutorWrapper.java:78)         at org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.wrapper.StatementExecutorWrapper.route(StatementExecutorWrapper.java:64)         at org.apache.shardingsphere.shardingproxy.backend.communication.jdbc.JDBCDatabaseCommunicationEngine.execute(JDBCDatabaseCommunicationEngine.java:77)         at org.apache.shardingsphere.shardingproxy.backend.text.query.QueryBackendHandler.execute(QueryBackendHandler.java:54)         at org.apache.shardingsphere.shardingproxy.frontend.mysql.command.query.text.query.MySQLComQueryPacketExecutor.execute(MySQLComQueryPacketExecutor.java:73)         at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.executeCommand(CommandExecutorTask.java:86)         at org.apache.shardingsphere.shardingproxy.frontend.command.CommandExecutorTask.run(CommandExecutorTask.java:66)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)         at java.lang.Thread.run(Thread.java:745)

SQL statement:select concept_name as conceptName,domain_id as domainId,vocabulary_id as vocabularyId,concept_synonym_name as conceptSynonymName from medical_dictionary where concept_id in (select mark_id from article_mark_relation where pmid = '26820994' group by mark_id)

Sharding-proxy Version：4.0.0-RC3

Sharding -proxy we are in the last step of online, please help us

Hello, ShardingSphere can not support subquery for now.
FIY: https://shardingsphere.apache.org/document/current/en/features/sharding/use-norms/sql/


Add social meta tags for title preview

When pasting a link in slack, I want to see a link preview that contains the title. The page should likely still return an unauthorized error (if slack is ok with that), but maybe display the title on that page.

Closed with 1cb88ce


Run parsing commits in GitManager

It is futility to run parsing commit after get latest commits because looping is duplicated

Addressed by #21


Gaussian Noise in sharp

I'm trying to add gaussian noise an image but can't find the function in sharp.js.
It exists in libvips, but can it also be added to / accessed from sharp.js?
I'm pretty new here and still finding my way, so please do redirect me if needed. Thanks in advance!

Hi, did you see #725 ?

Hi Mr. Lovell, thanks for your reply. Would it be better to reply on 725?
Again, new to git... Apologies if this is bad form.
I came across 725 Thursday but did not know what to do with the information. At this point I'm only trying to get conclusive information on whether it is currently possible. 725 states a dependency on #470. (Resolved since 01/04/2017) and is marked as an enhancement mentioning it needs exposing from libvips.
If it's not possible yet, I'm happy to try and contribute though I do not know C... Willing to give it a good old try though. :-)
All the best!

#725 is a future possible enhancement. PRs are always welcome If you're able to help.
I'll close this issue - let's continue to track this at #725.


rerun clang-format with 132 line width

I plan after this lands to make a .git-blame-ignore-revs file with the commit, this way git blame on any modern git tool (and GitHub) will ignore this PR

Is there a specific reason why you want to override the Google style guide default for this?

Is there a specific reason why you want to override the Google style guide default for this?

Comments like this or while subjective, I feel this is not easy to read

and the style guide was always a "baseline" in my personal vision, we do this for the Validation Layers too
also (subjective) I never understood why it was 80 char wide only to begin with


pipenv upgrade should remove transitive dependencies that are no longer depended on by anything else

Issue description
Given the following Pipfile & Pipfile.lock: https://github.com/dependabot/smoke-tests/tree/51f9d91e764828b6ee20d5bf79779c52564c4ac3/pipenv.
Running pipenv upgrade results in the following diff:
diff --git a/pipenv/Pipfile b/pipenv/Pipfile
index 6d1af4e..6fd4aa4 100644
--- a/pipenv/Pipfile
+++ b/pipenv/Pipfile
@@ -4,7 +4,7 @@ verify_ssl = true
 name = "pypi"

 [packages]
-django = "==3.2.10"
+django = "==4.2.7"
 numpy = "1.23.0"

 [dev-packages]
diff --git a/pipenv/Pipfile.lock b/pipenv/Pipfile.lock
index 537d422..6bf2b73 100644
--- a/pipenv/Pipfile.lock
+++ b/pipenv/Pipfile.lock
@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "92ac8dfe0706d68c6ec85e7b3f66e943af05ed6ee3cebf54ea7a4a07472c2114"
+            "sha256": "f46757b1eca5b4691f0a06b5d8e7cbed4354909d40a7e0fe33eab868098d8c0d"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -26,11 +26,12 @@
         },
         "django": {
             "hashes": [
-                "sha256:074e8818b4b40acdc2369e67dcd6555d558329785408dcd25340ee98f1f1d5c4",
-                "sha256:df6f5eb3c797b27c096d61494507b7634526d4ce8d7c8ca1e57a4fb19c0738a3"
+                "sha256:8e0f1c2c2786b5c0e39fe1afce24c926040fad47c8ea8ad30aaf1188df29fc41",
+                "sha256:e1d37c51ad26186de355cbcec16613ebdabfa9689bbade9c538835205a8abbe9"
             ],
             "index": "pypi",
-            "version": "==3.2.10"
+            "markers": "python_version >= '3.8'",
+            "version": "==4.2.7"
         },
         "numpy": {
             "hashes": [

This looks pretty great, but I think pytz is no longer a dependency after upgrading to 4.2.7, so I would expect it to be removed.
I noticed this when migrating Dependabot to use pipenv upgrade instead of what we use now, pipenv lock.
pipenv lock has undesired effects for us (in this case, it upgrades unrelated numpy dependency too), that's why pipenv upgrade is perfect for our use case. But pipenv lock does do cleanup unused dependencies:
diff --git a/pipenv/Pipfile.lock b/pipenv/Pipfile.lock
index 537d422..eb22900 100644
--- a/pipenv/Pipfile.lock
+++ b/pipenv/Pipfile.lock
@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "92ac8dfe0706d68c6ec85e7b3f66e943af05ed6ee3cebf54ea7a4a07472c2114"
+            "sha256": "f46757b1eca5b4691f0a06b5d8e7cbed4354909d40a7e0fe33eab868098d8c0d"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -26,49 +26,41 @@
         },
         "django": {
             "hashes": [
-                "sha256:074e8818b4b40acdc2369e67dcd6555d558329785408dcd25340ee98f1f1d5c4",
-                "sha256:df6f5eb3c797b27c096d61494507b7634526d4ce8d7c8ca1e57a4fb19c0738a3"
+                "sha256:8e0f1c2c2786b5c0e39fe1afce24c926040fad47c8ea8ad30aaf1188df29fc41",
+                "sha256:e1d37c51ad26186de355cbcec16613ebdabfa9689bbade9c538835205a8abbe9"
             ],
             "index": "pypi",
-            "version": "==3.2.10"
+            "markers": "python_version >= '3.8'",
+            "version": "==4.2.7"
         },
         "numpy": {
             "hashes": [
-                "sha256:0d60fbae8e0019865fc4784745814cff1c421df5afee233db6d88ab4f14655a2",
-                "sha256:1a1329e26f46230bf77b02cc19e900db9b52f398d6722ca853349a782d4cff55",
-                "sha256:1b9735c27cea5d995496f46a8b1cd7b408b3f34b6d50459d9ac8fe3a20cc17bf",
-                "sha256:2792d23d62ec51e50ce4d4b7d73de8f67a2fd3ea710dcbc8563a51a03fb07b01",
-                "sha256:3e0746410e73384e70d286f93abf2520035250aad8c5714240b0492a7302fdca",
-                "sha256:4c3abc71e8b6edba80a01a52e66d83c5d14433cbcd26a40c329ec7ed09f37901",
-                "sha256:5883c06bb92f2e6c8181df7b39971a5fb436288db58b5a1c3967702d4278691d",
-                "sha256:5c97325a0ba6f9d041feb9390924614b60b99209a71a69c876f71052521d42a4",
-                "sha256:60e7f0f7f6d0eee8364b9a6304c2845b9c491ac706048c7e8cf47b83123b8dbf",
-                "sha256:76b4115d42a7dfc5d485d358728cdd8719be33cc5ec6ec08632a5d6fca2ed380",
-                "sha256:7dc869c0c75988e1c693d0e2d5b26034644399dd929bc049db55395b1379e044",
-                "sha256:834b386f2b8210dca38c71a6e0f4fd6922f7d3fcff935dbe3a570945acb1b545",
-                "sha256:8b77775f4b7df768967a7c8b3567e309f617dd5e99aeb886fa14dc1a0791141f",
-                "sha256:90319e4f002795ccfc9050110bbbaa16c944b1c37c0baeea43c5fb881693ae1f",
-                "sha256:b79e513d7aac42ae918db3ad1341a015488530d0bb2a6abcbdd10a3a829ccfd3",
-                "sha256:bb33d5a1cf360304754913a350edda36d5b8c5331a8237268c48f91253c3a364",
-                "sha256:bec1e7213c7cb00d67093247f8c4db156fd03075f49876957dca4711306d39c9",
-                "sha256:c5462d19336db4560041517dbb7759c21d181a67cb01b36ca109b2ae37d32418",
-                "sha256:c5652ea24d33585ea39eb6a6a15dac87a1206a692719ff45d53c5282e66d4a8f",
-                "sha256:d7806500e4f5bdd04095e849265e55de20d8cc4b661b038957354327f6d9b295",
-                "sha256:db3ccc4e37a6873045580d413fe79b68e47a681af8db2e046f1dacfa11f86eb3",
-                "sha256:dfe4a913e29b418d096e696ddd422d8a5d13ffba4ea91f9f60440a3b759b0187",
-                "sha256:eb942bfb6f84df5ce05dbf4b46673ffed0d3da59f13635ea9b926af3deb76926",
-                "sha256:f08f2e037bba04e707eebf4bc934f1972a315c883a9e0ebfa8a7756eabf9e357",
-                "sha256:fd608e19c8d7c55021dffd43bfe5492fab8cc105cc8986f813f8c3c048b38760"
+                "sha256:092f5e6025813e64ad6d1b52b519165d08c730d099c114a9247c9bb635a2a450",
+                "sha256:196cd074c3f97c4121601790955f915187736f9cf458d3ee1f1b46aff2b1ade0",
+                "sha256:1c29b44905af288b3919803aceb6ec7fec77406d8b08aaa2e8b9e63d0fe2f160",
+                "sha256:2b2da66582f3a69c8ce25ed7921dcd8010d05e59ac8d89d126a299be60421171",
+                "sha256:5043bcd71fcc458dfb8a0fc5509bbc979da0131b9d08e3d5f50fb0bbb36f169a",
+                "sha256:58bfd40eb478f54ff7a5710dd61c8097e169bc36cc68333d00a9bcd8def53b38",
+                "sha256:79a506cacf2be3a74ead5467aee97b81fca00c9c4c8b3ba16dbab488cd99ba10",
+                "sha256:94b170b4fa0168cd6be4becf37cb5b127bd12a795123984385b8cd4aca9857e5",
+                "sha256:97a76604d9b0e79f59baeca16593c711fddb44936e40310f78bfef79ee9a835f",
+                "sha256:98e8e0d8d69ff4d3fa63e6c61e8cfe2d03c29b16b58dbef1f9baa175bbed7860",
+                "sha256:ac86f407873b952679f5f9e6c0612687e51547af0e14ddea1eedfcb22466babd",
+                "sha256:ae8adff4172692ce56233db04b7ce5792186f179c415c37d539c25de7298d25d",
+                "sha256:bd3fa4fe2e38533d5336e1272fc4e765cabbbde144309ccee8675509d5cd7b05",
+                "sha256:d0d2094e8f4d760500394d77b383a1b06d3663e8892cdf5df3c592f55f3bff66",
+                "sha256:d54b3b828d618a19779a84c3ad952e96e2c2311b16384e973e671aa5be1f6187",
+                "sha256:d6ca8dabe696c2785d0c8c9b0d8a9b6e5fdbe4f922bde70d57fa1a2848134f95",
+                "sha256:d8cc87bed09de55477dba9da370c1679bd534df9baa171dd01accbb09687dac3",
+                "sha256:f0f18804df7370571fb65db9b98bf1378172bd4e962482b857e612d1fec0f53e",
+                "sha256:f1d88ef79e0a7fa631bb2c3dda1ea46b32b1fe614e10fedd611d3d5398447f2f",
+                "sha256:f9c3fc2adf67762c9fe1849c859942d23f8d3e0bee7b5ed3d4a9c3eeb50a2f07",
+                "sha256:fc431493df245f3c627c0c05c2bd134535e7929dbe2e602b80e42bf52ff760bc",
+                "sha256:fe8b9683eb26d2c4d5db32cd29b38fdcf8381324ab48313b5b69088e0e355379"
             ],
             "index": "pypi",
-            "version": "==1.25.2"
-        },
-        "pytz": {
-            "hashes": [
-                "sha256:1d8ce29db189191fb55338ee6d0387d82ab59f3d00eac103412d64e0ebd0c588",
-                "sha256:a151b3abb88eda1d4e34a9814df37de2a80e301e68ba0fd856fb9b46bfbbbffb"
-            ],
-            "version": "==2023.3"
+            "markers": "python_version >= '3.8'",
+            "version": "==1.23.0"
         },
         "sqlparse": {
             "hashes": [

Expected result
I expect Django to be upgraded to 4.2.7 and pytz to be removed from the lockfile because of no longer being a dependency.
Actual result
Django is properly upgraded, but pytz stays without anything depending on it.
Steps to replicate
Clone https://github.com/dependabot/smoke-tests, switch to pipenv folder, and run pipenv upgrade django==4.2.7.

By the way, I filled this as a bug fix, but if this is intentional behavior, the this would be a feature request. pipenv upgrade --prune or something?

I'd be curious what your experience is on 2024.3.0 given that now upgrade expects you to actually specify what you intend to upgrade, and its what install is leveraging under the hood as well now.   🤔   I couldn't reproduce this with python 3.13 on windows because of issues installing those old packages, something there depends on old distutils I think.

I tried with pipenv 2024.3.0 and got the same result (pytz was not removed from the lockfile).


Feature/itly 1012 audit sdk

the build is failed because of absence of mparticle-web-sdk-2.11.15 package that must be published first


EACCES: permission denied installing on mnt for NPM and virtualenv

This bug-tracker is monitored by developers and other technical types.  We like detail!  So please use this form and tell us, concisely but precisely, what's up.  Please fill out ALL THE FIELDS!
If you have a feature request, please post to the UserVoice.
Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues. Instead, send dumps/traces to<EMAIL_ADDRESS>referencing the GitHub bug number. Ideally, please configure your machine to capture minidumps, repro the issue, and send the minidump from "C:\Windows\minidump".

Your Windows build number:  (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.16299.19]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

npm install

What's wrong / what should be happening instead:

The Bash on Ubuntu on Windows environment I have been using for most of the year broke when I came in Tuesday after the Fall update was applied. virutalenv quit working primarily and I couldn't fix it.  Couldn't do lxrun /uninstall /full, nor lxrun /uninstall, to start setting up the environment again. Deleted AppData\Local\lxss manually. Error codes when trying lxrun /install.  Ran as admin which seemed to work but just told me to go to the Windows Store.
Go to Windows Store. Eventually it let me download and install it after about an hour of "error installing messages". Start to setup the environment again.
Mind you, I had my virtualenv and node_modules on the C:\ in the previous setup without issue. Permission issues for virtualenv when I try to add a new machine and end up just putting them in /home/ishraqiyun77/.venvs. Basically have the directories wide open for everyone to access and am admin.
Move onto npm. The result is below for that endeavor. Permissions on C:\ are unchanged and the directory is 777 where node_modules is trying to install.
Seems like it is related to this topic:
https://github.com/Microsoft/WSL/issues/3
Guess I can put the node_modules globally, but want to package them with the app which is on C:. (Also want to do the same with venvs).
Not sure why this broke and why I was having zero issues when I set this up earlier this year. Getting zero done now. Awesome.
lxrun /install is working now in cmd.exe, but same issues.
[npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! Linux 4.4.0-43-Microsoft
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2
npm ERR! path /mnt/c/Users/ishraqiyun77/dev/current/client/node_modules/.staging/acorn-8644ee2c
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall rename

npm ERR! Error: EACCES: permission denied, rename '/mnt/c/Users/ishraqiyun77/dev/current/client/node_modules/.staging/acorn-8644ee2c' -> '/mnt/c/Users/ishraqiyun77/dev/current/client/node_modules/acorn'
npm ERR!     at destStatted (/usr/share/npm/lib/install/action/finalize.js:25:7)
npm ERR!     at FSReqWrap.oncomplete (fs.js:82:15)
npm ERR!
npm ERR! Error: EACCES: permission denied, rename '/mnt/c/Users/ishraqiyun77/dev/current/client/node_modules/.staging/acorn-8644ee2c' -> '/mnt/c/Users/ishraqiyun77/dev/current/client/node_modules/acorn'
npm ERR!     at Error (native)
npm ERR!  { [Error: EACCES: permission denied, rename '/mnt/c/Users/ishraqiyun77/dev/current/client/node_modules/.staging/acorn-8644ee2c' -> '/mnt/c/Users/ishraqiyun77/dev/current/client/node_modules/acorn'] parent: 'ClientPortal' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! Please include the following file with any support request:
npm ERR!     /mnt/c/Users/ishraqiyun77/dev/current/client/npm-debug.log](url)

Strace of the failing command, if applicable:  (If <cmd> is failing, then run strace -o strace.txt -ff <cmd>, and post the strace.txt output here)

See our contributing instructions for assistance.

Just tested on a computer that (I don't think) has received the update and everything is still working fine:
Microsoft Windows [Version 10.0.15063]
npm install works fine on a mounted drive as does virtualenv.

Had to roll back the update and now I am able to get some work done.


Falco.org Blog

What would you like to be added:
We want to have a blog for falco, to publish announcments, how-tos share ideas, and so on.
We have a couple of ideas on the execution of this:

A static blog with hugo
A medium publication

Why is this needed:
We already have articles for it!

https://docs.google.com/document/d/1hSpSNnlrkW5Z_hEondp5dz8apA_Zd1EKmtV1Lq4J1Rk/edit?usp=sharing
https://github.com/falcosecurity/falco/issues/792

Okay, we have a baseline implementation in place: https://falco.org/blog, complete with an RSS feed. Y'all can get going with writing posts now!


Add Redux-Router support

Add support to react redux router, it's easy to add (once we have the reducers in place), you can take as guidance:
https://github.com/Lemoncode/redux-by-sample/tree/master/06 SimpleApp_Navigation
To install the redux-dev-tool plugin, check this page look for the google chrome link extension:
https://github.com/zalmoxisus/redux-devtools-extension

First we have to install react-router-redux plus typings
npm install react-router react-router-redux --save
npm install @types/react-router-redux --save

Let's add syncbrowser to the store (main file)
import { syncHistoryWithStore} from 'react-router-redux'
//(...)

let store = createStore(reducers);
const history = syncHistoryWithStore(hashHistory, store);

Now in the reducer index file (pseudocode), you have to update as well IAppState:
import { routerReducer } from 'react-router-redux'

export const reducers =  combineReducers({
  sessionReducer,
  routing: routerReducer
});

@martinguti95 sorry, about this task, do we have any update? @almecijam is working on a issue that needs this.

Sorry for the delay. I've made the PR #64  with the changes that are included in this issue

Merged.


[5.1] [Index] Don't index non-public imported declarations

Cherry-pick of #25865 for the 5.1 branch. Reviewed by @nathawes and @akyrtzi.
rdar://problem/52083709

@swift-ci Please test


Signature not visible

Describe the bug
I already comment on the vaadin directory but I think it's better to put it there.
The Lit-Element is there (see the attachment) but it doesn't appear on screen.
To Reproduce

Last version of vaadin (14.6.5) and Signature widget (2.0.0)
Create a view (extends FlexLayout) with Signature element in it

private SignaturePad signature = new SignaturePad();
private void initSignature() {
    // ....
    signature.setHeight("150px");
    signature.setWidth("300px");
    add(signature);
}

Expected behavior
The signature component should be visible and usable
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser : Chromium, I tried with Firefox also
Version :  Chromium 91.0.4472.164, Firefox 78.12.0esr

Additional context
If you need anything else, I can provide it

@Kekwel Sorry for the late answer, I was working on other projects.
I'm not able to reproduce your issue on vaadin version 14.6.5 and on 14.6.8. I created the view how you told me to do.
Could you try to give me some more additional context, that I can help you resolving this issue ?
Have a great day,
David

Closed due to inactivity. If you need further assistance, please re-open this issue.

Hello, sorry about the late response, I wasn't available.
I also tried with blank project and it works perfectly.
For my project, I used a vaadin-blank template that a colleague created which contains some views and configuration specific to our company.
I tried to create the same view in both project, with just the signature pad in a VerticalLayout, and I can't find any differences between those two projects :
        SignaturePad signature = new SignaturePad();
        signature.setHeight("150px");
        signature.setWidth("300px");
        signature.setBackgroundColor(0, 0, 0, 0);
        signature.setPenColor("#000000");

        add(signature);

Result:

In my case, the html tag <lit-signature-pad> is there, but the canvas inside the shadow-root isn't there or generated.
Do you know why the inside canvas isn't generated ? Can it be a lead ?

Hi @Kekwel,
I really don't know what could be forcing the non showing/rendering of the lit-element.
Could you please attach an screenshot of the mozilla (or chrome depends on which browser you are using) site investigator, to maybe see if css is hiding something. I really can't think of anything else.
In the best case, this what you should be looking at.

Important is that the width/height of the lit-signature-pad and the width/height of the canvas itself should be close to be the same.

Hi @F0rce ! Thanks for your answer.
Here's the screenshot :

Don't see any CSS hiding, there isn't the canvas element between  , here's also the css on the lit element :

It must be something from the blank project I used. a dependency excluded maybe, is it possible ?

@Kekwel could be possible.
Could you please re-check if those two codeblocks are persistant in your pom:
<dependency>
   <groupId>de.f0rce.signaturepad</groupId>
   <artifactId>signature-widget</artifactId>
   <version>2.0.0</version>
</dependency>

<repository>
   <id>vaadin-addons</id>
   <url>https://maven.vaadin.com/vaadin-addons</url>
</repository>
```

Maybe also try to rebuild the project by using `mvn clean install`:

If nothing helps, I guess you have to contact Vaadin Live Support. Maybe it is something else, we both don't think off.

Those two codeblocks are there.
I also rebuild the project but it's the same.
I'll try to reach them. Thanks for your answer and your time !

I know this thread a bit old but have the same issue right now. @Kekwel did you resolve this issue in your app? How? I have this lit-signature-pad available in html but nothing on the screen. Vaadin 22.0.x and SignaturePad 2.0.2 on my end ...
Here is what I can see in browser ...

Signature pad

<lit-signature-pad style="width: 300px; height: 300px;"></lit-signature-pad>

Hi @dmarko484,
Yes indeed I resolved it but forgot about this issue.
The only thing I did was to whitelist the addon, in my yml conf file :
vaadin:
    whitelisted-packages: de/f0rce/signaturepad

cf https://vaadin.com/docs/v14/flow/integrations/spring/tutorial-spring-configuration#special-configuration-parameters
It worked for Vaadin 14 but don't know if it's the same case for newer version

Thanks a lot!


Draft an ARCHITECTURE.md file to explain thinset's design

Writing down the key design choices behind thinset makes sense to guide further development, and help others understand the library. This is an initial attempt at such an explanation. The "Implementation" section in particular might include some more information in the future.
This document should follow the principles explained in Alex Kladov's post ARCHITECTURE.md.

Let's merge, we can always iterate and improve it :-)


Add appcast to 29 casks

Some appcasts based on Sparkle framework. Please, let me know if you want me to continue with this series.

I'm not speaking with authority or anything, but could the commits not have been squashed to keep the history a bit tighter?

Please, let me know if you want me to continue with this series.

Definitely. Thank you.


Update deno_bindgen docs to reflect repo move

I assume since the repo is now at denoland/deno_bindgen it's now the officially supported tool

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


Release new version or resolve issues with installing from GitHub

I am trying to get use of the new @Security decorator which has been merged into master, but not released on NPM. Any plans to release a new version very soon?

Gave up waiting - will just maintain my own version of this package from now on.

@garyevari We received some pull requests with new features, like pre processors and authentication (that was not part of our original scope) and I am seeing that it is not stable enough. I am working on new tests for these features and will release soon...


A sampler for composites that will not sample but give access to modified problem

It would be cool to have a "sampler" that does not do sampling but gives access to the problem that is generated by the composite.
I'm thinking something like
sampler = Composite(SaidSampler())
response = sampler.sample_ising(h,J,**kwargs)
response.bqm
response.h
response.j

and such.

How about something like
>>> sampler = Composite(SaidSampler())
>>> sampleset = sampler.sample(bqm, **kwargs)  # or sample_ising or whatever
>>> sampleset.record.samples.shape[0]
0
>>> sampleset.record.samples.shape[1] == len(bqm)
True
>>> sampleset['info']['bqm'] == bqm
True

yeah that looks good

Maybe this should be a composite? And we should have a "null" sampler that always just returns an empty sampleset? Those two features seem useful but conceptually separate.

I don't know how that would work

Object names not final obviously:
TrackingComposite
Would add to info the inputs and outputs received by the composite
>>> sampler = TrackingComposite(ExactSolver())
>>> sampleset = sampler.sample(bqm, a=6)  # or sample_ising or whatever
>>> sampleset['info']
{'inputs': {'bqm': BinaryQuadraticModel(...), 'a': 6},
 'outputs': SampleSet(...)}

NullSampler
Would always just return an empy sample set
>>> sampleset = NullSampler.sample(bqm)
>>> sampleset.record.samples.shape[0]
0
>>> sampleset.record.samples.shape[1] == len(bqm)
True

hmm.. ok.. any reason why you want to divide into two?

I like the tracking composite, but how would nesting work?
>>> TrackingComposite(EmbeddingComposite(TrackingComposite(ExactSolver()))).sample()['info']
?

yeah... that's why i was suggesting a sampler.
another option, which i believe ppl are gonna hate, is every composite now adds its name to bqms info field.

@conta877 Just because I like things to do just one thing. And I can imagine wanting just one of the two uses without the other.
@randomir That's a good point, something like
TrackingComposite(sampler, tag='hello')

seems simple/obvious. Otherwise the outermost.

I like tag

Hm. Sure, tags could work. They are a bit too explicit/verbose for my taste. I was imagining some kind of info dicts nesting, but that’s probably too magical..
There’s also the option from Hybrid / hybrid.TrackMin - keep debugging info in the object (composite here), not the result.

https://github.com/dwavesystems/dwave-hybrid/blob/0f74d7dd2a533edc34cc6808107760ca61cbc0fa/hybrid/flow.py#L603
for future reference.

I think keeping them in the object makes sense. It's slightly less convenient for deeply-nested composed samplers but it keeps things clean.


When to start an f3 instance

Once an f3 instance terminates, we need to determine when the next one starts. This decision will influence the head input chain offset #175 (waiting longer increases likelihood of preagreement on start for a particular head input offset).

A decision was made to wait for some delay after the timestamp of the last finalized epoch by the terminated f3 instance - parameter to be decided for FIP.
For the moment, let us assume to wait 2 epochs from latest finalized epoch. That is, a participant, on termination of an f3 instance:

looks at the epoch $e$ of the head of the newly finalized prefix.
looks at the current epoch $e'$
if $e'-e$>= 2 then start immediately. Otherwise, wait until epoch e+2 starts to start a new f3 instance.

This is in pair with the decision for #175 to suggest as proposal for the new instance the current EC heaviest chain from baseChain up until the second head (i.e. removing the head tipset from the proposal), but suggesting at least the tipset from epoch e+1.

TL;DR: will tell go-f3 when to start which may be "now" or at some future time T when we expect the next block.

However, if we see an "empty" instance, we need to make sure we don't start racing. Either:

Add some kind of exponential backoff.
Wait until LastTipsetTime + BlockTime * EmptyInstanceCount.

(work here will happen in the client, which will feed it into the f3

Closing this as done, carrying over the question about racing to a new issue https://github.com/filecoin-project/go-f3/issues/371


raftstore: reuse v2 conf change logic for v1

Signed-off-by: Connor1996<EMAIL_ADDRESS>
What is changed and how it works?

Issue Number: Ref #12876
What's Changed: It's a precedent code clean for #12972

Reuse conf change logic for both v1 and v2

Check List
Tests

No code

Release note
None

I think making v1 use its own implementation is on purpose. So when we change the implementation of v2, we don't need to consider compatibility issue.

I think making v1 use its own implementation is on purpose. So when we change the implementation of v2, we don't need to consider compatibility issue.

PD still adds learners and delete learners by ChangePeerV1, and if don't reuse, I need to implement witness logic for both v1 and v2 which is verbose.

PD still adds learners and removes learners by ChangePeerV1

Why not use ChangePeerV2?

PD still adds learners and removes learners by ChangePeerV1

Why not use ChangePeerV2?

I don't know. /cc @HunDunDM

According to the RFC of joint-consensus.

It's recommended to use ChangePeerV2 only for replacing peers for now.

It is very simple to change the logic of Add Peer and Remove Peer from using ChangePeer first to using ChangePeerV2 first in PD. In effect, extra code is added to prioritize the use of ChangePeer.
After modification, the steps of RemoveVoter will be changed from RemovePeer to DemoteVoter + RemoveLearner, like pd#4444.

After these years of practice, I think we can use ConfChangeV2 for most of operations. On the other hand, we can always use V2 to do witness related operations, so we don't need to touch the v1 code. There have been cases that modifying existing conf change implementation breaks compatibility, so let's be cautious.

After these years of practice, I think we can use ConfChangeV2 for most of operations. On the other hand, we can always use V2 to do witness related operations, so we don't need to touch the v1 code. There have been cases that modifying existing conf change implementation breaks compatibility, so let's be cautious.

If there is no issue for V2, let's all operations use V2, and only use V1 for cluster that is not support joint consensus

use V2 for all operators https://github.com/tikv/pd/pull/5408, and close this PR to keep the v1 logic unchanged for compatibility.


Mess with secondary layout

Hi,
I use an azerty-NF layout and have a US layout installed that I swap depending on when I need it
I noticed that when I use azerty by default and then swap to qwerty, A and Q and mirrored and always press A, while Z and W always press W. Azerty works fine.
When I start Windows with US as default, it's now the azerty layout that's getting weird.
Anyway, I noticed that right at boot it was working perfectly until some programs booted and ... SnapKey was the culprit. Disabling it makes it work perfectly fine.
I loved how I could just lauch it and forget, but now I realize I won't be able to because of that issue :(
I guess the best fix would be to have it not work at all time, so either with only a specific layout or through a list of games

i can imagine this happens due to the internal keymap being changed, but snapkey not pulling that new update or refreshing the keymap (though i'm not sure if this should be automatic or not by the windows hook)
if this only happens when hot-switching layouts, it's more than likely that; i'll see if i can verify if there isn't anyone else to

Hi, sorry for answering that late
Just tried and yes, it seems that restarting SnapKey after swapping does work properly. I get the azerty keys to repeat even in a US layout, just like it should because I haven't remapped the keys in the config file.
For now I just settled to just launching SnapKey when I play Overwatch, it's more convenient for me. It's a very minor issue and because I don't have any dev skills I let y'all judge if it's worth fixing or not.


status.pyviz.org has incorrect DNS

Within the README, there is a reference to https://status.pyviz.org to get the current status of pyviz and pyviz-related components.
The problem is the DNS CNAME currently points to pyviz-dev.github.io which does not contain any PyViz or Holoviz content whatsoever.
After looking at other working sites (e.g. hvplot.pyviz.org and nbsite.pyviz.org), it appears that the proper setup should be:

status.pyviz.org DNS CNAME to webredir.gandi.net
Gandi redirection configuration that maps status.pyviz.org to status.holoviz.org

Thanks for catching the issue with the links. Here are the fixes that I see need to be made

hvplot.pyviz.org should be https://hvplot.holoviz.org/
nbsite.pyviz.org should be https://nbsite.holoviz.org/
status.pyviz.org should be https://pyviz.org/tools.html


Cpp AudioConfig::FromStreamInput(shared_ptr) does not copy the shared ptr

Describe the bug
AudioConfig::FromStreamInput does not make a copy of the PullAudioInputStream shared ptr so the ref count is never increased and the caller has to make sure the pointer is always valid. This is a rather unusual way to use shared_ptr because by passing a shared_ptr the expectation is that it will be copied (increase in ref count) so the caller does not have to worry about it.
If the raw pointer is going to be used, a better API design will be to take the raw pointer as an input so it is clear that the caller has to make sure the pointer is always valid.
The raw pointer is later used in Read to
static std::shared_ptr FromStreamInput(std::shared_ptr stream)
{
SPX_IFTRUE_THROW_HR(stream == nullptr, SPXERR_INVALID_ARG);
    SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
    SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_stream(&haudioConfig, **GetStreamHandle(stream)**));

    auto config = new AudioConfig(haudioConfig);
    return std::shared_ptr<AudioConfig>(config);
}

The raw pointer is later used to create a shared_pointer but at that point the destructor may already been called:
static std::shared_ptr Create(std::shared_ptr format, std::shared_ptr callback)
{
format = UseDefaultFormatIfNull(format);
    SPXAUDIOSTREAMHANDLE haudioStream = SPXHANDLE_INVALID;
    SPX_THROW_ON_FAIL(audio_stream_create_pull_audio_input_stream(&haudioStream, GetFormatHandle(format)));

    auto stream = new PullAudioInputStream(haudioStream);
    SPX_THROW_ON_FAIL(pull_audio_input_stream_set_callbacks(haudioStream, stream, ReadCallbackWrapper, CloseCallbackWrapper));
    SPX_THROW_ON_FAIL(pull_audio_input_stream_set_getproperty_callback(haudioStream, stream, GetPropertyCallbackWrapper));

    stream->m_callback = callback;

    return **std::shared_ptr<PullAudioInputStream>(stream);**
}

To Reproduce
Steps to reproduce the behavior:

Created an PullAudioInputStream object with AudioInputStream::CreatePullStream
Call AudioConfig::FromStreamInput with the shared_ptr returned in 1
Make sure the shared_ptr in 1 goes out of scope and try to get the PullAudioStream to call read

Expected behavior
Invalid pointer
Version of the Cognitive Services Speech SDK
Which version of the SDK are you using.
Platform, Operating System, and Programming Language

OS: Windows
Hardware - x64, x86, ARM, ...
Programming language: C++

Nathan, thanks for the great report. This provides all the detail we need to investigate and I've filed an issue for us to look into it. I know I've seen something like this myself in the C# projection (letting the stream go out of scope ends up with a nigh-impossible-to-diagnose ExecutionEngineException at some unpredictable point, whenever the GC decides to take action) and so I agree that improvement here would be great.
I've linked this issue from our internal work item and we'll update when we have more information on next steps. To keep things clean, we'll close the item in the interim, but subscribing should let you see the update on the (closed) item as soon as it arrives.


migrate to terraform 0.12

run terraform 0.12upgrade
use flatten for list
remove extra brackets in some places

As follow-up for this (no need to do this now): we can create an issue to revert this commit: https://github.com/kinvolk/terraform-render-bootkube/commit/ef7422196ef1d541e60f1e16a483d01001573af9. This was needed for terraform to not use the absolute path when doing path.module, but in terraform 0.12 path.module is not an absolute path anymore, is a relative path. In terraform 0.12 the code in that commit is a no-op.
@mauriciovasquezbernal would you mind creating an issue for this so we can do it afterwards (whenever is better for us)? Or should I?


how to add namespace selector

in the old calico installation we used this helm chart https://github.com/aws/eks-charts/tree/master/stable/aws-calico and we were able to add nodeselector to spawn the nodes in specific nodes.
I have migrated my test cluster to tigera-operator and i had to remove the nodeselector from my existing deployments so tigera can migrate successfully
is there a way to define nodeselector ?
Expected Behavior
Able to define nodeselector so pods can run in specific nodes.
Current Behavior
Not able to define nodeselector so pods can run in specific nodes.
Steps to Reproduce (for bugs)
1- install calico with tigera-operator
2- use nodeselector key
Your Environment

Operating System and version: Linux ubuntu (kubernetes)
latest operator version

I believe this is available now by configuring the calicoNodeDaemonSet field on the installation resource.
I'm closing this since I think this is addressed. Let me know if there is still an issue here and I can re-open. Also sorry that it took so long to get any kind of response on here.


docker-machine doesn't respect region set in profile

I have this in my config
[profile perso2]
region = us-west-2
output = json

I enter AWS_PROFILE=perso2 docker-machine create --driver amazonec2 toto
toto is created on us-east-1
Am I doing something wrong ?

You don't need to put profile in the name of the profile.
docker-machine does not find your profile and it therefore using the default region us-east-1
Try:
[perso2] region = us-west-2 output = json

Note that I didn't add the profile prefix myself, it's been set that way with aws cli running aws configure --profile perso2
Even with just [perso2] as suggested @gdippolito it's still creating the instance  on us-east-1
 cat ~/.aws/config
[perso2]
region = us-west-2
output = json


HTTP driver timeout bugfix

Bug description

The HTTP drive did not pull the correct value for the integer timeout. The cursor never passed the value to the HTTP connection, so it used default options to set the timeout to 10 seconds -- even if the connection_timeout was set to a different value.

Effect

Setting an appropriate timeout for the calls was impossible, so larger queries failed for Data API calls.

Fix

Before Cursor's _post() sends the value to the HTTP Connection's _post(), we add timeout to the passed kwargs.
Removed if-conditional from the HTTP Connection's _post() for redundancy. With the current setup, it always pulls the correct value. If connection_timeout is not passed, the Cursor defaults to 10 seconds, so not an issue.

Small fix

Added .venv to gitignore

This fix is now available in v1.6.3.


[Feature Request] Add game installation size to the Details View element bar

Feature Description
Alongside the Last Played, Time Played, and Completion Status elements on the bottom of the Game Overview panel, an Install Size  element could be added. See screenshot attached.
Screenshots

I'm afraid that this is difficult because that space is already being used by extensions data: Achievements (SuccessStory extension) and HowLongToBeat. The issue is that no space is remaining and available space is even less with lower resolution screens or with DPI higher than 100% and also if you have extra panels like Filter or Explorer Panel or the Sidebar.

Ah good point. I’ll look into writing a simple extension for my needs. Thanks for the feedback!


Compiling HAMMER on lxplus

As @ZishuoYang said, there's a script written by Julian (at U. of. Zurich). @ZishuoYang can you give me the link to Julian's talk so that we can include his script in this repo?

"Updates on HAMMER before v1.0" https://indico.cern.ch/event/868355/contributions/3670012/, in which he gave the file path to the bash script shared on afs: /afs/cern.ch/work/j/jugarcia/public/root_6.16_patched_gcc7_cxx17_centos/bin/thisroot.sh

Also, I had to change some of the cmake configure options listed in https://hammer.physics.lbl.gov/readme.html:

Add option DMAX_CXX_IS_14=OFF
FORCE_YAMLCPP and FORCE_HEPMC should be called FORCE_YAMLCPP_INSTALL and FORCE_HEPMC_INSTALL as defined in CMakeLists.txt. (I didn't need these when I compiled Hammer with ROOT interface but without Python bindings)

I think the updated README should also covers installation on lxplus, provided that we don't need hepmc.


VCS - JavaScript Space Errors

Hi.  Great project!  I am having an issue while using this in Visual Code Studio.  In my JavaScript files I am getting the red squiggly errors on all of my spaces/whitespaces.
I have identified that it is this extension by turning it off and then this issue goes away.
I checked all of the settings for this extension and nothing seems to take it away.
I checked online and there is no answer to this that I can find.  Can you tell me how to fix this?  Is there a setting that I am missing?
Thank you for your help!

@geekysmurf123 this is very likely caused by the setting for ESLint itself (e.g. the settings maintained in the .eslintrc file). To verify this can you run eslint from a terminal and see which errors are reported. You can also use the  eslint --print-config option to see which settings eslint itself uses to validate a file.
I that all doesn't help can you provide me with a GitHub repository I can clone that demos what you are seeing.


Api - item-purchase-history

Added default admin panel for all models
Created new api to get item-purchase-history

Use our money serializer from apps.base.serializer import MoneySerializer
Change name of pull request
Add annotation types


add forceAliasCreation option to confirmSignUp

#409, #449, #679
Description of changes:
defaults to true, so to avoid breaking changes.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi there, I appreciate I'm not a maintainer of this project - so feel free to absolutely dismiss my feedback on this topic :)
I opened #449 after doing much research into what was going on. So I'm glad it's being worked on, however I believe your implementation is not good software engineering. I'm a strong believer in not having boolean arguments passed to functions1; they're generally pretty unclear - more so you're defaulting to something that is "incorrect" as per the documentation.
I think the correct path here can go one of two ways:

pass an options argument to the function as it's last argument. If this method signature grows then you won't have random booleans in the middle of the method signature.
deprecate this method, create a new one, and remove this in time.

Given the fact this is a used library I think the first option is probably best. Following the advice of my linked post I think the second option is best.
Thanks for reading, I hope I've not offended.
Cheers,
mike
(ex-AMZN :))

Thanks for your contributing. I will send another pr to fix this issue.

#1017

Hey there Zhuo, I've checked out #1017 and it looks good to me. My only
thought is that you should type the options being passed in, instead of
using any. It would look something like:
interface IConfirmSignupOpts {
    forceAliasCreation?: boolean;
}

This will help a range of issues from typos and through to providing a
strong promise to developers as to which API properties are supported by
aws-amplify.
On Tue, Jun 12, 2018 at 4:50 PM, Zhuo wen<EMAIL_ADDRESS>wrote:

#1017 https://github.com/aws/aws-amplify/pull/1017
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/aws/aws-amplify/pull/725#issuecomment-396746050, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAP3rzVXo4Kur84hAGxpj6mlop8lrVYnks5t8DeQgaJpZM4Tiqoc
.

Hey there Zhuo, I've checked out #1017 and it looks good to me. My only
thought is that you should type the options being passed in, instead of
using any. It would look something like:
interface IConfirmSignupOpts {
    forceAliasCreation?: boolean;
}

This will help a range of issues from typos and through to providing a
strong promise to developers as to which API properties are supported by
aws-amplify.

@ossareh Good point!

@powerful23 Great! Feel free to close this PR based on #1017


Add OPTIONS request routing directly to Application

I think it's important to add this HTTP Method directly to the application because it's often called automatically by browsers during AJAX requests. Meaning it's required that anyone sending AJAX requests to Silex will have to implement some kind of OPTIONS handling. I realize that you can use the match and method calls to do this same thing but those make routing OPTIONS requests less obvious.

I'm not sure what standards this is failing. @fabpot is there some kind of weird whitespace rule? I double checked and there are no extra spaces on those blank lines.

Strange. I don't know how that whitespace got added I never touched those lines. My keyboard must have a mind of its own.

OPTIONS has a very specific use-case. You can use stack-cors to handle this method properly.

Right, it has a very specific use case but not as specific a response structure. I'd rather manually handle OPTIONS requests because then I can add any optional headers, or even a response, based on the specific route requested. Middleware (like stack-cors) wouldn't give as much flexibility as defining independent routes would.

Not sure if we want to add this to core. I mean, usage is not that widespread and you can easily do the same with the current code easily.

It surprises me that usage wouldn't be that widespread considering the surge in JavaScript web apps over the past few years. Some browsers like Chrome wont even complete an AJAX request until an OPTIONS request is successfully handled.
But I guess it's not too hard to implement separately and if someone does want the ability to do that they can extend Application or switch to Slim Framework for it.
Should I close this @fabpot?

@jimdoescode Indeed, that's a good point.

Thank you @jimdoescode.

Merged into the upcoming 1.3 release.

docs updated at 77f308c


Start in PiP by default

Current Behavior
Setting pip={true} does not load it in PiP by default. I also tried setting pip to true once the player is ready, but I get an error.
Expected Behavior
Setting pip={true} should open PiP on load.
Other Information
Is this a limitation with Picture in Picture?

What URL are you trying to play? PiP only works with file URLs at the moment: https://github.com/CookPete/react-player/issues/957#issuecomment-653194342

I am using file URLs (example: https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8).
PiP does work once I press Enable Pip button, but I would want it to load directly into pip at start.


Link notebooks to containers in a way that makes it clear which container a given notebook will run on.

Provide a consistent way for notebooks to specify which container the notebook is intended to be run on.

[ ] A customer facing reference that's human readable.
[ ]  Provide method to extract this (container) information from the notebook, so that it can be used by the NGC one button launch to select the appropriate container.

@jperez999 @karlhigley can we start working on this ticket? My last information was that we wanted to wait for the new unified container (training + inference per container).

It's fine to tag the notebooks against the existing containers for now. We'll have to tag them again once the new containers are available, but we're in the process of working through a bunch of CI and build process issues, so that might be a while.

@bschifferer can we add a text on top of each notebook now for 22.05 release?


Suggest switching off TSServer Trace Logs if left on for a long time

If TS Server crashes 5 times, VSCode has a nice popup that suggests some action, which includes automatically turning on TSServer Trace Logs. It's very easy to forget that this option is on (or even be unaware that it was switched on at all) and very hard to diagnose the resulting performance problem in the wider IDE ("intellisense gradually gets slower over time" is difficult to diagnose down to an option you didn't know exists and that's cause by accumulating GiB of log files).
I would like that if the TSServer Enable Trace flag has been on for more than 7 days, VSCode once a week suggests turning it off. For the vast majority of users, this is likely to help them. For the small number of people who really do need this flag on all the time, a once a week popup won't hurt (or they can have some option to permanently turn off the reminder).
This would have avoided my month-long headache that eventually culminated in #123446 (and was only resolved when I used WinDirStat to find out why my system drive was full).
See also: https://twitter.com/orta/status/1391757821017010176?s=20

@nrayburn-tech / @mjbvz  Wonderful! The code changes look good from my "outsider's view". Thank you so much, this is great!

I probably had logging on for 6+ months and didn't know until this feature told me.


TSLint rules and fixes

With the somewhat recent proliferation of human authored style comments in PRs I thought it worth considering setting up TSLint and appropriate rule support. The current rule list is not final and I only made non-controversial fixes (namely, not adding braces to every if statement yet).
This doesn't get us to the point where we can actually fail PRs due to TSLint failures but it at least lets you locally run the checks. TSLint requires a few fixes due to recent language changes.

Trying out this Reviewable CR thing, you can ignore it if you want

I'm trying out this Reviewable tool for code reviews. Still a few kinks to work out but it could be a nice improvement over GitHub's UX.

What's the intended process in terms of version updates?
New features added to TypeScript (such as intersection types #3622) can easily break TSLint's ability to parse the compiler's code.
I wonder if the only way to make it work is to have tslint failures reported in CI somehow. Without that feedback a genuine tslint break (fail to parse) risk to become detached from the commit causing the parsing failure.

@mihailik to be determined. I talked with Ryan briefly yesterday about seeing whether we could have TSLint just use the latest TypeScript parser but that may or may not be feasible.
I would certainly like these reported in CI at some point. First we have to agree on rules :) Then clean up, then figure out how to make the workflow work. There're already language changes in our latest bits that are breaking TSLint (ex namespace instead of module triggers a missing semicolon warning). We'll need to figure out the right way to keep things minimally painful.

@danquirk We would love to have a version of TSLint track the develop branch of TypeScript so we're always up to date. It's been on our roadmap to do that. // CC @adidahiya @leeavital @derekcicerone

Roslyn has a built-in support for lint-like rules. Should TypeScript start to move in the same strategic direction?
Having 'tslint core' converged into TypeScript services would add value to both projects, and coincidentally ensure tslint stays up to date.
Tslint project in that world would contribute the core classes into TS services, and become a repository of rules (similar to DefinitelyTyped, but more managed).

At the very least, TypeScript using TSLint is great because TSLint will be able to benefit from dogfooding on new language constructs.

:+1: We can track TypeScript's develop branch to make sure TSLint is always up to date with the latest language services.

Reviewed 2 of 2 files at r1, 4 of 10 files at r2, 5 of 8 files at r3, 3 of 3 files at r4.
Review status: 1 of 16 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

src/compiler/emitter.ts, line 14 [r4] (raw file):
Done.

src/compiler/emitter.ts, line 169 [r4] (raw file):
Done.

src/compiler/emitter.ts, line 5972 [r4] (raw file):
Done.

src/compiler/scanner.ts, line 57 [r7] (raw file):
Done.

Comments from the review on Reviewable.io

Should add a jake task

Comments from the review on Reviewable.io

@mhegazy @DanielRosenwasser cleaned it up, removed a few rules, look good?
Currently this is just a jake task until TSLint supports using the latest typescript branch at which point we could clean up any remaining errors and start running this task automatically next to runtests.

:+1:

New PR in https://github.com/Microsoft/TypeScript/pull/3803 will be the one that's merged


in style.go please add Orange fg - 38, bg - 48

Hi,
Can you please add Orange color?
fg - 38
bg - 48

Hey @AyliD - thanks for the suggestion! I did some digging on the internet to try and find out what the offical color code for orange would be before I added it, and it looks like orange is one of the offical ANSI escape sequences?

You are right, it isnt formal color, just a working color, i will change it locally in my code.


fail fast on ci when lint job fails

We should fail fast on lint job failures as generally those fixes are quick ones to do but if we run other jobs before returning this failure, the feedback cycle could be upto an hour.
Before this fix:

After this fix:

The lint job takes about 1m 30s to finish, so any other job will start after that only.
cc'ing some folks who have made changes or proposed changes to ci/cd for improving the time performance.
@tschneidereit @lann @itowlson

hmm, I merged it without realizing that the checks had not finished yet. we should probably restrict us from doing that.

Given our history of failures that come out of nowhere and won't go away, and how long it takes to run and re-run and re-re-run the checks, I am firmly in favour of being able to override the checks, though yes, better accident prevention measures would be good.


Update audio-conferencing-pay-per-minute.md

#1820
Action Taken:
-Removed Locale from the URL.
Removed Created "Why is it best for you?" and provided all necessary advantages of purchasing Audio Conferencing pay-per-minute licenses, including
answer to inquiry MicrosoftDocs issue#1820 , that pay per minutes is not being charge for the conference line nor pay per minute times 5 participants.""
It is being charge by each attendee attends the meeting via phone call instead of SFB/ Team Application, but rates vary for toll or toll-free call and by destination."
Watched and read the references below to come-up with the resolution &  #advantages:
Article:
Try or purchase Audio Conferencing in Office 365 for Skype for Business Online
https://docs.microsoft.com/skypeforbusiness/audio-conferencing-in-office-365/try-or-purchase-audio-conferencing-in-office-365
Audio Conferencing extended to Microsoft Team and pay-per-minute offering added for more options
https://techcommunity.microsoft.com/t5/Skype-for-Business-Blog/Audio-Conferencing-extended-to-Microsoft-Team-and-pay-per-minute/ba-p/110936
Youtube:
SfB Broadcast: Ep. 50 What's new with PSTN Conferencing
https://www.youtube.com/watch?v=bcbE9JSUZ_Y&index=4&list=PLx28OnnzHAl2RTtyPdpFnJRwTsMZpgqC-&t=16s
SfB Broadcast: Ep. 42 Configuring PSTN Consumption Billing in O365
https://www.youtube.com/watch?v=wDEjoRG2zeY&t=1s

@tonysmit Hi Tony,  changes look correct. Could you please check and merge? Thanks!


Warning when try to create DalivikVMFormat object, file attached.

I did came across a some apk files with which androguard is throwing warnings, but I am not sure whether it is because of androguard or because of  corrupt or invalid files. Please check the attached file.
7f1b7ae2859bad220941924e2adea612.zip
To produce the error, remove the zip extension(just changed it for uploading):
apk = APK("7f1b7ae2859bad220941924e2adea612")
Dvmformat = DalvikVMFormat(apk.get_dex())
The message is:
WARNING: unknown string item @ 0x2546(56) Traceback (most recent call last):   File "/usr/local/lib/python2.7/dist-packages/androguard-3.1.0-py2.7.egg/androguard/core/bytecodes/dvm.py", line 7285, in get_string     return self.__strings_off[off].get() KeyError: 9542

I saw such things now several times.
The reason for this bug is, that the Offset in the MAP is not equal to the actual STRING_DATA section in the Header.

The Map item is definitively wrong.
I'm not sure how the Android DEX Parser handles such things, but it looks like he is not parsing the Map section but rather parsing the file flat from the start...

As far as I can tell, these warnings can be ignored safely - as long as the DEX file parses correctly at the end.
If you believe that this is still a bug, please reopen the ticket!


Use fzf as fish completion widget.

** Be sure to try this inside tmux with FZF_TMUX set
When FZF_COMPLETE variable is set, fzf is used as completion
widget for the fish shell by binding the TAB key.
FZF_COMPLETE can have some special numeric values:
set FZF_COMPLETE 0 basic widget accepts with TAB key, C-n and C-j select next candidate, C-p and C-k select previous one.
set FZF_COMPLETE 1 extends 0 with candidate preview window
set FZF_COMPLETE 2 same as 1 but TAB walks on candidates
set FZF_COMPLETE 3 multi TAB selection, RETURN accepts selected ones.
Any other value of FZF_COMPLETE is given directly as options to fzf.
If you prefer to set more advanced options dynamically, take a look at the
__fzf_complete_opts function and override that in your environment.

This is great, tested and it works, thanks!


Fixes vuelidate wanting process.env.BUILD set

Fixes vuelidate issue from https://github.com/yunity/karrot-frontend/pull/1141#issuecomment-441357987

Profile editing works on https://deploy-preview-1142--karrot.netlify.com :)


feat: move external_binaries to its own home

Description
Moving the external_binaries rules to its own home at https://github.com/SUSE/rules_binaries.
Motivation and Context
We want to move generic Bazel rules to their own repositories to simplify the KubeCF repository and to enable other Bazel projects to reuse these rules.
How Has This Been Tested?
Locally with the usual development flow using external binary dependencies.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code has security implications.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

I guess this is somehow related to #545, but a naive question (as I am not a Bazel expert): couldn't we have at least "one" repo with the utils that we have for bazel? Or we will have multiple repositories for each functionality?
I fear that in this way, we will split way too much, and have to handle a release for each change in those modules (if we end up with a lot of multiple repos)

@mudler We will rename the rules_binaries to something more obvious and that can take more utility rules! Thanks for the input.

I renamed the repos to bazel_rules_helm and bazel_rules_utils.
The helm ones should still live in their own repo. Things like binary downloading and other generic stuff can live in the utils one.

This PR needs to be worked on now that the repository was renamed.

With #1011 this looks like it's no longer necessary.


setToggleWidth

setToggleWidth is not working by me.
Trying to set the width at runtime but its having no effect.
ToggleSwitch switchRemote = (ToggleSwitch)findViewById(R.id.switchRemote);
switchRemote.setToggleWidth((float)100)

@stern0m1 I have fixed it in my new fork of the library.
Let me know if this solves your issue.
Please, check it out at https://github.com/llollox/Android-Toggle-Switch


Both epidemiology.csv files (latest and full) contain JP only.

Both files storage.googleapis.com/covid19-open-data/v2/epidemiology.csv and storage.googleapis.com/covid19-open-data/v2/latest/epidemiology.csv contain a subset of data it used to have.

Thank you for reporting this. We accidentally uploaded a bad config file last night, it should be fixed now. I'll try to force a purge of the bad data within the next hour.

The bad data appears to be purged now :-)

Thank you for fixing.


Download of available electric storage volume in P2P and EV

This is a request from Ecofys. The idea is that they would like to know how much (potential) flexibility remains in the LES as a whole after all strategies have been used.
I think that this should not be very complex:

Add up the used volume of all EV batteries and P2P units for the current time-step
Add up the un-used volume of all EV batteries and P2P units for the current time-step
write them to CSV file

So, the user would be able to download a CSV file with 35040 rows and two columns:

Used volume (kWh)
Free volume (kWh)

value_1
value_2

...
...

Ecofys would like to have this feature before the start of the next year...
@antw what is your estimate for time needed?

@antw what is your estimate for time needed?

A couple of hours, I think.

FYI @jorisberkhout This is done.
One small caveat is that the "Storage in batteries" strategy needs to be turned on (of course) in order to get useful values in the CSV. If it's turned off, then the CSV will just contain zeroes since nothing is – or can be – stored in the batteries.

Thanks, @antw !


query.py: URL encode colon

lgtm

testing it no

INFO: Got 0 tweets (20 new). seems wrong

@adtac did you test with --all?

Yeah, I used -a (which is the same thing I think). The last time I ran it all 20 threads reached 3000+ tweets (and counting). BTW which month did this happen in for you?


Prevent buyer user being created with invalid email domain

#111536536
Buyers must be from allowed public sector organisations. This change prevents buyer user accounts being created unless their email address is either on one of the allowed domains or on a subdomain.
Allowed domains are stored in a text file rather than handled with a JSON schema to make it easier to manage the list.

The list of just over 100 email domains here seems very small compared to, e.g. the list of governmental bodies listed here: https://www.gov.uk/government/organisations (and that's just central gov), or even just the list of arms-length public bodies listed here: https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/372212/Annex_-_Updated_list_of_public_bodies.pdf
It feels like we may be putting a barrier to signing up in the way of a huge number of potential DOS buyers here (e.g. housing-ombudsman.org.uk isn't there but probably should be).

This is the list from DS2. I believe the idea is that the copy in the frontend will direct people towards the helpdesk where we can review and then add them to the list. We have another story in the backlog for improving how we manage this list to make that process quicker.

:+1:


local-path-storage e2e test is failing

Possible reason behind the error
Files with -values.yaml got ignored

Bug Report

Local-path-storage e2e test is failing with the below logs.
make e2e-test
CGO_ENABLED=0 go run github.com/onsi/ginkgo/ginkgo -v e2e
Running Suite: local-path-storage Package E2E Test Suite
========================================================
Random Seed:<PHONE_NUMBER>
Will run 1 of 1 specs

STEP: installing local-path-storage package
+ tanzu package available list -o json
[
  {
    "display-name": "App-Toolkit package for TCE",
    "latest-version": "0.1.0",
    "name": "app-toolkit.community.tanzu.vmware.com",
    "short-description": "Kubernetes-native toolkit to support application lifecycle"
  },
  {
    "display-name": "Cartographer",
    "latest-version": "0.3.0",
    "name": "cartographer.community.tanzu.vmware.com",
    "short-description": "Kubernetes native Supply Chain Choreographer."
  },
  {
    "display-name": "cert-injection-webhook",
    "latest-version": "0.1.1",
    "name": "cert-injection-webhook.community.tanzu.vmware.com",
    "short-description": "The Cert Injection Webhook injects CA certificates and proxy environment variables into pods"
  },
  {
    "display-name": "cert-manager",
    "latest-version": "1.8.0",
    "name": "cert-manager.community.tanzu.vmware.com",
    "short-description": "Certificate management"
  },
  {
    "display-name": "contour",
    "latest-version": "1.20.1",
    "name": "contour.community.tanzu.vmware.com",
    "short-description": "An ingress controller"
  },
  {
    "display-name": "external-dns",
    "latest-version": "0.10.0",
    "name": "external-dns.community.tanzu.vmware.com",
    "short-description": "This package provides DNS synchronization functionality."
  },
  {
    "display-name": "fluent-bit",
    "latest-version": "1.7.5",
    "name": "fluent-bit.community.tanzu.vmware.com",
    "short-description": "Fluent Bit is a fast Log Processor and Forwarder"
  },
  {
    "display-name": "Flux Source Controller",
    "latest-version": "0.21.2",
    "name": "fluxcd-source-controller.community.tanzu.vmware.com",
    "short-description": "The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git, Helm repositories and S3 buckets."
  },
  {
    "display-name": "gatekeeper",
    "latest-version": "3.7.1",
    "name": "gatekeeper.community.tanzu.vmware.com",
    "short-description": "policy management"
  },
  {
    "display-name": "grafana",
    "latest-version": "7.5.11",
    "name": "grafana.community.tanzu.vmware.com",
    "short-description": "Visualization and analytics software"
  },
  {
    "display-name": "harbor",
    "latest-version": "2.4.2",
    "name": "harbor.community.tanzu.vmware.com",
    "short-description": "OCI Registry"
  },
  {
    "display-name": "knative-serving",
    "latest-version": "1.0.0",
    "name": "knative-serving.community.tanzu.vmware.com",
    "short-description": "Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers"
  },
  {
    "display-name": "kpack dependencies",
    "latest-version": "0.0.9",
    "name": "kpack-dependencies.community.tanzu.vmware.com",
    "short-description": "Dependencies in the form of Buildpacks and Stacks for the kpack package"
  },
  {
    "display-name": "kpack",
    "latest-version": "0.5.2",
    "name": "kpack.community.tanzu.vmware.com",
    "short-description": "kpack builds application source code into OCI compliant images using Cloud Native Buildpacks"
  },
  {
    "display-name": "Flux Kustomize Controller",
    "latest-version": "0.21.1",
    "name": "kustomize-controller.fluxcd.community.tanzu.vmware.com",
    "short-description": "Kustomize controller is one of the components in GitOps toolkit."
  },
  {
    "display-name": "local-path-storage",
    "latest-version": "0.0.22",
    "name": "local-path-storage.community.tanzu.vmware.com",
    "short-description": "This package provides local path node storage and primarily supports RWO AccessMode."
  },
  {
    "display-name": "multus-cni",
    "latest-version": "3.8.0",
    "name": "multus-cni.community.tanzu.vmware.com",
    "short-description": "This package provides the ability for enabling attaching multiple network interfaces to pods in Kubernetes"
  },
  {
    "display-name": "prometheus",
    "latest-version": "2.27.0-1",
    "name": "prometheus.community.tanzu.vmware.com",
    "short-description": "A time series database for your metrics"
  },
  {
    "display-name": "velero",
    "latest-version": "1.8.0",
    "name": "velero.community.tanzu.vmware.com",
    "short-description": "Disaster recovery capabilities"
  },
  {
    "display-name": "whereabouts",
    "latest-version": "0.5.1",
    "name": "whereabouts.community.tanzu.vmware.com",
    "short-description": "A CNI IPAM plugin that assigns IP addresses cluster-wide"
  }
]
+ tanzu package available list local-path-storage.community.tanzu.vmware.com -o json
[
  {
    "name": "local-path-storage.community.tanzu.vmware.com",
    "released-at": "2021-09-15 05:30:00 +0530 IST",
    "version": "0.0.19"
  },
  {
    "name": "local-path-storage.community.tanzu.vmware.com",
    "released-at": "2021-09-15 05:30:00 +0530 IST",
    "version": "0.0.20"
  },
  {
    "name": "local-path-storage.community.tanzu.vmware.com",
    "released-at": "2021-09-15 05:30:00 +0530 IST",
    "version": "0.0.22"
  }
]
+ tanzu package install local-path-storage --poll-interval 10s --poll-timeout 20m --namespace default --package-name local-path-storage.community.tanzu.vmware.com --version 0.0.22 --values-file fixtures/local-path-storage-values.yaml
Error: failed to read from data values file 'fixtures/local-path-storage-values.yaml': open fixtures/local-path-storage-values.yaml: no such file or directory
Error: exit status 1

Failure [3.556 seconds]
[BeforeSuite] BeforeSuite
/Users/amansha/go/src/github.com/vmware-tanzu/community-edition/addons/packages/local-path-storage/0.0.22/test/e2e/local_path_storage_suite_test.go:47

  Unexpected error:
      <*errors.errorString | 0xc000312020>: {
          s: "Error: failed to read from data values file 'fixtures/local-path-storage-values.yaml': open fixtures/local-path-storage-values.yaml: no such file or directory\nError: exit status 1\n\nexit status: 1",
      }
      Error: failed to read from data values file 'fixtures/local-path-storage-values.yaml': open fixtures/local-path-storage-values.yaml: no such file or directory
      Error: exit status 1

      exit status: 1
  occurred

  /Users/amansha/go/src/github.com/vmware-tanzu/community-edition/addons/packages/local-path-storage/0.0.22/test/e2e/local_path_storage_suite_test.go:117
------------------------------
STEP: cleaning up local-path-storage package
+ tanzu package installed delete local-path-storage --poll-interval 10s --poll-timeout 20m --namespace default --yes

STEP: validating the local-path-storage package install no longer exists
+ kubectl -n default get packageinstall local-path-storage
Error from server (NotFound): packageinstalls.packaging.carvel.dev "local-path-storage" not found

Ran 1 of 0 Specs in 5.841 seconds
FAIL! -- 0 Passed | 1 Failed | 0 Pending | 0 Skipped
--- FAIL: Test (5.84s)
FAIL

Ginkgo ran 1 suite in 7.488676471s
Test Suite Failed
exit status 1
make: *** [e2e-test] Error 1

Expected Behavior
Test should be GREEN.

Steps to Reproduce the Bug

cd addons/packages/local-path-storage/0.0.22/test && make e2e-test

Screenshots or additional information and context

Environment Details

Build version (tanzu version): v0.11.4
Deployment (Managed/Unmanaged cluster): Unmanaged cluster
Infrastructure Provider (Docker/AWS/Azure/vSphere): Docker
Operating System (client):

Diagnostics and log bundle

@aman556 could you retest based on https://github.com/vmware-tanzu/community-edition/pull/4178 and close this issue if it is resolved?

It worked @joshrosso and @seemiller.
Thanks!

Passing Logs
make e2e-test
CGO_ENABLED=0 go run github.com/onsi/ginkgo/ginkgo -v e2e
Running Suite: local-path-storage Package E2E Test Suite
========================================================
Random Seed:<PHONE_NUMBER>
Will run 1 of 1 specs

STEP: installing local-path-storage package
+ tanzu package available list -o json
[
  {
    "display-name": "App-Toolkit package for TCE",
    "latest-version": "0.1.0",
    "name": "app-toolkit.community.tanzu.vmware.com",
    "short-description": "Kubernetes-native toolkit to support application lifecycle"
  },
  {
    "display-name": "Cartographer",
    "latest-version": "0.3.0",
    "name": "cartographer.community.tanzu.vmware.com",
    "short-description": "Kubernetes native Supply Chain Choreographer."
  },
  {
    "display-name": "cert-injection-webhook",
    "latest-version": "0.1.1",
    "name": "cert-injection-webhook.community.tanzu.vmware.com",
    "short-description": "The Cert Injection Webhook injects CA certificates and proxy environment variables into pods"
  },
  {
    "display-name": "cert-manager",
    "latest-version": "1.8.0",
    "name": "cert-manager.community.tanzu.vmware.com",
    "short-description": "Certificate management"
  },
  {
    "display-name": "contour",
    "latest-version": "1.20.1",
    "name": "contour.community.tanzu.vmware.com",
    "short-description": "An ingress controller"
  },
  {
    "display-name": "external-dns",
    "latest-version": "0.10.0",
    "name": "external-dns.community.tanzu.vmware.com",
    "short-description": "This package provides DNS synchronization functionality."
  },
  {
    "display-name": "fluent-bit",
    "latest-version": "1.7.5",
    "name": "fluent-bit.community.tanzu.vmware.com",
    "short-description": "Fluent Bit is a fast Log Processor and Forwarder"
  },
  {
    "display-name": "Flux Source Controller",
    "latest-version": "0.21.2",
    "name": "fluxcd-source-controller.community.tanzu.vmware.com",
    "short-description": "The source-controller is a Kubernetes operator, specialised in artifacts acquisition from external sources such as Git, Helm repositories and S3 buckets."
  },
  {
    "display-name": "gatekeeper",
    "latest-version": "3.7.1",
    "name": "gatekeeper.community.tanzu.vmware.com",
    "short-description": "policy management"
  },
  {
    "display-name": "grafana",
    "latest-version": "7.5.11",
    "name": "grafana.community.tanzu.vmware.com",
    "short-description": "Visualization and analytics software"
  },
  {
    "display-name": "harbor",
    "latest-version": "2.4.2",
    "name": "harbor.community.tanzu.vmware.com",
    "short-description": "OCI Registry"
  },
  {
    "display-name": "knative-serving",
    "latest-version": "1.0.0",
    "name": "knative-serving.community.tanzu.vmware.com",
    "short-description": "Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers"
  },
  {
    "display-name": "kpack dependencies",
    "latest-version": "0.0.9",
    "name": "kpack-dependencies.community.tanzu.vmware.com",
    "short-description": "Dependencies in the form of Buildpacks and Stacks for the kpack package"
  },
  {
    "display-name": "kpack",
    "latest-version": "0.5.2",
    "name": "kpack.community.tanzu.vmware.com",
    "short-description": "kpack builds application source code into OCI compliant images using Cloud Native Buildpacks"
  },
  {
    "display-name": "Flux Kustomize Controller",
    "latest-version": "0.21.1",
    "name": "kustomize-controller.fluxcd.community.tanzu.vmware.com",
    "short-description": "Kustomize controller is one of the components in GitOps toolkit."
  },
  {
    "display-name": "local-path-storage",
    "latest-version": "0.0.22",
    "name": "local-path-storage.community.tanzu.vmware.com",
    "short-description": "This package provides local path node storage and primarily supports RWO AccessMode."
  },
  {
    "display-name": "multus-cni",
    "latest-version": "3.8.0",
    "name": "multus-cni.community.tanzu.vmware.com",
    "short-description": "This package provides the ability for enabling attaching multiple network interfaces to pods in Kubernetes"
  },
  {
    "display-name": "prometheus",
    "latest-version": "2.27.0-1",
    "name": "prometheus.community.tanzu.vmware.com",
    "short-description": "A time series database for your metrics"
  },
  {
    "display-name": "velero",
    "latest-version": "1.8.0",
    "name": "velero.community.tanzu.vmware.com",
    "short-description": "Disaster recovery capabilities"
  },
  {
    "display-name": "whereabouts",
    "latest-version": "0.5.1",
    "name": "whereabouts.community.tanzu.vmware.com",
    "short-description": "A CNI IPAM plugin that assigns IP addresses cluster-wide"
  }
]
+ tanzu package available list local-path-storage.community.tanzu.vmware.com -o json
[
  {
    "name": "local-path-storage.community.tanzu.vmware.com",
    "released-at": "2021-09-15 05:30:00 +0530 IST",
    "version": "0.0.19"
  },
  {
    "name": "local-path-storage.community.tanzu.vmware.com",
    "released-at": "2021-09-15 05:30:00 +0530 IST",
    "version": "0.0.20"
  },
  {
    "name": "local-path-storage.community.tanzu.vmware.com",
    "released-at": "2021-09-15 05:30:00 +0530 IST",
    "version": "0.0.22"
  }
]
+ tanzu package install local-path-storage --poll-interval 10s --poll-timeout 20m --namespace default --package-name local-path-storage.community.tanzu.vmware.com --version 0.0.22 --values-file fixtures/values.yaml

STEP: validating local-path-storage package is reconciled
+ kubectl -n default get packageinstalls local-path-storage -o<EMAIL_ADDRESS>== 'ReconcileSucceeded')].status}
True
local-path-storage Package E2E Test
  works
  /Users/amansha/go/src/github.com/vmware-tanzu/community-edition/addons/packages/local-path-storage/0.0.22/test/e2e/local_path_storage_test.go:28
+ kubectl get StorageClass local-path
NAME                   PROVISIONER             RECLAIMPOLICY   VOLUMEBINDINGMODE      ALLOWVOLUMEEXPANSION   AGE
local-path (default)   rancher.io/local-path   Delete          WaitForFirstConsumer   false                  21s

•STEP: cleaning up local-path-storage package
+ tanzu package installed delete local-path-storage --poll-interval 10s --poll-timeout 20m --namespace default --yes

STEP: validating the local-path-storage package install no longer exists
+ kubectl -n default get packageinstall local-path-storage
Error from server (NotFound): packageinstalls.packaging.carvel.dev "local-path-storage" not found

Ran 1 of 1 Specs in 73.790 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS

Ginkgo ran 1 suite in 1m15.14354159s
Test Suite Passed


fix golang-http example

tried to follow the docs, failed at the first command. source path wasn't correct (probably retained from the move from envoyproxy/envoy repo)
also changed go build to directly write to /output. I hope that's okay

done - I appreciate your guidance, @phlax

this didnt seem to work
rm: cannot remove '/tmp/tmp.vLr414Yhkp/golang-http/lib/simple.so': Permission denied

https://github.com/envoyproxy/examples/actions/runs/10589984186/job/29352990807?pr=112#step:11:19
grepping simple.so, i dont see anything in our setup that is trying to rm the file so not sure what that error is - its unclear if its a cause or symptom
i also tried running your PR locally (ie running the verify.sh script) and that failed with
Wait (10) failed: bash -c responds_with_header 'rsp-header-from-go: bar-test' http://localhost:10710

if you can get it working locally we can figure out any other issues if needed

i think the rm error is here https://github.com/envoyproxy/examples/blob/1255d01460a7e23ec4c609b9b6af340797e50e46/verify_example.sh#L21-L22 and most likely caused by the build container running as root - not sure if the change to use the direct output is relevant

@phlax sorry for the delay, was on holidays a bit -- I added a cleanup phase so at least the artifacts ./lib and simple.so but I did it through docker-compose just so it's deleted with the same user (root in this case) as it was created.. hopefully this works! works locally

hi @electricjesus i think this should not be necessary
not sure exactly what the issue is - but these tests are to test what is written in the docs - so if it is necessary then that should be in the docs - but really, i dont think it is
did you pinpoint what the problem is exactly?

@phlax yep - the ./verify-example.sh script as you pointed out has a couple of rimraf steps but unfortunately the invoked docker-compose up adds artifacts that are owned by root. adding the cleanup phase does allow the tmpdirs to be deleted without issue but I only verified that by running it locally

docker-compose up adds artifacts that are owned by root

in that case i think, better to ensure that it doesnt run as root inside the container

did you manage to repro the permission problem locally?
ill give the PR another try shortly and see how far i get

ah ok thanks @phlax -- looks like i could get docker-compose to run in non-root but i think it's best to do it in ./verify-common.sh. I could try and set up another PR for that? overall would be better I think for all tests to run non-root

...  looks like i could get docker-compose to run in non-root but i think it's best to do it in ...

i think it needs to go in this tests composition

@phlax I think i see what you mean.  in this new commit I added user to the build compose file, and also set env var HOME to /tmp to fix go build cache init issues when running in non-root mode. I also exported GID in verify.sh so that the user field also gets the correct group

yeah - so was just doing some testing locally
all passes when running the verify.sh script directly - but if i use bazel it fails
i think the problem is not essentially with the test - the problem is that the test produces root-owned artefacts on end users fs
the wasm build has some code for this i think - see UID/BUILD_UID
the one annoyance with this is that the user has to do export UID before running as otherwise UID is in the env but not exported to child procs (ie docker) without explicitly exporting it


update dependencies

not sure if helpful ¯_(ツ)_/¯

huh those tests pass locally -- so that's weird. i'll look into it i guess.

Thank you for this pull request! Please check this document for how the Jenkins project handles pull requests.

Let's bump dependencies if we really have an added value for them.


Figure out how to implement non-blocking UART write

As per a comment from @MabezDev:

Could non blocking be implemented using uart_wait_tx_done with a low (or 0) timeout.

FYI: this PR should add support for non-blocking writes https://github.com/esp-rs/esp-idf-hal/pull/84 however it is not entirely tested yet.

Related: https://github.com/esp-rs/esp-idf-hal/tree/async-uart

Merged.


Add release step to publish redirect README to master branch of SwiftPM repository

Resolves https://github.com/Azure/azure-sdk-for-ios/issues/1124
For an example of what the mirror readme looks like rendered see https://github.com/benbp/SwiftPM-AzureCommunicationChat
Right now this will have the effect of slowly updating as new package versions are released. But it can also be run locally if we want to do a mass sync (I'm not sure who has push permissions to the mirror repos though).

@tjprescott do you know how we can double check any other partner teams on this change?

@weshaggard is there a way to exclude template links from the link checker? Or should I move the entire markdown link block into the render statement?

The way to turn off is to add an ignorelinks.txt, however you might also consider commenting out instead of having it look like a valid link.

@benbp I think you've already cleared this with the only partner team. The other libraries we publish are owned by our team.

The way to turn off is to add an ignorelinks.txt, however you might also consider commenting out instead of having it look like a valid link.

I'm not quite sure I understand what you mean? The template text does not look like a link, but rather it's because it's in a markdown []() link block. How would I comment that out without affecting the rendered markdown?


Fix for USB host causing lag on force reboot

Potential fix for USB host causing reboot to lag out

Thanks @bsstephan for the listeners.size() > 0

Looks great to me, resolves all the recent regressions I have noticed.


feat(Topology/Algebra/Module): linear maps are continuous for the module topology

If M and N are modules over a topological ring and if we give them both the module topology, then any linear map from M to N is automatically continuous. More generally if M has the module topology and N is any topological module, all linear maps from M to N are continuous.
From the FLT project.

In fact a version of this result for DistribMulActionHoms is true, and this is what I prove. On the way I noticed that Mathlib's continuousSMul_induced is proved for LinearMaps but it's also true for MulActionHoms with exactly the same proof, so I generalise it in this PR (and even to MulActionHomClass, thanks Ruben) and fix mathlib in the process.

bors merge


Metadata for Quicklisp

Please consider adding :description, :author and :license information to your ASDF system(s). This will greatly help Quicklisp users and make it easier for them to report bugs.
More information:
http://blog.quicklisp.org/2015/05/looking-for-more-metadata.html
https://www.quicklisp.org

@hydandata Thanks for the tip. It has been almost a decade since I last coded in Common Lisp. Do you have a template/example that I can copy from? (The projects I checked in Quicklisp all do miss this setting.)

Thank you very much for your code and for taking your time to relpy! here is an example of what a fairly complete definition would look like: https://github.com/akapav/js/blob/master/cl-js.asd
I am making this report to all the projects that are missing this information (all that I can reach).


vim.lsp.util._str_utfindex_enc wrapper has been removed from neovim, but is still used in this repo

Thanks for a solid tool. I have come across the below error.
The vim.lsp.util._str_utfindex_enc wrapper function has been removed from nvim (https://github.com/neovim/neovim/pull/30915), but is still used here:
https://github.com/pmizio/typescript-tools.nvim/blob/1edc5dcba8cb46e71feddde91c9c3d4bce77bec5/lua/typescript-tools/protocol/text_document/semantic_tokens.lua#L30
Any chance for a quick fix?
The function just needs to be switched with the new vim.str_utfindex(s, encoding, index, strict_indexing).
In other words, I believe the call above to vim.lsp.util._str_utfindex_enc can be swapped out with:
vim.str_utfindex(line, "utf-16", nil, false).

Added a PR with a fix, but I will use this fix for a day on nightly build to check if everything works as expected


Cyclic iterators and cyclic range views

Support of cyclic iterators and cyclic views that can endlessly iterate
over a sequence, wrapping around at the end (or at the beginning in case
of reverse iteration).

I made a PR on your branch that addresses the problem with copy_n (plus removes a signed/unsigned warning.) Otherwise I think it is good to go!

Done.


Support random server.port

Hello @spencergibb , is this bug solved??
I am testing a really simple hello-service that registers itself in consul. I am trying to use the random port (server.port=0), not in the bootstrap of the service but in Consul K/V. (config/hello-service/server.port=0)
The result is that the application server of the service (Undertow) is using a random port to start listening to, but to register in consul, the service is using the port '0'.
A request to http://localhost:8500/v1/agent/services give us a result:
"hello-service": {
    "ID": "hello-service",
    "Service": "hello-service",
    "Tags": [],
    "Address": "<IP_ADDRESS>",
    "Port": 0,
    "EnableTagOverride": false,
    "CreateIndex": 0,
    "ModifyIndex": 0
  }

So the service is never shown as PASSING (obviously).
I am using the recent milestone 1.0.2 for Spring Cloud Consul.
Thanks

@beeva-pablovaliente I just tried it with CLI arg --server.port=0 and it works. Unknown how it behaves from consul-kv. Open a new issue if you can reliably reproduce it.

Thanks @spencergibb.
As you said, using CLI arg or bootstrap.yml it works correctly, the misbehavior happens when server.port is set in Consul KV. Also, if server.port is set in Consul KV, when you try to overwrite the value using CLI arg or environment variable for example, nothing happens. It looks like if KV has more precedence than CLI arg or any other property source.


Shims do not affect events

While shimming DateTime.UtcNow I notice if it is used when an event is fired then the shim is not applied.

Thanks for reporting this, @Stoom. Do you have a minimal code example that illustrates the problem?

Yes, let me spin something up later today on the project I was working on and I will post back.

I dug deeper into this and found out it is not a bug, sorry for the false positive.


upate readme with examples and projects using glamorous

Add a couple of links of projects using this great lib.

Codecov Report

Merging #106 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #106   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          10     10
  Lines         124    124
  Branches       32     32
=====================================
  Hits          124    124

Continue to review full report at Codecov.

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

Thanks!

Likewise


Cleanup GhostSystem

About the PR

Clean up GhostSystem code.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

test fail

@ShadowCommander re-open when you come back to this


Helm version needs to be updated to 2.15.1

There is a bug on helm v2.15.0 https://github.com/helm/helm/issues/6708
and it is already fixed on v2.15.1.
Please update helm version on enable.helm.sh script

There is a pull request for this issue. I am closing it.


Error: unable to get local issuer certificate

Running it on my laptop using node.js. I am getting below error.
`

<EMAIL_ADDRESS>start
ts-node --transpile-only src/index.ts
[08/11/2023 11:24:38] Texas Scheduler v1.6.4 is starting...
[08/11/2023 11:24:38] Requesting Avaliable Location....
Error: unable to get local issuer certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1540:34)
at TLSSocket.emit (node:events:513:28)
at TLSSocket.emit (node:domain:489:12)
at TLSSocket._finishInit (node:_tls_wrap:959:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:743:12) {
code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'
}
`

Steps followed.

Downloaded code to local
Edited config file.  (Copy & rename)
installed package using  npm install
Ran application using npm run start

PS:  npm version 9.5.0

what is your node version? node -v

Thanks for your quick response. This issue was due to the firewall on my office laptop. I am closing this issue since it is working as expected on my personal laptop. Thanks again for this useful tool.